Activation Functions Shape Token Clustering in Stochastic Transformer Dynamics
Nikita Karagodin
NeurIPS 2026
TL;DR. We analyze activation-dependent synchronization in a stochastic interacting-particle model of deep transformers, showing that standard MLP activations induce different long-time token geometries.
Abstract. We study how the MLP activation function shapes the long-time geometry of token representations in a deep transformer. We work in the stochastic transformer dynamics of [Agazzi et.al. 2026], in which tokens evolve as interacting particles on the sphere under deterministic attention and a common MLP noise whose covariance is the activation's NNGP kernel. For each of ReLU, ReLU², ReLU³, GELU, SiLU, and tanh, we identify the dimensions at which common noise stops driving tokens to full synchronization and sustains non-degenerate spread. We further prove that, even in the presence of attention, ReLU noise admits dispersion ceilings close to consensus, while ReLU$^2$ noise prevents complete token collapse under an explicit attention strength condition.We study how the MLP activation function shapes the long-time geometry of token representations in a deep transformer. We work in the stochastic transformer dynami, in which tokens evolve as interacting particles on the sphere under deterministic attention and a common MLP noise whose covariance is the activation's NNGP kernel. For each of ReLU, ReLU$^2$, ReLU$^3$, GELU, SiLU, tanh, and SwiGLU, we identify the dimensions at which common noise stops driving tokens to full synchronization and sustains non-degenerate spread. We further prove that, in the presence of attention, ReLU noise still drives tokens to consensus, while ReLU$^2$ noise prevents complete token collapse, in both cases below an explicit attention strength.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
[Final Meta-Review]
In the context of building on the existing SDE from [Agazzi et al (2026)], the reviewers seem to be in agreement that this work merits publication at NeurIPS with the additional changes promised by the authors during the discussion period. These changes include recontextuallizing the results to emphasize how they are related to other papers on initialization theory and clarifying the exact scope of the paper.
[Initial Pre-discussion Meta-Review]
Summary of Paper This theory paper takes an SDE model from [Agazzi et al (2026)] for the evolution of token representations on intialization in a neural network and uses it to analyze the effect of several different chocies of the non-linearity in the network. The main analysis being carried out is a type of stochastic stochastic analysis that results in a particular infinite-size limit of the network. In this analysis, the authors analyze which activation functions are most favourable to prevent the network from degenerate collapse (i.e. sending all tokens to a single output).
Summary of Reviews The reviewers seem to agree that the SDE analysis is interesting and has novel mathematical conclusions. However, the main concern the reviewers share is that the connection to actual real neural networks is unclear. (For example, the comparison between theory vs empirical in Figure 2 seems to mean the result of the theory vs the result of the actual SDE, rather than comparing to an actual transformer.) Overall, given the mathematical strengths/advanced SDE theory of this paper and the lack of connection to practical real neural networks, it may be that NeurIPS is not the best venue for this work. In the discussion period, the authors would have to address the reviewers concerns that the work may not be sufficiently connected to real neual networks and explain why NeurIPS is the correct venue for this work.
Final justification
See meta review.
- Final justification
- See meta review.
Read meta-review
Meta-review
[Final Meta-Review]
In the context of building on the existing SDE from [Agazzi et al (2026)], the reviewers seem to be in agreement that this work merits publication at NeurIPS with the additional changes promised by the authors during the discussion period. These changes include recontextuallizing the results to emphasize how they are related to other papers on initialization theory and clarifying the exact scope of the paper.
[Initial Pre-discussion Meta-Review]
Summary of Paper This theory paper takes an SDE model from [Agazzi et al (2026)] for the evolution of token representations on intialization in a neural network and uses it to analyze the effect of several different chocies of the non-linearity in the network. The main analysis being carried out is a type of stochastic stochastic analysis that results in a particular infinite-size limit of the network. In this analysis, the authors analyze which activation functions are most favourable to prevent the network from degenerate collapse (i.e. sending all tokens to a single output).
Summary of Reviews The reviewers seem to agree that the SDE analysis is interesting and has novel mathematical conclusions. However, the main concern the reviewers share is that the connection to actual real neural networks is unclear. (For example, the comparison between theory vs empirical in Figure 2 seems to mean the result of the theory vs the result of the actual SDE, rather than comparing to an actual transformer.) Overall, given the mathematical strengths/advanced SDE theory of this paper and the lack of connection to practical real neural networks, it may be that NeurIPS is not the best venue for this work. In the discussion period, the authors would have to address the reviewers concerns that the work may not be sufficiently connected to real neual networks and explain why NeurIPS is the correct venue for this work.
- Rating
- 4/6
- Confidence
- 4/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
This paper develops a theoretical framework for analyzing how activation functions affect token synchronization in stochastic Transformer dynamics. By modeling tokens as interacting particles on a unit hypersphere, the authors derive a stochastic differential equation for pairwise token correlations, where attention contributes deterministic drift and the MLP induces activation-dependent correlated noise.
The analysis identifies a phase transition controlled by the derivative of the activation kernel near perfect alignment. Below a critical dimension, tokens synchronize, whereas above it they may converge to a non-degenerate geometric equilibrium. The results distinguish the long-term behavior induced by different activations: ReLU favors synchronization, while smoother or higher-order activations can preserve token diversity. The paper also extends part of the analysis to settings with attention.
The theoretical results are elegant and provide a clear connection between activation functions, kernel geometry, and representation collapse. However, the analysis relies on infinite-width stochastic limits and simplified attention assumptions, and its relevance to finite, trained Transformers is not empirically established. Questions also remain regarding activation scaling, higher-order token geometry, global Gram-matrix consistency, and the treatment of non-Lipschitz activations.
Strengths and weaknesses
Strengths
The paper offers a novel and mathematically elegant perspective on how activation functions influence token synchronization in deep Transformers. Reducing the high-dimensional stochastic particle system to pairwise correlation dynamics makes the problem analytically tractable, while the critical-dimension result provides a clear interpretation of how the activation kernel governs synchronization and non-collapse. The comparison across ReLU, higher-order ReLU variants, GELU, SiLU, and tanh is informative, and the extension to attention makes the framework more relevant to Transformer architectures.
Weaknesses
The analysis remains largely disconnected from finite-width, trained Transformers, and the theoretical predictions are not supported by sufficiently direct empirical validation. Several conclusions depend strongly on the pre-activation scale, especially for non-homogeneous activations, but this sensitivity is not systematically studied. The treatment of attention is coarse, some synchronization claims remain conjectural, and pairwise correlations do not fully characterize global token geometry or rank collapse. It is also unclear whether the proposed pairwise invariant distributions correspond to valid joint Gram matrices for many tokens, and the SDE treatment of non-Lipschitz activations such as ReLU² and ReLU³ requires further justification.
Questions
Q1. How sensitive are the critical dimension and the nontrivial equilibrium correlation to the pre-activation scale for GELU, SiLU, and tanh? Please provide a systematic analysis under realistic normalization and variance settings.
Q2. Do finite-width, trained Transformers exhibit the activation-dependent synchronization behavior predicted by the theory? Empirical results across depth, width, datasets, and training stages would help establish practical relevance.
Q3. Is the proposed pairwise invariant distribution consistent with a valid joint Gram matrix when the number of tokens is much larger than the embedding dimension? Please clarify the realizability conditions for the full token configuration.
Q4. Can the authors derive a global non-collapse result beyond pairwise correlations, for example in terms of Gram-matrix rank, spectral entropy, effective dimension, or token-cloud dispersion?
Q5. How tight are the attention bounds used in the analysis? In practical Transformer settings, do the estimated attention-strength parameters satisfy the sufficient conditions established for non-collapse?
Q6. Can the synchronization conjecture for ReLU in the presence of attention be proved under additional assumptions, or supported by stronger numerical evidence?
Q7. How are multi-head attention, softmax normalization, residual connections, and normalization layers reflected in the current SDE model? Could any of these mechanisms qualitatively alter the predicted phase transition?
Q8. Can the SDE limits for ReLU² and ReLU³ be justified rigorously, for example through truncated or smoothed activation approximations followed by a limiting argument?
Q9. Why is pairwise correlation treated as the main indicator of representation collapse? Could two token systems have similar pairwise statistics but substantially different clustering or spectral structures?
Q10. How robust are the theoretical conclusions to finite token number, non-Gaussian initialization, trained weights, and correlations between the attention drift and MLP-induced noise?
Limitations
Weaknesses
The analysis remains largely disconnected from finite-width, trained Transformers, and the theoretical predictions are not supported by sufficiently direct empirical validation. Several conclusions depend strongly on the pre-activation scale, especially for non-homogeneous activations, but this sensitivity is not systematically studied. The treatment of attention is coarse, some synchronization claims remain conjectural, and pairwise correlations do not fully characterize global token geometry or rank collapse. It is also unclear whether the proposed pairwise invariant distributions correspond to valid joint Gram matrices for many tokens, and the SDE treatment of non-Lipschitz activations such as ReLU² and ReLU³ requires further justification.
Final justification
After considering the authors’ response, I maintain my original assessment. The rebuttal clarifies several important points: the theory concerns initialization rather than trained Transformers; the pairwise correlation law is derived from the finite-token system and is therefore consistent with a valid positive-semidefinite Gram matrix; the pair-level results do not require an infinite-token limit; and the effects of multi-head attention, residual connections, normalization, and activation scaling can be incorporated into the proposed framework. The authors also commit to adding activation-scale analyses and expanding the discussion of higher-order geometry and limitations. Nevertheless, the transition from the discrete network to the SDE remains partly informal, full joint-law convergence is not established, stronger attention results require additional assumptions, and the relevance to finite-width trained Transformers remains empirically unverified. These limitations restrict the scope but do not undermine the paper’s elegant theoretical contribution connecting activation kernels, stochastic dynamics, and token synchronization.
Formatting concerns
NA
2 comments
"The analysis remains largely disconnected from finite-width, trained Transformers, and the theoretical predictions are not supported by sufficiently direct empirical validation. Several conclusions depend strongly on the pre-activation scale, especially for non-homogeneous activations, but this sensitivity is not systematically studied"
Please note, that this is a theory paper, concerned with Transformers at initialization, and as such we do not claim to have empirical validation on trained models, as per recent neurips guidelines (see https://neurips.cc/Conferences/2026/ReviewerGuidelines).
In regard to the pre-activation scale, we will add a dependence of the critical dimension on and address the influence of the pre-activation parameters. Importantly, our choice is not arbitrary, and corresponds to typical initializations having , with corresponding to LeCun initialization.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies the impact of MLP activation functions on token collapse in a stochastic deep transformer model during initialization. In this model, the MLP block is represented as common Gaussian noise, and the activation function determines the corresponding NNGP kernel. The main contribution is a classification of how various activations influence long-term token behavior. ReLU activation leads to synchronization, while activations like ReLU2, ReLU3, GELU, SiLU, and Tanh can sustain spread above specific dimension thresholds that depend on the activation itself.
Strengths and weaknesses
Strengths The paper gives a concrete way to understand the role of the activation function through the kernel, using nontrivial mathematical tools. This is a mathematical perspective that I have not seen exploited in the machine learning literature, and it seems likely to open up useful follow-up work.
The zero-attention result is the strongest part of the paper. It is mathematically clean, gives a precise classification, and produces actionable distinctions between commonly used activations. The attention results are less sharp, but still useful, especially the ReLU2 non-collapse theorem. The non-sharpness is reasonable given the mathematical complexity of the studied model (even in the no-MLP case).
Weaknesses The main limitation is that the work studies a simplified stochastic scaling limit at initialization. I do not think this is a major issue, since the paper is clear about its scope, but it could limit the immediate practical interpretation. I found the attention results less precise than the pure-noise classification. The ReLU dispersion ceilings seem somewhat loose, as the authors acknowledge for , while the ReLU2 non-collapse result is more convincing and interesting. The attention results also mostly depend on norm and Lipschitz bounds, rather than the eigenvalue structure of . This makes the results general, but it may miss known clustering or collapse behavior for special choices of these matrices.
Questions
- The synchronization by noise phenomenon seems closely tied to the geometry of the sphere, coming from the post-layernorm constraint. Do the authors expect a similar phenomenon in pre-norm models, where the dynamics is no longer constrained to ?
- Could the authors add a comment on the statement around line 195 that the bounds are loose at , but the gap tightens at larger ?
- In Conjecture 4.4, why does the condition not depend on ? Is this based mainly on numerical evidence, or is there a mathematical intuition for why query/key should not affect the ReLU synchronization threshold?
- My understanding is that, in the pure-noise case where the attention drift vanishes, the pair-correlation dynamics closes as a scalar diffusion. This closure is what seems to make the classification especially sharp and enables the one-dimensional diffusion argument. Once attention is included, this closure appears to be lost, since each pair becomes coupled to the full token configuration. Could the authors comment on whether this loss of scalar closure is the main obstacle to obtaining sharper results with attention? In particular, could additional structure of the attention map help recover a more tractable argument in simple cases such as Q=K=V=I? Adding a longer discussion on the reason could help the reader a lot.
- A small experiment would help connect the theory to transformers. For example, the authors could run a nanoGPT-style model at initialization, with the scaling prescribed by the framework, and plot the evolution of across depth to show clustering.
Limitations
yes
Final justification
I am satisfied with the authors' answers and clarifications. I think the paper provides an interesting theoretical contribution, with potential for further empirical developments in the future. For these reasons, I keep my original positive score.
Formatting concerns
No
2 comments
Thank you for the careful reading. The questions are very useful, and we will address them in the paper to improve readability.
While it’s true that the practical scope is limited, the studied setting is very close to the real transformers at initialization, which from the theoretical side of this field bridges the gap between theory and practice (for one, most prior works omit MLP layers altogether).
We agree that attention results are somewhat limited, and tried to position them to be more generic, with the primary focus on mlps and activation functions. They already predict local behaviour(close to consensus) quite well, and could significantly benefit only from a much more technically involved study, that has to track coupling of all tokens.
Q1. Yes, this property is influenced by the sphere geometry. We expect very similar behaviour in pre-norm models, for the following reason: under pre-norm one can still track the spherical component of each token. Then inputs to Attention and MLP will be the same (unit vectors), and actual token norms will act as per-token scale terms.
Q2. For the resulting is the root of , which for ReLU kernel is a number < 1 (of order 1-O(d^{-2})). This leads to a suboptimal estimate on of order , whereas Theorem 3.1 shows that under one has . That gap shows how purely mean drift(that proof uses) is not covering synchronisation completely, and one needs the diffusion term in the analysis.
Q3. Why we believe the conjecture has this form. Near alignment, has outward mean drift of order but noise amplitude also of order , so acquires an Itô correction and drifts at rate . So once every token lies in a ball of radius comparable to , we have . After the tangential projections, the attention perturbation is , and the Lyapunov rate shifts only to . What remains genuinely open is whether adversarial weights can prevent the collapse from ever starting.
Q4. Yes, that is a great observation. The simplicity of relies on closure of pair-correlation dynamics, and general coupling to all other tokens is exactly the main obstacle otherwise. Even does not restore closure, because the softmax weights are still normalized over all tokens. This potentially asks for a mean-field approach, or a stochastic Lyapunov function to do a more careful analysis. Crucially, the previous works study attention impact quite extensively, with results largely showing “clustering” or “collapse” of tokens. We believe that they could be combined with our perspective to prove $Q, K, V $ dependent results.
Q5. Thank you for pointing it out. We will add such experiment. From our perspective, depth and width of modern LLMs is enough for the approximation quality of studied SDE to be sufficient, and the experiment will help showcase that.
Thank you to the authors for the interesting and detailed answers to my questions. The rebuttal clarified the role of spherical geometry, the limitations of the current attention analysis, and the main technical obstacle created by the loss of pairwise closure. I am satisfied with the responses, and my positive assessment of the paper remains unchanged. I will therefore keep my original positive score.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies activation-dependent token synchronization in the stochastic transformer SDE of Agazzi et al. (2026). Tokens evolve on the unit sphere under a deterministic attention drift and a shared Gaussian MLP field whose covariance is the normalized NNGP kernel κ of the activation. For each pair of tokens, the correlation ρ satisfies a scalar SDE with kernel-dependent drift
g_d(ρ) = (d−1)ρ − κ(ρ)(d−2+ρ²)
and diffusion factor A(ρ) = (1−ρ²)(1−ρκ(ρ)).
With attention disabled, the paper uses scale-speed theory to derive the critical dimension
d*(κ) = (3κ'(1)−1)/(κ'(1)−1)
when κ'(1)>1. It reports invariant pair-correlation laws above this threshold for ReLU², ReLU³, tanh, GELU, and SiLU, while ReLU synchronizes in all covered dimensions. The invariant mean is computed numerically and shown to converge, as d→∞, to an interior fixed point of κ. Below the threshold, almost-sure synchronization is proved for the listed non-tanh kernels.
With attention present, Theorem 4.1 gives an upper bound on expected population dispersion under bounded drift, with sharper variants for repulsive row-stochastic and uniform attention. Theorem 4.5 uses one-dimensional diffusion comparison to argue that ReLU² prevents exact pairwise consensus when the attention magnitude is below v_c = σ²(d−9)/(6(1+L)). Simulations illustrate the SDE-level dimension transitions and attention bounds.
The main contributions are: (1) an explicit activation-dependent phase diagram for pair correlations in the pure-noise SDE; (2) invariant-law and large-dimensional calculations for several common activation kernels; and (3) comparison bounds separating ReLU and ReLU² in the presence of attention.
Strengths and weaknesses
Strengths
-
The pairwise scalar reduction is clean and useful. I checked the Itô calculation leading to Eq. (9)/(12), including both the drift g_d and quadratic variation 2σ²A, and it is correct. This turns a high-dimensional interacting system into a tractable one-dimensional diffusion in the zero-attention case.
-
Most of the central analytic calculations are sound. The right-endpoint expansion gives the speed exponent
k = ((d−1)(κ'(1)−1)+2)/(2(1+κ'(1))),
and k>1 is equivalent to the stated critical-dimension condition. The ReLU, ReLU², ReLU³, and GELU endpoint slopes and integer thresholds check out. The ReLU/ReLU² concavity lemmas also provide the condition needed by the later Jensen argument.
-
The attention-side estimates are technically interesting. Theorem 4.1 correctly combines concavity, the dispersion identity, and Jensen's inequality. The row-stochastic and uniform-attention refinements exploit additional structure rather than simply repeating the bounded-drift estimate. The algebra producing the ReLU² threshold in Theorem 4.5 and the softmax query-Lipschitz estimate is also consistent.
-
The paper makes a useful qualitative point: activation kernels need not all produce the same long-time token geometry. The contrast between globally synchronizing ReLU noise and the interior invariant laws obtained for several other kernels is conceptually appealing.
-
The manuscript is generally well organized and includes a dedicated limitations section. The figures state dimensions, horizons, step sizes, population sizes, seeds, and the meaning of their error bars.
Weaknesses
-
Two advertised exact thresholds are not rigorously established. Appendix D.3 states narrow numerical enclosures for κ'_tanh(1) and κ'_SiLU(1), then says that they “can be obtained rigorously” from Taylor expansions and Gaussian moment bounds. It supplies neither the expansion order nor a remainder bound, interval-arithmetic calculation, or independently checkable certificate. The exact d=15 and d=34 transitions in Theorem 3.1 and Table 1 therefore currently rest on asserted numerical values rather than complete proofs. This is central rather than cosmetic because the integer phase boundary is one of the main results.
-
The pathwise comparison in Theorem 4.5 has a boundary gap. Appendix K.3 proves ρ_ij(t∧τ_δ) ≤ Z(t∧τ_δ) on I_δ, then lets δ↓0 using the fact that Z does not hit the endpoints and that the particle process stays on the sphere. The latter only gives ρ_ij∈[−1,1]; it does not show that the original pair process cannot reach −1. A separate inaccessibility argument for ρ_ij, a global comparison theorem covering the 1/2-Hölder diffusion coefficient, or a valid restart argument is needed to extend the stopped comparison to every finite time. The threshold calculation appears correct, but the current proof does not fully establish the theorem as stated.
-
The transformer interpretation is substantially narrower than the motivating discussion suggests. The analysis concerns an infinite-width stochastic limit with freshly resampled MLP blocks, not a finite or trained transformer. For GELU, SiLU, and tanh, κ and d* depend on the preactivation scale τ; the main results fix τ=1, while Appendix A notes that another cited coordinate convention gives τ=d^(−1/2). As τ→0 these activations become approximately linear and their thresholds can change dramatically. In addition, modern LLMs generally use gated SwiGLU rather than a standalone SiLU MLP. Under independent gate/value projections its kernel is proportional to ρ κ_SiLU(ρ), not the SiLU kernel analyzed here. The connection to the architectures named in the introduction is therefore not direct.
-
Several headline descriptions are stronger than the proved statements:
- Theorem 3.1 explicitly excludes tanh from its below-threshold synchronization result, so the paper does not provide the same complete transition classification for all six activations.
- At fixed d, the invariant object is a non-degenerate law with mean \barρ_d. The kernel fixed point α describes the d→∞ limit; it is not generally the finite-d mean, as Table 1 itself demonstrates.
- The zero-attention analysis characterizes pair marginals and, under exchangeability, expected dispersion. It does not identify the full joint invariant geometry of the token cloud.
- The ReLU result with attention is an expectation ceiling that may become loose or nearly vacuous as v/σ² grows; complete synchronization is left as Conjecture 4.4.
- The ReLU² conclusion is a fixed-n nested limit in probability. It rules out asymptotic concentration at exact consensus under its assumptions, but does not give pathwise uniform separation or rule out arbitrarily close encounters.
-
Theorem 3.1 appears to omit a required d≥3 assumption. Its endpoint proofs repeatedly use d≥3, and the left-boundary classification changes at d=2. Also, Remark 3.2 claims that the law at the critical ReLU² dimension d=9 does not converge. Null recurrence and absence of an invariant probability on the open interval do not by themselves exclude weak convergence to a boundary mass on [−1,1], such as δ_1. The topology and a proof of this claim are needed.
-
Practical and numerical validation is limited. All plots simulate the same SDE being analyzed; none tests a finite-width or trained transformer. The manuscript gives internal asset paths but no usable code or complete simulation algorithm, and there is no time-step or finite-horizon convergence study. Since Figures 1–3 are numerical experiments, marking the experimental reproducibility, code, and statistical-significance checklist items as “NA” is not well justified even if the plots are supporting rather than central.
Overall assessment: the scalar-diffusion framework and most analytic calculations are strong, and the missing steps look potentially repairable. However, the unproved exact tanh/SiLU thresholds, the incomplete boundary continuation in Theorem 4.5, and the gap between the kernel-SDE setting and practical activation claims currently prevent me from recommending acceptance.
Questions
please refer to weakness section above.
Limitations
yes.
Final justification
The rebuttal provides concrete fixes for the two main technical concerns: the certified tanh/SiLU threshold calculations and the boundary argument in Theorem 4.5.
The authors also clarified the scope of the theory and corrected several overstated claims.
The connection to finite or trained transformers remains limited, but under the Theory contribution criteria I view this primarily as a scope limitation rather than a correctness issue.
Overall, the theoretical contribution is sound and sufficiently novel, so I recommend Borderline Accept.
Formatting concerns
no
4 comments
Thank you for the review.
-
We will add those technical details in the revision. Price's identity reduces each slope to a ratio of two one-dimensional Gaussian integrals; each integral is evaluated by composite Simpson quadrature, with explicit fourth-derivative bounds controlling the quadrature error and a Gaussian tail bound for the truncation. The revision will state the truncation radius, mesh size, and the resulting error bounds, making the calculation independently checkable. The resulting enclosures are $$ and since is decreasing, they place critical in and respectively, making dimensions 15 and 34 the first integer ones with invariant law for tanh and SiLU respectively.
-
Theorem 4.5 can be updated with the second route you name: a comparison valid for the -Hölder coefficient, with no boundary claim about the pair process itself. The repair stops only the comparison diffusion inside a compact interval, proves up to that stopping time by a Yamada–Watanabe positive-part estimate (the coefficient satisfies , and, on the event , both arguments lie in [−1+δ,1], where the comparison drift is Lipschitz). Since Z has entrance boundary at −1 and natural boundary at +1, almost surely as . Thus the comparison holds on every finite horizon, regardless of whether can reach −1. The endpoint calculation is unchanged, and its exponent condition is exactly . Two clarifications: "interior initial condition" means for every pair, and comparison reference is replaced by the written argument.
-
We agree that the theory concerns initialization and does not cover trained models, and we will keep this scope explicit. Table 1 is at , which corresponds to LeCun initialization. Moreover, the ReLU, ReLU^2 rows are exactly -invariant by homogeneity, which makes corresponding study independent from . To better highlight this, we add curves and state explicitly in the abstract and Table 1 that the reported smooth-activation thresholds are for . This is crucial, as our approach allows varying , and shows how changing actively influences the geometry.
Under independent gate/value projections, SwiGLU’s normalized kernel is $ \rho,\kappa_{\mathrm{SiLU},\tau}(\rho), $ so our row is now labelled standalone SiLU, with the corresponding SwiGLU kernel noted separately. The discrete-to-SDE limit in prior work applies under its Lipschitz assumptions. For ReLU² and ReLU³, the results remain at kernel-SDE scope, and to support them (that they approximate well the actual model) we will add numerical experiments. We agree with proposed way to prove the convergence for those activation functions through truncation, but its out of scope of this work (its a slight technical addition to existing work by Agazzi et. al.). At initialization, where the theory connection is direct, we will add a finite discrete-stack comparison under the framework’s parameters to the final version.
-
The tanh exclusion is replaced: below , each pair correlation from an interior initial condition converges almost surely to or , with both outcomes having positive probability. The classification covers all six activations, with tanh allowing either +1 or -1. The Section 3 conflating the finite- mean with its limit is corrected. We state only that the zero-attention results characterize pair marginals and, under exchangeability, expected dispersion, not the joint geometry. On the ceiling: at , the comparison root satisfies $u_\star=1-\Theta(d^{-2}), $ so the resulting dispersion ceiling is , while Theorem 3.1 gives almost surely. We also revise Conjecture 4.4 to the conservative threshold for arbitrary row-stochastic attention, and keep it explicitly conjectural, supported only by the local intuition and finite-time simulations. It is not used in any theorem or headline conclusion. The ReLU^2 theorem itself is unchanged. We only revise the surrounding prose to describe it properly.
-
Thank you for corrections. Theorem 3.1 now states integer and . Remark 3.2 is corrected as follows. At , the diffusion is null recurrent on . It creates a transition where there is no a.s. convergence, but $ \rho_t\to1 \quad\text{in probability} $
-
The checklist is corrected. We add a complete numerical specification of each experiment. We will also include experiments on the finite discrete transformer corresponding to the framework at initialization, under the same architecture and scaling, with all numerical settings reported.
Thank you again for your review. The two technical issues that appeared central to your score now have concrete fixes, that do not affect core results of the paper. The revision will include certified one-dimensional integral bounds establishing the exact tanh and SiLU thresholds. We also repair Theorem 4.5 by stopping only the comparison diffusion ; the positive-part comparison then requires no boundary assumption on the original pair process, and the stopping is removed using only 's boundary classification. The theorem and its threshold are unchanged.
We have also adopted the scope and statement corrections in your review: we will clarify role of , showcase the impact of . We also distinguish standalone SiLU from SwiGLU; ReLU/ReLU remain scoped to the kernel SDE, the tanh and cases are stated precisely, and the surrounding prose no longer overstates the pairwise or ReLU^2\ conclusions. The final version will additionally contain a fully specified numerical protocol and a finite-width/depth comparison with the corresponding discrete transformer at initialization.
Since your review found the main scalar-diffusion analysis sound and described the missing steps as repairable, we hope these changes resolve the issues that prevented an acceptance recommendation, especially since they do not affect the core of the paper.
We would be grateful if you could reconsider the score, or let us know if any technical concern remains.
To PC:
I have updated the contribution type to the authors’ selected category and reassessed the paper under the corresponding criteria. This places greater weight on the correctness and novelty of the theoretical analysis, while giving less weight to the lack of trained-model experiments. Combined with the authors’ concrete fixes to the two main technical gaps, I have raised my score from 3 to 4.
To Authors:
Thank you for the detailed response. The proposed certified threshold calculations and the revised comparison argument address my two main technical concerns. The scope and statement corrections also resolve most of my concerns about overclaiming. Some limitations remain regarding the connection to finite or trained transformers, but I now view them as scope limitations rather than correctness issues. I have therefore raised my score from 3 to 4.
Comments on the paper
3 comments
We thank the Area Chair and reviewers for the feedback and for the shared view that the mathematical analysis is sound and novel. Let us clarify the connection to real neural networks, and why we believe NeurIPS is the right venue.
Connection to real Transformers
We would like to point out that the studied SDE is approximating the standard transformer at initialization very closely. We agree the submission could explain this connection better (it currently lives in Appendix A), and we believe this caused the impression of a detached mathematical model.
The equation we study is the stochastic deep-and-wide scaling limit of a concrete post-normalized residual transformer at initialization. That limit is close to actual architectures, because scaling both depth and width is typical with real transformers. To the revision we will include curves that track of the corresponding finite discrete transformer at init and compare it to the provided SDE approximation.
The main two approximations used are infinite width of MLPs (to use NNGP) and many layers (to continuously approximate depth), both reasonable by modern scale standards. Other than that, we cover all the architecture components in the SDE:
- An RMSNorm normalisation layer (as a post-norm) enters the equation as the condition that all tokens evolve on a sphere S^{d−1}.
- Taylor expanding the architecture's own RMSNorm to second order produces exactly the tangential projection P_X and the correction −½σ²(d−1)X dt (ensuring that all tokens remain unit norm).
- At initialization, the MLP weights are independent across layers, while the same MLP block is evaluated on every token within a layer. Its wide-limit fluctuation is therefore a common Gaussian field across tokens, whose covariance is exactly the activation’s NNGP kernel κ. (Neal 1996; Cho & Saul 2009; Lee et al. 2018; Matthews et al. 2018). The width limit is the approximation in the derivation, but it is a natural one given modern widths 1000+.
- The attention enters as the drift term.
- The initialization enters through the noise and preactivation scales and . Table 1 uses ; the revision will make this explicit. Note that for ReLU and ReLU^2 all choices of produce the same kernel. We treat as a parameter, because existing models have different values (for example, corresponds to LeCun initialization, and typically models use in the range ). Moreover, our analysis exposes how changing influences the geometry of the system.
Thus, changing corresponds directly to changing the MLP activation. Our results show that this architectural choice can change the qualitative long-depth regime, from synchronization to preserving information by preventing token collapse.
Let us also note, that being a purely theoretical submission, our work is dedicated to improving understanding of Transformers with rigorous mathematical intuition. Our contribution is an initialization time theory result. The final version will add a finite-width/depth comparison with the corresponding discrete transformer, directly testing the approximation in the regime covered by the theory. We do not make claims about fully trained transformers.
Relation to neural-network theory and prior work
We would like to clarify that this paper combines two established perspectives in neural-network theory: signal propagation at initialization and the dynamical study of token geometry in deep Transformers.
Classical signal-propagation theory studies how norms and correlations evolve through random networks, and how initialization and activation choice determine whether representations remain distinguishable or collapse with depth. This is the setting of the edge-of-chaos analyses of Poole et al. (2016), Schoenholz et al. (2017), and Yang and Schoenholz (2017), as well as the activation-dependent analysis of Hayou et al. (2019).
For Transformers, the analogous question concerns correlations between tokens. Attention-only analyses predict synchronization, clustering, and rank collapse: token representations become increasingly aligned and lose token-specific information, a theoretical analogue of oversmoothing. This can also affect training, Noci et al. (2022) show that rank collapse at initialization can cause the gradients of the query and key matrices to vanish.
The nonlinear MLP block (for complete Transformers, where multiple tokens are evolving together) is a central but technically difficult part of this question. Noci et al. explicitly identify the "sharing of feedforward weights across tokens as the obstacle to extending their analysis beyond linear activations".
Another recent line of work (Geshkovski et. al. and others) studies geometry of tokens propagating through layers of a Transformer via a continuous depth ODE approximation. They also omit MLP layers from the analysis and list it as important future work. Typical results there cover clustering and synchronization, once again information erasing patterns.
Only recently Agazzi et al. (2026) derived a stochastic deep-and-wide limit of a Transformer at initialization, in which attention becomes a drift and the shared MLP becomes a common Gaussian field across tokens, modeling sharing of feedforward weights as common(correlated) noise.
Our contribution is to characterize what this shared MLP term does to token geometry. In this sense, we ask the classical signal-propagation question: whether correlations collapse with depth, and how activation and initialization affect that behavior, but use a stochastic Transformer model that is a continuation of Geshkovski et. al. line of work.
Specifically, we show that the answer changes qualitatively with the activation: ReLU common noise remains synchronizing, whereas other kernels(defined by activation functions) can sustain non-degenerate pair geometry. Thus, we show that in typical transformers, MLP oppose the synchronizing behavior predicted by attention-only models, helping preserve token distinctions.
Our scope is initialization-time theory. In the final version we will add a finite-width and finite-depth comparison with the corresponding discrete Transformer, directly checking that the predicted mechanism is visible before taking the limit. It is important to highlight that in our equation we cover all components of the architecture, and thus the effects are present at large scale, with increasing width and depth. We do not make claims about fully trained models.
Related literature
Signal propagation and activation-dependent depth dynamics
- Poole et al. (2016), Exponential Expressivity in Deep Neural Networks through Transient Chaos, NeurIPS 2016.
- Schoenholz et al. (2017), Deep Information Propagation, ICLR 2017.
- Yang and Schoenholz (2017), Mean Field Residual Networks: On the Edge of Chaos, NeurIPS 2017.
- Hayou et al. (2019), On the Impact of the Activation Function on Deep Neural Networks Training, ICML 2019.
Transformer signal propagation and token collapse
- Dong et al. (2021), Attention Is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depth, ICML 2021.
- Noci et al. (2022), Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapse, NeurIPS 2022.
- He et al. (2023), Deep Transformers without Shortcuts: Modifying Self-Attention for Faithful Signal Propagation, ICLR 2023.
- Geshkovski et al. (2023), The Emergence of Clusters in Self-Attention Dynamics, NeurIPS 2023.
Stochastic deep-and-wide limits
- Li, Nica, and Roy (2022), The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initialization, NeurIPS 2022.
- Noci et al. (2023), The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limit, NeurIPS 2023.
- Agazzi et al. (2026), Stochastic Scaling Limits and Synchronization by Noise in Deep Transformer Models, arXiv:2604.26898.
- Fedorov et al. (2026), Clustering in Deep Stochastic Transformers, ICML 2026.
Summary
We thank the AC and reviewers for the discussion. There appears to be broad agreement that the mathematical contribution is novel and technically substantial (HyDW: "The paper gives a concrete way to understand the role of the activation function through the kernel, using nontrivial mathematical tools. This is a mathematical perspective that I have not seen exploited in the machine learning literature, and it seems likely to open up useful follow-up work." MLNq: "The paper offers a novel and mathematically elegant perspective on how activation functions influence token synchronization in deep Transformers.")
We understand the concerns as falling into two categories.
First, reviewer obkf identified concrete technical gaps. We have provided explicit fixes, that preserve the main results and flow of the paper. We have also adopted the suggested improvements concerning broader coverage, SwiGLU versus standalone SiLU, and wording on the scope of the ReLU^2 result. If any of the technicalities remain, we will add them to the final version, as they all do not affect the main contribution.
Second, the main broader concern was whether the stochastic model is sufficiently connected to neural networks. We hope our general comments on prior history of signal propagation and Transformer dynamics clarify this point. The analyzed SDE is not an arbitrary mathematical model: it is the deep-and-wide limit of a complete post-normalized Transformer at initialization. In particular, it is the closest modeling choice to practice in this field, as prior works often omit MLP layers altogether, and we show how proper MLP analysis with activation kernels affects the geometry.
Our scope is explicitly initialization-time theory, where in this work we combine Transformer dynamics and Signal propagation in deep neural networks. Since the remaining concern has focused substantially on empirical validation, we also respectfully note that the NeurIPS 2026 Theory Reviewing Guidelines(https://neurips.cc/Conferences/2026/ReviewerGuidelines) state that theoretical contributions may stand on their own and should not be penalized for lacking experiments.
We believe the paper fits this standard. It gives an activation(and initialization)-dependent account of token synchronization and representation collapse in a Transformer-derived model, specifically showing how previously ommited MLP layers can contribute to preventing token collapse, and how activations and initialization scale can influence that effect. This changes the common narrative in the field, where transformers are viewed largely as synchronizing with depth and highlight a new perspective on the impact of activation function choice for transformers (specifically affecting signal propagation at init). The finite-Transformer experiment is being added to clarify the connection, not to compete with the theoretical contribution.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for the detailed review. We will add improvements based on the questions.
Q1. Table 1 is computed at τ=1. The ReLU, ReLU^2 kernels do not depend on tau. Typical initializations have τ=Θ(1); we will add d(τ) curves for GELU/SiLU/tanh to the appendix, and mention where do known models land.
Q2. Our theory predicts behaviour at initialization. Any claims about trained networks are out of scope of this work, and would require extensive experimental runs.
Q3. The pair law πd is not imposed independently on the (2n) pairs; each pair correlation is a marginal of the actual n-token process. Since (Sd−1)n is compact, every sequence of times has a subsequence along which the joint laws converge. Every such subsequential limit is supported on valid unit-diagonal positive-semidefinite Gram matrices of rank at most d, and each off-diagonal pair marginal is πd. Thus, there is no realizability obstruction, including when n≫d. We do not claim uniqueness or convergence of the full joint law.
Q4. Our primary target is complete token synchronization, for which pairwise correlations and population dispersion are exact observables. In particular, Theorem 4.5 directly implies the global non-collapse statement $ \lim_{\varepsilon\downarrow0}\limsup_{t\to\infty} \mathbb P!\left( D_t^n\le \frac{n-1}{n}\varepsilon \right)=0. $ We do not claim a characterization of rank, spectral entropy, or partial clustering from the pair law alone.
Q5. The conditions are conservative sufficient conditions based on worst-case magnitude and query-Lipschitz bounds. We do not claim that they are tight or that trained models necessarily satisfy them. Their purpose is to establish a robust non-collapse regime under a broad class of attention maps. Obtaining sharper, architecture-specific conditions would require exploiting substantially more structure of the coupled attention dynamics, which we leave for future work, since our primary focus here is on the MLP side.
Q6. We revise the conjecture to the conservative condition $ |V|_{\mathrm{op}}<\frac{\sigma^2}{2}$ for arbitrary row-stochastic attention. We keep it explicitly conjectural and supported only by the local analysis and finite-time simulations; it is not used in any theorem or headline conclusion. We also believe that it should be provable under typical(in this field) half-sphere assumption (that all tokens lie in the same hemisphere), but that statement is too simple to present. For now it is unclear how to work in the general setting, because one has to carefully track full configuration, but we think the approach we have is close to the proof.
Q7. Softmax is in the attention-induced drift; multi-head is a sum of bounded drifts absorbed into v=supt∑h∣Vh(t)∣op; residual connections result in the SDE formulation (defining the delta of each token), and post-normalization places tokens on the sphere. Conceptually, the most important component is normalisation, because the synchronisation behaviour relies on spherical geometry. But RMSNorm is a widely accepted normalisation scheme, so we treat it as default here. Besides that, the slope κ′(1) is the most important quantity, whereas the attention specifics are a separate term that one has to account for in the full system.
Q8. The discrete-to-SDE convergence theorem in prior work applies directly under its globally Lipschitz activation assumptions. For ReLU2 and ReLU3, an additional prelimit truncation or localization argument is needed and is not proved in this paper. We therefore state explicitly that these results are kernel-SDE results. The final version will provide finite-width/depth numerical comparisons for these activations, but we do not claim a completed discrete-to-SDE theorem for them, as we primarily rely on prior literature for depth and width scaling results .
Q9. Yes, thank you, we will add this to limitations. Complete configurations could be different, but we study pairwise correlation to understand whether tokens collapse completely. That’s our primary goal — to understand, how given the fact that Attention is considered to be a synchronizing operation, and prior literature on synchronisation by noise, how could pairs of tokens not collapse completely (erasing information). That’s why we focus on pairs first, and we establish how different kernels fight this over smoothing phenomena at init.
Q10. At the SDE level, every pairwise result is exact for each fixed finite token number n; no n→∞ limit is used. The connection from the discrete Transformer to the SDE is instead asymptotic in width and depth and holds under the assumptions of the prior convergence theorem. The present theory concerns random initialization. Trained weights, non-Gaussian initialization outside that limiting framework, and additional drift-noise correlations are not covered.