Deeper Understanding of Black-box Predictions via Generalized Influence Functions

Hyeonsu Lyu, Jonggyu Jang, Sehyun Ryu, Hyun Jong Yang
12/9/2023
cs.LGcs.AI

Official code: hslyu/GIF (9 stars, MIT, last commit 2024-12-05).

Abstract

Influence functions (IFs) elucidate how training data changes model behavior. However, the increasing size and non-convexity in large-scale models make IFs inaccurate. We suspect that the fragility comes from the first-order approximation which may cause nuisance changes in parameters irrelevant to the examined data. However, simply computing influence from the chosen parameters can be misleading, as it fails to nullify the hidden effects of unselected parameters on the analyzed data. Thus, our approach introduces generalized IFs, precisely estimating target parameters' influence while nullifying nuisance gradient changes on fixed parameters. We identify target update parameters closely associated with the input data by the output- and gradient-based parameter selection methods. We verify the generalized IFs with various alternatives of IFs on the class removal and label change tasks. The experiments align with the "less is more" philosophy, demonstrating that updating only 5\% of the model produces more accurate results than other influence functions across all tasks. We believe our proposal works as a foundational tool for optimizing models, conducting data analysis, and enhancing AI interpretability beyond the limitation of IFs. Codes are available at https://github.com/hslyu/GIF.

View on arXivView PDF

Code Implementations(1)

hslyu/GIFOfficial100%
MIT

Official implementation of "Deeper Understanding of Black-box Predictions via Generalized Influence Functions".

90Shell, PythonMar 30, 20231 years agoMIT
influence-functionsmachine-learningunlearning

Similar Papers

Cite this paper

@article{lyu2023deeper,
  title  = {Deeper Understanding of Black-box Predictions via Generalized Influence Functions},
  author = {Hyeonsu Lyu and Jonggyu Jang and Sehyun Ryu and Hyun Jong Yang},
  year   = {2023},
  eprint = {2312.05586},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.05586v2}
}

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

Discussion