Abstract
Influence diagnostics such as influence functions and approximate maximum influence perturbations are popular in machine learning and in AI domain applications. Influence diagnostics are powerful tools for model interpretability, yet they have historically lacked rigorous theoretical grounding for finite datasets. This paper provides the first non-asymptotic statistical and computational guarantees for influence functions under the framework of self-concordance. By establishing finite-sample bounds, the authors show that influence can be estimated accurately and efficiently even for high-dimensional models like Large Language Models (LLMs).
Introduction
In machine learning, understanding which training data points most influenced a specific prediction is crucial for interpretability and debugging. Influence functions provide a mathematical framework for this by estimating how a model's parameters would change if a single training point were slightly upweighted or removed.
Despite their popularity, influence functions have lacked rigorous theoretical grounding for finite datasets. Most existing guarantees rely on "large-sample asymptotics," which assume the number of data points ($n$) approaches infinity—an assumption that often fails in high-dimensional settings with finite data. Furthermore, computing influence requires an "inverse-Hessian-vector product," a task that is computationally prohibitive for modern deep networks. This work addresses both the statistical reliability and the computational efficiency of these diagnostics.
Methodology and Computational Analysis
The authors leverage the concept of pseudo self-concordance, a property of loss functions (such as logistic regression) where the Hessian's curvature does not change abruptly. This property allows for the derivation of non-asymptotic bounds that hold for fixed, finite $n$.
Key methodological contributions include:
- Statistical Bounds: Proving that the error between estimated influence and the "true" population influence decays at a fast rate of $1/n$.
- Computational Analysis: The study compares various iterative solvers for the inverse-Hessian problem. There is a fundamental trade-off between statistical error (from finite data) and computational error (from early stopping).
The analysis reveals that variance-reduced stochastic methods, specifically SVRG, generally offer the best balance between these errors, outperforming traditional full-batch methods like Conjugate Gradient (CG) in many scenarios.
Empirical Validation and Key Insights
The researchers validated their theoretical framework across synthetic data (ridge and logistic regression), real-world economics datasets (Oregon Medicaid and Cash Transfer), and Large Language Models (BART-base and DistilGPT-2).
The $1/n$ Convergence Rate
A primary insight is that under self-concordance, influence functions converge at a rate of $1/n$, which is significantly faster than the $1/\sqrt{n}$ rate typical of many statistical estimators. This suggests that influence diagnostics become reliable relatively quickly as the dataset size increases.
Empirical experiments on linear models perfectly matched this predicted $1/n$ rate. Notably, for LLM question-answering tasks, the error reduced even faster—at an empirical rate of approximately $n^{-1.5}$—as the sample size increased.
Influence in Large Language Models
The study demonstrates that influence diagnostics remain stable and useful for debugging large transformer models when a small damping term ($\lambda I$) is added to the Hessian. Interestingly, as the training set size $n$ grows, the "most influential" points shift from surface-level attributes (e.g., question format) to deeper semantic features (e.g., specific topics).
Conclusion and Future Work
This work bridges the gap between the theoretical foundations and practical applications of influence diagnostics. While the current theory assumes convex loss functions, the successful application to damped non-convex deep networks suggests a path forward. Future research may extend these results to sparse regularized models like Lasso and explore more efficient stochastic optimization paths for billion-parameter models.
Summary updated