ELVIA analysis of: Universal Approximation of Mean-Field Models via Transformers — Problem 3: Current released notebooks compute incorrect evaluation quantities
Original paper: Shiba Biswal; Karthik Elamvazhuthi; Rishi Sonthalia. Universal Approximation of Mean-Field Models via Transformers. Proceedings of the 42nd International Conference on Machine Learning, vol. 267, 2025. https://proceedings.mlr.press/v267/biswal25a.html
Source version: Published ICML 2025 proceedings PDF (PMLR 267)
Source location: Cucker_Smale_using_Transformer.ipynb cells12,27,34-37; Simulating_CS_Dynamics.ipynb cells27,30; Mean_Field_Two_Layer_Transformers.ipynb cells20,26; paper pp. 4-5
Question: What does the recorded analysis establish about “Current released notebooks compute incorrect evaluation quantities”?
Bounded finding:
These formulas are statically established, but the current commit is not certified as the conference-time experiment version. Its stored CS score differs from Table 1, its trajectory cell uses 20 particles and a time horizon of 20 rather than the reported 30-particle setting, and the current two-layer evaluation cell specifies one trial rather than 100. Checkpoints and the private/local tensors loaded by these notebooks are unavailable. No corrected score, changed ranking, or exact error factor for the published plots is asserted. Fish-milling evaluators were separately inspected by an auxiliary and do not share the missing-index bug.
Constant unit squared errors yield .25 instead of 1; unit coordinate trajectory errors yield.01 rather than MAE1 orL2\(\sqrt{N}\); source baseline cannot represent admissible acceleration-.5. Demonstrated current-release defects and restricted baseline; material effect on published core comparisons NeedsEvidence.
Recorded check:
The pinned notebook release has definite reduction and metric defects. The historical dependency of the published scores is unresolved, so the demonstrated release defects are assessed Minor and the published numerical consequences remain Needs Evidence.
All cell indices below are zero-based. Exact cell text, source paths and hashes are saved in `e.txt` and the source audit.
In `Cucker_Smale_using_Transformer.ipynb`, cell 27 initializes a four-element zero loss vector and \(i=0\), but never increments \(i\) inside the batch loop. Cell 35 averages that vector. Therefore it reports \(L_{\rm last}/4\), not the test-set MSE. If every target coordinate has squared error one, the correct MSE is one and the released path returns \(1/4\). This diagnostic is independent of model or dataset.
The GNN evaluator in cell 36 increments its index and retains all batch losses, making the reduction asymmetric across the compared methods. Cell 34 also overwrites its validation statistic on each of five trials and selects using the last trial; the GNN selector in cell 37 accumulates a trial average. Correct evaluation must sum squared errors over all coordinates and divide by their total count, rather than merely average unequal-sized batch means.
In `Simulating_CS_Dynamics.ipynb`, cell 27 stores a separate error array for every trial but divides each trial’s particle-averaged absolute coordinate error by 100. Cell 30 takes medians and quartiles without undoing that factor. The quantity is \[\frac1{100N}\sum_{j=1}^{N}|e_j|,\] whereas p. 5 describes a 2-norm. If every \(e_j=1\), the released value is \(0.01\), the MAE is one, and the 2-norm is \(\sqrt N\). Removing the factor alone does not resolve the metric mismatch.
In `Mean_Field_Two_Layer_Transformers.ipynb`, cell 20 stores the coordinate mean of squared parameter errors; cell 26 labels it as a squared norm, while p. 5 describes a Frobenius norm. For the specified \(11\times100\) parameter array, a saved value \(v\) corresponds to Frobenius norm \(\sqrt{1100v}\).
The CS notebook’s `Cylindrical_FNN` in cell 12 applies ReLU after every layer, including the final output. Its enclosing cylindrical baseline therefore cannot produce negative accelerations. Two co-located particles with velocities \(1\) and \(0\) and the paper’s unit CS parameters require acceleration \(-1/2\) for the first particle. This is an explicit representational restriction of the released baseline for the signed target.
Case-wide limitations:
- P1 — The principal quantitative approximation bound is false — Counterevidence: F^(m) varies with n in the second family, legitimately under declared constant independent of F; first family uses explicit exact nonzero transformer. Correct W1 decomposition supports qualitative convergence; finite-transformer UAT not independently certified.
- P2 — Core dynamics proof makes invalid coupling and support substitutions — Counterevidence: These independently derived repairs preserve conditional final stability/support conclusions; no false-theorem claim for4.12/4.14. First-exit argument enforces local ball; domain evaluations assumed defined as in hypotheses.
- P3 — Current released notebooks compute incorrect evaluation quantities — Counterevidence: Current stored score and settings differ from paper; exact published table/figure provenance unresolved. Fish evaluators do not share missing-index bug. No changed ranking or historical factor asserted.
- Limitations: No author-code execution, training, dataset/checkpoint download or empirical replication.
- Limitations: Current public commit is not certified conference-time version.
- Limitations: External cited-paper proofs and later versions not independently checked.
- Limitations: Separate OpenReview attachment discovery unavailable403; embedded appendices available.
- Unresolved claim: Historical source, raw data and checkpoints unavailable; current saved results/settings differ.
- Unresolved claim: Cited theorem not independently retrieved; primary counterexamples do not depend on it.
- Missing materials: Historical experiment source/checkpoints/raw tensors and data
- Missing materials: Separate OpenReview attachment if any
- Missing materials: Later-version and external-theorem verification
- Work not performed: author-code execution
- Work not performed: training
- Work not performed: empirical reproduction
- Work not performed: human review
- Work not performed: post-batch acceptance
- 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: p3
Source report index: 3
Review status: Independent review pending
Case: icml2025-0283-universal-approximation-of-mean-field-models-via-transformers
Revision: 1
Record created: 2026-10-26T04:21:21.357774+00:00
Permalink: https://elvia-atlas.org/atlas/cases/icml2025-0283-universal-approximation-of-mean-field-models-via-transformers.html#problem-3
Versioned public record: https://elvia-atlas.org/atlas/evidence/icml2025-0283-universal-approximation-of-mean-field-models-via-transformers/records/icml2025-0283-universal-approximation-of-mean-field-models-via-transformers.r1.json
Canonical record SHA-256: f3c56710139db53990c870ad143953f7636c3176d59a9695c1290a2b0cfce2e8
The page follows the latest revision; the versioned record identifies this snapshot.