ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias — Problem 1: Phase2 horizon incompatible with margin dependence

Original paper: Ruiquan Huang; Yingbin LIANG; Jing Yang. How Transformers Learn Regular Language Recognition: A Theoretical Study on Training Dynamics and Implicit Bias. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/huang25s.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: 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

Question: What does the recorded analysis establish about “Phase2 horizon incompatible with margin dependence”?
Bounded finding:
Core proof uses B.5 outside established horizon and suppresses essential \(\lambda\)-dependence. Theorems4.4-4.5 and imported parity proof.

Recorded check:
The horizon used to prove the central Phase 2 claims is inconsistent with the margin dependence generated by the stated Phase 1 dynamics.
The logistic derivative has absolute value at most one, \(\|v_s(W)\|\le1\), and the softmax Jacobian has operator norm at most one. Since the loss has one average term per length, \[\|\nabla_u\mathcal L_t\|\le L_{\max},\qquad
\|\nabla_W\mathcal L_t\|\le L_{\max}\|u_t\|/\lambda.\] Thus \(\|u_t\|\le\eta L_{\max}t\), and the actual Phase 1 update gives \[
\|W_{t_0}\|\le
\eta L_{\max}\sum_{s=0}^{t_0-1}\|u_s\|
\le \frac{\eta^2L_{\max}^2t_0(t_0-1)}2=:B.\] Write \(t_0\le c/(\eta L_{\max})\) with the fixed constant allowed by the stated asymptotic regime. Then \(B\le c^{2}/2\), independently of \(\lambda\).
Now retain only the four length-two strings \(aa,bb,ab,ba\), with labels \(+,+,-,-\). At uniform attention, \[v_{aa}(0)+v_{bb}(0)-v_{ab}(0)-v_{ba}(0)=0.\] Orthonormal columns and the softmax Lipschitz bound imply \(\|v_s(W)-v_s(0)\|\le\|W\|/\lambda\). For any feasible unit-margin separator, summing its four margin inequalities yields \[4\le\left\langle u,\sum_s y_s v_s(W)\right\rangle
=\left\langle u,\sum_s y_s(v_s(W)-v_s(0))\right\rangle
\le4\|u\|\|W\|/\lambda.\] Consequently, whenever the promised separator exists, \[
\|u^\ast\|\ge\lambda/\|W_{t_0}\|
\ge\lambda/B\ge2\lambda/c^2.\] If \(W_{t_0}=0\), these four features are not separable; this cannot rescue the asserted Phase 2 argument.
For the second entry to be the minimum in the displayed formula, one needs \[\|u^\ast\|\le \frac{2^{4/3}}{3}\lambda^{2/3}.\] This contradicts the displayed formula as \(\lambda\) grows with fixed \(c\) and \(L_{\max}\ge2\). The condition \(\lambda=\Omega(L_{\max}^{2})\) does not provide the missing upper bound on the margin norm. An admissible scaling family is \(L_{\max}=2\), \(\lambda=n\), \(\eta=1/n\), and \(t_0=\lfloor cn/2\rfloor\), with fixed sufficiently small \(c>0\); it satisfies the stated step-size and Phase 1 orders.
Furthermore, the displayed formula implies \[t_1>\frac{14\|u^\ast\|^{2}}{\eta}
\ge\frac{56\lambda^{2}}{c^{4}\eta},
\qquad
\frac{t_1}{T}>
\frac{56\,2^{2/3}L_{\max}}{c^{4}}\lambda^{4/3}.\] 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 \(\eta=10^{-3}\), \(\lambda=100\), \(L_{\max}=2\), and \(t_0=50\), the independent calculation gives \(B=0.0049\), \(\|u^\ast\|\ge20408.1633\), second horizon \(6786.0440\), first horizon at most \(202.0726\), and \(t_1>5.8309\times10^{12}\). 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 \(\mathcal L_t=O(L_{\max}\|u^\ast\|^{2}/(\eta\sqrt t))\). Substitution of \(T=C\lambda^{2/3}/(\eta L_{\max})\) gives the expression \[O\!\left(
\frac{L_{\max}^{3/2}\|u^\ast\|^{2}}
{\sqrt{C\eta}\lambda^{1/3}}
\right),\] not the displayed positive half-power of \(\eta\) on pp. 6 and 28. The margin norm also cannot be held fixed while varying \(\lambda\). 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 1 separability was granted, and the experiments and qualitative two-phase behavior are not refuted. Hidden constants that depend arbitrarily on \(\lambda\) cannot justify a conclusion obtained by sending \(\lambda\) upward. A replacement result needs a proved compatible time regime and complete margin dependence. No such complete repair is certified.

Case-wide limitations:
- 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
- P2 — LemmaB.1 includes invalid query-position equality — Counterevidence: Offdiagonal is inactive for that query; no additional core impact demonstrated
- Limitations: Complete replacement Phase2 proof not verified
- Limitations: Every phase1 induction constant not independently checked
- Limitations: External theorems not re-proved
- Limitations: Empirical training not reproduced
- Limitations: ArXiv metadata only; alternate full text and errata not compared
- Limitations: No paper-specific released implementation in frozen sources
- The original report's complete scope, counterevidence and unresolved questions are retained below.
- This import checks publication format and identity; it does not repeat scientific review.
- Independent human scientific review is pending; author adoption has not been requested.
Source problem ID: p1
Source report index: 1

Original source excerpts (verbatim):
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.
Source: Published ICML 2025 proceedings PDF (PMLR 267)
Locator: PDF p. 6
Source PDF SHA-256: 21bd623e31f068b5031217de1cd60dd67cf8b922680575daea208746a91fdb3c

Review status: Independent review pending
Case: icml2025-0164-how-transformers-learn-regular-language-recognition-a-theoretical
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0164-how-transformers-learn-regular-language-recognition-a-theoretical.html#problem-1
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0164-how-transformers-learn-regular-language-recognition-a-theoretical/records/icml2025-0164-how-transformers-learn-regular-language-recognition-a-theoretical.r1.json
Canonical record SHA-256: f41ff1bb1d5e20087c6fc486ef8a7ea473d3cc994be9855f8c95475b5e0d82ac
The page follows the latest revision; the versioned record identifies this snapshot.