Skip to main content
QUICK REVIEW

[Paper Review] On Second-Order Group Influence Functions for Black-Box Predictions

Samyadeep Basu, Xuchen You|arXiv (Cornell University)|Nov 1, 2019
Machine Learning and Data ClassificationComputer Science31 references10 citations
TL;DR

This paper proposes second-order group influence functions to improve the accuracy of influence estimation for groups of training samples in black-box machine learning models. By capturing cross-dependencies among group members through Hessian-based corrections, it achieves significantly higher correlation with ground-truth influence—over 55% improvement in MNIST logistic regression when 50% of training data is removed—outperforming first-order approximations in cases of large or correlated training groups.

ABSTRACT

With the rapid adoption of machine learning systems in sensitive applications, there is an increasing need to make black-box models explainable. Often we want to identify an influential group of training samples in a particular test prediction for a given machine learning model. Existing influence functions tackle this problem by using first-order approximations of the effect of removing a sample from the training set on model parameters. To compute the influence of a group of training samples (rather than an individual point) in model predictions, the change in optimal model parameters after removing that group from the training set can be large. Thus, in such cases, the first-order approximation can be loose. In this paper, we address this issue and propose second-order influence functions for identifying influential groups in test-time predictions. For linear models, across different sizes and types of groups, we show that using the proposed second-order influence function improves the correlation between the computed influence values and the ground truth ones. We also show that second-order influence functions could be used with optimization techniques to improve the selection of the most influential group for a test-sample.

Motivation & Objective

  • To address the limitation of first-order influence functions in estimating the impact of large or correlated groups of training samples on model predictions.
  • To develop a second-order approximation that captures cross-dependencies among group members, improving accuracy when model parameter changes are significant.
  • To enable efficient, retraining-free identification of the most influential training groups for a given test prediction.
  • To evaluate the effectiveness of second-order influence functions in both linear models and deep neural networks.
  • To demonstrate practical utility through optimization-based group selection for interpretability in sensitive applications.

Proposed method

  • Proposes a second-order group influence function that extends first-order influence by adding a correction term based on the Hessian matrix and gradient vectors at optimal model parameters.
  • Derives the second-order approximation as the sum of first-order influences plus a cross-dependency term involving the Hessian and gradients of individual samples in the group.
  • Uses a regularized Hessian (H + λI) to stabilize computations, especially in non-convex settings like deep neural networks.
  • Employs projected gradient descent with L1 relaxation to solve the optimization problem for selecting the most influential group of training samples.
  • Applies the method to both linear models (e.g., logistic regression on MNIST) and deep feedforward networks to evaluate generalization and robustness.
  • Validates performance by comparing second-order influence estimates against ground-truth influence computed via actual retraining.

Experimental results

Research questions

  • RQ1Can second-order influence functions better estimate the true impact of removing a group of training samples compared to first-order approximations when group size or parameter shift is large?
  • RQ2How do cross-dependencies among group members affect model behavior, and can they be captured effectively using Hessian-based corrections?
  • RQ3To what extent does the second-order influence function improve the selection of the most influential group compared to greedy first-order selection?
  • RQ4How do first- and second-order influence functions perform in non-linear models such as deep neural networks, where Hessian assumptions may not hold?
  • RQ5Can the second-order influence function be used effectively in optimization pipelines to identify the most influential training group for a given test prediction?

Key findings

  • In logistic regression on MNIST, the second-order influence function improved correlation with ground-truth influence by over 55% when 50% of training data was removed, compared to first-order approximations.
  • The second-order influence function captures cross-dependencies among group members, leading to more accurate influence estimation when group removal causes large parameter shifts.
  • For deep neural networks, both first- and second-order influence functions showed non-significant correlation with ground truth, but the second-order method marginally improved correlation across group sizes.
  • Optimization using second-order influence functions successfully selected groups with significantly higher influence than greedy first-order selection or random groups, especially for larger group sizes.
  • The second-order influence function remains computationally efficient and scalable, even for large models, due to its reliance on gradients and Hessian-vector products.
  • The method is particularly effective in identifying influential training groups with similar properties, such as demographic subgroups, without requiring retraining.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.