On the Accuracy of Influence Functions for Measuring Group Effects

Pang Wei Koh, Kai-Siang Ang, Hubert H. K. Teo, Percy Liang
5/30/2019
255 citations
cs.LGstat.ML

Official code: kohpangwei/group-influence-release (50 stars, Python, last commit 2023-03-24).

Abstract

Influence functions estimate the effect of removing a training point on a model without the need to retrain. They are based on a first-order Taylor approximation that is guaranteed to be accurate for sufficiently small changes to the model, and so are commonly used to study the effect of individual points in large datasets.

Show full abstract

However, we often want to study the effects of large groups of training points, e.g., to diagnose batch effects or apportion credit between different data sources. Removing such large groups can result in significant changes to the model. Are influence functions still accurate in this setting? In this paper, we find that across many different types of groups and for a range of real-world datasets, the predicted effect (using influence functions) of a group correlates surprisingly well with its actual effect, even if the absolute and relative errors are large. Our theoretical analysis shows that such strong correlation arises only under certain settings and need not hold in general, indicating that real-world datasets have particular properties that allow the influence approximation to be accurate.

View on arXivView PDF

Code Implementations(1)

508Python, Jupyter NotebookMay 30, 20193 years ago

Similar Papers

Cite this paper

@article{koh2019accuracy,
  title  = {On the Accuracy of Influence Functions for Measuring Group Effects},
  author = {Pang Wei Koh and Kai-Siang Ang and Hubert H. K. Teo and Percy Liang},
  year   = {2019},
  eprint = {1905.13289},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.13289}
}

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/1905.13289.svg)](https://codeofpaper.com/paper/1905.13289)

Discussion