ELVIA.Evidence Atlas
NeurIPS 2025ELVIA assessment Major

Transformers Learn Faster with Semantic Focus

Parikshit Ram, Kenneth Clarkson, Tim Klinger, Shashanka Ubaru, Alexander Gray

ELVIA analysis

Independent review pending

The first reported finding concerns “The stated softmax ℓ1\ell_1-Lipschitz constant misses an essential contribution”. The stated softmax Lipschitz constant is false, so later stability bounds cannot use that constant without a new derivation. No experimental performance reversal follows from this calculation.

Historical execution results are retained only with that attribution; a source-level defect alone does not identify the program or configuration used for the published experiments.

Problem 1. The stated softmax ℓ1\ell_1-Lipschitz constant misses an essential contribution

Major
Evidence and reasoning

Problem statement

Lemma 2, PDF p. 8, Eq. (12), and its expanded Lemma 4, PDF p. 45, Eqs. (109)–(110), state that whenever both vectors have spread at most δ>0,\delta>0, ∥s(z)∥∞≤eδ/L,∥s(z)−s(zˉ)∥1≤(eδ/L)∥z−zˉ∥1. \|s(z)\|_\infty\le e^\delta/L, \qquad \|s(z)-s(\bar z)\|_1\le(e^\delta/L)\|z-\bar z\|_1.

Proof

Take z=(0,0,0),z=(0,0,0), zˉ=(0.01,0,0),\bar z=(0.01,0,0), and δ=0.01.\delta=0.01. Both spreads satisfy the hypothesis. The exact change is ∥s(z)−s(zˉ)∥1=4(e0.01−1)/(3(e0.01+2))≈0.004451827,\|s(z)-s(\bar z)\|_1=4(e^{0.01}-1)/(3(e^{0.01}+2))\approx0.004451827, but the claimed bound is (e0.01/3)0.01≈0.003366834.(e^{0.01}/3)0.01\approx0.003366834. The first probability bound remains valid; the Lipschitz inequality does not.

The Jacobian is diag⁡(p)−pp⊤:\operatorname{diag}(p)-pp^\top: column jj contributes pj(1−pj)p_j(1-p_j) on the diagonal and the same total off diagonal, so its induced ℓ1\ell_1 norm is max⁡j2pj(1−pj).\max_j2p_j(1-p_j). At uniform probabilities this exceeds 1/L1/L whenever L>2.L>2. The earlier cited softmax result contains an analogous problematic constant; no priority claim is made.

□\square

Possible revision

Use the exact induced Jacobian norm max⁡j2pj(1−pj).\max_j2p_j(1-p_j). On a fixed support of size n,n, min⁡{1/2,2eδ/n}\min\{1/2,2e^\delta/n\} is a safe bound; keep probability and derivative constants distinct and rederive downstream estimates.

The stated local proposal is retained; the current paper or author source still has the identified behavior. No author adoption is established.

Problem 2. The heavy-hitter support-change proof drops common-support normalization terms

Major
Evidence and reasoning

Problem statement

Lemma 6, PDF pp. 54–56, seeks a Lipschitz comparison of sb(z)s_b(z) and sbˉ(zˉ),s_{\bar b}(\bar z), with b=m(z),b=m(z), bˉ=m(zˉ),\bar b=m(\bar z), kk selected logits, selected spread at most δ,\delta, and gap at least Δ>0.\Delta>0. In Eq. (229), it applies a fixed-mask bound at an intermediate vector. In Eq. (230), PDF p. 55, it bounds the full distance between two differently masked softmaxes by contributions on indices where the masks differ. Both steps need conditions or terms that are absent.

Proof

The endpoint pair z=(1,2,0)z=(1,2,0) and zˉ=(1,0,2)\bar z=(1,0,2) has the respective top-two masks in the claim, selected spread δ=1\delta=1 and positive gap Δ=1,\Delta=1, so it meets the stated endpoint conditions without a tie.

At zˉ=(1,0,2),\bar z=(1,0,2), compare masks (1,1,0)(1,1,0) and (1,0,1).(1,0,1). Their common first coordinate changes because the two normalizers differ. The full ℓ1\ell_1 distance is 2e/(e+1)≈1.462117,2e/(e+1)\approx1.462117, whereas summing only the two changed-support coordinates gives 1.1.

Thus Eq. (230) drops a positive contribution even without a support-boundary tie; the separate fixed-mask intermediate step also needs its own domain conditions.

The intermediate fixed-mask step is also unjustified: z=(0,0,−10)z=(0,0,-10) and zˉ=(0,−10,0)\bar z=(0,-10,0) each have own-support spread 00 and gap 10,10, but applying the old mask to zˉ\bar z selects logits of spread 10.10. The endpoint assumption δ=0.01\delta=0.01 therefore does not hold at that intermediate vector.

□\square

Possible revision

On the stated positive-gap domain, the weaker valid constant is max⁡{Ck,δ,1/Δ},\max\{C_{k,\delta},1/\Delta\}, where Ck,δC_{k,\delta} is a valid fixed-support constant. Different supports require an input change of at least 2Δ,2\Delta, while probability-vector distance is at most 2.2. This avoids the invalid intermediate steps but does not restore the claimed favorable dependence on k.k.

The stated local proposal is retained; the current paper or author source still has the identified behavior. No author adoption is established.

Problem 3. The multilayer loss bound can be negative because the geometric-series formula lacks its domain condition

Major
Evidence and reasoning

Problem statement

Theorem 2, PDF p. 8, Eq. (11), and Corollary 1 in Appendix F.3, PDF p. 42, Eq. (79), give λL=α[Ξ+qτ(1+λθL(q−1))],q=λX. \lambda_{\mathcal L}=\alpha\left[\Xi+q^\tau\left(1+ \frac{\lambda_\theta}{L(q-1)}\right)\right], \quad q=\lambda_{\mathcal X}.

Proof

The hypotheses do not require q>1.q>1. On the intended bounded domain, choose dimension and sequence length d=L=2,d=L=2, depth τ=1,\tau=1, bounds B=Ξ=1,B=\Xi=1, and LayerNorm scale (0.6,0.6),(0.6,0.6), shift zero, and ϵ=1.\epsilon=1. Valid conservative attention constants (λX,λW,λV)=(0.01,0.02,2)(\lambda_X,\lambda_W,\lambda_V)=(0.01,0.02,2) give the paper's block constants q=0.7272q=0.7272 and λθ=3.8544.\lambda_\theta=3.8544. With α=1,\alpha=1, its loss constant is 1+0.7272[1+3.8544/(2(0.7272−1))]≈−3.410116.1+0.7272[1+3.8544/(2(0.7272-1))]\approx-3.410116.

For an actual positive difference, take zero attention/feed-forward weights and input tokens (0.5,−0.5).(0.5,-0.5). Two LayerNorm applications give (0.1554963166,−0.1554963166).(0.1554963166,-0.1554963166). Comparing readouts (1,0)(1,0) and (0,0)(0,0) with sample loss ∣f∣|f| yields loss difference 0.1554963166>0,0.1554963166>0, despite the negative claimed upper bound. All outputs and readout norms stay within the stated unit bounds.

□\square

Possible revision

Retain the nonnegative finite sum α[Ξ+qτ+(λθ/L)∑j=0τ−1qj].\alpha[\Xi+q^\tau+(\lambda_\theta/L)\sum_{j=0}^{\tau-1}q^j]. The sum is (qτ−1)/(q−1)(q^\tau-1)/(q-1) for q≠1q\ne1 and τ\tau at q=1.q=1. Alternatively impose q>1q>1 for the looser printed bound. This repairs only the composition step; its attention constants still require justification.

A local correction or qualification is proposed where specified; author adoption is not established.

The stated local proposal is retained; the current paper or author source still has the identified behavior. No author adoption is established.

Problem 4. Released attention applies dropout during evaluation

Minor
Evidence and reasoning

Problem statement

Appendix D, PDF p. 29, specifies dropout probability 0.01.0.01. In released multihead_attention.py, scaled_dot_prod calls functional dropout with the supplied dropout_p and the default active training mode. MultiHeadAttention.forward supplies the same positive probability in evaluation mode.

Proof

A functional dropout call using its default training flag continues to mask activations after the enclosing module enters eval mode unless the module's training flag is passed. This is a contract mismatch for the released attention path; published-run provenance and numerical effects are not inferred.

□\square

Possible revision

Pass the enclosing module’s training state to functional dropout, or supply zero dropout probability during evaluation.

The stated local proposal is retained; the current paper or author source still has the identified behavior. No author adoption is established.

Problem 5. ListOps skips one example and divides evaluation totals by the full dataset size

Minor
Evidence and reasoning

Problem statement

In the released listops.py, batch_yielder and evaluate stop at the dataset size minus one, omit the final item, and divide evaluation totals by the full dataset size.

Proof

With N=5N=5 uniformly correct examples, the loop counts only 44 but divides by 5,5, reporting 80%80\% instead of 100%.100\%. The loss denominator has the same mismatch. The relative effect on a full benchmark depends on its size; no substantial benchmark impact is established.

□\square

Possible revision

Use the full dataset size as the exclusive loop and slice boundary, then divide the totals by the number of examples actually processed.

The stated local proposal is retained; the current paper or author source still has the identified behavior. No author adoption is established.

Problem 6. The loss-landscape code does not compute the direction-normalized estimator in Eq. (306)

Minor
Evidence and reasoning

Problem statement

Figure 5, PDF p. 10, Appendix G.5, PDF pp. 62–65, and Eq. (306), PDF p. 63, interpret neighboring loss-grid differences as directional estimates of the loss Lipschitz constant. The displayed estimator divides by both the coordinate step ϵ\epsilon and the norm of the perturbation direction: ∣L(Θ+xϑ1+yϑ2)−L(Θ+(x+ϵ)ϑ1+yϑ2)∣ϵ∥ϑ1∥, \frac{|\mathcal L(\Theta+x\vartheta_1+y\vartheta_2) -\mathcal L(\Theta+(x+\epsilon)\vartheta_1+y\vartheta_2)|} {\epsilon\|\vartheta_1\|},

Proof

Let θ=2,\theta=2, L(θ)=θ,L(\theta)=\theta, direction v=2,v=2, and step ϵ=0.005.\epsilon=0.005. The loss change is 0.01.0.01. Dividing only by ϵ\epsilon gives 2,2, whereas the direction-normalized quotient in Eq. (306) is 1.1.

The released quotient changes under direction rescaling, so it is a different estimator.

□\square

Possible revision

For horizontal edges, divide each difference by hx∥ϑ1∥;h_x\|\vartheta_1\|; for vertical edges, divide by hy∥ϑ2∥.h_y\|\vartheta_2\|. Normalize these two sets before pooling their quantiles, because the direction norms can differ. The norms must use the same parameter metric as the theorem being evaluated; with the paper’s tuple norm, this is the maximum spectral norm across matrix parameter blocks, with an explicit convention for vectors and auxiliary learned parameters. Alternatively normalize both complete directions to unit norm in that metric before producing the grid.

A local correction or qualification is proposed where specified; author adoption is not established.

The stated local proposal is retained; the current paper or author source still has the identified behavior. No author adoption is established.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

This indicates that, at least empirically, the loss for the top-k attention model has a much more favorable Lipschitz constant compared to that of the full attention model, which in turn implies both faster convergence and better generalization guarantees.

NeurIPS 2025 official proceedings; current arXiv:2506.14095v2 (18 June 2025) and author code comparison; PDF p. 64

Actual review scope

The recorded inspection concerns these source locations: Lemma 2, Eq. (12), PDF p. 8; Lemma 4, Eqs. (109)–(110), PDF p. 45.; Lemma 6, PDF pp. 54–56, especially Eqs. (229)–(230), PDF p. 55.; Theorem 2, Eq. (11), PDF p. 8; Corollary 1, Appendix F.3, Eq. (79), PDF p. 42.; Appendix D, PDF p. 29; released multihead_attention.py, scaled_dot_prod.; Appendix D (ListOps implementation); released ListOps training and evaluation denominator calculations.; Figure 5, PDF p. 10; Appendix G.5, PDF pp. 62–65, especially Eq. (306), PDF p. 63.

Submit an author revisionContribute a review