Skip to content
AI.info

Research

Towards Understanding Valuable Preference Data for Large Language Model Alignment

Overview Research area: Machine learning / large language model alignment, specifically preference data selection for RLHF-style fine-tuning (DPO and SLiC). Technical level: Intermediate. The paper as

arXiv
2510.13212
Published
2025-10-15
Authors
Zizhuo Zhang, Qizhou Wang, Shanshan Ye, Jianing Zhu, Jiangchao Yao, Bo Han, Masashi Sugiyama

AI summary

Overview

Research area: Machine learning / large language model alignment, specifically preference data selection for RLHF-style fine-tuning (DPO and SLiC).

Technical level: Intermediate. The paper assumes familiarity with preference optimization (DPO), reward margins, and the idea of influence functions, though the core argument is stated in plain conceptual terms.

Scope: The paper argues that the value of a preference pair is a property of the model being trained rather than of the data alone, proposes a truncated influence function (TIF) as a more reliable quality measure, and derives a cheap two-signal selector called LossDiff-IRM that improves alignment benchmarks while training on roughly half the data.

What This Paper Is About

Most LLM alignment pipelines treat preference data quality as an intrinsic property of the data: they filter or rank pairs using external reward models or off-the-shelf LLMs and assume the survivors are universally valuable. This paper challenges that assumption and shows that a preference pair which benefits one model can harm another, so selection should be tied to the specific model and training process.

Key Contributions

  1. A model-centric diagnosis of preference data quality. The authors use influence functions to measure each training pair's effect on validation performance and show empirically that data quality is model-dependent, not an intrinsic data property.

  2. The Truncated Influence Function (TIF). They identify over-scoring in vanilla influence functions, propose TIF as a criterion that keeps only pairs with mid-range influence, and empirically show that both extremely small and extremely large IF values correspond to low-quality data in preference alignment.

  3. Two cheap scoring proxies for TIF. They introduce LossDiff (validation-based, requiring an auxiliary model aligned on the validation set) and IRM (implicit reward margin, validation-free), both requiring only forward passes, both positively correlated with IF, and both model-dependent.

  4. The LossDiff-IRM selection rule. They combine the two proxies by intersecting their medium percentile ranges, arguing that their distinct error sources offset one another, and demonstrate better alignment with less data across model families, benchmarks, and both DPO and SLiC. Code is released at https://github.com/tmlr-group/TIF_LossDiff-IRM.

Main Findings

  • Small-IF data is harmful. In the probing analysis on Qwen3-0.6B-Base and Llama-3.2-1B (5,000 training, 3,000 validation, 300 test UltraFeedback pairs, five epochs of DPO after SFT on UltraChat-200K), training on small-IF subsets decreased training loss but increased evaluation loss and pushed the evaluation reward margin below zero.

  • Large-IF data overfits. Training on the large-IF subset initially lowered evaluation loss before it rose, while the reward margin kept increasing. The authors attribute this mismatch to sigmoid saturation: margins grow for a small subset of pairs while shrinking for many others, which dominates the loss.

  • Medium-IF data is the most valuable. Only the medium-IF subset produced steadily decreasing evaluation loss alongside rising reward margin, matching the intended DPO learning dynamics. This is counter to the classical view that high-influence data is the most valuable.

  • TIF is expensive. On the 5,000-pair probing set with one H100-80GB GPU, exact IF computation took 3 h 17 m 16 s on Qwen3-0.6B-Base and 9 h 58 m 09 s on Llama-3.2-1B (throughput 1.55 and 1.44 pairs/sec for the validation gradient and IF stages on Qwen, 4.71 and 4.35 on Llama). LossDiff-IRM took 2 m 4 s and 4 m 59 s respectively, roughly 5 minutes versus about 10 hours on Llama-3.2-1B.

  • The proxies track IF. LossDiff correlated with IF at Pearson r = 0.77 and Spearman ρ = 0.80 on Qwen-0.6B-Base; IRM correlated with IF at r = 0.67 and ρ = 0.66 (reported on Llama-3.1-1B in the text).

  • Combining beats either alone on overlap with TIF. Overlap Coefficients with the exact TIF-selected set: on Qwen3-0.6B-Base, LossDiff 0.6953 / 0.6639, IRM 0.6883 / 0.6470, LossDiff-IRM 0.7820 / 0.7257 for epoch 1 and epoch 2 checkpoints; on Llama-3.2-1B, LossDiff 0.6687 / 0.6582, IRM 0.6969 / 0.6025, LossDiff-IRM 0.7657 / 0.6963.

  • Better alignment with less data. Across Llama-3.1-8B, Qwen3-8B-Base, and Pythia-2.8B/1.4B/410M with DPO, LossDiff-IRM improved average WinRate over full-data training by +11.42%, +15.14%, +16.63%, +18.28% and +17.71% respectively, using about 50%–65% of the data (the abstract states 50%–64% and an overall average of +13.58%).

  • It beats existing selectors. Against the second-best result under DPO, LossDiff-IRM improved average WinRate by +4.07%, +3.84%, +8.28%, +10.29% and +8.13% on Llama-3.1-8B, Qwen3-8B-Base, and Pythia-2.8B/1.4B/410M. GPT-4 score selection could even reduce performance, for example on Qwen3-8B-Base with DPO. Compared to CurriDPO, M_AP and RS-DPO, the average WinRate improvement was +2.62% over the best baselines across two models, including +6.45% on average on Llama-3.8-8B (as written in the paper).

  • Exact TIF and LossDiff-IRM perform comparably at small scale. On Pythia-410M with DPO, LossDiff-IRM reached 86.14 / 85.16 / 85.62 WinRate on UltraFeedback / AlpacaEval / Vicuna-Bench versus 85.42 / 86.19 / 84.38 for exact TIF and 75.25 / 73.51 / 69.37 for full data.

  • The dropped data is genuinely low-value. Training only on the pairs LossDiff-IRM discarded produced the worst results, reducing average WinRate by −12.59% relative to full-data training across two models and both alignment methods, and falling to 46.88% on Vicuna-Bench with Qwen3-8B-Base under SLiC.

  • Selections differ by model. Overlap Coefficients between selections vary across models, with pairs within the same family (e.g., Pythia) overlapping more than cross-family pairs, supporting the claim that quality is model-dependent.

  • Method-agnostic. Consistent gains appear under both DPO and SLiC, and robustness curves across validation noise rates r = {0.0, 0.1, 0.2, 0.3, 0.4} are reported in Figure 4.

Methodology in Plain English

The authors start from a standard idea: to judge whether a training example is useful, measure how much removing it would change performance on held-out data (the leave-one-out effect). Because retraining the model once per example is impossible, they use the influence function, a gradient-based approximation of that leave-one-out effect.

Applying influence functions to DPO reveals that under DPO the relevant quantity is not gradient agreement but agreement between the difference of gradients for chosen and rejected responses and the validation preferences. Plotting training curves for data split by influence value shows that both the lowest- and highest-influence pairs damage alignment, while mid-range pairs help. The authors therefore define TIF as an indicator that keeps only pairs whose influence falls between two percentile thresholds.

Because computing exact IF requires gradients over both training and validation sets, TIF is too slow at scale. They propose two forward-pass-only substitutes. LossDiff compares the loss of the current model against an auxiliary model trained on the validation set for each pair. IRM is the implicit reward margin from the DPO objective, which needs only the current model. Both correlate positively with IF, but each has its own bias.

Finally they intersect the two selectors: a pair is kept only if it falls in the medium percentile band of LossDiff and in the medium percentile band of IRM. In practice they warm up the policy for one epoch, train the auxiliary validation model for one stage, score all pairs, select, then retrain for a longer stage (two epochs in their experiments). Evaluation uses GPT-4-score-margin stratified sampling for a 20% validation split, UltraFeedback-Binarized for training, and LLM-as-Judge Single Score and Length-controlled WinRate against SFT on UltraFeedback (in-distribution) plus AlpacaEval, Vicuna-Bench, and Arena-Hard (out-of-distribution).

Why This Matters

Impact on research. The paper pushes back on the dominant pre-processing paradigm in RLHF, where datasets are filtered once with external reward models and then released as universally good. It provides an alternative criterion (TIF), a practical surrogate, and evidence that data utility depends on the model, suggesting that static, model-agnostic data curation is a flawed default.

  • Cheaper alignment pipelines: Teams that cannot afford large-scale data or prolonged training can select roughly half the data and still improve alignment quality, cutting compute and annotation costs.
  • Better fine-tuning of small and mid-size models: Gains are demonstrated on Pythia-410M through 2.8B and on 8B models, relevant to on-premise or edge deployment where compute is constrained.
  • Trustworthy preference dataset release: Dataset builders can publish model-specific selection recipes or scoring artifacts rather than a single filtered set, letting users pick data suited to their own training model.
  • Noise robustness: Because selection is conditioned on actual training dynamics, the pipeline is a way to detect and discard mislabeled or ambiguous preference pairs, which matters for data drawn from noisy crowd annotation.

Industry relevance. Preference alignment is standard practice for shipping chat models. A plug-and-play selection step that works with both DPO and SLiC and requires only forward passes fits naturally into existing training stacks, and the reported compute gap (about 5 minutes versus roughly 10 hours on the Llama-3.2-1B probing set) makes model-dependent selection viable rather than theoretical.

Future Directions

  • Reducing dependence on the validation set. TIF and LossDiff both rely on a validation set that the paper acknowledges is an imperfect proxy for real human preference; Figure 4 examines noise rates from 0.0 to 0.4, but how to operate with no clean validation data remains open.

  • Removing the auxiliary model. LossDiff requires training a validation-aligned auxiliary model, which adds cost and complexity; a purely validation-free estimator that matches its correlation with IF would simplify deployment.

  • Scaling and threshold sensitivity. The paper analyzes percentile thresholds ξ_small, ξ_large, τ_small and τ_large in Figure 6, but how these bands should be chosen automatically across model sizes and datasets is not resolved.

  • Extension beyond pairwise preference objectives. The work covers DPO and SLiC; whether the same model-dependent, medium-influence principle holds for other alignment objectives, online RLHF, or process-level supervision is untested here.

Target Audience

Researchers and engineers working on LLM alignment, RLHF, and preference data curation, especially those who design data filtering pipelines or train models under compute constraints. The paper is also relevant to dataset builders and practitioners interested in influence functions and their practical, scalable approximations. Readers without background in preference optimization will need to consult the cited DPO and SLiC references.

Authors’ abstract

Large language model (LLM) alignment is typically achieved through learning from human preference comparisons, making the quality of preference data critical to its success. Existing studies often pre-process raw training datasets to identify valuable preference pairs using external reward models or off-the-shelf LLMs, achieving improved overall performance but rarely examining whether individual, selected data point is genuinely beneficial. We assess data quality through individual influence on validation data using our newly proposed truncated influence function (TIF), which mitigates the over-scoring present in traditional measures and reveals that preference data quality is inherently a property of the model. In other words, a data pair that benefits one model may harm another. This leaves the need to improve the preference data selection approaches to be adapting to specific models. To this end, we introduce two candidate scoring functions (SFs) that are computationally simpler than TIF and positively correlated with it. They are also model dependent and can serve as potential indicators of individual data quality for preference data selection. Furthermore, we observe that these SFs inherently exhibit errors when compared to TIF. To this end, we combine them to offset their diverse error sources, resulting in a simple yet effective data selection rule that enables the models to achieve a more precise selection of valuable preference data. We conduct experiments across diverse alignment benchmarks and various LLM families, with results demonstrating that better alignment performance can be achieved using less data, showing the generality of our findings and new methods. Our code is publicly available at https://github.com/tmlr-group/TIF_LossDiff-IRM.

Read the original paper