HackerPapers

arXiv:1703.04730stat.ML

Understanding Black-box Predictions via Influence Functions

Pang Wei Koh, Percy Liang

Abstract

How can we explain the predictions of a black-box model? In this paper, we use influence functions -- a classic technique from robust statistics -- to trace a model's prediction through the learning algorithm and back to its training data, thereby identifying training points most responsible for a given prediction. To scale up influence functions to modern machine learning settings, we develop a simple, efficient implementation that requires only oracle access to gradients and Hessian-vector products. We show that even on non-convex and non-differentiable models where the theory breaks down, approximations to influence functions can still provide valuable information. On linear models and convolutional neural networks, we demonstrate that influence functions are useful for multiple purposes: understanding model behavior, debugging models, detecting dataset errors, and even creating visually-indistinguishable training-set attacks.

arXiv comments
International Conference on Machine Learning, 2017. (This version adds more historical references and fixes typos.)
Journal reference
DOI
Subjects
stat.MLMachine Learning (Statistics) cs.AIArtificial Intelligence cs.LGMachine Learning

On Hacker News

Linked by 3 identifiable commenters in 3 comments across 3 threads, from Jul 2021 to Mar 2023. Found in 1 HN submission from Mar 2017 to Mar 2017. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • https://arxiv.org/abs/1703.04730 > How can we explain the predictions of a black-box model? In this paper, we use influence functions -- a classic technique from robust statistics -- to trace a model's prediction through the learning algorithm and back to its training data…

      gradysView on HNParent context

  1. Stable Attribution 1 comment
    • Your idea is the gold standard in explaining the influence of training data. People may be interested in this paper and more modern variations: https://arxiv.org/abs/1703.04730 It attempts to do as you suggest in a tractable way, to understand which training data is most…

      version_fiveView on HNParent context

    • Related to understanding how ML models are making their decisions is the concept of influence [1] (or broadly, instance based explanations) [2] where the training data that is most influential in a prediction (basically the analogy the model used) is highlighted. See also [3]…

      andy99View on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.