NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Activation Functions Shape Token Synchronization in Stochastic Transformer Dynamics

Nikita Karagodin

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Transformer Dynamics Theory · Type: theory · Keywords: activation functions, token synchronization, transformer dynamics, stochastic noise, theoretical analysis

Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Dynamics

Summary

The paper investigates how different MLP activation functions shape token synchronization in stochastic transformer dynamics, identifying critical dimensions where noise halts full synchronization and proving that ReLU noise allows near-consensus spread while ReLU² noise prevents complete token collapse.

Explained to a 5-year-old

Computers that read words use little pieces called tokens. These tokens move around and can become similar or stay different. The paper looks at how the math functions used inside the computer affect this movement. It finds that some functions let tokens stay a bit different, while others make them almost the same. This helps designers choose better functions for better computer behavior.

Explained to a 5-year-old, longer

Computers that read text break words into small pieces called tokens. These tokens are like little balls that can move and change. The paper studies how the math functions inside the computer influence these tokens. It looks at functions such as ReLU, GELU, and tanh. Some functions cause tokens to become very similar quickly. Others keep tokens from becoming too alike. The study finds special dimensions where noise stops making tokens fully similar. It also shows that certain functions prevent tokens from collapsing completely. The results help understand when tokens stay diverse and when they converge. This knowledge can guide the design of better transformer models. It also explains why some activations work better in practice. The findings are useful for researchers building more stable language models.

For a technical reader

The work examines how different activation functions affect token synchronization in stochastic transformer dynamics. It models tokens as interacting particles on a sphere under deterministic attention and common MLP noise derived from the activation's NNGP kernel. The analysis identifies dimensions where noise halts full synchronization and proves theoretical bounds for ReLU and ReLU² activations. These insights help in designing more stable and expressive transformer architectures.

Problem

How does the choice of activation function affect the tendency of tokens in transformer models to become synchronized or remain diverse over time when stochastic noise is present?

Method

The approach studies token representations as interacting particles on a sphere under deterministic attention and common MLP noise whose covariance is derived from the activation's neural network Gaussian process kernel, analyzing how different activation functions influence synchronization across dimensions.

Results

The approach finds critical dimensions where noise halts full synchronization and shows that ReLU noise allows near-consensus spread while ReLU² noise blocks complete collapse under certain attention strength conditions.

Contributions

It provides a systematic analysis of how various activation functions shape token synchronization in stochastic transformer dynamics, identifies dimension thresholds for noise-driven dispersion, and proves theoretical guarantees on dispersion limits for ReLU and ReLU² activations.

Limitations and assumptions

The analysis assumes deterministic attention and a common MLP noise model with covariance given by the activation's NNGP kernel, and the ReLU² result holds only under an explicit attention strength condition.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction