Understanding Impact of Human Feedback via Influence Functions

Taywon Min, Haeone Lee, Hanho Ryu, Yongchan Kwon, Kimin Lee · DOI

Abstract

In Reinforcement Learning from Human Feedback (RLHF), it is crucial to learn suitable reward models from human feedback to align large language models (LLMs) with human intentions. However, human feedback can often be noisy, inconsistent, or biased, especially when evaluating complex responses. Such feedback can lead to misaligned reward signals, potentially causing unintended side effects during the RLHF process. To address these challenges, we explore the use of influence functions to measure the impact of human feedback on the performance of reward models. We propose a compute-efficient approximation method that enables the application of influence functions to LLM-based reward models and large-scale preference datasets. Our experiments showcase two key applications of influence functions: (1) detecting common labeler biases in human feedback datasets and (2) guiding labelers in refining their strategies to better align with expert feedback. By quantifying the impact of human feedback, we believe that influence functions can enhance feedback interpretability and contribute to scalable oversight in RLHF, helping labelers provide more accurate and consistent feedback.

Introduction

Reinforcement Learning from Human Feedback (RLHF) is the cornerstone of modern LLM alignment, yet it suffers from a significant "garbage in, garbage out" vulnerability. Human feedback is frequently noisy or biased; for instance, labelers may naively prefer longer responses (length bias) or responses that flatter the user (sycophancy bias). These biases can lead reward models to develop undesirable traits.

While influence functions—a tool from robust statistics—can identify which training points are responsible for these behaviors, they are traditionally computationally prohibitive for LLMs. Calculating the "influence" of a single data point usually requires inverting a massive Hessian matrix, a task that is infeasible for models with billions of parameters. This work introduces a framework to make influence estimation practical and scalable.

Methodology: Efficient Influence Estimation

The authors propose a two-pronged approach to make influence estimation practical for large-scale reward modeling:

The influence function framework for detecting labeler bias and providing oversight.
  1. Efficient Estimation (DataInf): Building on the DataInf algorithm, the method approximates the inverse Hessian-vector product using a closed-form expression that requires only gradient vectors, bypassing explicit matrix inversion.
  2. Vector Compression (OPORP): To handle the massive memory requirements of storing raw gradients, the authors utilize One-Permutation One-Random-Projection (OPORP). This technique compressed 160MB gradient vectors down to just 256KB while preserving the essential relationships for influence calculation.

This combination allowed the team to compute influence scores across large datasets in seconds, achieving a 2.5x speedup over previous state-of-the-art approximation methods and reducing storage for 100,000 gradients from 15.6 TB to just 24.4 GB.

Applications and Key Insights

The Validation Set as a Lens

Influence functions measure how a training point affects the loss on a specific validation set. By carefully curating this set (e.g., a "Concise" set of short but helpful answers), researchers can specifically target and identify length-biased training samples. This transforms the influence function into a powerful debugger for model logic.

Closing the Expert Gap

In a simulation involving an expert (Alice) and a non-expert (Bob), influence functions were used to identify which of Bob's labels were most detrimental to model performance. By training a simple classifier on these "high-influence" errors, the system could update Bob’s weighting strategy to match Alice’s expert priorities without requiring Alice to relabel the entire dataset manually.

Key Results

The influence-based detector demonstrated superior performance in identifying biased feedback compared to both statistical baselines and frontier models.

ROC curves showing the performance of influence-based detection for length and sycophancy bias.

As shown in the figures above, the method achieved an AUC of 0.80 for length bias and 0.71 for sycophancy bias, significantly outperforming GPT-4o few-shot prompting and Mahalanobis distance.

Beyond synthetic tests, the method showed real-world utility on the original Anthropic-HH dataset. When the method flagged 100 samples as "negatively contributing," human auditors found that 47% of these flagged samples were actually mislabeled in the original dataset, compared to only 13% in a random sample.

Conclusion

By making influence functions computationally feasible for LLMs, this research provides a scalable path toward oversight in RLHF. The ability to quantify the impact of individual human labels allows for more robust reward models and provides a mechanism to help non-expert labelers align with expert standards. Future work will explore automating validation set curation and testing the limits of these approximations on even larger model architectures.

Summary updated

Abstract

In Reinforcement Learning from Human Feedback (RLHF), it is crucial to learn suitable reward models from human feedback to align large language models (LLMs) with human intentions. However, human feedback can often be noisy, inconsistent, or biased, especially when evaluating complex responses. Such feedback can lead to misaligned reward signals, potentially causing unintended side effects during the RLHF process. To address these challenges, we explore the use of influence functions to measure the impact of human feedback on the performance of reward models. We propose a compute-efficient approximation method that enables the application of influence functions to LLM-based reward models and large-scale preference datasets. Our experiments showcase two key applications of influence functions: (1) detecting common labeler biases in human feedback datasets and (2) guiding labelers in refining their strategies to better align with expert feedback. By quantifying the impact of human feedback, we believe that influence functions can enhance feedback interpretability and contribute to scalable oversight in RLHF, helping labelers provide more accurate and consistent feedback. Source code is available at https://github.com/mintaywon/IF_RLHF
BibTeX
@inproceedings{min2025understanding,
  author = {Taywon Min and Haeone Lee and Hanho Ryu and Yongchan Kwon and Kimin Lee},
  title = {{Understanding Impact of Human Feedback via Influence Functions}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=WmqgktZqgp},
}
Figure