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 2: LemmaB.1 includes invalid query-position equality

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. 13 LemmaB.1

Question: What does the recorded analysis establish about “LemmaB.1 includes invalid query-position equality”?
Bounded finding:
False local equality at l=L=2. Local statement/domain and proof pairing.

Recorded check:
Lemma B.1 (p. 13) asserts \[\langle E_\ell^w,W_tE_L^w\rangle
=\langle E_\ell^{-w},W_tE_L^w\rangle
\quad\text{for all }\ell\ge2.\] Its sample-pairing argument incorrectly treats flipping the last token as label-preserving.
Set \(L_{\max}=2\), use the full six-string training set with the stated length weights and orthonormal embeddings, and start from zero. Choose positive \(\eta,\lambda\) in the stated regime with two Phase 1 updates. Direct differentiation gives \[u_1=\frac{\eta}{4}(E_1^a+E_1^b),\qquad W_1=0.\] At the next update, \[\langle E_2^a,W_2E_2^a\rangle
=\frac{\eta^{2}}{64}\tanh(\eta/16)>0,\qquad
\langle E_2^b,W_2E_2^a\rangle=0.\] Indeed, the latter coordinate never appears with query \(E_2^a\): a length-two sequence with last token \(a\) has no position-two token \(b\). The two same-query sequences produce the stated nonzero diagonal after their logistic contributions are combined.
The independently written enumeration at \(\eta=0.001,\lambda=100\) returns \(9.76562498728945\times10^{-13}\) versus zero; the analytic diagonal is \(9.765624987284342\times10^{-13}\). 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.

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: p2
Source report index: 2

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-2
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.