Skip to main content
QUICK REVIEW

[Paper Review] Influence Functions in Deep Learning Are Fragile

Samyadeep Basu, Philip Pope|arXiv (Cornell University)|Jun 25, 2020
Adversarial Robustness in Machine LearningComputer Science33 references15 citations
TL;DR

This paper investigates the reliability of influence functions in deep learning, demonstrating they are fragile across diverse architectures and datasets. Through large-scale experiments, it shows influence estimates degrade significantly in deeper networks, are sensitive to weight decay and architecture, and are often inaccurate due to non-convexity and Hessian approximation errors, calling for improved estimators in non-convex settings.

ABSTRACT

Influence functions approximate the effect of training samples in test-time predictions and have a wide variety of applications in machine learning interpretability and uncertainty estimation. A commonly-used (first-order) influence function can be implemented efficiently as a post-hoc method requiring access only to the gradients and Hessian of the model. For linear models, influence functions are well-defined due to the convexity of the underlying loss function and are generally accurate even across difficult settings where model changes are fairly large such as estimating group influences. Influence functions, however, are not well-understood in the context of deep learning with non-convex loss functions. In this paper, we provide a comprehensive and large-scale empirical study of successes and failures of influence functions in neural network models trained on datasets such as Iris, MNIST, CIFAR-10 and ImageNet. Through our extensive experiments, we show that the network architecture, its depth and width, as well as the extent of model parameterization and regularization techniques have strong effects in the accuracy of influence functions. In particular, we find that (i) influence estimates are fairly accurate for shallow networks, while for deeper networks the estimates are often erroneous; (ii) for certain network architectures and datasets, training with weight-decay regularization is important to get high-quality influence estimates; and (iii) the accuracy of influence estimates can vary significantly depending on the examined test points. These results suggest that in general influence functions in deep learning are fragile and call for developing improved influence estimation methods to mitigate these issues in non-convex setups.

Motivation & Objective

  • To evaluate the reliability and accuracy of influence functions in deep neural networks, particularly in non-convex optimization settings.
  • To investigate how network depth, width, architecture, and regularization techniques affect influence estimation quality.
  • To assess the impact of Hessian approximation methods and model convergence on influence estimate fidelity.
  • To provide empirical evidence on the limitations of first-order influence functions in real-world deep learning setups.
  • To examine the feasibility of using influence functions for interpretability and model debugging in large-scale models like ResNet-50 on ImageNet.

Proposed method

  • Empirically evaluate influence functions on a range of models: shallow networks (Iris, MNIST), small CNNs, and deep architectures (ResNets) on MNIST, CIFAR-10, and ImageNet.
  • Use first-order Taylor approximation via gradients and Hessian-vector products to compute influence scores post-hoc.
  • Compare influence estimates against ground-truth influence obtained via leave-one-out retraining from optimal model parameters.
  • Apply stochastic Hessian-vector product approximations (e.g., from Agarwal et al., 2016) and assess their error in influence estimation.
  • Measure correlation between estimated and ground-truth influence using Pearson and Spearman correlation metrics.
  • Validate the retraining-from-optimal-parameters strategy as a practical proxy for retraining from scratch, using parameter norm differences and correlation stability.

Experimental results

Research questions

  • RQ1How accurate are first-order influence functions in deep neural networks compared to ground-truth influence from leave-one-out retraining?
  • RQ2How do network depth and width affect the reliability of influence estimates in non-convex deep learning settings?
  • RQ3What role does weight decay regularization play in improving the quality of influence estimates?
  • RQ4How do Hessian approximation techniques impact the accuracy of influence estimation in large-scale models?
  • RQ5How does the choice of test point influence the reliability of influence estimates across different architectures and datasets?

Key findings

  • Influence estimates are fairly accurate for shallow networks but become increasingly erroneous in deeper architectures, particularly ResNet-50 on ImageNet.
  • For certain architectures and datasets, weight decay regularization is crucial to achieving high-quality influence estimates.
  • The accuracy of influence estimates varies significantly depending on the selected test point, indicating high sensitivity to local loss landscape geometry.
  • Stochastic Hessian-vector product approximations used in influence estimation are often erroneous, contributing to poor estimate quality.
  • Ground-truth influence estimates obtained via leave-one-out retraining show high variability, especially in large models like ResNet-50, suggesting instability in the retraining baseline.
  • Correlations between influence estimates and ground-truth are very low (below 0.15) on ImageNet, indicating poor alignment even with retraining from optimal parameters.

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.