Influence Functions for Preference Dataset Pruning

Daniel Fein, Gabriela Aranguiz-Dias
7/18/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Language models are commonly fine-tuned via reinforcement learning to alter their behavior or elicit new capabilities. Datasets used for these purposes, and particularly human preference datasets, are often noisy. The relatively small size post-training datasets, combined with parameter-efficient fine-tuning methods, enable the use of influence functions approximations to detect and prune training examples that are harmful to performance on a validation set. In this work, we adapt the TL;DR dataset for reward model training to demonstrate how conjugate-gradient approximated influence functions can be used to filter datasets. In our experiments, influence function filtering yields a small retraining accuracy uplift of 1.5% after removing 10% of training examples. We also show that gradient similarity outperforms influence functions for detecting helpful training examples. This suggests that local curvature is important for detecting harmful training examples, but less so for identifying helpful examples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fein2025influence,
  title  = {Influence Functions for Preference Dataset Pruning},
  author = {Daniel Fein and Gabriela Aranguiz-Dias},
  year   = {2025},
  eprint = {2507.14344},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.14344v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.14344.svg)](https://codeofpaper.com/paper/2507.14344)

Discussion