ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Outlier Gradient Analysis: Efficiently Identifying Detrimental Training Samples for Deep Learning Models

Anshuman Chhabra, Bo Li, Jian Chen, Prasant Mohapatra, Hongfu Liu

ELVIA analysis

Independent review pending

The proposed gradient-outlier heuristic has reported empirical gains, but its stated bridge to influence signs contains a sign reversal and does not follow from empirical-risk minimization. An exact logistic-regression example shows both failures. The released implementation also differs from the described evaluation in identifiable ways, with historical numerical consequences unresolved. The supported overall assessment is Major for the core conceptual derivation; adjudication is pending.

Problem 1. Influence-sign and gradient-outlier equivalence invalid

Major
Evidence and reasoning

Problem statement

Negative I=-vTv^T H−1H^{-1} g denotes detrimental samples; average ERM loss implies a small detrimental minority and enables gradient-outlier equivalence.

Scalar logistic model with x=1,x=1, labels111100, no regularizer, exact finite optimum theta=log⁡2,\log2, p2/3, Hsum4/3; one validation label1 or0. Smooth strictly convex training objective with invertible Hessian.

Proof

Equations (1)–(2), Observation 3.13.1 and Sections 3.2–3.3 (pp. 2–4) are affected. The sign error is directly correctable; the asserted general conversion from gradient outliers to detrimental samples needs substantially more assumptions.

Write LT(θ)=∑iℓi(θ),L_T(\theta)=\sum_i\ell_i(\theta), H=∇2LT(θ^)≻0H=\nabla^2L_T(\widehat\theta)\succ0 and v=∇LV(θ^).v=\nabla L_V(\widehat\theta). For the paper’s downweighting objective LT(θ)−εℓj(θ),L_T(\theta)-\varepsilon\ell_j(\theta), differentiation of its first-order condition gives dθ^−ε,jdε∣0=H−1gj,dLV(θ^−ε,j)dε∣0=vTH−1gj,gj=∇ℓj(θ^). \left.\frac{d\widehat\theta_{-\varepsilon,j}}{d\varepsilon}\right|_0 =H^{-1}g_j, \qquad \left.\frac{dL_V(\widehat\theta_{-\varepsilon,j})}{d\varepsilon}\right|_0 =v^TH^{-1}g_j, \quad g_j=\nabla\ell_j(\widehat\theta). Multiplying the whole training objective by 1/n1/n does not change this calculation. Equation (1) defines Ij=−vTH−1gj,I_j=-v^TH^{-1}g_j, whereas (22) calls Ij<0I_j<0 detrimental. With lower loss as better utility, that inequality says that downweighting increases loss, which describes a beneficial sample. One can either remove the minus sign or reverse the harmful/beneficial inequality.

This discrepancy is not merely a limitation of infinitesimal approximations. Consider binary logistic regression with a scalar constant input x=1,x=1, no regularizer, four labels 11 and two labels 0,0, and cross-entropy loss. The finite optimum is θ^=log⁡2,\widehat\theta=\log2, p=2/3,p=2/3, with gj=p−yjg_j=p-y_j and H=6p(1−p)=4/3>0.H=6p(1-p)=4/3>0. The objective is strictly convex and smooth, and the model is exactly converged. Use a validation record with label 1,1, so v=−1/3.v=-1/3. The resulting quantities are

Removed label | Paper’s IjI_j | Refit probability | Exact validation loss change

1∣−1/12∣3/5∣log⁡(10/9)>01 | -1/12 | 3/5 | \log(10/9)>0

0∣1/6∣4/5∣log⁡(5/6)<00 | 1/6 | 4/5 | \log(5/6)<0

Thus both printed classifications are reversed even for exact leave-one-out retraining in this admissible convex example.

There are two separate obstacles to the proposed equivalence even after correcting the sign. First, if the evaluation set in (11) is the training set, as the paper explicitly permits and uses in several comparisons, an unregularized interior ERM optimum obeys v=∑igi=0.v=\sum_i g_i=0. Every first-order aggregate influence in (11) is then zero, although the individual gradients need not be zero or have similar norms. In the example they are four copies of −1/3-1/3 and two copies of 2/3.2/3. A gradient-outlier ranking can still be nontrivial, but is not the discrete sign classification of (11). This exact-zero argument does not apply unchanged to an incompletely optimized or separately regularized objective; those require their own analysis and cannot justify the stated ERM observation.

Second, the common factor vTH−1v^TH^{-1} remains decisive for signs, even though it is shared across samples. Keep the identical six training records, model and gradient cloud, but change the validation label to 0.0. Removing any of the four positive-label records now reduces validation loss by log⁡(5/6),\log(5/6), while removing a negative-label record increases it by log⁡(5/3).\log(5/3). The detrimental fraction is 4/6,4/6, contradicting Observation 3.13.1’s conclusion that a much smaller minority is detrimental. An algorithm receiving only the unchanged gradient cloud and budget cannot produce correct sign labels for both validation targets. This does not depend on Hessian approximation or nonconvexity.

Counterevidence and scope. The paper calls statement 3.23.2 a hypothesis, rather than a formal theorem, and acknowledges distribution adaptation with OneClassSVM in Section 8. No universal failure of outlier removal follows from this review. The demonstrated defect is the claimed logical transformation and Observation 3.1,3.1, including the statement that average empirical loss makes it clear. The synthetic and noisy-label experiments can validate a useful heuristic on their distributions without validating that general transformation. A repair should correct the sign, state the target utility, distinguish aggregate training influence from self-influence, and present gradient outlyingness as a conditional empirical hypothesis unless assumptions connecting the target direction and outliers are proved. These restricted repairs do not establish a general equivalence. The impact is Major because this bridge is an explicit principal contribution, even if the practical method and some empirical gains survive.

□\square

Possible revision

Remove leading minus or reverse inequality; specify utility and distinguish aggregate from self-influence. Gradient outlyingness remains an empirical hypothesis without additional target-alignment assumptions.

Problem 2. Release evaluation differs from described conventions and protocol

Minor
Evidence and reasoning

Problem statement

Released scripts implement the described common influence sign, absolute-score AUC and pretrained-model evaluation.

Static inspection of pinned commit only, not historical execution provenance.

Proof

The confirmed release-level discrepancies are Minor; their effects on the historical published numbers remain Needs Evidence.

The repository provides concrete counterevidence to reading every formula literally. In `synthetic/PLOT_TOY_LR.py`, line 108108 uses +gjTH−1v,+g_j^TH^{-1}v, and line 277277 selects validation-based influence. That positive sign is consistent with the loss-change interpretation in the displayed formula; it differs from (11) and the main text’s training-only description of the synthetic comparison. By contrast, `nlp/src/influence.py`, lines 116116–125,125, returns the negative inner product, and `ROBERTA_SELECTION_1_LATEST.py`, lines 6969–7272 and 185185–195,195, removes the lowest values. Different code paths therefore do not establish a single common convention.

Section 7 says the LLM class-detection AUC compares absolute influence values with pseudo-labels. However, `LLM_INFL_ID_1.py`, lines 8181–87,87, passes signed scores directly to AUC; only recall uses absolute values at lines 9393–101.101. The distinction can reverse a result: one positive example with score −2-2 and one negative with score −1-1 yield signed AUC 00 and absolute-score AUC 1.1. This small rank calculation proves a metric mismatch, not a change in Table 3, whose historical score arrays were not available or recomputed.

Appendix B.2.1 describes ImageNet-pretrained ResNet-34 fine-tuning. The inspected CIFAR entry point instead constructs a fresh local `ResNet34` at lines 240240 and 318;318; its class builds new layers, and no weight loading occurs along that inspected entry point. Lines 335335–336336 report maxima over all 100100 test-accuracy observations, so the release summary uses test-set checkpoint selection. This is not the same estimand as a prespecified final checkpoint or checkpoint selected on separate validation data. The correct repair requires documenting the actual initialization, checkpoint criterion and score convention, then recomputing matched comparisons if necessary. No numerical degradation or deliberate leakage is inferred without historical execution records.

□\square

Possible revision

Document actual score convention, initialization and checkpoint selection; align implementation and text, then recompute matched comparisons if necessary.

Problem 3. Comparison prose and dense-Hessian complexity overstate evidence

Minor
Evidence and reasoning

Problem statement

Proposed variant top 22 at every budget and best Worst value; exact dense Hessian cost O(nv3)O(nv^{3}) where vv=#validation and pp=#parameters.

Use printed table means and parameter definitions; explicit dense Hessian computation.

Proof

These local reporting defects are Minor and do not erase the reported gains.

Appendix C.2 claims that a proposed variant is in the top two for every trimming budget. In Table 5, Aggregate at 2.5%2.5\% has DataInf 92.34,92.34, Gradient Tracing 92.11,92.11, and the best proposed method, L2, 92.10.92.10. Thus the proposed method ranks third. The largest Worst value across that table is LiSSA’s 84.51,84.51, not L2’s 84.4884.48 claimed in the accompanying summary. Correcting the prose to a qualified competitive-performance statement suffices for these examples; no significance ranking is justified from these means alone.

Table 7 writes the exact Hessian method’s cost as O(nv3)O(nv^{3}) while defining vv as the number of validation/test records and pp as the parameter dimension. A dense Hessian is p×p;p\times p; its explicit storage alone is Ω(p2)\Omega(p^{2}) and ordinary dense factorization costs O(p3).O(p^{3}). The displayed expression cannot be an exact dense-Hessian cost uniformly in p.p. For logistic losses and the aggregate target in (11), a direct implementation can form HH in O(np2),O(np^{2}), factor it in O(p3),O(p^{3}), sum validation gradients in O(vp),O(vp), solve once and score the training gradients in O(np).O(np). This illustrates the missing parameter dependence without claiming a universal cost for all neural-network gradient computations. The algorithm can still avoid a dense factorization; the correction does not reverse that practical advantage. Runtime tables compare specific measured stages and are not end-to-end training guarantees.

□\square

Possible revision

Qualify the rankings. For the aggregate logistic target, a direct dense implementation can use O(np2+p3+(n+v)p),O(np^{2}+p^{3}+(n+v)p), with explicit parameter dimension p.p. This is a scoped algebraic illustration, not a universal cost for neural-network gradients or an end-to-end training guarantee.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

In this paper, we establish a bridge between identifying detrimental training samples via influence functions and outlier gradient detection.

Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 1, Abstract

Actual review scope

The recorded inspection concerns these source locations: Eqs1-2 pp. 2-3; Observation3.1 and Sections3.2-3.3 pp. 3-4; Pinned synthetic/PLOT_TOY_LR.py108,277; nlp/src/influence.py116-125; LLM_INFL_ID_1.py81-101; cifar OD-experiment.py240,318,335-336; AppendixC.2 p. 16, Tables5 and7 pp. 17-18.

Submit an author revisionContribute a review