PLOT: Enhancing Preference Learning via Optimal Transport
Organizations: Southern University of Science and Technology · Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences · Chongqing University · University of Science and Technology of China ·
Abstract
Preference learning in Large Language Models (LLMs) has advanced significantly, yet existing methods remain limited by modest performance gains, high computational costs, hyperparameter sensitivity, and insufficient modeling of global token-level relationships. We introduce PLOT, which enhances Preference Learning in fine-tuning-based alignment through a token-level loss derived from Optimal Transport. By formulating preference learning as an Optimal Transport Problem, PLOT aligns model outputs with human preferences while preserving the original distribution of LLMs, ensuring stability and robustness. Furthermore, PLOT leverages token embeddings to capture semantic relationships, enabling globally informed optimization. Experiments across two preference categories - Human Values and Logic & Problem Solving - spanning seven subpreferences demonstrate that PLOT consistently improves alignment performance while maintaining fluency and coherence. These results substantiate optimal transport as a principled methodology for preference learning, establishing a theoretically grounded framework that provides new insights for preference learning of LLMs.
Figures & tables
| Red Teaming Attack | ||||||
| Method | ZS | PEZ | GBDA | UAT | SFS | GCG |
| = | = , = | = , = | = , = , = | = , = | = , = | |
| Llama3.2-3B-Instruct | ||||||
| SFT | ||||||
| w/ PLOT | ||||||
| DPO | ||||||
| Method | Human Values | Logic & Problem Solving | ||||||
| Helpfulness | Humanity | Mathematics | Reasoning | Coding | STEM | |||
| Reward | GPT-4 | GSM8K | MATH | |||||
| Instruct | ||||||||
| DPO | ||||||||
| w/ PLOT | ||||||||
| Method | ZS | PEZ | GBDA | UAT | SFS | GCG |
| = | = , = | = , = | = , = , = | = , = | = , = | |
| DPO | ||||||
| + (DEFT) | ||||||
| + w/o | ||||||
| + |
| Method | 50% | 75% | 100% | 125% | 150% |
| DEFT | 5.75 | 5.35 | 5.22 | 5.92 | 6.54 |
| PLOT | 4.59 | 4.15 | 4.12 | 4.16 | 4.14 |
| Method | ZS ( = ) | GCG ( = ) |
| Instruct | ||
| DPO | ||
| w/ PLOT | ||
| OT KL | inf error | inf error |
| OT JS |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Behavior | #Sample | Source & Description |
| Standard | 200 | Based on AdvBench ( 2023 ) and TDC 2023 ( 2023 ) |
| Copyright | 100 | Manually crafted requests for copyrighted content |
| Contextual | 100 | Manually crafted complex requests with context |
| Total | 400 | Manually filtered to ensure clearly harmful with no legitimate use |
| Method | DPO | PLOT |
| Training Time (s) | 487.03 | 500.80 |
| Increase | – | 2.67% |
| Attack Method | Harmful Behavior Type | Total | |||||||||||
| Standard | Copyright | Contextual | |||||||||||
| Instruct | DPO | PLOT | Instruct | DPO | PLOT | Instruct | DPO | PLOT | Instruct | DPO | PLOT | ||
| ZS | |||||||||||||
| PEZ | |||||||||||||
Preference Learning
Preference learning infers people’s values and trade-offs from choices, comparisons, rankings, and feedback to guide predictions and decisions.
See all 149 papers