Saved in:
Bibliographic Details
Main Authors: Li, Zhe, Zhao, Wei, Li, Yige, Sun, Jun
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.19998
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917875280773120
author Li, Zhe
Zhao, Wei
Li, Yige
Sun, Jun
author_facet Li, Zhe
Zhao, Wei
Li, Yige
Sun, Jun
contents Influence functions are important for quantifying the impact of individual training data points on a model's predictions. Although extensive research has been conducted on influence functions in traditional machine learning models, their application to large language models (LLMs) has been limited. In this work, we conduct a systematic study to address a key question: do influence functions work on LLMs? Specifically, we evaluate influence functions across multiple tasks and find that they consistently perform poorly in most settings. Our further investigation reveals that their poor performance can be attributed to: (1) inevitable approximation errors when estimating the iHVP component due to the scale of LLMs, (2) uncertain convergence during fine-tuning, and, more fundamentally, (3) the definition itself, as changes in model parameters do not necessarily correlate with changes in LLM behavior. Thus, our study suggests the need for alternative approaches for identifying influential samples.
format Preprint
id arxiv_https___arxiv_org_abs_2409_19998
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Do Influence Functions Work on Large Language Models?
Li, Zhe
Zhao, Wei
Li, Yige
Sun, Jun
Computation and Language
Artificial Intelligence
Influence functions are important for quantifying the impact of individual training data points on a model's predictions. Although extensive research has been conducted on influence functions in traditional machine learning models, their application to large language models (LLMs) has been limited. In this work, we conduct a systematic study to address a key question: do influence functions work on LLMs? Specifically, we evaluate influence functions across multiple tasks and find that they consistently perform poorly in most settings. Our further investigation reveals that their poor performance can be attributed to: (1) inevitable approximation errors when estimating the iHVP component due to the scale of LLMs, (2) uncertain convergence during fine-tuning, and, more fundamentally, (3) the definition itself, as changes in model parameters do not necessarily correlate with changes in LLM behavior. Thus, our study suggests the need for alternative approaches for identifying influential samples.
title Do Influence Functions Work on Large Language Models?
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2409.19998