How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias
ELVIA analysis
Independent review pending
The Phase 2 proof neglects the scaling dependence of its max-margin norm. Under the stated Phase 1 updates that norm grows at least linearly with the attention scale, invalidating the chosen proof horizon and placing a later norm threshold beyond the interval where the needed lemma is established. This core derivation failure supports Major. A separate two-step counterexample to query-position symmetry supports Minor. Neither finding asserts empirical failure.
P1 — Phase2 horizon incompatible with margin dependence — Counterevidence: No proof of false theorem/failed learning/false experiments; phase1 separability granted; finite diagnostic not a computed SVM
Problem 1. Phase2 horizon incompatible with margin dependence
MajorEvidence and reasoning
Problem statement
Theorems 4.4–4.5 (p. 6) give alignment and loss bounds up to a horizon of order Appendix B’s parameter setup (p. 23) explicitly writes Lemma B.5 is valid only for The proof of Lemma B.6 (p. 26) then introduces and invokes Lemma B.5 for This is used in Theorem B.7 (p. 28), restating the loss result. Appendix C (pp. 28, 33) explicitly reuses the Phase argument for parity training.
All binary strings lengths1.. orthonormal embeddings, logistic loss with per-length averages, zero init, W phase1 update eta t0<=c/(eta ), stated small eta regime; grant phase1 separability.
Proof
The horizon used to prove the central Phase claims is inconsistent with the margin dependence generated by the stated Phase dynamics.
The logistic derivative has absolute value at most one, and the softmax Jacobian has operator norm at most one. Since the loss has one average term per length, Thus and the actual Phase update gives Write with the fixed constant allowed by the stated asymptotic regime. Then independently of
Now retain only the four length-two strings with labels At uniform attention, Orthonormal columns and the softmax Lipschitz bound imply For any feasible unit-margin separator, summing its four margin inequalities yields Consequently, whenever the promised separator exists, If these four features are not separable; this cannot rescue the asserted Phase argument.
For the second entry to be the minimum in the displayed formula, one needs This contradicts the displayed formula as grows with fixed and The condition does not provide the missing upper bound on the margin norm. An admissible scaling family is and with fixed sufficiently small it satisfies the stated step-size and Phase orders.
Furthermore, the displayed formula implies The proof’s chosen sufficient threshold therefore exceeds the proved horizon in that regime. Restoring the literal minimum in the displayed formula only makes the horizon smaller. The proof has not established a nonempty time interval where all its premises apply.
For and the independent calculation gives second horizon first horizon at most and These are evaluations of analytic bounds, not a claimed numerical solution of the max-margin problem. The asymptotic argument is the decisive contradiction and does not depend on choosing unspecified constants for this illustration.
The displayed loss bound is Substitution of gives the expression not the displayed positive half-power of on pp. 6 and 28. The margin norm also cannot be held fixed while varying An increasing upper-bound expression is not a lower bound on the actual loss; it shows that this argument does not justify arbitrary accuracy.
This is Major: a demonstrated invalid derivation directly supports the central alignment, loss-convergence, and reused parity guarantees. Phase separability was granted, and the experiments and qualitative two-phase behavior are not refuted. Hidden constants that depend arbitrarily on cannot justify a conclusion obtained by sending upward. A replacement result needs a proved compatible time regime and complete margin dependence. No such complete repair is certified.
Possible revision
No complete replacement theorem verified.
Problem 2. LemmaB.1 includes invalid query-position equality
MinorEvidence and reasoning
Problem statement
Lemma B.1 asserts for every
Lmax2; all six strings; zero init; two phase1 updates; any positive admissible eta,lambda.
Proof
Lemma B.1 (p. 13) asserts Its sample-pairing argument incorrectly treats flipping the last token as label-preserving.
Set use the full six-string training set with the stated length weights and orthonormal embeddings, and start from zero. Choose positive in the stated regime with two Phase updates. Direct differentiation gives At the next update, Indeed, the latter coordinate never appears with query a length-two sequence with last token has no position-two token The two same-query sequences produce the stated nonzero diagonal after their logistic contributions are combined.
The independently written enumeration at returns versus zero; the analytic diagonal is The tiny rounding difference between the two nonzero evaluations does not affect the strict inequality.
This is Minor. The false equality concerns a query-position coordinate that is inactive for that query. Interior-position and global token-flip symmetries may still support the intended sample reduction; no additional core failure is established from this defect. Correcting the position domain is necessary, but a boundary edit has not been certified to repair every downstream proof. This judgment is based on functional dependence, not appendix location.
Possible revision
Need correct position domain; downstream repair not certified.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Phase 2: Margin Maximization and Implicit Bias In this phase, the transformer shifts focus from rapid feature alignment to margin maximization, driven by the implicit bias of gradient descent.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 6
Actual review scope
The recorded inspection concerns these source locations: PDF p. 6 Theorems4.4-4.5; p. 23 parameter setup and B.5; p. 26 B.6; p. 28 B.7 and AppendixC reuse; PDF p. 13 LemmaB.1.