Don't Forget Your Reward Values: Language Model Alignment via Value-based Calibration

Xin Mao, Feng-Lin Li, Huimin Xu, Wei Zhang, Anh Tuan Luu · DOI

Abstract

Reinforcement Learning from Human Feedback (RLHF) is essential for aligning Large Language Models (LLMs) with human values. While recent "order-based" methods like Direct Preference Optimization (DPO) have simplified alignment by focusing on response rankings, they often ignore the magnitude of preference—the reward values. This paper proposes Value-based CaliBration (VCB), a method that calibrates the model's probability gaps to match normalized reward differences. Experimental results on dialogue and summarization tasks demonstrate that VCB consistently outperforms existing order-based and reinforcement learning baselines, offering better generalization and more nuanced alignment.

Introduction: The Limits of Order-Based Alignment

The standard approach to LLM alignment involves Proximal Policy Optimization (PPO), which is powerful but notoriously difficult to tune. To address this, researchers developed order-based calibration methods such as DPO, RRHF, and SLiC. These methods simplify the process by optimizing based on the relative order of preference pairs (e.g., Response A is better than Response B).

However, this simplification comes at a cost. Order-based methods treat all preference gaps as equal, failing to distinguish between a slight preference and a critical safety violation. As illustrated in Figure 1, while order calibration merely preserves the sequence of responses, value calibration ensures that the model's internal representation reflects the actual distance between reward values.

Comparison of reward values, order calibration, and value calibration.

Methodology: Value-based CaliBration (VCB)

The authors demonstrate that existing methods like DPO are special cases of a broader optimization framework that discards reward information to avoid calculating the partition function. VCB overcomes this through two primary innovations:

  1. The Difference Method: VCB employs a subtraction-based loss function that cancels out the partition function while retaining the scalar reward values. This allows the model to learn the "magnitude" of human preference directly.
  2. Reward Normalization: To handle varying reward scales across different prompts, VCB normalizes reward gaps using the standard deviation of rewards for each specific prompt. This ensures stable training and prevents prompts with high-variance rewards from dominating the gradient updates.

The resulting VCB loss function forces the log-probability difference between two responses to be proportional to their normalized reward difference.

Experimental Results

The researchers evaluated VCB against several baselines, including SFT, PPO, RRHF, SLiC, and DPO, using the AnthropicHH (dialogue) and Reddit TL;DR (summarization) datasets. VCB demonstrated a clear advantage across all benchmarks.

As shown in Figure 4, VCB achieved significantly higher win rates compared to all baseline methods. Specifically, on the Reddit TL;DR dataset, VCB outperformed DPO by a substantial 20.9% margin in GPT-4 based evaluations. On the AnthropicHH dataset, it maintained a 6.5% win-lose differential over DPO.

Win rates of VCB against baseline methods on AnthropicHH and Reddit TL;DR datasets.

Furthermore, VCB showed superior generalization on the out-of-distribution (OOD) CNN/DailyMail dataset, maintaining a 54.3% win rate over DPO. This suggests that learning from the underlying reward landscape, rather than just rankings, helps the model capture more robust and transferable features of high-quality responses.

Conclusion and Future Work

Value-based CaliBration (VCB) addresses a critical oversight in current LLM alignment research by restoring the importance of reward magnitudes. By moving from order-based to value-based calibration, models can achieve a more precise alignment with human intent. While the current study utilized off-policy sampling due to resource constraints, future work exploring on-policy VCB and its application to larger-scale models holds promise for further improving the safety and helpfulness of AI assistants.

Summary updated

BibTeX
@inproceedings{mao2024don,
  author = {Xin Mao and Feng-Lin Li and Huimin Xu and Wei Zhang and Anh Tuan Luu},
  title = {{Don't Forget Your Reward Values: Language Model Alignment via Value-based Calibration}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.976},
}
Figure