TLDR: A research paper explores using influence functions to clean up noisy human preference datasets used for fine-tuning language models. By approximating influence functions, the authors demonstrate a 1.5% accuracy improvement in reward models after removing 10% of “harmful” training examples. They also found that gradient similarity is better at identifying “helpful” examples, suggesting different mechanisms for detecting beneficial versus detrimental data points.
In the rapidly evolving world of artificial intelligence, language models are constantly being refined to better understand and generate human-like text. A common technique for this refinement is fine-tuning, often involving reinforcement learning from human feedback. However, the datasets used for this purpose, especially those based on human preferences, can often be noisy and contain examples that might hinder a model’s performance rather than improve it.
A recent research paper, Influence Functions for Preference Dataset Pruning, delves into a powerful technique called influence functions to address this challenge. Influence functions are tools that help researchers understand how individual pieces of training data affect the behavior of a neural network. Traditionally, applying these functions to large language models has been computationally intensive due to the sheer number of parameters involved.
The authors, Daniel Fein and Gabriela Aranguiz-Dias from Stanford University, tackled this by focusing on parameter-efficient fine-tuning methods like Low-Rank Adaptation (LoRA). LoRA allows for the training of a relatively small number of model parameters, making the use of influence functions more practical. They adapted the TL;DR dataset, commonly used for training reward models, to demonstrate how influence functions, approximated using a method called conjugate gradient, can be used to filter out problematic data.
Key Findings and Insights
The study showed that by using influence function filtering, they achieved a small but notable retraining accuracy uplift of 1.5% after removing just 10% of the training examples. This suggests that carefully pruning noisy data can indeed lead to better-performing models. Interestingly, the research also highlighted a distinction between identifying ‘harmful’ and ‘helpful’ training examples.
While influence functions proved effective for detecting harmful examples, another technique called gradient similarity, which is a simpler, first-order approximation of influence, actually outperformed influence functions when it came to identifying helpful training examples. This suggests that the ‘local curvature’ of the model’s parameter space – a more complex mathematical concept related to how the model learns – is particularly important for spotting data that negatively impacts performance, but less so for identifying data that provides new, beneficial information.
Also Read:
- Enhancing Language Model Alignment: A New Approach to Correct Reward Model Drift
- Unlocking LLM Potential: A New Approach to Positional Bias
Implications for AI Development
This work marks a significant step in applying influence functions to the crucial task of curating language model data. It demonstrates a promising approach to creating stronger reward models by systematically filtering out noisy human preference data. The findings also open avenues for future research into more efficient methods for data curation, particularly in understanding why certain data points are detrimental and how to identify them more effectively.
Despite the promising results, the authors acknowledge limitations, primarily the computational expense of calculating influence function approximations, which constrained their study to a single, small dataset. This means further research is needed to see how these methods generalize to larger and more diverse datasets, as noise characteristics can vary widely.


