GapPO: Gradient-Adaptive Pairwise Preference Optimization

Michelle Chang, Xiaodi Sun, Ethan C. Chau, Zhaoqiong Huang, Arpita Das, Izzie Lau, Liyuan Zheng, Huancheng Chen, Jingwen LuCTB @ ICML 2026

TL;DR

This paper introduces GapPO, a novel method for aligning large language models (LLMs) with human preferences by adaptively weighting training pairs based on the confidence of human annotations. By focusing gradient updates on pairs with large quality differences (high confidence), GapPO significantly improves LLM ranking accuracy and reward calibration compared to existing methods.

What Problem Does This Paper Address?

Aligning LLMs with human preferences is crucial for making them helpful and reliable. A common approach is to train LLMs on human judgments of which of two responses is better (pairwise comparisons). However, existing methods treat all these comparisons equally, regardless of how confident the human annotator was. For instance, a pair where one response is rated 4.8 and another 1.2 (a clear win) is treated the same as a pair rated 3.2 vs. 2.9 (a near tie, potentially due to annotator noise). This dilutes the strong signals from clear preferences with weaker signals from ambiguous ones, hindering the model's ability to learn a truly accurate ranking function.

Methods

GapPO's core innovation is gradient-adaptive pairwise preference optimization. Instead of using a uniform weight for all training pairs, GapPO assigns a weight to each pair proportional to the absolute difference between the human annotator scores for the chosen and rejected responses ($|\delta|$). This means pairs with a large score gap (indicating high annotator confidence) receive more gradient, while pairs with small score gaps (indicating ambiguity or noise) receive less.

Key aspects of the method include:

  • Score-Gap Weighting: The weight for a pair $i$ is calculated as $w^{(i)} = |\delta^{(i)}| = |\text{score}_{\text{chosen}}^{(i)} - \text{score}_{\text{rejected}}^{(i)}|$. This linear weighting is chosen for its direct proportionality to annotation confidence.
  • Unnormalized Weights: The weights are not normalized within a batch. This allows batches with many high-$|\delta|$ pairs to result in larger update steps, effectively creating an adaptive learning rate that is strongest when the evidence is clearest.
  • Continuous Soft Weighting: Unlike hard filtering (discarding pairs below a certain $|\delta|$ threshold), GapPO uses a continuous weighting function, ensuring that even low-confidence pairs contribute, albeit with reduced impact. This preserves potentially useful signal.
  • Reference-Free Optimization: GapPO builds upon existing reference-free methods (like SimPO), meaning it doesn't require a separate, frozen reference model during inference.

Datasets

The primary dataset used for training and evaluation is UltraFeedback. This dataset provides explicit scalar quality scores for both chosen and rejected responses in each preference pair, allowing for the calculation of the score gap $|\delta|$. The scores are continuous averages across multiple annotation criteria, resulting in $|\delta|$ values ranging from 0 to 5.5.

The paper also mentions evaluating on HelpSteer2-Scores to demonstrate generalization. This dataset has a wider distribution of score gaps ($|\delta| \in [1, 19]$) and a different annotation scheme.

Key Insights and Ideas

  • Annotation Confidence is a Direct Proxy for Gradient Reliability: The core insight is that the magnitude of the difference in human scores for a pair directly reflects how reliable that preference label is. Large differences mean clear signals, while small differences suggest noise or ambiguity.
  • Focusing on High-Confidence Pairs Improves Ranking: By concentrating gradient updates on pairs with large score gaps, GapPO effectively prioritizes learning from unambiguous human judgments. This leads to a more robust and accurate reward function for ranking.
  • Spearman Correlation as a Measure of Reward Calibration: While pairwise accuracy (PWA) measures if a model can correctly order a given pair, Spearman rank correlation measures how well the model's learned reward function aligns with human scores across the entire spectrum of quality. GapPO's significant improvements in Spearman suggest it calibrates the reward function more effectively, which is crucial for scaling to listwise ranking.
  • Small Models Benefit Most: GapPO's gains are most pronounced on smaller LLMs. This is attributed to their limited capacity, making them more sensitive to the quality of the training signal. Wasting updates on noisy pairs is more detrimental to smaller models.

Key Results

  • Improved Pairwise Accuracy (PWA): GapPO consistently outperforms baseline methods (SimPO, CPO, IPO, AlphaPO) across various models (Qwen2.5-0.5B, Gemma-2-2B, Mistral-7B) and fine-tuning regimes (MLP-only and full fine-tuning). For example, on Qwen2.5-0.5B (MLP-only), GapPO achieved 81.41% PWA, a significant improvement over SimPO's 78.53%.
  • Higher Spearman Rank Correlation: GapPO also demonstrates substantial gains in Spearman correlation, indicating better reward calibration. For Qwen2.5-0.5B (full fine-tuning), GapPO achieved 40.17% Spearman, compared to SimPO's 38.18%.
  • Parameter-Efficient Tuning: GapPO's benefits persist even with MLP-only fine-tuning, showing its effectiveness doesn't solely rely on full model updates.
  • Generalization: GapPO shows strong performance on the HelpSteer2-Scores dataset, confirming its applicability beyond the UltraFeedback benchmark.

Limitations and Future Work

  • Pairwise vs. Listwise Evaluation: The current evaluation primarily uses pairwise accuracy (PWA) on held-out pairs. While this is a necessary condition for good ranking, it doesn't fully guarantee a globally consistent quality ordering across all responses to a prompt. The authors acknowledge that demonstrating global ranking consistency requires listwise evaluation (e.g., using NDCG@k).
  • Future Work: The authors are actively developing listwise evaluation methods using the full UltraFeedback dataset to better measure GapPO's impact on overall ranking performance. They also note the potential for models to "reward-hack" if annotation scores encode harmful preferences, though this risk is not unique to GapPO.

Summary updated

BibTeX
@inproceedings{chang2026gappo,
  author = {Michelle Chang and Xiaodi Sun and Ethan C. Chau and Zhaoqiong Huang and Arpita Das and Izzie Lau and Liyuan Zheng and Huancheng Chen and Jingwen Lu},
  title = {{GapPO: Gradient-Adaptive Pairwise Preference Optimization}},
  booktitle = {CTB @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=0Z0QwAbYa9},
}
Figure