Influence Is the Target-Response Jacobian Times Residuals
Organizations: Vlerick Business School · Leiden University
Abstract
We introduce the target-response Jacobian , which measures how model predictions respond to changes in individual training targets. complements training-data attribution (TDA) methods, which characterize sensitivity to the weights placed on training observations in the loss rather than to their targets, and can be computed matrix-free at the same cost as influence-based TDA methods. We show that sample-weight influence and follow from the same implicit differentiation argument and differ only by a per-example multiplier: for pointwise losses, exactly at any stationary point with an invertible Hessian. For canonical-link losses (squared error, logistic, Poisson) the multiplier is the training residual, , and softmax cross-entropy obeys a multiclass version. The identity predicts three ways in which influence fails when used in place of : small residuals shrink its predicted shift towards zero (interpolation collapse), residuals of mixed sign wash out its direction (direction washout), and under softmax cross-entropy it collapses a training point's per-class sensitivities towards its own true class (true-class collapse). We score both operators against refitting with a per-prediction across target perturbations, with no rescaling. On tanh networks trained with squared error (Friedman #1) and logistic loss (MAGIC, HIGGS), with from 2,000 to , reaches between 0.99 and 1.00, whereas influence's is negative on every dataset. On an MNIST softmax classifier, influence's is again negative, while reaches 0.92. On HIGGS, one row of , holding all sensitivities of one prediction, takes under 0.2 seconds on an RTX 3090 after a one-time setup of under five minutes, whereas refitting would take refits.
Figures & tables
| Panel A. Sensitivity to targets | |||
| Object | Identity | Source | Literature |
| Linear regression | exactly | Hoaglin & Welsch (1978) | Statistics |
| Kernel ridge regression | exactly | Saunders et al. (1998) | Smoothers |
| L2 gradient boosting, fixed trees | exactly | Geertsema & Lu (2026) | XAI |
| Target-response Jacobian | locally | Eq. ( 8 ) | TDA |
| Panel B. Sensitivity to sample weights | |||
| Dataset | Method | ||||
|---|---|---|---|---|---|
| Friedman #1 | |||||
| Influence | |||||
| Random | |||||
| MAGIC Gamma | |||||
| Influence | |||||
| Random |
| Increase | Method | ||||
|---|---|---|---|---|---|
| 5% | |||||
| Influence | |||||
| 10% | |||||
| Influence | |||||
| 20% | |||||
| Influence |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning | Where |
| Data and indices | ||
| , , | Numbers of training points, evaluation predictions and parameters | Sec. 3 |
| , | Index of an evaluation prediction and of a training point; | Sec. 3 |
| , | Training targets ; the observed targets | Sec. 3 |
| , | Number of classes; class- entry of a vector target | Sec. 3 |
| Model, loss and training | ||
| ( ) | (Influence) | |
|---|---|---|
| Friedman #1 | MAGIC Gamma | HIGGS | |
| Training points | |||
| Evaluation predictions | |||
| Parameters | |||
| Perturbations per seed | |||
| Seeds | 5 | 5 | 5 |
| Stopping tolerance on the gradient norm, smallest |
| Training points | |
|---|---|
| Evaluation predictions | |
| Retained pixels | – |
| Parameters | – |
| Perturbations per seed | |
| Seeds | |
| Test accuracy | – |
| Dataset | Base fit (s) | columns (s) | refits (s) | |
|---|---|---|---|---|
| Friedman #1 (CPU) | ( ) | |||
| MAGIC Gamma (CPU) | ( ) | |||
| HIGGS (GPU) | ( ) | |||
| MNIST (GPU) | ( ) | |||
| HIGGS (GPU), one row of : median 0.07 s, range 0.07–0.14 s, 30 rows | ||||
| HIGGS (GPU), one-time setup per model: median 271.11 s, range 263.72–271.34 s | ||||
Influence Functions
Influence functions estimate how training examples or interventions change model parameters, predictions, and downstream behavior.
See all 40 papers