ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Universal Approximation of Mean-Field Models via Transformers

Shiba Biswal, Karthik Elamvazhuthi, Rishi Sonthalia

ELVIA analysis

Independent review pending

The principal quantitative approximation theorem is false under its stated Wasserstein regularity assumption. An exact transformer disproves the claimed scaling with domain diameter, and an independent zero-transformer construction on a fixed cube disproves the advertised dimension-independent rate. The conditional flow-stability conclusion survives after explicit repairs to its proof. Static inspection also establishes erroneous evaluation reductions in the released notebooks, without establishing which historical executions produced the published numbers. The assessment is Major; scientific adjudication remains pending.

Problem 1. The principal quantitative approximation bound is false

Major
Evidence and reasoning

Problem statement

For a compact Ω⊂Rd\Omega\subset\mathbb R^d containing zero, write νzm=1m∑j=1mδzj,(Fm(z))i=F(zi,νzm).\nu_z^m=\frac1m\sum_{j=1}^m\delta_{z_j},\qquad (F_m(z))_i=F(z_i,\nu_z^m). The expected transformer is Tn(x,μ)=Ez∼μ⊗n(T([x;z]))1.T_n(x,\mu)=\mathbb E_{z\sim\mu^{\otimes n}}(T([x;z]))_1. Assumption 4.34.3(a), p. 6, requires ∥F(x,μ)−F(y,ν)∥2≤L(∥x−y∥2+W1(μ,ν)). \|F(x,\mu)-F(y,\nu)\|_2 \le L\bigl(\|x-y\|_2+W_1(\mu,\nu)\bigr). The error E=sup⁡z∈Ωn+1∥T(z)−Fn+1(z)∥2\mathcal E=\sup_{z\in\Omega^{n+1}}\|T(z)-F_{n+1}(z)\|_2 is a uniform finite-sequence error, and ∥H∥∗=sup⁡x,μ∥H(x,μ)∥2.\|H\|_*=\sup_{x,\mu}\|H(x,\mu)\|_2. On compact Ω,\Omega, membership in Pp(Ω)\mathcal P_p(\Omega) imposes no additional restriction as finite pp increases.

Theorem4.7 bounds uniform expected-transformer error by E+LL*diam⁡(Ω)p\operatorname{diam}(\Omega)^p*(1/(n+11)+C(p,q,d)*G), with G=n−1/2G=n^{-1/2} for pp>d/2.

Compact Omega containing0; W1W_1-Lipschitz field; all moment classes coincide on compact domains. Scaling family:d1,p2,q=3,q=3,n=1n=1,Omega=[00,a],F=2x2x+mean⁡(μ)\operatorname{mean}(\mu),L2. Exact AppendixD transformer:uniform attention,identity FC and FCout on nonnegative domain,E0. Fixed-cube family:d3,p2,q=5q=5,Omega=[0,1]3,[0,1]^{3},F(m)F^{(m)}=distance_W1(mu,DmD_m)*e1e_1,L1,m=n+1m=n+1,zero transformer,E0.

Proof

Theorem 4.7, pp. 7 and 11, asserts ∥Tn−F∥∗≤E+LDp(1n+1+C(p,q,d)G(n,p,q)),D=diam⁡(Ω), \|T_n-F\|_*\le\mathcal E+ L D^p\left(\frac1{n+1}+C(p,q,d)G(n,p,q)\right), \qquad D=\operatorname{diam}(\Omega), where CC depends only on p,q,d,p,q,d, and G=n−1/2G=n^{-1/2} when p>d/2,p>d/2, q>p,q>p, and q≠2p.q\ne2p.

Appendix A, p. 12, equation (21), uses W1(νzn,ν(x,z)n+1)≤Dpn+1.W_1(\nu_z^n,\nu_{(x,z)}^{n+1})\le\frac{D^p}{n+1}. Take Ω=[0,12],\Omega=[0,\tfrac12], p=2,p=2, n=1,n=1, z1=0,z_1=0, and x=12.x=\tfrac12. The left side is W1(δ0,12δ0+12δ1/2)=14,W_1\left(\delta_0,\tfrac12\delta_0+\tfrac12\delta_{1/2}\right) =\frac14, whereas the claimed upper bound is 1/8.1/8. The correct general augmentation bound is D/(n+1):D/(n+1): keep n/(n+1)n/(n+1) of the empirical mass fixed and transport the remaining mass to x.x. The displayed example attains this linear bound.

Fix d=1,d=1, p=2,p=2, q=3,q=3, n=1,n=1, and Ω=[0,a].\Omega=[0,a]. Define F(x,μ)=2x+∫y dμ(y).F(x,\mu)=2x+\int y\,d\mu(y). The mean is 1-Lipschitz in W1,W_1, so [lip] (#lip) holds with L=2.L=2. Every required moment exists.

This field has an exact implementation in the paper’s own architecture. Appendix D,D, p. 16, defines Block⁡(X)=X+FC⁡(X+Att⁡(X)).\operatorname{Block}(X)=X+\operatorname{FC}(X+\operatorname{Att}(X)). Use one attention head with WQ=WK=0W_Q=W_K=0 and WV=W0=1.W_V=W_0=1. Its attention is the broadcast arithmetic mean Xˉ.\bar X. Choose both positionwise networks as the identity on the nonnegative inputs; ReLU realizes these identities on the required domain. Then Ti(X)=2Xi+Xˉ=(Fn+1(X))i,E=0.T_i(X)=2X_i+\bar X=(F_{n+1}(X))_i, \qquad \mathcal E=0. Consequently, with mμ=∫y dμ(y),m_\mu=\int y\,d\mu(y), Tn(x,μ)=2x+x+nmμn+1,∥Tn−F∥∗=an+1.T_n(x,\mu)=2x+\frac{x+n m_\mu}{n+1},\qquad \|T_n-F\|_*=\frac{a}{n+1}. The supremum is attained at x=a,μ=δ0.x=a,\mu=\delta_0.

For any alleged finite nonnegative C=C(2,3,1),C=C(2,3,1), choose a=14(1+2C).a=\frac1{4(1+2C)}. At n=1,n=1, the actual error is a/2,a/2, but [bad] (#bad) gives 2a2(12+C)=a4.2a^{2}\left(\frac12+C\right)=\frac a4. Thus no constant with the declared dependencies can make the theorem true over its stated domains. This is an analytic family indexed by the proposed constant, not an assumption that the unknown constant equals a chosen numerical value. The saved rational-arithmetic check verifies illustrative family members exactly.

The defect cannot be repaired by changing only DpD^p to D.D. Fix Ω=[0,1]3,\Omega=[0,1]^{3}, d=3,d=3, p=2,p=2, q=5,q=5, and put m=n+1.m=n+1. Let Dm(Ω)D_m(\Omega) be the set of equally weighted mm-point empirical measures and define F(m)(x,μ)=dist⁡W1(μ,Dm(Ω))e1.F^{(m)}(x,\mu)=\operatorname{dist}_{W_1}(\mu,D_m(\Omega))e_1. The set Dm(Ω)D_m(\Omega) is compact, because it is the continuous image of Ωm.\Omega^m. Distance to a nonempty subset of a metric space is 1-Lipschitz. Hence every field in this family satisfies [lip] (#lip) with the same L=1,L=1, independently of x.x.

For every mm-token input, its empirical measure belongs to Dm(Ω),D_m(\Omega), so the corresponding finite target is identically zero. Choose the exact zero transformer by setting its output network to zero. Then E=0\mathcal E=0 and Tn=0,T_n=0, with no appeal to an external universality theorem.

Let UU be uniform measure on the cube, v3=4π/3,v_3=4\pi/3, and c=(16v3)−1/3.c=(16v_3)^{-1/3}. Every measure ν\nu supported on at most mm points satisfies W1(U,ν)≥cm−1/3. W_1(U,\nu)\ge c m^{-1/3}. Indeed, balls of radius r=(2mv3)−1/3r=(2m v_3)^{-1/3} about the support points cover at most half the cube’s volume. At least half of its mass must travel distance at least r,r, proving [quant] (#quant). This lower bound also applies to the smaller class Dm(Ω).D_m(\Omega).

It follows that ∥Tn−F(m)∥∗≥c(n+1)−1/3,\|T_n-F^{(m)}\|_*\ge c(n+1)^{-1/3}, while [bad] (#bad) requires ∥Tn−F(m)∥∗≤3(1n+1+C(2,5,3)n−1/2).\|T_n-F^{(m)}\|_*\le 3\left(\frac1{n+1}+C(2,5,3)n^{-1/2}\right). For any finite declared C,C, the lower bound eventually exceeds the upper bound. The field varies across members of this family, which is legitimate because the stated constant excludes dependence on the field, and all members have identical domain, L,L, dimension, and moment exponents.

This is Major: Theorem 4.7 is a principal contribution, Remark 4.84.8 explicitly advertises improved regularity and dimension-independent rates from choosing larger p,p, and Corollaries 4.10 and 4.16 reuse its bound. Assumption [lip] (#lip) supplies no such pp-dependent regularity. Appendix A, p. 11, moves from the W1W_1 assumption to a rate written for an expected WpW_p with pp-power homogeneity; the elementary counterexamples above suffice without resolving the external citation’s conventions.

A defensible decomposition is ∥Tn−F∥∗≤E+L[Dn+1+sup⁡μ∈P(Ω)EW1(μ,νzn)]. \|T_n-F\|_*\le\mathcal E+ L\left[\frac D{n+1} +\sup_{\mu\in\mathcal P(\Omega)} \mathbb E W_1(\mu,\nu_z^n)\right]. The same triangle and coupling argument proves [repair] (#repair). This retains the qualitative approximation mechanism. For example, a δ\delta-net with KK centers gives the elementary uniform estimate EW1(μ,νzn)≤2δ+D2Kn.\mathbb E W_1(\mu,\nu_z^n) \le 2\delta+\frac D2\sqrt{\frac Kn}. Quantize both measures to the net, then bound the expected total variation of multinomial frequencies by 12K/n.\frac12\sqrt{K/n}. First choose δ\delta and then n;n; the resulting error tends to zero. This does not restore the false rate. External finite-transformer universality and its advertised architecture bounds were not independently certified here.

□\square

Possible revision

E+LL*[D/(n+11)+sup⁡μ∈P(Ω)EW1(μ,νzn)\sup_{\mu\in\mathcal P(\Omega)}\mathbb E W_1(\mu,\nu_z^n)] is valid. Finite-net argument establishes uniform empirical convergence, not printed rate.

Problem 2. Core dynamics proof makes invalid coupling and support substitutions

Major
Evidence and reasoning

Problem statement

For a compact Ω⊂Rd\Omega\subset\mathbb R^d containing zero, write νzm=1m∑j=1mδzj,(Fm(z))i=F(zi,νzm).\nu_z^m=\frac1m\sum_{j=1}^m\delta_{z_j},\qquad (F_m(z))_i=F(z_i,\nu_z^m). The expected transformer is Tn(x,μ)=Ez∼μ⊗n(T([x;z]))1.T_n(x,\mu)=\mathbb E_{z\sim\mu^{\otimes n}}(T([x;z]))_1. Assumption 4.34.3(a), p. 6, requires ∥F(x,μ)−F(y,ν)∥2≤L(∥x−y∥2+W1(μ,ν)). \|F(x,\mu)-F(y,\nu)\|_2 \le L\bigl(\|x-y\|_2+W_1(\mu,\nu)\bigr). The error E=sup⁡z∈Ωn+1∥T(z)−Fn+1(z)∥2\mathcal E=\sup_{z\in\Omega^{n+1}}\|T(z)-F_{n+1}(z)\|_2 is a uniform finite-sequence error, and ∥H∥∗=sup⁡x,μ∥H(x,μ)∥2.\|H\|_*=\sup_{x,\mu}\|H(x,\mu)\|_2. On compact Ω,\Omega, membership in Pp(Ω)\mathcal P_p(\Omega) imposes no additional restriction as finite pp increases.

The synchronous flow coupling cost can be replaced by optimal W1 on RHS; support proof drops initial displacement when adding inequalities.

Common initial law, locally Lipschitz flows, bounded-region approximation and linear growth. Uniform circle with zero field and rotation field provides coupling diagnostic. Point mass δR\delta_R at t0 tests support intermediate inequality.

Proof

The derivations supporting Theorems 4.12 and 4.14 contain invalid intermediate steps, although their conditional conclusions admit the explicit repairs below.

Appendix C,C, p. 15, integrates the displacement of the two flow maps X,YX,Y over their common initial law, then replaces D(t)=∫∥Y(t,x)−X(t,x)∥2 dμ0(x)D(t)=\int\|Y(t,x)-X(t,x)\|_2\,d\mu_0(x) by W(t)=W1(μF(t),μTn(t))W(t)=W_1(\mu_F(t),\mu_{T_n}(t)) inside a right-hand-side upper bound. The pushforward coupling proves only W(t)≤D(t).W(t)\le D(t). It does not permit that replacement.

For a concrete diagnostic, let μ0\mu_0 be uniform on a circle of radius rr in R2,\mathbb R^{2}, let F=0,F=0, and let Tn(x,μ)=ωJx,T_n(x,\mu)=\omega Jx, where JJ generates planar rotation. This linear map is representable by positionwise networks. Both marginal laws remain the same uniform circle measure, so W(t)=0,W(t)=0, while D(t)=2r∣sin⁡(ωt/2)∣>0D(t)=2r|\sin(\omega t/2)|>0 at nontrivial times. The fields are locally Lipschitz with linear growth. On a fixed ball the approximation error can be made arbitrarily small by reducing ∣ω∣.|\omega|. This disproves the implicit optimal-coupling identification; it is not a counterexample to the final stability bound.

Keep DD throughout the source’s valid pointwise displacement estimate. For trajectories remaining in the approximation ball, D(t)≤εt+L∫0tW(s) ds+L∫0tD(s) ds≤εt+2L∫0tD(s) ds.D(t)\le\varepsilon t+ L\int_0^tW(s)\,ds+L\int_0^tD(s)\,ds \le\varepsilon t+2L\int_0^tD(s)\,ds. Gronwall gives D(t)≤εte2Lt,D(t)\le\varepsilon t e^{2Lt}, and therefore W1(μF(t),μTn(t))≤εte2Lt.W_1(\mu_F(t),\mu_{T_n}(t))\le\varepsilon t e^{2Lt}. Thus the stated conditional conclusion of Theorem 4.14 survives this repair.

Proposition B.1, p. 13, drops the initial ∥x∥2\|x\|_2 when adding a trajectory bound to a first-moment bound. At t=0,t=0, μ0=δR\mu_0=\delta_R with R>0,R>0, its intermediate inequality becomes 2R≤R.2R\le R. This calculation is invalid.

The required support estimate can instead be obtained from the support radius r(t):r(t): r(t)≤R+M∫0t(1+2r(s)) ds,r(t)≤(R+12)e2Mt−12≤(R+2Mt)e3Mt.r(t)\le R+M\int_0^t(1+2r(s))\,ds, \qquad r(t)\le(R+\tfrac12)e^{2Mt}-\tfrac12 \le(R+2Mt)e^{3Mt}. A first-exit argument applies this bound while the support lies inside BK.B_K. The strict condition K>(R+2Mτ)e3MτK>(R+2M\tau)e^{3M\tau} prevents an exit before τ.\tau. For the approximating field replace MM by M+εM+\varepsilon and choose ε\varepsilon small enough to preserve the strict inequality. Local Lipschitz continuity and a compact cutoff supply the usual local existence and uniqueness step on that region.

These are demonstrated invalid steps in the proof of the paper’s central dynamical approximation claim, assessed Major under the requested core-derivation standard. The repairs above preserve the conditional support and stability bounds; no false-conclusion claim is made for those bounds. They do not repair Problem 1 or its propagated rate. The needed domain evaluations on BKB_K are understood to be defined, as required by the source’s own hypotheses.

□\square

Possible revision

Keep synchronous cost DD throughout; use maximal-support-radius estimate and first-exit argument, with MM+epsilon for approximation.

Problem 3. Current released notebooks compute incorrect evaluation quantities

Minor
Evidence and reasoning

Problem statement

For a compact Ω⊂Rd\Omega\subset\mathbb R^d containing zero, write νzm=1m∑j=1mδzj,(Fm(z))i=F(zi,νzm).\nu_z^m=\frac1m\sum_{j=1}^m\delta_{z_j},\qquad (F_m(z))_i=F(z_i,\nu_z^m). The expected transformer is Tn(x,μ)=Ez∼μ⊗n(T([x;z]))1.T_n(x,\mu)=\mathbb E_{z\sim\mu^{\otimes n}}(T([x;z]))_1. Assumption 4.34.3(a), p. 6, requires ∥F(x,μ)−F(y,ν)∥2≤L(∥x−y∥2+W1(μ,ν)). \|F(x,\mu)-F(y,\nu)\|_2 \le L\bigl(\|x-y\|_2+W_1(\mu,\nu)\bigr). The error E=sup⁡z∈Ωn+1∥T(z)−Fn+1(z)∥2\mathcal E=\sup_{z\in\Omega^{n+1}}\|T(z)-F_{n+1}(z)\|_2 is a uniform finite-sequence error, and ∥H∥∗=sup⁡x,μ∥H(x,μ)∥2.\|H\|_*=\sup_{x,\mu}\|H(x,\mu)\|_2. On compact Ω,\Omega, membership in Pp(Ω)\mathcal P_p(\Omega) imposes no additional restriction as finite pp increases.

Released evaluation should measure full test MSE, trajectory2-norm and stated parameter norm using comparable baselines.

Pinned public commit a73233504a5fec979cebc115866a424be3c38f02. Zero-based notebook cell indices; source parsed statically only. Historical experiment commit and checkpoints unavailable.

Proof

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 2727 initializes a four-element zero loss vector and i=0,i=0, but never increments ii inside the batch loop. Cell 3535 averages that vector. Therefore it reports Llast/4,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.1/4. This diagnostic is independent of model or dataset.

The GNN evaluator in cell 3636 increments its index and retains all batch losses, making the reduction asymmetric across the compared methods. Cell 3434 also overwrites its validation statistic on each of five trials and selects using the last trial; the GNN selector in cell 3737 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 2727 stores a separate error array for every trial but divides each trial’s particle-averaged absolute coordinate error by 100.100. Cell 3030 takes medians and quartiles without undoing that factor. The quantity is 1100N∑j=1N∣ej∣,\frac1{100N}\sum_{j=1}^{N}|e_j|, whereas p. 5 describes a 2-norm. If every ej=1,e_j=1, the released value is 0.01,0.01, the MAE is one, and the 2-norm is N.\sqrt N. Removing the factor alone does not resolve the metric mismatch.

In `Mean_Field_Two_Layer_Transformers.ipynb`, cell 2020 stores the coordinate mean of squared parameter errors; cell 2626 labels it as a squared norm, while p. 5 describes a Frobenius norm. For the specified 11×10011\times100 parameter array, a saved value vv corresponds to Frobenius norm 1100v.\sqrt{1100v}.

The CS notebook’s `Cylindrical_FNN` in cell 1212 applies ReLU after every layer, including the final output. Its enclosing cylindrical baseline therefore cannot produce negative accelerations. Two co-located particles with velocities 11 and 00 and the paper’s unit CS parameters require acceleration −1/2-1/2 for the first particle. This is an explicit representational restriction of the released baseline for the signed target.

□\square

Possible revision

Accumulate squared errors weighted by coordinate counts, average trials correctly, remove extraneous trial factor, define exact metric, allow signed final baseline output.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

Source location

PDF p6 Assumption4.3a; p7 Theorem4.7/Remark4.8; pp11-12 AppendixA equations20-21; dependencies Corollaries4.10/4.16 PDF p15 AppendixC Theorem4.14 proof; p13 PropositionB.1 supporting Theorem4.12 Cucker_Smale_using_Transformer.ipynb cells12,27,34-37; Simulating_CS_Dynamics.ipynb cells27,30; Mean_Field_Two_Layer_Transformers.ipynb cells20,26; paper pp4-5

Actual review scope

The recorded inspection concerns these source locations: PDF p. 6 Assumption4.3a; p. 7 Theorem4.7/Remark4.8; pp. 11-12 AppendixA equations20-21; dependencies Corollaries4.10/4.16; PDF p. 15 AppendixC Theorem 4.14 proof; p. 13 PropositionB.1 supporting Theorem 4.12; 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.

Submit an author revisionContribute a review