Abstract
Influence diagnostics are essential tools for understanding how individual training data points affect model predictions. However, their practical application has been hindered by a lack of non-asymptotic statistical theory and the high computational cost of Hessian inversion. This paper provides the first comprehensive framework for finite-sample guarantees, establishing that influence estimates converge at a "fast" rate of $1/n$. Furthermore, it quantifies the computational-statistical trade-offs for various approximation algorithms, identifying variance-reduced methods like SVRG as particularly effective for high-precision diagnostics.
Introduction
In the pursuit of interpretable and robust machine learning, researchers often turn to influence functions. These diagnostics answer a fundamental counterfactual question: "How would the model's parameters change if a specific training point were slightly reweighted or removed?"
Despite their conceptual utility, influence functions face two significant challenges. First, existing statistical theory is largely asymptotic, describing behavior only as the dataset size $n$ approaches infinity. This leaves practitioners without clear bounds on diagnostic accuracy for finite, real-world datasets. Second, the computational requirement of inverting the Hessian matrix—the matrix of second-order derivatives—is prohibitive for modern large-scale models. While various approximation methods exist, the relationship between computational effort and statistical reliability remained unquantified until now.
Statistical Guarantees: The $1/n$ Convergence Rate
The authors address the statistical hurdle by establishing finite-sample bounds using the concept of pseudo self-concordance. This property limits the rate at which the curvature of the loss function changes, allowing for a rigorous analysis of the influence estimator's stability.
A key finding is that influence estimation converges at a rate of $1/n$, which is significantly faster than the $1/\sqrt{n}$ rate typical of many machine learning bounds. This suggests that influence diagnostics become reliable relatively quickly as more data is collected. Furthermore, the authors introduce the effective dimension ($p_\star$), demonstrating that the error depends more on the structural alignment of the data than on the raw number of parameters.
Computational Analysis and Algorithm Trade-offs
To address the computational cost, the paper analyzes four classes of algorithms used to approximate the inverse-Hessian-vector product:
- Conjugate Gradient (CG): A deterministic solver.
- Stochastic Gradient Descent (SGD): The standard iterative approach.
- SVRG & Accelerated SVRG: Variance-reduced stochastic methods.
- Low-Rank Approximations: Methods leveraging the Hessian's eigendecay (e.g., Arnoldi/Lanczos).
The analysis reveals a critical trade-off between speed and accuracy. Notably, SVRG emerges as a superior choice for influence diagnostics because its computational error depends only logarithmically on the desired precision ($\varepsilon$), unlike standard SGD.
The study also highlights the importance of eigendecay. In models where a few eigenvalues capture most of the Hessian's information, low-rank methods can achieve performance comparable to more complex stochastic solvers with significantly less computation.
Empirical Validation and LLM Scaling
The theoretical bounds were validated across diverse tasks, ranging from synthetic ridge regression to large language models (LLMs) like BART and DistilGPT-2.
- Tightness of Theory: Experiments on synthetic and public health datasets (e.g., Oregon Medicaid) showed that the empirical error closely followed the predicted $1/n$ slope on log-log plots.
- Scaling in LLMs: For the BART model on question-answering tasks, the influence estimation error decreased tenfold as the sample size increased from 40 to 300.
- Qualitative Shifts: Interestingly, the nature of influential examples changes with scale. At small sample sizes, models are influenced by surface-level features (e.g., question format). As $n$ increases, the diagnostics identify examples with deeper semantic relevance to the target query.
Conclusion and Future Directions
This work bridges the gap between theoretical statistics and practical optimization for influence diagnostics. By providing non-asymptotic guarantees, it offers a roadmap for choosing the right algorithm and sample size for reliable model interpretation. While the current theory assumes convexity, the authors successfully applied their methods to non-convex deep learning models using Hessian damping. Future research will focus on formalizing guarantees for non-convex landscapes and extending these tools to sparse models utilizing $L_1$ regularization.
Summary updated