potentialpaper

Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime

Albert Alcalde, Leon Bungert, Konstantin Riedl, Tim Roith

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Token dynamics in deep encoder-only transformers converge to an explicit limiting distribution under a quantifiable trade-off between a temperature parameter and inference time.

Abstract. Transformers with self-attention modules as their core components have become an integral architecture in modern large language and foundation models. In this paper, we study the evolution of tokens in deep encoder-only transformers at inference time which is described in the large-token limit by a mean-field continuity equation. Leveraging ideas from the convergence analysis of interacting multi-particle systems, with particles corresponding to tokens, we prove that the token distribution rapidly concentrates onto the push-forward of the initial distribution under a projection map induced by the key, query, and value matrices, and remains metastable for moderate times. Specifically, we show that the Wasserstein distance of the two distributions scales like log⁡(β+1)/βexp⁡(Ct)+exp⁡(−ct)\sqrt{\log(\beta+1)/\beta}\exp(C t)+\exp(-ct) in terms of the temperature parameter β−1→0\beta^{-1}\to 0 and inference time t≥0t\geq 0. For the proof, we establish Lyapunov-type estimates for the zero-temperature equation, identify its limit as t→∞t\to\infty, and employ a stability estimate in Wasserstein space together with a quantitative Laplace principle to couple the two equations. Our result implies that for time scales of order log⁡β\log\beta, which correspond to the early-phase behavior most relevant for practical finite-depth models, the token distribution concentrates at the identified limiting distribution. Numerical experiments confirm this and, beyond that, complement our theory by showing that for finite β\beta and large tt the dynamics enter a different terminal phase, dominated by the spectrum of the value matrix.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper gives a clear spectral account of low temperature mean field transformer concentration, and identifies the projected zero temperature limiting law. The reviewers found the problem relevant and the presentation promising.

That being said, I do believe there are some technical issues I would like to see address before I can confidently assess this paper positively.

  1. Lemma 10 invokes the Bruno--Pasqualotto--Agazzi Lemma A.10 as a temperature uniform lower bound. The cited result instead holds for sufficiently large β\beta on each fixed horizon, with a threshold condition as well. Tracking its proof gives at most a small O(log⁡log⁡β)O(\log \log \beta) growing horizon rather than log⁡β\log \beta. This will also impact other results such as Proposition 6, Theorem 1, and Corollary 4, as the advertised log⁡β\log \beta time result is unproved. I believe this repair is not straight forward, unless the authors choose to reframe the result as for fixed TT instead.

  2. There are several smaller repairable zero temperature and statement issues. Proposition 8's truncated test function is not Lipschitz for p<1/2p < 1/2, and surface a.e. differentiability cannot be integrated against an arbitrary singular solution. Separately, Theorem 1 and Corollary 2 require the prefactor 2Vp(ρ0)\sqrt{2 \mathcal{V}_p(\rho_0)} rather than Vp(ρ0)\mathcal{V}_p(\rho_0), the current printed form is false already at t=0t=0. Corollary 4's universal ϵ−4log⁡(1/ϵ)\epsilon^{-4} \log (1/\epsilon) scaling must also be replaced by a parameter dependent exponent. However, I believe these are relatively minor issues and can be repaired during discussion time.

Overall, the zero temperature mechanism is promising and the secondary issues appear repairable. My assessment depends on how the authors handles the main temperature dependence issue. The authors may have to choose between either a challenging repair attempt, or weakening their results to fixed time horizon instead.

Final justification

The authors' response successfully resolved the correctness concerns raised in my initial meta review. The authors acknowledged that the issues in Lemma 10 and provided a new argument that avoids the problematic fixed horizon estimate. The repair is sufficiently detailed that I consider the issue resolved.

The reviewers also considered the response as successful. Reviewer U9Mk specifically described the new log horizon argument as a nontrivial improvement. Reviewer dnk8 accepted the novelty clarifications. All three reviews at this point have recommended acceptance.

The authors additionally provided a smooth approximation repair of Proposition 8 and agreed to correct the missig prefactor issue in Corollary 4. These are relatively minor revisions that I don't consider them problematic.

Overall, I find the results interesting and would recommend accept.

Area Chair Q27b · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper gives a clear spectral account of low temperature mean field transformer concentration, and identifies the projected zero temperature limiting law. The reviewers found the problem relevant and the presentation promising.

That being said, I do believe there are some technical issues I would like to see address before I can confidently assess this paper positively.

  1. Lemma 10 invokes the Bruno--Pasqualotto--Agazzi Lemma A.10 as a temperature uniform lower bound. The cited result instead holds for sufficiently large β\beta on each fixed horizon, with a threshold condition as well. Tracking its proof gives at most a small O(log⁡log⁡β)O(\log \log \beta) growing horizon rather than log⁡β\log \beta. This will also impact other results such as Proposition 6, Theorem 1, and Corollary 4, as the advertised log⁡β\log \beta time result is unproved. I believe this repair is not straight forward, unless the authors choose to reframe the result as for fixed TT instead.

  2. There are several smaller repairable zero temperature and statement issues. Proposition 8's truncated test function is not Lipschitz for p<1/2p < 1/2, and surface a.e. differentiability cannot be integrated against an arbitrary singular solution. Separately, Theorem 1 and Corollary 2 require the prefactor 2Vp(ρ0)\sqrt{2 \mathcal{V}_p(\rho_0)} rather than Vp(ρ0)\mathcal{V}_p(\rho_0), the current printed form is false already at t=0t=0. Corollary 4's universal ϵ−4log⁡(1/ϵ)\epsilon^{-4} \log (1/\epsilon) scaling must also be replaced by a parameter dependent exponent. However, I believe these are relatively minor issues and can be repaired during discussion time.

Overall, the zero temperature mechanism is promising and the secondary issues appear repairable. My assessment depends on how the authors handles the main temperature dependence issue. The authors may have to choose between either a challenging repair attempt, or weakening their results to fixed time horizon instead.

Final justification

The authors' response successfully resolved the correctness concerns raised in my initial meta review. The authors acknowledged that the issues in Lemma 10 and provided a new argument that avoids the problematic fixed horizon estimate. The repair is sufficiently detailed that I consider the issue resolved.

The reviewers also considered the response as successful. Reviewer U9Mk specifically described the new log horizon argument as a nontrivial improvement. Reviewer dnk8 accepted the novelty clarifications. All three reviews at this point have recommended acceptance.

The authors additionally provided a smooth approximation repair of Proposition 8 and agreed to correct the missig prefactor issue in Corollary 4. These are relatively minor revisions that I don't consider them problematic.

Overall, I find the results interesting and would recommend accept.

4 comments
Authors · CommentOpenReview ↗

Reply to Area Chair Q27b

Thank you for the overall positive assessment and for considering our submission promising, but in particular for carefully reviewing our manuscript and detecting the technical issue in our use of [Bruno-Pasqualotto-Agazzi, Lemma A.10]!

We were able to resolve this issue (item 1) by pursuing the challenging repair, and will post this repair as an official comment shortly so that also the reviewers can review our fix. Furthermore, let us mention that, as an initial fallback option, we also suceeded in implementing your suggestion to frame our results on time scales until O(log⁡log⁡β)\mathcal{O}(\log\log\beta). The most significant consequence of this would be that in Corollary 4 we would need to replace β≫poly⁡(ε−1)log⁡(ε−1)\beta\gg\operatorname{poly}(\varepsilon^{-1})\log(\varepsilon^{-1}) by the more restrictive condition β≫exp⁡(ε−1)log⁡(ε−1)\beta\gg\exp(\varepsilon^{-1})\log(\varepsilon^{-1}).

Furthermore, thank you for pointing out also the minor technical issues (item 2), which were straightforward to address. We will post a second official comment shortly, where we also address those points in detail.

Authors · CommentOpenReview ↗

Repair of technical issues (part 1/2)

We thank Area Chair Q27b for their review and overall positive assessment, and in particular for carefully checking the details of our results. We agree with the technical issues that they brought up and that they are crucial to be resolved. Let us outline how we can fix the log⁡β\log\beta claim (item 1) and the regularity issue of the test function (item 2). We will be happy to elaborate on the proof during the discussion phase and provide a fully type-setted proof as a tex or pdf file if requested by the AC.

Fixing the log⁡β\log\beta claim (item 1)

Following the AC's recommendation, we believe to have succeeded at implementing the challenging repair of the main technical issue (item 1), which arose from lending [Bruno-Pasqualotto-Agazzi, Lemma A.10], in which we completely overlooked the constraint of β\beta being sufficiently large in terms of the time horizon TT. In our repair, we replace this lemma by a self-contained estimate and modify only Proposition 6. As a positive side-effect, this removes the Lipschitz assumption on the initial density ρ0\rho_0: it is enough to assume for the initial datum that

ρ0=f0dHd−1,f0∈C(Sd−1),ℓ0:=min⁡Sd−1f0>0.\rho_0=f_0 d\mathcal H^{d-1},\qquad f_0\in C(\mathbb S^{d-1}),\qquad \ell_0:=\min_{\mathbb S^{d-1}}f_0>0.

Proof repair

  1. Let β≥1\beta\geq1. Denote by fˉ:=Hd−1(Sd−1)−1\bar f:=\mathcal H^{d-1}(\mathbb S^{d-1})^{-1} the uniform density relative to the surface measure Hd−1(Sd−1)\mathcal H^{d-1}(\mathbb S^{d-1}), and set $ℓβ(t):=min⁡x∈Sd−1ftβ(x),Lβ(t):=log⁡fˉℓβ(t),Sβ(t):=1+log⁡β+Lβ(t).\ell_\beta(t):=\min_{x\in\mathbb S^{d-1}}f_t^\beta(x),\qquad L_\beta(t):=\log\frac{\bar f}{\ell_\beta(t)},\qquad S_\beta(t):=1+\log\beta+L_\beta(t).$ Write mβ,ϱ(x)m_{\beta,\varrho}(x) as in (11) in the paper, and let $dνt,x(y):=eβ⟨B⊤x,y⟩∫Sd−1eβ⟨B⊤x,z⟩dρtβ(z)dρtβ(y).d\nu_{t,x}(y):= \frac{e^{\beta\langle B^\top x,y\rangle}} {\displaystyle\int_{\mathbb S^{d-1}} e^{\beta\langle B^\top x,z\rangle} d\rho_t^\beta(z)} d\rho_t^\beta(y).$ Further, let the covariance of this weighted probability measure be $Σt(x):=∫Sd−1(y−mβ,ρtβ(x))(y−mβ,ρtβ(x))⊤dνt,x(y).\Sigma_t(x):= \int_{\mathbb S^{d-1}} \bigl(y-m_{\beta,\rho_t^\beta}(x)\bigr) \bigl(y-m_{\beta,\rho_t^\beta}(x)\bigr)^\top d\nu_{t,x}(y).$ Differentiating mβ,ρtβ(x)m_{\beta,\rho_t^\beta}(x) gives, for every h∈Rdh\in\mathbb R^d, $Dmβ,ρtβ(x)[h]=β(∫y⟨B⊤h,y⟩dνt,x(y)−mβ,ρtβ(x)∫⟨B⊤h,y⟩dνt,x(y))=βΣt(x)B⊤h.Dm_{\beta,\rho_t^\beta}(x)[h] =\beta\bigg( \int y\langle B^\top h,y\rangle d\nu_{t,x}(y)-m_{\beta,\rho_t^\beta}(x) \int\langle B^\top h,y\rangle d\nu_{t,x}(y) \bigg) =\beta\Sigma_t(x)B^\top h.$ Using this identity and some standard computations yields the bound $∣div⁡vβ(x)[ρtβ]∣≤(d−1)σmax⁡(V)+(d−1)βσmax(V)σmax⁡(B)tr⁡Σt(x).\left|\operatorname{div} v_\beta(x) [\rho_t^\beta] \right| \leq (d-1) \sigma_{\max}(V) + (d-1) \beta \sigma_{\mathrm{max}}(V) \sigma_{\max}(B) \operatorname{tr} \Sigma_t(x).$

  2. We next estimate tr⁡Σt(x)\operatorname{tr} \Sigma_t(x) from above. Recalling that y⋆(x)=B⊤x/∣∣B⊤x∣∣y^\star(x) = B^\top x / || B^\top x ||, a straightforward computation shows (after cancellation of the constant eβ∣∣B⊤x∣∣e^{\beta||B^\top x||}) that

dνt,x(y)=e−β∣∣B⊤x∣∣2∣∣y−y⋆(x)∣∣2∫Sd−1e−β∣∣B⊤x∣∣2∣∣z−y⋆(x)∣∣2dρtβ(z)dρtβ(y).d\nu_{t,x}(y) = \frac{ e^{-\frac{\beta||B^\top x||}{2}||y-y^\star(x)||^2}}{\displaystyle\int_{\mathbb S^{d-1}} e^{-\frac{\beta||B^\top x||}{2}||z-y^\star(x)||^2} d\rho_t^\beta(z)} d\rho_t^\beta(y).

Further, note that it holds

tr⁡Σt(x)≤∫∣∣y−y⋆(x)∣∣2dνt,x(y).\operatorname{tr}\Sigma_t(x) \leq \int||y-y^\star(x)||^2 d\nu_{t,x}(y).

For 0<r≤a0<r\le a, after some computations using this second moment bound, and splitting the integral into the regions {∣∣y−y⋆(x)∣∣≤a}\{||y-y^\star(x)||\leq a\} and {∣∣y−y⋆(x)∣∣>a}\{||y-y^\star(x)||>a\}, yields

tr⁡Σt(x)≤a2+4e−β∣∣B⊤x∣∣2(a2−r2)ρtβ(Br(y⋆(x))).\operatorname{tr}\Sigma_t(x) \leq a^2 + \frac{4e^{-\frac{\beta||B^\top x||}{2}(a^2-r^2)}}{\rho_t^\beta(\mathcal B_r(y^\star(x)))}.

Choosing r=β−1/2r = \beta^{-1/2} and a≥ra\geq r suitably, by the computations in page 16 of our paper, it follows that

βtr⁡Σt(x)≤CSβ(t),\beta\operatorname{tr}\Sigma_t(x) \leq C S_\beta(t),

for a constant C=C(d,B)C=C(d,B). Combining this with the divergence estimate from Step 1 yields

∥div⁡vβ[ρtβ]∥∞≤ASβ(t),\lVert \operatorname{div}v_\beta[\rho_t^\beta]\rVert_\infty \leq A S_\beta(t),

where the constant A=A(d,V,B)A=A(d,V,B) is crucially independent of β,T\beta,T.

  1. Due to the regularity of our vector field vβ[ρtβ]v_\beta[\rho_t^\beta], a standard method-of-characteristics argument applied to the transformer continuity equation (2) shows that
ℓβ(t)≥ℓβ(0)exp⁡[−∫0t∣∣div⁡vβ[ρsβ]∣∣∞ds].\ell_\beta(t)\geq \ell_\beta(0)\exp \left[ -\int_0^t ||\operatorname{div}v_\beta[\rho_s^\beta]||_\infty ds \right].

Taking logarithms in the preceding expression and using the computations from Step 2 gives

Sβ(t)≤Sβ(0)+A∫0tSβ(s) ds,S_\beta(t)\leq S_\beta(0)+A\int_0^tS_\beta(s)\,ds,

for which an application of Gronwall's inequality eventually shows

Sβ(t)≤Sβ(0)eAt.S_\beta(t)\leq S_\beta(0)e^{At}.

ctd. in part 2

Authors · CommentOpenReview ↗

Repair of technical issues (part 2/2)

  1. We now employ Lemma 5 from our paper with rβ=β−1/2r_\beta=\beta^{-1/2} and choose q=qβ(t)q = q_\beta(t) as
qβ(t):=1β[Lβ(t)+d+12log⁡β+log⁡2cdfˉ]>0,q_\beta(t):= \frac1\beta\left[ L_\beta(t)+\frac{d+1}{2}\log\beta+\log\frac2{c_d \bar{f}} \right]>0,

where cd>0c_d>0 is the dimensional constant of page 16 in our paper. Leveraging the computations to lower bound ρtβ(Brβ(y⋆(x)))\rho_t^\beta(\mathcal B_{r_\beta}(y^\star(x))) on page 16 yields the cancellation in the second term of the Laplace estimate of Lemma 5 and shows for this second term

2e−βqβ(t)ρtβ(Brβ(y⋆(x)))≤cdfˉe−Lβ(t)β−(d+1)/2cdfˉe−Lβ(t)β−(d−1)/2=1β.\frac{2e^{-\beta q_\beta(t)}} {\rho_t^\beta(\mathcal B_{r_\beta}(y^\star(x)))} \leq \frac{ c_d \bar f e^{-L_\beta(t)}\beta^{-(d+1)/2} }{ c_d \bar f e^{-L_\beta(t)}\beta^{-(d-1)/2} } =\frac1\beta.

The first term, instead, is upper bounded by

rβ2+2qβ(t)σmin⁡(B)≤DSβ(t)β≤DSβ(0)βeAt/2,\sqrt{r_\beta^2+\frac{2q_\beta(t)}{\sigma_{\min}(B)}} \leq D \sqrt{\frac{S_\beta(t)}{\beta}} \leq D \sqrt{\frac{S_\beta(0)}{\beta}} e^{At / 2},

where D=D(d,B)D = D(d,B) and in the second inequality we use Step 3. A combination of the previous two bounds eventually gives

∣∣mβ,ρtβ(x)−y⋆(x)∣∣≤D^Sβ(0)βeAt/2.||m_{\beta,\rho_t^\beta}(x)-y^\star(x)|| \leq \hat D \sqrt{\frac{S_\beta(0)}{\beta}}e^{At/2}.

Here, D^=D^(d,B)\hat{D}= \hat{D}(d,B) and the inequality uses β≥1\beta\geq1 and Lβ(0)≥0L_\beta(0)\geq 0.

  1. Recalling that equation (21) in the paper gives $$|| v_\beta

�0�

(x) - v_\infty(x)|| \leq \sigma_\max (V) ||m_{\beta,\rho_t^\beta}(x)-y^\star(x)||,$$ and moreover recalling the definition of Sβ(0)=1+log⁡β+log⁡fˉℓ0S_\beta(0) =1+\log\beta+\log\frac{\bar f}{\ell_0} from the beginning of this proof, we conclude that

∣∣vβ[ρtβ]−v∞∣∣∞≤C1+log⁡ββeAt/2,||v_\beta [\rho_t^\beta]-v_\infty||_\infty \leq C\sqrt{\frac{1+\log\beta}{\beta}} e^{At/2},

where C=C(d,V,B,ℓ0)C=C(d,V,B,\ell_0) is independent of β\beta and TT.

  1. The stability argument of Proposition 6 now applies verbatim with adjusted constants independent of β\beta and TT. The repaired estimate above is valid for every β≥1\beta\geq1. Finally, we recover the originally claimed log⁡(β+1)/β\sqrt{\log(\beta+1)/\beta} scaling since 1+log⁡β≤2log⁡(β+1)1+\log\beta\leq2\log(\beta+1) for all β>0\beta >0.       □\ \ \ \ \ \ \square

Regularity of test functions (item 2.)

Using an approximation trick we were able to circumvent the regularity issue of our test function in the proof of Prop. 8. First we use a smooth approximation of the pp-the power ψδ(t):=(t+δ)p−δp\psi_\delta(t):=(t+\delta)^p-\delta^p for δ>0\delta>0. Then we also need a smooth cutoff function ξk:R→[0,1]\xi_k:\mathbb R\to[0,1] for k∈Nk\in\mathbb N which satisfies ξk(t)=1\xi_k(t)=1 for 0≤t≤k0\leq t\leq k, ξk(t)=0\xi_k(t)=0 for 2k≤t<∞2k\leq t < \infty. Using these two ingredients we define Ψδ,k(t):=∫0tψδ′(s)ξk(s)ds\Psi_{\delta,k}(t):=\int_0^t\psi_\delta'(s)\xi_k(s)ds. Finally, letting R(x):=∣∣x−PEx∣∣2∣∣PEx∣∣2R(x):=\frac{||x-P_Ex||^2}{||P_Ex||^2} denote the quantity which we called R1R_1 in our paper, we can define the smooth test function

Rδ,k(x):=Ψδ,k(R(x)).R_{\delta,k}(x) := \Psi_{\delta,k}(R(x)).

Using the computation in our paper as well as the definition of Ψδ,k\Psi_{\delta,k} we obtain for all x∈Sd−1x\in\mathbb S^{d-1} that

⟨∇Rδ,k(x),Px(VB⊤x)⟩≤−2γΨδ,k′(R(x))ξk(R(x))R(x)=RHS.\langle\nabla R_{\delta,k}(x),P_x(VB^\top x)\rangle \leq -2\gamma\Psi_{\delta,k}'(R(x))\xi_k(R(x)) R(x) = RHS.

Now if R(x)≤kR(x)\leq k we can use the identity

Ψδ,k′(R(x))R(x)≥pΨδ,k(R(x))=pRδ,k(x)\Psi_{\delta,k}'(R(x))R(x)\geq p\Psi_{\delta,k}(R(x))=pR_{\delta,k}(x)

as well as ξk(R(x))=1\xi_k(R(x))=1 to obtain

RHS≤−2pγRδ,k(x).RHS\leq -2p\gamma R_{\delta,k}(x).

If k<R(x)≤2kk<R(x)\leq 2k we simply bound RHS≤0RHS\leq 0 and, trivially, if R(x)≥2kR(x)\geq 2k we have RHS=0RHS=0. Hence, we obtain for all x∈Sd−1x\in\mathbb S^{d-1} that

⟨∇Rδ,k(x),Px(VB⊤x)⟩≤−2pγ1R(x)≤kRδ,k(x).\langle\nabla R_{\delta,k}(x),P_x(VB^\top x)\rangle \leq -2p\gamma 1_{R(x)\leq k}R_{\delta,k}(x).

Finally, using the weak solution of the PDE we get

ddt∫Rδ,k(x)dρt(x)≤−2pγσmax⁡(B)∫{R(x)≤k}Rδ,k(x)dρt(x).\frac{d}{dt}\int R_{\delta,k}(x)d\rho_t(x) \leq -\frac{2p\gamma}{\sigma_{\max}(B)}\int_{\{R(x)\leq k\}} R_{\delta,k}(x)d\rho_t(x).

Applying the monotone convergence theorem (in δ\delta and kk) to the time integrated version of this inequality and applying Gronwall shows the desired statement as in our paper.

Typo

The prefactor (Vp(ρ0)\mathcal V_p(\rho_0) vs. 2Vp(ρ0)\sqrt{2 \mathcal V_p(\rho_0)}) is indeed a typo, which was also caught by the reviewers and we which we will fix in the final version.

β\beta-scaling

The Area Chair is correct that the scaling ε−4log⁡(ε−1)\varepsilon^{-4}\log(\varepsilon^{-1}) in Corollary 4 has to be modified. Indeed, sufficient for t1<t2t_1<t_2 is that β≫poly⁡(ε−1)log⁡(ε−1)\beta\gg \operatorname{poly}(\varepsilon^{-1})\log(\varepsilon^{-1}), where the polynomial depends on the constants in the definition of t1t_1 and t2t_2. We will fix this in the final version.

Area Chair Q27b · CommentOpenReview ↗

At this point I would agree the technical issues I raised are fully resolved. Thanks for the detailed response.

Regards,

AC

Reviewer U9MkOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies the dynamics of mean-field transformers on the sphere in the low-temperature limit. The main result gives a quantitative estimate showing that, up to time of order O(log⁡β)O(\log\beta), the finite-temperature dynamics remain close to the push forward of the initial distribution onto the dominant eigenspace of VBTVB^T. The proof combines a quantitative Laplace principle, a Wasserstein stability bound, and a Lyapunov estimate for the zero-temperature flow. The experiments illustrate both this metastable regime and a conjecture related to a later final phase driven by VV.

Strengths and weaknesses

Strengths

The result is a valuable contribution to the literature on mean-field transformer models: the quantitative dependence on β\beta and time provides a clear formulation of the metastable collapse phase on the specific eigenspace.

The mathematical tools introduced, particularly the quantitative Laplace argument and the Lyapunov functional, provide a straightforward proof that is surprising for this type of mean-field transformer model, which exhibits quite intricate dynamics.

The analysis also reveals a nontrivial interplay between the temperature parameter and the Q,K,VQ,K,V matrices. In particular, it shows that the token dynamics can favor specific subspaces determined by the attention matrices. While connecting this rigorously to realistic transformer architectures is still far away, this direction could eventually have interpretability consequences, since it suggests a way to relate token dynamics to spectral properties of the learned matrices.

Weaknesses

The model is simplified: shared weights, single-head attention, no MLP, mean-field limit, and structural assumptions on the matrices. This limits the direct interpretation for practical transformers, although it does not reduce the mathematical value of the result. I would appreciate it if the role of the symmetry assumption on VBTVB^T were explained more explicitly. From my understanding, it is used to identify the limiting projected distribution, but the paper could better separate what holds generally from what relies on symmetry.

The strict positivity assumption on the density is natural for the quantitative Laplace argument, but it excludes some situations such as finitely supported particle measures or measures supported only on part of the sphere.

Questions
  • The result is stated at the mean-field level. Since the original transformer dynamics is a particle dynamics, can the result be combined with finite-NN propagation estimates? What scaling between NN and β\beta should one expect in order to observe the O(log⁡β)O(\log \beta) regime at the particle level?
  • What would happen if one tried to carry out the same kind of expansion for multi-head attention dynamics? Would one still obtain convergence to a simplified limiting PDE? If so, would the limiting measure still be possible to characterize in the zero-temperature limit, or would the interaction between heads complicate the dynamics?
  • In the zero-temperature estimate Eq. 10, the proof seems to give a prefactor of the form 2Vp(ρ0)\sqrt{2V_p(\rho_0)}, while the theorem 1/corollary 2 seems to use Vp(ρ0)V_p(\rho_0). How are the two connected?
  • Since the paper mentions that without full support, the finite-β\beta vector field can be poorly approximated by the Laplace expansion, do the authors have an idea of the possible limiting dynamics in the case where the measure is not supported everywhere?
  • Regarding the conjectured terminal phase, could the authors expand on which part of the proof prevents extending the result to uniform-in-time convergence? Do the authors think this effect is caused by loss of support in the finite-NN dynamics once the particles approach the subspace, or is it instead related to higher-order finite-β\beta effects in the mean-field dynamics? Are there simple cases in which it is possible to say something about the local stability of the EE subspace?
Limitations

yes

Final justification

The authors have addressed my questions and the main technical concerns raised during the discussion. In particular, the new argument that preserves the O(log⁡β)O(\log \beta) time horizon is an important and nontrivial improvement.

I continue to find the paper interesting and relevant to the community. The discussion has strengthened my positive view of the work, and I confirm my recommendation for acceptance.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer U9Mk for their thoughtful and detailed review, and in particular for posing interesting questions which we respond to below and will be happy to address in the revised version of our manuscript.

Regarding the model assumptions

We agree with the reviewer that the idealized models which we analyze are distinct from those used in practice. As we pointed out in the response to Reviewer YpMZ (third paragraph), we believe that our theoretical framework developed for this simplified setting, however, has the potential to inform rigorous mathematical statements for more complex models. We consider this analysis to be a first crucial step towards future works covering more challenging cases of transformers with MLPs, multi-head attention, time-varying weights, as well as a large but finite number of tokens.

Regarding the symmetry assumption on VB⊤VB^\top, we thank the reviewer for their comment and agree that this distinction could be made clearer. Symmetry of VB⊤VB^\top ensures that the dominant eigenspace EE and its orthogonal complement are invariant. This has two essential consequences in Section 4.2: the spectral gap yields exponential decay toward EE (Proposition 8), and the normalized projection Π(x)=PEx/∣∣PEx∣∣\Pi(x)=P_E x/||P_E x|| is preserved along the zero-temperature flow (Lemma 9), allowing us to explicitly identify the limit as the push-forward of ρ0\rho_0 under Π\Pi (denoted here by Π∗ρ0\Pi_{*}\rho_0). Without symmetry, convergence to this projected distribution need not hold. Importantly, symmetry is not needed for our quantitative low- to zero-temperature stability estimate (Proposition 6). We will make this clearer in the discussion following Assumption 1 when revising the manuscript. In this sense, our results can be used in a modular way: If an analytical treatment of the linear zero-temperature equation under less restrictive assumptions is available, our quantitative (in β\beta) results immediately extend those results to the low-temperature regime.

We agree that strict positivity of the initial density is a restrictive assumption (by the way, we got rid of the Lipschitz continuity requirement in Assumption 3), which is essential for applying the quantitative Laplace principle in Lemma 5 and obtaining explicit, informative bounds in β\beta. Note, however, that our results for the zero-temperature equation (e.g., Corollary 2) are true even for finitely many particles. Furthermore, empirically we still find our result to hold for the self-attention dynamics of finitely many particles: our particle simulations use finitely supported empirical measures and still reproduce the predicted alignment behavior and time scales. Adding noise could provide a theoretical route to weaken initial-data assumptions through regularization, as pursued in the cited works on noisy transformers in the paper; although noise is not standard in practical transformer implementations.

Response to questions:

  1. The study of quantitative mean-field approximation results for non-linear PDEs such as (2), which study how close the finite-nn particle system is from the mean-field limit, is indeed a very contemporary and relevant topic [C1]. To push our results to the finite particle regime, we would need to first prove uniform-in-time propagation of chaos results (cf. [C2] for such a result for consensus-based optimization, which takes a similar form as our transformer model) and then combine them with our quantitative convergence statement. In the best case scenario, the scaling n≳βn\gtrsim\beta would suffice but this would require the propagation of chaos result to be uniform in β\beta as well, which we don't expect it to be.
  2. This is a great point. In fact, it is easy to see that the zero-temperature approximation can be performed just as for single-head attention. The main difficulty is the analysis of the zero-temperature equation for which linear spectral theory of the weight matrices is not sufficient. Here, as the reviewer suspected, interactions between the heads significantly complicate the convergence theory and understanding them will be a subject of future work.
  3. We thank the reviewer for catching this typo. Equation (10) is correct: Lemma 7 gives W22(ρt,Π∗ρt)≤2Vp(ρt)W_2^2(\rho_t,\Pi_{*}\rho_t)\leq 2V_p(\rho_t), so the prefactor is 2Vp(ρ0)\sqrt{2V_p(\rho_0)}. We will correct the corresponding terms in Theorem 1 and Corollary 2.
  4. This is a very good question. If the initial particles are sampled randomly, as explained in 1., we believe that our results still hold with high probability despite the support not being the entire sphere. However, as we explain in Appendix B, for a single initial token the dynamics are explicit and entirely steered by the value matrix VV; here, our theory certainly does not apply. For more general distributions, supported on subsets of the sphere, it might be that there are some projected limiting dynamics but for now we do not have any informed guess as to what they could look like.
  5. We thank the reviewer for these questions. The difficulty arises in Proposition 6: the quantitative Laplace error grows like log⁡(β)/β eC0t\sqrt{\log(\beta)/\beta}\,e^{C_0t}. The resulting estimate is therefore informative only up to times of O(log⁡β)\mathcal{O}(\log\beta). We believe this time scale to be qualitatively sharp, rather than an artifact of the proof: numerically, after approaching the dominant eigenspace EE of VB⊤VB^\top, the dynamics can enter a second phase and align instead with a dominant eigenspace of VV. Thus, uniform-in-time convergence to the zero-temperature dynamics cannot generally be expected. However, we do suspect convergence to the eigenspace EE as time goes to infinity in some special cases: E.g., if the dominant eigenspace EE of VB⊤VB^\top is simple (which generically it should be), if it coincides with the dominant eigenspace of VV, and if the latter is simple (which again it should be), then [C3, Theorem 2] implies that EE is a stable equilibrium under some assumptions on the eigenvalues. While this is a very artificial situation, we suspect the convergence to EE to be true in even more generality, e.g., if V=Id⁡V=\operatorname{Id} (cf. Figure 1) or in the gradient flow case of [C4] where V=BV=B and BB is symmetric and negative semi-definite, see Figure 9 in the appendix.

[C1] L.-P. Chaintron and A. Diez. Propagation of chaos: a review of models, methods and applications. I. Models and methods. Kinet. Relat. Models, 15(6):895–1015, 2022.

[C2] N. Gerber, F. Hoffmann, D. Kim, and U. Vaes. Uniform-in-time propagation of chaos for consensus-based optimization. arXiv preprint arXiv:2505.08669, 2025.

[C3] C. Altafini. Multistability of self-attention dynamics in transformers. IEEE Transactions on Automatic Control (2026).

[C4] M. Burger, S. Kabri, Y. Korolev, T. Roith, and L. Weigand. Analysis of mean-field models arising from self-attention dynamics in transformer architectures with layer normalization. Philos. Trans. Roy. Soc. A, 383(2298):Paper No. 20240233, 48, 2025.

Reviewer U9Mk · CommentOpenReview ↗

Thank you to the authors for the detailed, satisfying, and interesting responses. The rebuttal clarified the role of the assumptions, corrected the identified issues, and provided useful discussion of the finite-particle, multi-head, and long-time regimes. My overall impression of the paper remains positive: I view it as an interesting and rigorous theoretical contribution to the field. I will therefore keep my original positive score.

Reviewer dnk8OpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The article studies the low temperature, and large number of tokens asymptotics in a mean-field model of transformers. The articles proves two main results, they idenifty the stationary distribution of the zero-temperature continuity equation toward the projection of principal part of the spectrum of VB⊤V B^{\top}. The second main result consists of a quantitative bound between the finite β\beta dynamic, and the limiting one this bound reads as \begin{equation*} W_2(\rho_{t}^{\beta},\Pi_{\sharp}\rho_0)\leq \sqrt{\frac{\log(\beta+1)}{\beta}}\exp(Ct)+\exp(-ct). \end{equation*} This bound justifies that the dynamic is well approximated for t=O(log⁡β)t=O(\log \beta). This is a challenging task to obtain a quantitative approximation result for diverging time, since one must use dissipation which is of course present in this model. The authors also propose experimental facts to justify that their results seems to be sharp, in the sense, that of outside the time scale considered, the dynamics is not close to the equation proposed.

Strengths and weaknesses

Strengths:

  • The paper is well written, and clear. The proof are transparent, and simple to follow.

  • The proposition 8 is a technical contribution which is new, and interesting.

  • This is interesting to quantify precisely the different timescales of the dynamics, and this work is partially answering this question.

Weaknesses:

  • This is an incremental work which proves a quantitative version of the result presented in [1] under a stronger assumption that the one in this paper.
  1. A multiscale analysis of mean-field transformers in the moderate interaction regime Bruno et al 2025
Questions
  • The Laplace method argument proposes has a bound scaling like \begin{equation*} |m_{\beta,\rho}(x)-y^{}(x)|\leq \sqrt{r^{2}+\frac{2q}{\sigma_{min}(B)}}+\frac{2e^{-\beta q}}{\rho(B_{r}(y^{}(x)))} \end{equation*} The second term should scale as e−βqr−de^{-\beta q}r^{-d} since you need a measure having a density with respect to the surface, and a scaling argument shows that ρ(Br)≃Vol(Br)Vol(B2)≃rd−1\rho(B_{r})\simeq \frac{\mathrm{Vol}(B_{r})}{\mathrm{Vol}(B_{\sqrt{2}})}\simeq r^{d-1} by change of variable. Given the fact that the embedding space is usually high, it needs to require β\beta of the order of log⁡(d)\log(d). Is it necessary ? To my knowledge, one had a more regular density, it should not scale like this with respect to dimension.

  • Can you link your paper conjecture with the three phases analysis developped in [1], in particular, do you have any conjectures on the different timescales associated to the three phases of this paper, and also, do there exists in your general setup such three phases, or maybe different phases ?

typo line 669, you repeat two times the same sentence

  1. A multiscale analysis of mean-field transformers in the moderate interaction regime Bruno et al 2025
Limitations

yes

Formatting concerns

no

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer dnk8 for their thoughtful review, and in particular for posing interesting questions that help us clarify the novelty and impact of our submission. We are also happy that the reviewer found the technical results and the quantification of time scales new and interesting.

Regarding novelty

We would like to emphasize that – in light of the obtained theoretical results, identified phenomena, and the developed mathematical tools – our work is novel and a considerable advance of the current state of the art. Hence, we do not view our work as incremental. Certainly, as pointed out by the reviewer, we are not the first to analyze the transformer continuity equation (2), which is a well-established mathematical model at this point and whose rich related litarature we have discussed, to the best of our knowledge, exhaustively in the related work section. Yet, we are the first to explicitly characterize the metastable distribution Π∗ρ0\Pi_{*}\rho_0 (here denoting the push-forward of ρ0\rho_0 under Π\Pi) based on the initial data as well as to provide quantitative convergence results, highlighting a trade-off between the temperature parameter β\beta and inference time. This has not been covered in previous works such as [B1], where subsequent limits β→∞\beta\to\infty and then t→∞t\to\infty are taken. Hence, our result corresponds to the early-phase behavior most relevant for practical finite-depth models and goes significantly beyond [B1] and other previous analyses of the transformer dynamics.

Regarding the assumptions

It is not generally the case that our results require stronger assumptions that those in [B1]. Specifically, [B1] requires Q⊤KQ^\top K and VV to be invertible for the alignment phase, whereas our stability estimate only requires B=Q⊤KB=Q^\top K to be invertible. Moreover, [B1] proves only alignment with Emax⁡(VB⊤)E_{\max}(VB^\top), while we identify the limiting distribution and give an explicit Wasserstein rate, at the cost of assuming symmetry of VB⊤VB^\top. Note also that for the result of [B1] to be non-trivial, one needs extra assumptions on VB⊤VB^\top to make sure that Emax⁡(VB⊤)E_{\max}(VB^\top) is even well-defined as subspace of the sphere, which is not the case, e.g., if VV is a rotation and B=Id⁡B=\operatorname{Id}. This is prevented in our paper by the symmetry assumption. The heat and pairing phases of [B1] also require BB and VV to act as scalar multiples of the identity on Emax⁡(VB⊤)E_{\max}(VB^\top), along with phase-specific initial-data assumptions.

Finally, we were able to weaken our Assumption 3 and now we do not have to assume Lipschitz continuity of the initial token density, as required in [B1].

Response to questions:

  1. Thanks for raising this relevant point. It turns out that for our analysis it is not necessary to scale β\beta with the dimension dd at all, see the proof on page 16 of the submitted manuscript. There, we choose the ingredients for the Laplace principle in an optimized way and obtain a stronger result which is true for any β>0\beta>0.
  2. Thanks for this question. Our results mostly relate to phase 1 (alignment phases) of [B1] which states that on O(1)\mathcal{O}(1) time scales, as β→∞\beta\to\infty, the dynamics collapse onto the dominant eigenspace of VB⊤VB^\top. In our work, we identify the limiting distribution and quantify convergence to it (in fact, not just on O(1)\mathcal{O}(1) but on O(log⁡β)\mathcal{O}(\log\beta) times scales). The other two phases of [B1] assume that the dynamics are already collapsed onto that subspace. However, for any finite value of β\beta and TT this collapose will not generally occur but instead the dynamics enter a second phase which relates to our conjecture. In this phase, the dynamics are largely independent of BB and are conjectured to collapse onto the dominant eigenspace of VV. We already alluded to the three phases of [B1] in lines 174ff, but will make sure to explain this with more detail in the final version. To answer the remaining questions: We currently do not have any conjectures regarding the time scales of [B1]. Furthermore, in our setup there are two phases, a first one where alignment with Emax⁡(VB⊤)E_{\max}(VB^\top) occurs (this phase corresponds to phase 1 of [B1]) and a second phase where alignment with Emax⁡(V)E_{\max}(V) is empirically observed (which is in line with the stability analysis of [B2]).
  3. Thanks for pointing us to this. Actually line 669 is no typo. What we mean is the following: Since by Lemma 11, the property DΠ(x)v∞(x)D\Pi(x)v_\infty(x) holds for all points x∈Sd−1\E⊥x\in\mathbb{S}^{d-1}\backslash E^{\perp}, we have for all these points (or, as we wrote "for all x∈Sd−1\E⊥x\in\mathbb{S}^{d-1}\backslash E^{\perp}") the subsequent property. To improve readability, we will slightly reformulate this sentence.

[B1] G. Bruno, F. Pasqualotto, and A. Agazzi. A multiscale analysis of mean-field transformers in the moderate interaction regime. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.

[B2] C. Altafini., 2026. Multistability of self-attention dynamics in transformers. IEEE Transactions on Automatic Control.

Reviewer YpMZOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies the low-temperature behavior of a continuous-depth mean-field model of normalized self-attention dynamics. Under the assumptions that the key-query product BB is invertible, VB⊤VB^{\top} is symmetric and has a spectral gap, and the initial distribution satisfies suitable regularity and nondegeneracy conditions, the authors establish a quantitative Wasserstein bound describing the clustering behavior on logarithmic time scales:

W_2\left(\rho_t^\beta, \Pi_{\\#}\rho_0\right) \lesssim \sqrt{\frac{\log(\beta+1)}{\beta}} e^{C_1 t} + e^{-ct}.

Here, Π\Pi denotes the normalized projection onto the dominant eigenspace of VB⊤VB^{\top}. The proof combines a quantitative Laplace principle, a stability estimate comparing the finite- and zero-temperature continuity equations, and a Lyapunov argument identifying the limiting zero-temperature distribution as \Pi_{\\#}\rho_0. Notably, the finite-to-zero-temperature stability analysis may also apply to more general choices of VV and BB, including settings in which the zero-temperature dynamics do not converge to a limiting distribution. The paper further presents numerical evidence of a later terminal phase in which, for certain classes of BB and VV, the self-attention dynamics appear to align with a dominant eigenspace of VV rather than that of VB⊤VB^{\top}.

Strengths and weaknesses

This is a strong theoretical paper to the emerging mathematical literature on transformer dynamics. Rather than only showing convergence as β→∞\beta\to\infty, the authors derive an explicit approximation rate and track how the error interacts with inference time. This is particularly valuable because the quantitative statement they obtain clearly explains the metastable nature of the concentration phenomenon.

Strengths:

  1. The paper identifies the limiting measure and proves convergence using a new Lyapunov functional. This is more informative than prior results that characterize only the support of the limit.

  2. The analysis combines a quantitative Laplace estimate, Wasserstein stability, and convergence of the zero-temperature dynamics. This decomposition is clear and may be useful beyond the specific model studied here. The exposition in the main text also provides helpful intuition before presenting the technical details.

  3. Their numerical observation that a later phase governed by the value matrix is interesting and suggests new directions for future theoretical work.

Weaknesses:

The main limitations of the paper concern scope of the current work. The analysis assumes, among other conditions, an invertible key-query product, symmetry and an eigengap for VB⊤VB^\top, and a regular initial distribution with a density bounded away from zero. The model also abstracts away multi-head attention, MLP, varying weights across depth, and finite-token effects. These assumptions limit immediate applicability to trained transformers. Nevertheless, they are clearly stated, and I consider them reasonable.

Overall, the paper provides a rigorous and conceptually useful quantitative result for a nontrivial transformer mean-field model. The assumptions restrict its scope, but the theoretical advance is sufficiently substantial.

Questions
  1. There are some typos in the statements of the theorems in the main text. For example, comparison with equation (10) suggests that the prefactor in Theorem 1 and Corollary 2 should be 2Vp(ρ0)\sqrt{2V_p(\rho_0)}. Corollary 4 would then need to be modified accordingly.

  2. To clarify the practical relevance of the theoretical results, it would be valuable to connect the mean-field, low-temperature analysis to the finite-NN, finite-β\beta setting. The paper first takes the mean-field limit N→∞N\to\infty and subsequently studies β→∞\beta\to\infty, but these two limits need not commute: in particular, finite-token hardmax dynamics do not generally coincide with the zero-temperature mean-field equation. Could the authors discuss a joint large-NN, large-β\beta regime in which the finite-token dynamics are well approximated by the limiting equation?

  3. Exact symmetry of VB⊤VB^{\top} is nongeneric. Suppose

VB⊤=S+εR,S=S⊤,VB^{\top}=S+\varepsilon R, \qquad S=S^{\top},

with ε≪1\varepsilon\ll1. Can one prove concentration near the dominant eigenspace of SS for a time interval depending explicitly on ε\varepsilon, followed possibly by slow rotational or nonnormal motion?

  1. Could the experiments include systematic sweeps over β\beta, fitting the observed dependence of
t_{\mathrm{e}}=\mathop{\mathrm{argmin}}\limits_{t} W_2\left(\rho_t^{\beta},\Pi_{\\#}\rho_0\right)

against the predicted logarithmic temperature time scales? At present, the experiments illustrate the qualitative phenomenon but do not establish whether the theorem's rate is observed.

  1. The authors provide numerical evidence for their conjecture using the specific example V=diag⁡(1,1,2)V=\operatorname{diag}(1,1,2). While this example is illustrative, the current formulation, that there exist weight matrices for which the conjectured behavior occurs, is too broad to guide further theoretical investigation. Could the authors state the conjecture more precisely and provide a more systematic numerical characterization of when this phenomenon arises? In particular, it would be helpful to identify structural or spectral conditions on the weight matrices associated with the observed behavior. Such a characterization would facilitate future work on the conjecture and clarify its relationship to existing analyses of critical points in related systems [1].

[1] M. Burger, S. Kabri, Y. Korolev, T. Roith, and L. Weigand. Analysis of mean-field models arising from self-attention dynamics in transformer architectures with layer normalization. Philos. Trans. Roy. Soc. A, 383(2298):Paper No. 20240233, 48, 2025.

Limitations

Yes.

Final justification

After considering the discussion, I maintain my recommendation of 5 (Accept).

  • The paper makes an interesting theoretical contribution by providing a quantitative finite-to-zero-temperature approximation and identifying the limiting projected distribution through a new Lyapunov argument. The resulting bound gives a clear mathematical explanation of the metastable concentration regime.

  • The authors have addressed the technical concerns raised during discussion. In particular, they corrected the prefactor and corresponding downstream statements, and clarified the scope of the assumptions and conclusions. The authors also responded constructively to my extension questions.

  • The model remains idealized, which restricts the immediate applicability to practical transformers, but they are now clearly stated and do not outweigh the novelty and mathematical value of the results.

Overall, the authors resolved my essential concerns, and I believe the paper merits acceptance.

Formatting concerns

None identified.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank Reviewer YpMZ for their elaborate and detailed review, and in particular for posing interesting questions which we respond to below and will be happy to address in the revised version of our manuscript. We are also glad to read that they found our submission to constitute a strong theoretical paper to the emerging mathematical literature on transformer dynamics.

Regarding the scope

We agree with the reviewer that the mathematical transformer model that we analyze is idealized to be amenable to theoretical analysis, which holds under certain assumptions on the transformer matrices BB and VV. Extensions to more realistic architectures which include MLPs, causal attention, or multi-head attention, as well as investigating finite-token effects (i.e., quantitative mean-field approximations) are natural and important directions for future work, but each introduces distinct difficulties and will require the development of additional ideas and techniques. Therefore, we anticipate that the framework put forward in our submission (which already goes beyond earlier gradient-flow-based analyses) will lay the mathematical foundation for quantitatively characterizing concentration phenomena in more realistic deep mean-field transformers in the future. We will emphasize this in the last paragraph in Section 6, where we already address limitations and extensions, more elaborately.

Response to questions:

  1. Yes, the reviewer is correct regarding the typos and we will correct them in the revised manuscript. Thank you for the careful reading!
  2. The study of quantitative mean-field approximation results for non-linear PDEs such as (2), which study how close the finite-nn particle system is from the mean-field limit, is indeed a very contemporary and relevant topic [A1]. For the transformer PDE (2) specifically, we can resort to analogous mean-field approximation results from the consensus-based optimization (CBO) literature due to the similarity of the models, a connection which we draw in the second part of Section 3. In [A2], the Wasserstein-2 distance of the finite particle solution and its mean-field limit is proven to be of order n−1/2n^{-1/2}. [A3] provides such quantitative estimate even for a CBO model on the sphere, as is the case for the transformer dynamics. While the estimates in [A2,A3] hold for finite time horizons, very recent results [A4] offer uniform-in-time mean-field approximation results. We will include a remark in the revision in which we discuss how these results could be leveraged in future works to eventually bound W2(ρtβ,n,Π∗ρ0)W_2(\rho_t^{\beta, n},\Pi_*\rho_0) (here Π∗ρ0\Pi_*\rho_0 denotes the push-forward of ρ0\rho_0 under Π\Pi).
  3. That's an interesting question. Denoting by ρtε\rho_t^{\varepsilon} the solution to the PDE (3) with non-symmetric VB⊤VB^\top and by ρt\rho_t, the solution to (3) with the symmetric part SS, one can derive (by using a synchronous coupling argument) a worst-case quantitative bound of the form W2(ρtε,ρt)≤εO(eLt)W_2(\rho_t^{\varepsilon},\rho_t) \leq \varepsilon\mathcal{O}(e^{Lt}), where LL denotes the Lipschitz constant of vector field of the zero-temperature limit (3). While this estimate guarantees that ρtε\rho_t^{\varepsilon} effectively concentrates near the dominant eigenspace of SS on O(1)\mathcal{O}(1) time scales, the non-symmetric component of the perturbation dictates the long-time behavior. On extended time horizons of t∼O(ε−1)t\sim\mathcal{O}(\varepsilon^{-1}), the non-symmetric component may induce a slow rotation of the concentrated measure around the dominant eigenspace. Since, as correctly noted by the reviewer, the low- to-zero-temperature stability analysis applies to more general choices of BB and VV, these observations directly extend to a solution ρtβ,ε\rho_t^{\beta, \varepsilon} of (2) with a non-symmetric VB⊤VB^\top. We conjecture that this might in particular occur, when the matrix VB⊤V B^\top has eigenvalues with non-zero imaginary part. The intuition here, comes from systems of linear ODEs, where such a relation can be charaterized explicitly. If the matrix VB⊤VB^\top is non-symmetric but has real eigenvalues, we expect to be in the regime of our paper's conjecture, where the long-term behavior is determined by the dominant eigenspace of VV. This is supported by our numerical experiment in Figure 5, where these two situations can be observed. We will add a clarifying remark and leave a precise study for future work.
  4. We thank the reviewer for the excellent suggestion. We have conducted such numerical experiments visualizing te=argmint⁡W2(ρtβ,n,Π∗ρ0)t_e=\operatorname{argmin_t} W_2(\rho_t^{\beta, n},\Pi_*\rho_0) and indeed observe the predicted logarithmic scaling of te≈log⁡βt_e\approx\log\beta. If the AC permits, we are happy to share the code or a link to a pdf with the results. In any case, we will include this experiment in the revision. Thanks for this suggestion!
  5. We thank the reviewer for raising this point. Narrowing down the admissible matrices is delicate. First, there definitely exist matrices VV and BB that satisfy all our conditions but do not exhibit long-time convergence to the dominant eigenspace of VV, see Figure 3(b) in [A5] where V=−BV=-B and BB is positive definite and diagonal. However, we suspect that for (i) V=Id⁡V=\operatorname{Id} and BB symmetric or for (ii) V=BV=B with BB symmetric and positive semi-definite the statement of the conjecture might be true. In both cases, the dominant eigenspace of VB⊤VB^\top lies in the dominant eigenspace of VV. So a reasonable subclass of weight matrices to investigate are those for which Emax⁡(VB⊤)⊂Emax⁡(V)E_{\max}(VB^\top)\subset E_{\max}(V) in which case we suspect that our metastable distribution is actually stable. In the light of Figure 2, this certainly does not exhaust all possible cases for which convergence to Emax⁡(V)E_{\max}(V) can be observed. If the parameter configuration introduces a fully clustered state, as remarked in [A5], the transformer dynamics correspond to a power iteration for the matrix VV underlining a driving intution for this phenomenon. Beyond that, in our numerical examples we observe a similar behavior also for bimodal distributions, see Figure 3 in our paper. We will add a brief discussion after the conjecture.

[A1] L.-P. Chaintron and A. Diez. Propagation of chaos: a review of models, methods and applications. I. Models and methods. Kinet. Relat. Models, 15(6):895–1015, 2022.

[A2] N. J. Gerber, F. Hoffmann, and U. Vaes. Mean-field limits for consensus-based optimization and sampling. ESAIM: Control, Optimisation and Calculus of Variations, 31:74, 2025.

[A3] M. Fornasier, H. Huang, L. Pareschi, and P. Sünnen. Consensus-based optimization on hypersurfaces: Well-posedness and mean-field limit. Math. Models Methods Appl. Sci., 30(14):2725–2751, 2020.

[A4] N. Gerber, F. Hoffmann, D. Kim, and U. Vaes. Uniform-in-time propagation of chaos for consensus-based optimization. arXiv preprint arXiv:2505.08669, 2025.

[A5] M. Burger, S. Kabri, Y. Korolev, T. Roith, and L. Weigand. Analysis of mean-field models arising from self-attention dynamics in transformer architectures with layer normalization. Philos. Trans. Roy. Soc. A, 383(2298):Paper No. 20240233, 48, 2025.

Reviewer YpMZ · CommentOpenReview ↗

Thank you for the detailed response. The authors have corrected the prefactor issue in the theorem statements and the corresponding downstream results. Their discussion has also clarified the scope of the current paper. I have no further essential questions. Overall, I find this to be an interesting theoretical paper addressing an interesting question, and I maintain my positive assessment of the submission.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Thanks and remaining time for questions

Dear AC and Reviewers,

With the end of the discussion period approaching, thanks again for carefully reviewing our paper, your interest in the topic, and for posing many relevant and interesting questions. We hope our responses clarified them all in detail, and we're glad to address anything further while there's still time.

We're genuinely excited about this work and the theoretical framework it develops, and we are grateful for your efforts. Thanks again for your time.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…