TL;DR
The Approximate Fisher Influence Function (AFIF) provides a faster, more stable way to calculate how individual training points affect a machine learning model's behavior. By replacing the computationally heavy and often unstable Hessian matrix with a Fisher Information Matrix (FIM) approximation, the authors achieve significant speedups and theoretical guarantees for non-smooth regularizers, even in non-convex settings.
What Problem Does This Paper Address?
Understanding "data influence"—how a model's predictions or fairness change if you remove a specific training point—is vital for tasks like machine unlearning, data attribution, and efficient cross-validation.
Traditionally, this is done using Influence Functions based on the "Newton step," which requires calculating the inverse Hessian matrix. However, the Hessian is a nightmare for modern deep learning: it is computationally expensive to compute, memory-intensive, and often numerically unstable (singular or ill-conditioned) in high-dimensional or non-convex spaces. While researchers have tried using the Fisher Information Matrix (FIM) as a "lighter" substitute, we’ve lacked a rigorous theoretical understanding of when and why FIM-based approximations work, especially when models use non-smooth regularizers like $\ell_1$ (Lasso) or group sparsity.
Methods
The authors introduce the Approximate Fisher Influence Function (AFIF). The core innovation lies in two areas:
- Information Geometry over Raw Curvature: Instead of using the Hessian (which measures the loss function's curvature), AFIF uses an approximation of the FIM derived from the model's probabilistic structure (specifically, exponential families). This captures the underlying geometry of the parameter space more efficiently.
- Handling Non-Smoothness: Most influence function theories assume everything is twice-differentiable. AFIF incorporates a proximal operator to handle non-smooth regularizers, making it applicable to a much wider range of modern ML models.
Computationally, AFIF leverages the fact that the FIM only requires first-order gradients. When used with stochastic estimation algorithms like LiSSA, AFIF replaces expensive Hessian-Vector Products (HVPs) with simpler Vector-Jacobian Products (VJPs).
Datasets
The authors evaluated AFIF across several domains:
- Fairness & Unlearning: The Adult, Insurance, and Crime datasets were used to identify and "unlearn" data points that negatively impact model fairness.
- Cross-Validation: The Adult dataset was used to estimate test loss via leave-k-out cross-validation.
- Data Attribution: CIFAR-10 (specifically the "plane" and "car" classes) was used with ResNet18 and a simple CNN to identify which training images most influenced specific test predictions.
Key Insights and Ideas
- The "Vanishing Remainder": The authors show that the difference between the Hessian and the FIM (the remainder term $R$) actually shrinks as a model's training accuracy improves. This provides a theoretical justification for why FIM is a great proxy for the Hessian in well-trained models.
- Stability is King: In settings where the Hessian is ill-conditioned (e.g., very wide networks with low weight decay), standard influence functions fail and produce "invalid" (unstable) estimates. AFIF remains stable and follows the true loss trends.
- First-Order Efficiency: Because the FIM relies on first-order derivatives, it is fundamentally more compatible with standard automatic differentiation frameworks, leading to fewer floating-point operations (FLOPs) and faster execution.
Key Results
- Speed: AFIF consistently outperformed Hessian-based methods. In cross-validation tasks, it was ~50% faster. In fairness tasks, it achieved speedups between 1.13x and 1.19x.
- Stability: In an ill-conditioned cross-validation experiment, the Hessian-based method failed to converge to the correct estimate, while AFIF accurately tracked the test loss.
- Utility Parity: For data attribution on CIFAR-10, AFIF identified the exact same influential training samples as the Hessian method but with significantly lower computational overhead.
- Theoretical Firsts: The paper provides the first formal theoretical guarantees for FIM-based influence in fairness evaluation and cross-validation under general regularization.
Limitations and Future Work
- Exponential Family Constraint: The current theoretical framework relies on the loss function having an exponential family structure (like Cross-Entropy or MSE). While common, this doesn't cover every possible loss function.
- Complex FIM Variants: The authors suggest that future work should explore more sophisticated FIM approximations, such as the Kronecker-Factored FIM (K-FAC), which could offer even better scaling for massive models.
- Higher-Order Influences: The current work focuses on first-order influence; extending this to higher-order Taylor expansions using statistical properties is an open research direction.
Summary updated