potentialpaper

Z0-Inf: Zeroth Order Approximation for Data Influence

Narine Kokhlikyan, Diego Garcia-Olano, Kamalika Chaudhuri, Saeed Mahloujifar

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a zeroth order approximation for data influence.

Abstract. Influence functions are a popular tool for measuring the impact of a training point on a model's prediction; in particular, self-influence, which quantifies the influence of a training point on itself, has found many uses such as data selection and outlier detection. However, the use of influence functions has been severely limited in modern models such as LLMs due to their low accuracy or high computational cost: most existing algorithms are either highly inaccurate, or require computing gradients or approximations to inverse Hessians, which can be prohibitive for large models. In this work, we introduce a highly efficient zeroth-order approximation to data influence that requires only a fraction of the time and memory footprint of previous methods and is applicable to both differentiable and non-differentiable loss functions. We demonstrate that in addition to its computational advantage, our method delivers superior accuracy in estimating self-influence and comparable or better accuracy in estimating train-test influence for data selection tasks, paving the way for broader and more practical application of influence-function techniques in state-of-the-art AI systems.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
17 Sep 2025ICLR 2026submittedICLR 2026Rejected—[1]
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposes Z0-Inf, a zeroth-order method for estimating data influence from training checkpoints. Z0-Inf replaces per-example gradients with loss-only finite-difference directional estimates between training checkpoints. The train-test influence is then a dot product of these estimates, accelerated by a precomputed checkpoint Gram matrix. Self-influence is approximated very cheaply by the variance of per-example losses across checkpoints (derived from an upper bound). Because it needs only forward loss evaluations, it supports non-differentiable losses and scales to fully fine-tuned Llama-3.1-8B. Experiments compare mainly with TracIn, LoGRA, and the subsample-and-retrain proxy SSRT.

In terms of strengths, reviewers agree that the loss-only formulation is novel and efficient. The Gram-matrix implementation and self-influence variance shortcut are practically useful.

In terms of weaknesses, the reviewers raised a few concerns:

  • The choice of SSRT as ground truth seems non-standard in data attribution influence, which casts doubt in the validity of the evaluation metric.
  • TracIn uses last layer only. A comparison with the full-parameter TracIn would be more convincing.
  • The self-influence variance proxy is only an upper bound. It would be interesting to see more in-depth analysis of the approximation here.
  • It is unclear how does the proposed method mitigate the first-order approximation.
  • The checkpoint/epoch terminology is conflated, leaving the practical checkpoint requirement unclear.

Addressing the concerns above in the rebuttal, especially the choice of ground truth and the comparison with the full-parameter TracIn, would be very helpful.

Final justification

The author response has well addressed the main concerns raised by the reviewer.

Area Chair c2Xn · Meta-reviewOpenReview ↗
Final justification
The author response has well addressed the main concerns raised by the reviewer.
Read meta-review
Meta-review

The paper proposes Z0-Inf, a zeroth-order method for estimating data influence from training checkpoints. Z0-Inf replaces per-example gradients with loss-only finite-difference directional estimates between training checkpoints. The train-test influence is then a dot product of these estimates, accelerated by a precomputed checkpoint Gram matrix. Self-influence is approximated very cheaply by the variance of per-example losses across checkpoints (derived from an upper bound). Because it needs only forward loss evaluations, it supports non-differentiable losses and scales to fully fine-tuned Llama-3.1-8B. Experiments compare mainly with TracIn, LoGRA, and the subsample-and-retrain proxy SSRT.

In terms of strengths, reviewers agree that the loss-only formulation is novel and efficient. The Gram-matrix implementation and self-influence variance shortcut are practically useful.

In terms of weaknesses, the reviewers raised a few concerns:

  • The choice of SSRT as ground truth seems non-standard in data attribution influence, which casts doubt in the validity of the evaluation metric.
  • TracIn uses last layer only. A comparison with the full-parameter TracIn would be more convincing.
  • The self-influence variance proxy is only an upper bound. It would be interesting to see more in-depth analysis of the approximation here.
  • It is unclear how does the proposed method mitigate the first-order approximation.
  • The checkpoint/epoch terminology is conflated, leaving the practical checkpoint requirement unclear.

Addressing the concerns above in the rebuttal, especially the choice of ground truth and the comparison with the full-parameter TracIn, would be very helpful.

1 comment
Authors · CommentOpenReview ↗

We would like to thank the Area Chair for reading through the reviews, our paper and providing a comprehensive list of important concerns that needs to be addressed. We would like to mention that we have addressed those questions / concerns in each rebuttal response. Below we summarize the responses to the important concerns raised by the reviewers.

Question 1: The choice of SSRT as ground truth seems non-standard in data attribution influence, which casts doubt in the validity of the evaluation metric.

Response: We responded to this question in our rebuttal responses to reviewers 1 and 3

In summary: We justify the choice of SubSample and ReTrain (SSRT) in multiple grounds:

  1. (SSRT) is an approximation to the exact leave-one-out influence with theoretical convergence guarantees (Feldman & Zhang, 2020).
  2. We show that SSRT accurately approximates true leave-one-out (LOO) influence.
    • We compare SSRT vs Leave-One-Out (LOO) for a small linear model as suggested by reviewer 1. This experiment shows that SSRT achieves Spearman ρ = 0.87 (p < 10⁻³¹) with true LOO, confirming that SSRT faithfully captures the gold-standard remove-and-retrain signal.
  3. We show that SSRT remains statistically reliable at LLM scale.
    • We perform split-half reliability analysis. Splitting trials into two independent sets of 50, we obtain Spearman correlations 0.754 (GSM8k), 0.774 (MATH-500), and 0.842 (Dolly). The split-half reliability (0.654–0.842) proves SSRT is measuring something real and reproducible at LLM scale. More details can be found in the responses to reviewer 1 and 3
  4. We explain why SSRT's mechanism does not degrade with model size.
    • SSRT is a nonparametric Monte Carlo estimator. It averages model predictions across random subsamples without assuming convexity, gradient quality, or other structural properties that degrade with scale.
  5. We perform Independent, SSRT-free validation in section 4.4
    • Our data selection experiment (Figure 7) validates Z0-Inf without using SSRT. Here top-influential training points identified by Z0-Inf yield higher data selection accuracy for train-test.

Question 2: TracIn uses the last layer only. A comparison with the full-parameter TracIn would be more convincing.

Response: We apologize for the confusion about the layers used for TracIn in Z0-Inf. We would like to confirm that we used all layers whenever it was possible. Specifically in CIFAR, MNIST, and linear model experiments. For LLMs we used only last layer since it was not feasible given the large number of parameters. We will revise the text to make explicit which experiments use full-parameter TracIn and which use the last layer only.

Question 3: The self-influence variance proxy is only an upper bound. It would be interesting to see more in-depth analysis of the approximation here.

Response: As reviewer 1 suggests, we justify couchy-Schwartz slack by plotting the relationship between the variance and the SSRT. Here we observe PearsonR correlations for the LLM fine-tuning: GMS8k (0.936), Math-500 (0.841), Dolly (0.77). We provide additional clarification in the responses to reviewer 1 and 2. We can also plot ratio = Zinf_per_point / ZSinf_per_point, in addition for quantifying the upper bound. Due to the textbox limitation we were not able to upload the scatter plot. We will add it in the manuscript.

Question 4: It is unclear how the proposed method mitigate the first-order approximation.

Response: In our response to reviewer 3 we explain how our first order approximation formulation differs from the one used in TracIn and why it works better in our case.

  • We highlight the key difference:
    • Z0-Inf plugs in the actual observed loss difference on the left-hand side, then solves for gg.
    • TracIn plugs in the gradient on the right-hand side, then hopes the left-hand side is approximately correct.
    • Why Z0-Inf is better for large models: The Taylor approximation error scales with O(∣∣θi+1−θi∣∣2)O(||\theta_{i+1} - \theta_i||^2) and with the curvature of the loss landscape. Both of which increase with model size and complexity. Z0-Inf sidesteps this entirely because it uses the exact loss change.

Question 5: The checkpoint/epoch terminology is conflated, leaving the practical checkpoint requirement unclear.

Response: We clarified in our response to reviewer 3 that in our experiments checkpoints are saved after each full epoch (full data pass). Nonetheless, nothing prevents saving more frequently. Our method needs checkpoints, not epochs. Our Figure 3 (phase-wise view) and Figure 8 (epoch-wise correlation) already show how correlation evolves as we add more checkpoints. We will add a sensitivity ablation showing performance as a function of the number of checkpoints, and clarify this terminology in the revised paper.

Reviewer ov8xOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose zero-th order approximation by leveraging finite difference to approximate data influence, so that its approximation performance better replicates “remove-and-retrain” while being more computation efficient. They demonstrate the effectiveness via better correlation with a “remove-and-retrain” proxy value, SSRT, and better in-distribution identification on image and textual data.

Strengths and weaknesses

Pros

  1. The paper proposes finite-difference to approximate gradient-based data attribution methods.
  2. The method alleviates the heavy gradient computation, so the approach is more efficient.
  3. They demonstrate decent performance when using SSRT as baselines to check their approximation accuracy.

Cons

  1. Ground-truth choice: What they show is that their method correlates better with SSRT as models get larger, especially for LLM self-influence. But this is method-to-SSRT accuracy, not method-to-true-influence accuracy. The paper reports correlation with SSRT across linear, vision, and LLM models, but it does not prove that SSRT itself remains accurate as model size grows.
  2. The paper argues that the gradient is a poor first-order approximation to checkpoint loss differences, and that this first-order approximation is one key source of approximation error. However, the proposed method is still derived from a first-order linear approximation form, as shown in lines 162–164. It replaces the gradient with a finite-difference directional estimate, but it is not clear why this should be much better than the gradient approach. Another concern is the motivation around approximating remove-and-retrain. Prior work[1] has shown that classical influence-function approximations may not reliably approximate remove-and-retrain effects, especially in modern deep networks. While the paper uses this observation to motivate moving away from second-order methods, it is still not fully clear whether the proposed zeroth-order estimator is estimating the same target as remove-and-retrain, or mainly matching the SSRT proxy empirically.
  3. The method appears to require 10–15 training epochs/checkpoints, while typical LLM fine-tuning often uses far fewer epochs. For instance, Xia et al. [2024] uses 4 epochs/checkpoints in its default setting. It is unclear whether the reported accuracy would hold under realistic fine-tuning schedules with only 1–4 epochs. The paper should evaluate sensitivity to the number of available checkpoints and clarify whether “epoch” means a full data pass or simply a saved training checkpoint.
  4. Section 4.4 mainly uses an in-distribution data-selection proxy under WinoGrande contamination, while direct comparison to SSRT is limited to Appendix A.8 and shows substantially lower correlation. A comparison between 2 methods whose correlation is mostly around or below 0.1 may be less convincing.
  5. (minor compared with the previous 4) The empirical comparison is limited. The paper mainly compares with TracIn and LoGra, but the recent data attribution literature contains many relevant literature [2-5].

[1] Bae, Juhan, et al. "If influence functions are the answer, then what is the question?." Advances in Neural Information Processing Systems 35 (2022): 17953-17967. [2] Kwon, Y., Wu, E., Wu, K., & Zou, J. Y. (2024, May). Datainf: Efficiently estimating data influence in lora-tuned llms and diffusion models. In International Conference on Learning Representations (Vol. 2024, pp. 21921-21942). [3] Park, Sung Min, et al. "Trak: Attributing model behavior at scale." arXiv preprint arXiv:2303.14186 (2023). [4] Bae, Juhan, et al. "Training data attribution via approximate unrolled differentiation." arXiv preprint arXiv:2405.12186 (2024). [5] Tu, Z., Chen, C., & Du, Y. (2025, November). RRInf: Efficient Influence Function Estimation via Ridge Regression for Large Language Models and Text-to-Image Diffusion Models. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (pp. 18505-18518).

Questions

Please refer to the previous section.

Limitations

no. There is no explicit section that summarize the limitations. Please refer to weakness of the paper.

Final justification

SSRT seems to be an acceptable ground truth for self-influence given the statistics. However, the effective of train-test influence remains marginal as on Dolly and MATH-500 (2 out of 3 tasks), all methods sit near ceiling. Concern 1 and Concern 4 are marginal resolved as the ground truth seems be non-trust worthy for train-test influence, an important claim in the paper, while the rest concerns are generally addressed. The benefits seem to overweigh the drawbacks after the rebuttal and hence I would like to increase the evaluation.

Formatting concerns

NA

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for thoughtful and detailed feedback. Below are our responses to the concerns raised by the reviewer.

Concern 1: Ground Truth Choice

We would like to clarify that Subsample and Retrain (SSRT) is an approximation to the exact leave-one-out influence with theoretical convergence guarantees (Feldman & Zhang, 2020).

We validate SSRT's accuracy several ways.

  1. SSRT remains statistically reliable at LLM scale. To directly assess whether our 100-trial SSRT provides a reliable ground truth, we perform split-half reliability analysis. Splitting trials into two independent sets of 50, we obtain Spearman correlations 0.754 (GSM8k), 0.774 (MATH-500), and 0.842 (Dolly). The split-half reliability (0.654–0.842) proves SSRT is measuring something real and reproducible at LLM scale. Applying Spearman-Brown corrected reliability we establish that SSRT captures genuine signal at LLM scale.. See the details in the response to first Reviewer’s 3rd question.

  2. SSRT accurately approximates true leave-one-out (LOO) influence. We compare SSRT vs Leave-One-Out (LOO) for a small linear model. For a small scale, for the first 100 training examples. This experiment shows that SSRT achieves Spearman ρ = 0.87 (p < 10⁻³¹) with true LOO, confirming that SSRT faithfully captures the gold-standard remove-and-retrain signal.

  3. Why SSRT's mechanism does not degrade with model size. SSRT is a nonparametric Monte Carlo estimator. It averages model predictions across random subsamples without assuming convexity, gradient quality, or other structural properties that degrade with scale. Its accuracy depends on (a) training algorithm stability and (b) number of trials. LLM fine-tuning satisfies these requirements well: pre-trained initialization near a favorable minimum, small learning rates, and few epochs produce stable training trajectories across subsamples.

  4. Independent, SSRT-free validation. Our data selection experiment (Figure 7) validates Z0-Inf without reference to SSRT: top-influential training points identified by Z0-Inf yield higher data selection accuracy than both TracIn and random baselines, demonstrating genuine causal utility.

We will add these analyses (LOO validation and split-half reliability table to the revised paper.

Concern 2, Part 1:Poor first-order approximation and Z0-Inf

Let’s analyse step-by-step.

What TracIn does (lines 133–134 of our paper, Eq. 3) is: ℓ(θi+1,xt)−ℓ(θi,xt)≈∇ℓ(θi,xt)⊤(θi+1−θi)\ell(\theta_{i+1}, x_t) - \ell(\theta_i, x_t) \approx \nabla\ell(\theta_i, x_t)^\top(\theta_{i+1} - \theta_i) This is a Taylor expansion. It uses the gradient at θi\theta_i​ to predict what the loss difference will be. The prediction can be wrong and Figure 1 shows it is wrong for large models.

What Z0-Inf does (Eq. 5 / closed form) is: g(θi,xt)=ℓ(θi+1,xt)−ℓ(θi,xt)∥θi+1−θi∥2⋅(θi+1−θi)g(\theta_i, x_t) = \frac{\ell(\theta_{i+1}, x_t) - \ell(\theta_i, x_t)}{\|\theta_{i+1} - \theta_i\|^2} \cdot (\theta_{i+1} - \theta_i)

ℓ(θi+1,xt)−ℓ(θi,xt)\ell(\theta_{i+1}, x_t) - \ell(\theta_i, x_t) is observed, Exact for Z0-Inf.

The key difference: Z0-Inf plugs in the actual observed loss difference on the left-hand side, then solves for gg. TracIn plugs in the gradient on the right-hand side, then hopes the left-hand side is approximately correct. Why Z0-Inf is better for large models: The Taylor approximation error scales with O(∣∣θi+1−θi∣∣2)O(||\theta_{i+1} - \theta_i||^2) and with the curvature of the loss landscape. Both of which increase with model size and complexity. Z0-Inf sidesteps this entirely because it uses the exact loss change. The "price" it pays (using a directional proxy instead of the full gradient) is less damaging because the training trajectory direction is the most informative direction anyway.

Concern 2, Part 2: Is Z0-Inf estimating the same target as remove-and-retrain, or just matching the SSRT proxy?

We acknowledge that the relationship between any trajectory-based influence estimator (including TracIn) and true remove-and-retrain is an open theoretical question. As noted in prior work [Basu et al., 2021; Li et al., 2024], no existing practical method has been proven to converge to true leave-one-out influence in modern deep networks.

We emphasize three points:

  1. SSRT is the established evaluation baseline in the literature. SSRT [Feldman and Zhang, 2020] was designed as a computationally feasible proxy for remove-and-retrain and has been validated and adopted by multiple prior works We use the same evaluation protocol as these works for fair comparison.
  2. Our method and SSRT are not trivially the same estimator. The two measure fundamentally different things: SSRT measures how a point's presence or absence in the training set shifts losses across an ensemble of independently retrained models Z0-Inf measures how a point's loss co-varies with other points' losses along a single training trajectory These are structurally different: SSRT marginalizes over data subsets, Z0-Inf marginalizes over training time.
  3. We do provide downstream validation. Figure 7 shows that our train-test influence scores successfully identify training examples from the correct distribution (data selection task), confirming that Z0-Inf captures semantically meaningful influence relationships beyond just SSRT correlation."

Additionally, we show high correlation between Remove and Retrain based on Leave-One-Out and SSRT for a linear model.

Concern 3: Sensitivity to the number of available checkpoints and whether “epoch” means a full data pass or simply a saved training checkpoint.

In our experiments checkpoints are saved after each full epoch (full data pass). Nonetheless, nothing prevents saving more frequently (e.g. every 0.5 epochs or every N steps). The method needs checkpoints, not epochs.

Our Figure 3 (phase-wise view) and Figure 8 (epoch-wise correlation) already show how correlation evolves as we add more checkpoints.

For practitioners with short fine-tuning schedules (e.g. 3 epochs), one can simply save checkpoints at sub-epoch intervals to obtain the larger than 1 snapshot that can be used by our method. We will add a sensitivity ablation showing performance as a function of the number of checkpoints, and clarify this terminology in the revised paper.

Concern 4: Train-Test Influence Limitations

This is actually a known issue with train-test influence in general:

  1. Self-influence has a strong signal: outliers, mislabeled points, and memorized examples have reliably high self-influence. The ranking is "clean."

  2. Train-test influence is inherently noisier because most training points have negligible effect on any given test point. The signal-to-noise ratio is much lower, especially when there are many redundant training examples. This is not specific to Z0-Inf. TracIn and LoGra show similarly low (or lower) correlations. Our paper already discusses this in Section 5 (lines 310–323) and Appendix A.8 (lines 490–498).

  3. The data selection evaluation (Figure 7) is a more meaningful downstream metric. Rather than asking 'does the full ranking match SSRT?', it asks: 'do the top-ranked influential pairs identify semantically relevant training data?' This directly tests the practical utility of the method. It shows Z0-Inf achieves comparable or better data selection accuracy to TracIn at significantly lower cost.

  4. Top-k focused evaluation is more appropriate for train-test. We note that Figure 11 computes correlation over only the Top-5 and Top-10 most influential training examples (not the full ranking). For top-k evaluation, Z0-Inf outperforms LoGra and TracIn on 2 of 3 datasets. The absolute values are low because even among top-k, the SSRT estimates are noisy (Feldman and Zhang [2020] note this limitation).

  5. Qualitative validation. Table 2 and Figure 13 show that Z0-Inf's top-ranked train-test pairs are semantically meaningful (near-duplicates, same-topic pairs), providing additional evidence beyond the SSRT correlation."

In general train-test influence is an unsolved problem for all methods at the Remove and Retrain correlation level. Our contribution is primarily in self-influence and in computational efficiency where we clearly win. For train-test, we show comparable or better quality at much lower cost.

Concern 5: Comparison against similar work in the literature

We note that three of the four cited methods [2-4] are already discussed in our Related Work:

  • DataInf [2] (Kwon et al., 2023) proposes a closed-form IHVP approximation specifically for LoRA-tuned models. It is a second-order method that falls into the same category as LoGra (Choe et al., 2024), which we compare against.

  • TRAK [3] (Park et al., 2023) uses random projections to scale influence computation. We already use the Linear Data Modeling Score (LDS) evaluation metric proposed by TRAK in Appendix A.3. TRAK still requires gradient computation (first-order), making it subject to the same scalability limitations as TracIn for large models.

  • Approximate Unrolled Differentiation [4] (Bae et al., 2024) addresses convexity concerns via segmented stationary unrolling. As we discuss in Section 1.1, it still relies on first-order gradients, which is precisely the bottleneck our zeroth-order approach eliminates.

  • RRInf [5] (Tu et al., 2025) is concurrent work (published Nov 2025) that uses ridge regression to approximate influence. We will add a discussion of this method in the revised manuscript.

Our experimental baselines (TracIn, LoGra) were chosen to represent the two dominant paradigms: first-order (trajectory-based) and second-order (IHVP-based). LoGra is the most recent and competitive method in the second-order category, and TracIn is the canonical first-order method that Z0-Inf directly improves upon. We believe this provides a fair and representative comparison, but will expand the Related Work discussion to make the positioning relative to [2-5] more explicit.

Authors · CommentOpenReview ↗

We would like to thank the reviewer for the detailed feedback. Please let us know if you have any comments about the rebuttal responses. We would be happy to address them.

Reviewer ov8x · CommentOpenReview ↗

Thank the authors for the rebuttal; the checkpoint clarification resolves Concern 3. Two concerns might remain.

  1. SSRT as ground truth for train-test: Concern 1 defends SSRT as reliable; Concern 4 then blames SSRT noise for the low train-test correlations. If train-test SSRT is valid, then ρ=0.03\rho = 0.03–0.130.13 (Fig. 11) means the method does not recover train-test influence. If it is too noisy to be ground truth, the paper shall be cautious in claiming effective train-test evaluation, and the abstract's "comparable or better accuracy in estimating train-test influence" may not be unsupported by construction. Note that Figure 7 may not fully substitute: it shows influence beats random, but on Dolly and MATH-500 all methods sit near ceiling.

  2. First-order approximation of Z0Inf: I recall the confusion that thinking Z0-inf uses first order is from row 165: It says g is closed form solution from Eq.3 but Eq.3 uses first-order approximation. If row 165 shall be Eqn5 has closed form solution?

Reviewer iXGQOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a zero-order approximation method for influence function. The key idea is to approximate gradients using the loss and parameter differences, enabling IF to be measured without backward propagation. Self-influence is also approximated in the form of variance, making it efficient to compute. Empirically, the authors demonstrate that the proposed method has a higher correlation with true influence than the baselines, and that in data selection experiments, it significantly reduces runtime while maintaining performance.

Strengths and weaknesses

Strengths

  • The paper proposes an efficient influence estimation method by approximating gradients with the loss and the trace of parameters.
  • It extensively analyzes correlations and shows that the proposed method approximates influence well.
  • In data selection, it achieves similar performance with TracIn while substantially reducing runtime.

Weaknesses

  • The comparison is mainly with TracIn. It would be useful to compare against GEX [1], another efficient influence estimation method.
  • The application experiments are limited to data selection. Including mislabeled data detection or other applications would make the evaluation more comprehensive.
  • The paper lacks an theoretical error bound analysis.

[1] Kim, SungYub, Kyungsu Kim, and Eunho Yang. "Gex: A flexible method for approximating influence via geometric ensemble." Advances in Neural Information Processing Systems 36 (2023): 5888-5911.

Questions

Please see the weakness section.

Limitations

The authors address limitation in Section 5.

Final justification

The paper proposes a novel application of zeroth-order methods to influence functions, and demonstrates that it predicts LOO influence well while remaining efficient. However, the range of applications explored is limited, and the zeroth-order formulation does not appear to raise a significnat technical challenge. I therefore determine a borderline accept.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for taking time to review our paper and for the thoughtful feedback. Below we address the reviewer’s concerns.

Concern 1: Comparison with GEX

There are several differences between our approach and GEX:

  1. Checkpoint source: GEX requires generating additional post-hoc checkpoints by running SGD from the final model θ∗\theta^*. It is an extra computational step that must be performed after training completes. Z0-Inf reuses checkpoints already saved during training, requiring no additional model updates.

  2. Scale of evaluation: GEX was evaluated exclusively on small-scale settings (ResNets on CIFAR-10/100). Our work demonstrates effectiveness at LLM scale (LLama3.1 8B), where the advantages of zeroth-order methods become most pronounced. To our knowledge, GEX has not been evaluated on models of this scale.

  3. Train-test influence: Our method extends to train-test influence via the finite-difference directional gradient (Algorithm 1), with demonstrated effectiveness for data selection in LLMs (Figure 7). GEX's extension to pairwise influence uses a different formulation that has not been validated at this scale.

Concern 2: The application experiments are limited to data selection. Including mislabeled data detection or other applications would make the evaluation more comprehensive.

  1. Our primary evaluation metric rank correlation with the SubSample-and-Retrain ground truth accurately estimates self-influence. By construction, it identifies mislabeled and memorized examples, since these are precisely the training points with the highest self-influence scores (as established by Feldman and Zhang [2020]).

  2. Top-k overlap analysis (Figure 2) already measures the ability to rank training points. The intersection of top-k self-influential examples between SSRT and our method measures exactly the ability to retrieve the most anomalous/memorized training points. The same set that a mislabeled data detection pipeline would target. A method with higher SSRT correlation will necessarily perform better at detecting such points. Nonetheless, we agree that an explicit label-noise experiment would strengthen the presentation and will be included in the revised manuscript. We also encourage to check out our reply on how SSRT accurately approximates the ground truth in the first reviewer's response.

Concern 3: The paper lacks a theoretical error bound analysis.

There are several important observations to make here:

Z0-Inf uses the exact loss difference ℓ(θi+1,x)−ℓ(θi,x)\ell(\theta_{i+1}, x) - \ell(\theta_i, x), which has zero approximation error for the loss change. In contrast, TracIn's gradient-based approximation incurs a Taylor remainder of order O(∥θi+1−θi∥2)O(\|\theta_{i+1} - \theta_i\|^2) (bounded by L2∥di∥2\frac{L}{2}\|d_i\|^2 for L-smooth losses, approximates the loss change with exact gradients). This error grows with step size and model complexity. This is precisely the regime shown in Figure 1.

Although loss difference is exact for Z0Inf, Z0Inf depends on how well the set of neighbor displacements {θj−θi},j∈Mi\{\theta_j - \theta_i\}, {j \in M_i} span the directions that matter for influence. If all our neighbors are consecutive checkpoints, the directions are approximately collinear. But this one direction is the training trajectory direction which is the one that carries the loss-change signal.

  • For self-influence, we don't even need direction. We just need the scalar magnitude (variance). This is why Algorithm 2 works so well.
  • For train-test influence, what matters is whether xsx_s​ and xtx_t​ respond similarly to the same parameter perturbation (the training step). The displacement θi+1​−θi​θ_{i+1​}−θ_i​ is that perturbation. We don't need to know how the gradients differ in orthogonal directions. We just need to know if both losses move together along the actual training trajectory.

Our empirical results (Figure 1) show that TracIn's Taylor error is the dominant source of inaccuracy for large models, which is why Z0-Inf wins.

We will add this analysis as a formal proposition in the revised manuscript. We note that TracIn itself does not provide a formal error bound relative to true leave-one-out influence. The relationship between TracIn and true influence remains an open theoretical question [Basu et al., 2021; Li et al., 2024].

Authors · CommentOpenReview ↗

We would like to thank the reviewer for the thoughtful feedback. Please let us know if you have any comments about the rebuttal responses. We would be happy to address them.

Reviewer iXGQ · CommentOpenReview ↗

I appreciate the authors for the detailed response. Most of my concerns have been addressed, and I will maintain my borderline accept rating.

Reviewer E95DOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes Z0-Inf, a zeroth-order method for estimating data influence from training checkpoints. The starting observation is that the gradient is a poor first-order approximation to the loss difference between successive checkpoints, and that this approximation worsens as models grow (Fig. 1). Z0-Inf bypasses the gradient: it fits a finite-difference directional gradient that matches the observed loss change along the checkpoint displacement Δθ\Delta\theta, which has a closed form requiring no backprop (Eq. 5-6). Train-test influence is then the dot product of these vectors summed over checkpoints, made cheap via a one-time Gram matrix of checkpoint weights ($\S$3.2). For the self-influence special case, Cauchy-Schwarz bounds the quantity by a constant times the variance of the loss across checkpoints, yielding a shortcut: self-influence can be approximated by variance across checkpoints (Eq. 7-8, Alg. 2), which requires only forward passes. Empirically, against an SSRT (subsample-and-retrain) proxy measured by Spearman correlation, Z0-Inf matches or beats TracIn and LoGra on self-influence while being roughly an order-of-magnitude cheaper in compute and memory; its advantage grows with model size (up to fully fine-tuned LLaMA-3.1-8B), reversing the trend for first-order methods. Only 10-15 early checkpoints are needed. Train-test results are comparableor better than TracIn at lower cost.

Strengths and weaknesses

Quality The first-order critique that motivates the method is well executed: the claim that "the gradient is a poor approximation to the inter-checkpoint loss difference, and worsens with scale" is measured (Fig. 1), and the fix (the closed-form gg in Eq. 5) directly minimizes that exact gap. The efficiency claims are also sound: the per-(point, checkpoint) cost is one forward pass vs. TracIn's forward+backward; the neighbor-averaging is essentially free because it re-weights already-computed scalar losses; and the Gram-matrix trick avoids materializing any per-point weight-space vector. Still, there are some points not addressed cleanly:

  1. The closed-form solution (Eq. 5) needs more discussion. The issue is that there are infinitely many gg that minimizes Eq. 5, and the method chooses the one parallel to θi+1−θi\theta_{i+1}-\theta_{i}. This is a modeling choice that not fully explained, discussed, or tested. Further, Eq. 6 compounds it by averaging per-direction projections rather than jointly fitting the neighbor contraints, which doesn't seem as a natural choice.

  2. The variance shortcut is only an upper bound. What actually makes ranking plausible is left unstated, and the Cauchy-Schwarz slack (which depends on xsx_s) is never quantified.

  3. SSRT is itself a subsample-retrain proxy. Self-influence here is the variance of loss across one trajectory's checkpoints; SSRT is how a point's presence shifts losses across an ensemble of retrained models. Both are "loss-movement across a population of models" statistics, which raises a potential risk that Z0-Inf may correlate better with SSRT partly because it is a more similar kind of estimator to SSRT, not because it is closer to true leave-one-out influence. There is no true remove-and-retrain metrics in the paper that invalidates the risk.

  4. TracIn is run last-layer-only and LoGra is a lossy low-rank method, while Z0-Inf uses the full loss. A full-parameter TracIn comparison would be more fair.

Clarity The paper is mostly clear and the algorithms are followable, but several technical points are stated more loosely than they should be. (i) The underdetermination of Eq. 5/6 (discussed under Quality) should be surfaced in-text. (ii) The distance metric dd and threshold τ\tau in Alg. 1 are left generic in the method but silently instantiated as the adjacency (checkpoint-index) distance in the experiments, justified only by an unquantified claim that adjacency is "highly correlated with L2 in our case." Stating these choices and their justifications explicitly would materially improve rigor.

Significance The problem is important and timely: influence estimation that scales to LLMs is genuinely useful, and a method that is order-of-magnitude cheaper in compute and memory, works on non-differentiable losses, and improves with scale is the kind of tool practitioners would adopt for data selection, noise/outlier detection, and memorization analysis. The self-influence variance shortcut in particular is appealingly simple. The significance is somewhat tempered by the evaluation resting entirely on correlation with a proxy (SSRT) rather than ground truth, so the magnitude of the accuracy advantage is harder to pin down than the efficiency advantage.

Originality The reframing of influence as a zeroth-order, loss-only estimation problem is a fresh and well-motivated angle, and the closed-form backprop-free construction is a real methodological contribution.

Questions
  1. Can you justify the choice of gg (see Quality above)? The minimizing argument is not convincing on its own.

  2. Can you justify, beyond the Cauchy-Schwarz upper bound, why the variance should rank-order self-influence? How large is this per-example Cauchy-Schwarz slack in practice? A plot of true self-influence (or SSRT self-influence) vs. variance showing monotonicity would directly address this.

  3. Is the SSRT correlation measuring accuracy or estimator similarity? A true remove-and-retrain experiment (small-scale is fine) or a less noisy LDS setup would help clarify this.

  4. Current TracIn is last-layer-only for memory reasons, so "More Accurate than TracIn" partly compares against a throttled baseline. Can you report full-parameter TracIn accuracy (where it is feasible), so the accuracy comparison is cost-disentangled?

  5. Please report the value of τ\tau and quantify the adjacency-L2 correlation, including whether it still holds for the LLaMA-3.1-8B fine-tuning runs (a different loss landscape than from-scratch training). How sensitive are results to this choice?

If these questions are addressed properly (especially Q2 and Q3), I am willing to raise my ratings.

Limitations

yes

Final justification

Raised overall rating to 5. Five questions are resolved by authors, and I have no further questions.

Formatting concerns

No major formatting concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for reading our paper in depth and for the thoughtful feedback. Below we address reviewer's questions and concerns.

Question 1, Part 1: Quality: Justify the choice of gg

Our choice of g∝(θi+1−θi)g \propto (\theta_{i+1} - \theta_i) (gg parallel to θi+1−θi)\theta_{i+1} - \theta_i) is justified on the following ground:

  1. Consistency with TracIn's framework. We make an analogy with a well known influence approximation method TracIn (Pruthi et al., 2020, §3.2) which derives influence under SGD by substituting θi+1−θi=−η∇ℓ(θi,xs)\theta_{i+1} - \theta_i = -\eta\nabla\ell(\theta_i, x_s) into the first-order approximation (our Eq. 3). Under single-point SGD, this means the per-example gradient ∇ℓ(θi,xs)\nabla\ell(\theta_i, x_s) is exactly proportional to the θi+1−θi\theta_{i+1} - \theta_i​. Our closed-form solution recovers this same direction from the observable quantities (loss change and displacement) without computing the gradient.

  2. Optimizer-agnostic by design. Unlike TracIn, whose formula is derived specifically for SGD and requires small step sizes to ensure the Taylor error O(∥θi+1−θi∥2)O(\|\theta_{i+1} - \theta_i\|^2) is negligible, our method uses the exact observed loss difference rather than approximating it via the gradient. The choice of g∝dg \propto d does not rely on any assumption about the optimizer or step size. It directly captures how the loss changed along the actual training trajectory, regardless of whether SGD, Adam, or AdamW was used.

Question 1, Part 2: Eq. 6 compounds it by averaging per-direction projections rather than jointly fitting the neighbor constraints

We note that jointly fitting would yield a gg that is the least-squares solution constrained to the subspace spanned by {(\theta_j - \theta_i)\}_{j \in M_i}​​. Under the standard assumption that neighboring checkpoint displacements are approximately collinear (which we verify empirically. The checkpoint adjacency is highly correlated with L2 distance), the span of the neighbor directions is approximately one-dimensional. In this regime, joint fitting and per-direction averaging yield effectively the same solution, because the multiple constraints are nearly redundant (they all point roughly the same way).

In our influence formula (Algorithm 1, line 7), the final quantity is ⟨gˉ(θi,xs),gˉ(θi,xt)⟩\langle \bar{g}(\theta_i, x_s), \bar{g}(\theta_i, x_t)\rangle. Since both gˉ(θi,xs)\bar{g}(\theta_i, x_s) and gˉ(θi,xt)\bar{g}(\theta_i, x_t) are constructed from the same set of displacement directions {(θj−θi)}j∈Mi\{(\theta_j - \theta_i)\}_{j \in M_i}, any component of gg orthogonal to all these directions would contribute zero to the final dot product. The orthogonal components are therefore irrelevant to the influence score regardless of how we set them.

Question 2: Per-example Cauchy-Schwarz slack in practice

A plot of true self-influence (or SSRT self-influence) vs. variance showing monotonicity would directly address this. This is a great point!

A clear monotonicity between SSRT self-influence vs variance was one of the initial, key observations in the early stages of this project / paper. Rebuttal textbox doesn’t allow us to upload plots but perhaps linear correlation metrics s.a. Pearsons correlation can convey that message. We observe the following PearsonR correlations for the LLM fine-tuning: GMS8k (ρ\rho: 0.936), Math-500 (ρ\rho: 0.841), Dolly (ρ\rho: 0.77). We will add the plots to the paper. Let us know if you’d like to see additional results.

Question 3: Is SSRT correlation measuring accuracy or estimator similarity?

We validate SSRT's accuracy two ways.

Assess whether SSRT provides a reliable ground truth

To directly assess whether our 100-trial SSRT provides a reliable ground truth, we perform split-half reliability analysis. By splitting trials into two independent sets of 50, we obtain following Spearman correlations 0.754 (GSM8k), 0.774 (MATH-500), and 0.842 (Dolly). The reliability ordering (Dolly > MATH-500 > GSM8k) tracks the heterogeneity of the datasets rather than their size. The split-half reliability (0.754–0.842) proves SSRT is measuring something real and reproducible at LLM scale. These reliabilities establish an upper bound on the correlation any method can achieve with SSRT bounded by the Spearman-Brown corrected reliability: ρfull≈2×ρhalf/(1+ρhalf)ρ_{full} ≈ 2 × ρ_{half} / (1 + ρ_{half}), GSM8k (0.85), MATH-500)(0.876), Dolly (0.914) Remarkably, Z0-Inf achieves correlations at or exceeding these ceilings (ρ > 0.9).

This analysis reveals that: (1) SSRT with 100 trials captures a genuine signal despite moderate noise, (2) the observed Z0-Inf–SSRT correlations represent near-maximal agreement given SSRT's estimation noise, and (3) Z0-Inf is effectively a noise-free estimator of the same quantity that SSRT approximates via expensive model retraining.

Small LOO experiment

We compute spearman correlation between Leave-One-Out (LOO) and SSRT for 100 examples for the linear model as suggested by the reviewers.

This leads to SignificanceResult(statistic=0.8694269426942692, pvalue=9.018534630956704e-32).

This confirms that SSRT accurately approximates the ground truth on a small linear model

Question 4: Can you report full-parameter TracIn accuracy (where it is feasible), so the accuracy comparison is cost-disentangled?

We want to clarify that full-parameter TracIn is already used in our CIFAR, MNIST, and linear model experiments. The last-layer restriction applies only to the larger-scale settings where full-parameter TracIn is computationally prohibitive. We apologize for the confusion in the writeup of the paper. Our original wording (line 225–226) was ambiguous and incorrectly suggested a last layer restriction. We will revise the text to make explicit which experiments use full-parameter TracIn and which use the last layer only.

Question 5:Quantify the adjacency-L2 correlation

Below we report the value of and quantify the adjacency-L2 correlation, including whether it still holds for the LLaMA-3.1-8B fine-tuning runs.

Notation:

  1. Adjacency distance (distance between checkpoint indices i and j) -> |i - j|

  2. L2 distance (distance between checkpoints at position i and j) ∣∣θi−θj∣∣2||θ_i - θ_j||_2

Adjacency-L2 correlation for LLaMA-3.1-8B fine-tuning.

We now quantify the relationship between checkpoint temporal distance (adjacency index) and parameter-space L2 distance for all three LLaMA fine-tuning settings. The Spearman correlation between ∣i−j∣|i − j| and ∥θi+1−θi∥2\|\theta_{i+1} - \theta_i\|_2 is ρ\rho = 0.879 (Dolly), 0.852 (GSM8k), and 0.831 (MATH-500), all with p<10−12p < 10⁻¹². This confirms that temporal adjacency is a strong proxy for parameter-space proximity in the fine-tuning regime, validating our use of adjacency index to define the neighborhood set MiM_i​.

The high correlation is expected given the small learning rate (5.5e-06). Per-step parameter displacements are small and accumulate nearly monotonically, making temporally adjacent checkpoints also the closest in L2. We note that MATH-500 shows the lowest correlation (0.831) alongside the largest per-checkpoint L2 displacement (6.519 vs. ~2.1–2.6 for the other datasets), consistent with a more variable optimization trajectory — yet the correlation remains strong enough to preserve neighborhood quality.

Dataset Adjacency-L2 ρ\rho p-value ∣θi+1−θi∣2|\theta_{i+1} - \theta_i|_2
Dolly 0.879 2.1e-15 2.591
GSM8k 0.852 1.2e-13 2.135
MATH-500 0.831 1.7e-12 6.519

For fine-tuning with LR = 5.5e-06 (our setting, line 217), per-step parameter changes are tiny and monotonic, so:

  1. Adjacent checkpoints are very close in L2
  2. The ordering of L2 distances almost perfectly matches temporal ordering
  3. Non-adjacent checkpoints have approximately linearly growing L2 (since updates accumulate in a near-linear fashion for small LR)

Sensitivity to τ\tau

Figure 5 already shows this. It plots SpearmanR vs. number of nearest neighbors for 10 epochs across Dolly, MATH-500, and GSM8k. The exact kk used for the main results emphasize the stability plateau (ρ\rho changes by only ~0.02–0.05 across k∈[4,10]k \in [4, 10]

Authors · CommentOpenReview ↗

We would like to thank the reviewer for the thoughtful feedback and suggestions. Please let us know if you have any comments about the rebuttal responses. We would be happy to address them.

Reviewer E95D · CommentOpenReview ↗

Thank you for your explanation. I have raised my rating accordingly.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…