Abstract
Preference learning for Large Language Models (LLMs) often suffers from noisy and inconsistent training data, which can degrade alignment performance. This paper introduces an automated "self-curation" method that utilizes a proxy model to identify and prune contradictory or ambiguous preference pairs. By training on a smaller, cleaner subset of the original data, the authors demonstrate that model performance can be improved by up to 33% while simultaneously reducing training time. The approach is shown to be effective across various datasets and robust to different model architectures.
Introduction
Aligning Large Language Models (LLMs) with human values typically involves preference learning techniques like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO). These methods rely on datasets of paired responses labeled as "chosen" and "rejected." However, these datasets are frequently noisy due to annotator disagreement, cultural differences, or the inherent complexity of balancing helpfulness and harmlessness. Even state-of-the-art models like GPT-4 show inconsistency when used as judges. This paper addresses the challenge of "better-not-to-learn" data—instances where preferences are too subtle or incorrectly labeled—by proposing a fully automated pipeline for data curation.
Methodology: The Self-Curation Pipeline
The authors propose a straightforward three-step pipeline designed to leverage the internal consistency of a proxy model to clean the training data.
- Proxy Training: A proxy model (typically a smaller version of the target LM, such as Llama-2 7B) is first trained on the entire noisy preference dataset using standard ranking loss.
- Retrospective Evaluation: The trained proxy is used to assign quality scores to the "chosen" and "rejected" responses in the original training set.
- Consistency Filtering: The proxy’s predicted scores are compared with the original labels. If the proxy model does not assign a significantly higher score to the "chosen" response (specifically, if the score difference is below a threshold $\lambda$), the data point is discarded as inconsistent.
This approach relies on the observation that while the proxy is trained on noisy data, it naturally gravitates toward the most consistent patterns, allowing it to identify outliers during re-evaluation.
Experimental Setup
The study evaluates the method across several popular preference datasets, including Anthropic-HH (helpfulness and harmlessness), UltraFeedback (GPT-4 annotated), Beavertails (safety), and instruction-following sets like Orca-DPO and Dolly-DPO. Performance was measured using "win scores" on MT-bench and Vicuna-bench, with GPT-4 serving as the evaluator.
Key Results and Insights
The core finding of this research is that "less is more": removing approximately 28-30% of training data through self-curation consistently improved final model performance.
Performance and Efficiency
As shown in the results, models trained on curated subsets outperformed those trained on full datasets. For instance, on the UltraFeedback dataset, the win score increased from 84.0 to 92.2. Beyond performance, the reduction in data volume (averaging ~71.7% of the original size) leads to faster training times, which effectively offsets the initial cost of training the proxy model.
The Nature of Detrimental Data
The authors found that "ambivalent" data—where responses are nearly identical or the preference is extremely subtle—is more damaging to the learning process than "flipped" data (outright incorrect labels). Ambiguity introduces noise that prevents the model from forming sharp decision boundaries.
Model Agnosticism
The self-curation effect is robust across different model sizes. A smaller model (like the 3.8B parameter Phi-3) can effectively curate data for a larger 7B parameter model. Furthermore, the benefits of curation persist even when using specialized loss functions like Robust DPO (rDPO), indicating that data quality is a fundamental factor independent of the specific optimization algorithm.
Conclusion
Self-curation provides a scalable and automated solution to the noise problem in preference learning. By focusing on high-quality, consistent data, researchers can achieve better alignment with fewer computational resources. Future work may involve refining the threshold selection process and investigating potential bias amplification during the self-training cycle.
Summary updated