Model Alignment as Prospect Theoretic Optimization

Kawin Ethayarajh, Winnie Xu, Niklas Muennighoff, Dan Jurafsky, Douwe Kiela

TL;DR

This paper introduces Kahneman-Tversky Optimization (KTO), a new alignment method that replaces expensive preference pairs (A > B) with simple binary feedback (Good/Bad). By framing model alignment through the lens of Prospect Theory, the authors show that KTO matches or exceeds the performance of state-of-the-art methods like Direct Preference Optimization (DPO) across scales up to 30B parameters.

What Problem Does This Paper Address?

Aligning Large Language Models (LLMs) with human values typically requires Reinforcement Learning from Human Feedback (RLHF) or DPO. Both rely heavily on preference datasets, where humans rank one model output as better than another.

However, preference data is a significant bottleneck: it is expensive to collect, often contradictory, and scarce in the real world. Most human feedback actually comes in binary forms—like a "thumbs up" on a chat or a "like" on a post. The authors ask: Can we align models using only this simpler binary signal without sacrificing performance? To answer this, they look to behavioral economics to understand why current alignment losses work and how to build a better one.

Methods

The authors define a new class of loss functions called Human-Aware Losses (HALOs). These are functions that implicitly model human biases, such as loss aversion (the tendency to feel the pain of a loss more acutely than the joy of an equivalent gain).

Implied Human Value functions showing loss aversion and reference points in alignment methods.

The centerpiece of the paper is KTO (Kahneman-Tversky Optimization). Unlike DPO, which maximizes the log-likelihood of one output being preferred over another, KTO directly maximizes the human utility of model generations. Key technical features include:

  • The Reference Point ($z_0$): KTO compares the reward of an output against a baseline (the expected reward of other outputs). This mirrors how humans judge outcomes relative to a status quo.
  • Utility Maximization: It uses a version of the Kahneman-Tversky value function to weight "gains" (desirable outputs) and "losses" (undesirable outputs) differently.
  • Independent Processing: KTO treats every example independently. It doesn't need to see a "better" and "worse" version of the same prompt; it just needs to know if a single output was "good" or "bad."

Datasets

The researchers evaluated their approach using several prominent open-source datasets:

  • Anthropic-HH, OpenAssistant, and SHP: Used to compare KTO against DPO by breaking preference pairs into individual binary signals.
  • UltraFeedback: Used for high-scale alignment experiments.
  • Benchmarks: Evaluation was performed on MMLU (knowledge), GSM8K (math), HumanEval (coding), and BigBench-Hard, alongside human side-by-side evaluations.

Key Insights and Ideas

  • DPO is a HALO in Disguise: The authors prove that popular methods like DPO and PPO-Clip are successful partly because they satisfy the mathematical definition of a HALO. They implicitly incorporate human-like risk and loss biases.
  • The "Aha" on Data Efficiency: Surprisingly, KTO performs better when the data is "unpaired." Even if you discard 90% of the "good" examples in a dataset, KTO can still outperform DPO by correctly weighting the remaining data using its loss-aversion hyperparameters.
  • Skipping SFT: For models 13B and larger, KTO-aligned models can sometimes skip the Supervised Fine-Tuning (SFT) stage entirely. While DPO-aligned models tend to "ramble" or hallucinate if they skip SFT, KTO maintains better control over generation length and quality.
  • Handling Contradictions: Because KTO maximizes aggregate utility rather than preference likelihood, it is more robust to noisy datasets where different humans provide conflicting feedback for the same prompt.

Key Results

  • Scalability: KTO matches or exceeds DPO performance at scales from 1B to 30B parameters.
Win rates of aligned models vs. SFT targets across different methods and scales.
  • Math Reasoning: On the GSM8K benchmark, swapping DPO for KTO in the Zephyr-beta pipeline improved performance by 13.5 points.
  • Human Preference: In a blind side-by-side study, Mistral-7B aligned with KTO achieved a 72.9% win rate over the SFT baseline, significantly higher than DPO’s 62.1%.
  • Imbalance Robustness: KTO remains effective even with a 1:10 ratio of desirable to undesirable examples, provided the loss weights ($\lambda_D, \lambda_U$) are tuned to satisfy the HALO criteria.

Limitations and Future Work

  • Value Function Fit: KTO uses a value function originally designed for monetary gambles. The authors acknowledge that human perception of language might require a different functional form.
  • Granularity: Currently, KTO only handles binary (0/1) signals. Extending it to handle continuous scores (e.g., 1-5 star ratings) is a suggested next step.
  • Underfitting Risk: Theoretical analysis suggests KTO might "ignore" examples that the model finds too easy or too difficult to learn from, which could lead to underfitting on very complex distributions.
  • Beyond Text: The authors suggest that HALOs could be applied to other modalities, such as image generation or robotics, where binary feedback is also more common than preference pairs.

Summary updated

BibTeX
@inproceedings{ethayarajh2024model,
  author = {Kawin Ethayarajh and Winnie Xu and Niklas Muennighoff and Dan Jurafsky and Douwe Kiela},
  title = {{Model Alignment as Prospect Theoretic Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=iUwHnoENnl},
}
Figure