Subcritical Signal Propagation at Initialization in Normalization-Free Transformers
Sergey Alekseev
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Transformer Dynamics Theory · Type: theory · Keywords: signal propagation, transformer initialization, subcritical behavior, theoretical analysis, gradient amplification, normalization-free transformers
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Transformer Structural Properties
Summary
We develop a theoretical analysis of signal propagation at initialization in transformers using gradient amplification measures, revealing subcritical behavior in normalization-free architectures and explaining the sensitivity of Dynamic Tanh and Dynamic erf transformers.
Explained to a 5-year-old
We looked at how tiny signals move through a special kind of brain called a transformer when it is first turned on. We found that some designs make the signals grow slowly, like a gentle slope, while others make them grow fast, like a steep hill. This helps us understand why some models need extra care to work well. The study tells us which designs are safer to use. It gives ideas for building better computer brains.
Explained to a 5-year-old, longer
Imagine a computer brain that works like a tower of blocks, where each block passes a tiny signal to the next. When we first turn the brain on, we want to know if those signals will stay small or get bigger as they go deeper. We studied two kinds of designs: one that keeps the signals growing slowly and another that makes them explode quickly. The slow growth is called subcritical, meaning the signals stay under control, while the fast growth can cause problems. By using math, we figured out why some designs behave this way, especially those that replace normal layers with simple math functions. This helps researchers pick safer designs and avoid unexpected issues when training large models. The study also shows that some popular tricks, like Dynamic Tanh and Dynamic erf, need extra care because they are more sensitive to how we start training. Overall, the work gives us a clearer picture of how signals travel in these brain models, making it easier to build more reliable and stable computer systems.
For a technical reader
We derived recurrence relations that predict how activation statistics and gradient norms evolve across transformer layers, extending prior work to bidirectional attention and symmetric inputs. The analysis shows that pre-LayerNorm transformers grow gradients polynomially, while those with tanh-like nonlinearities grow stretched-exponentially, indicating subcritical behavior. This explains why certain architectures such as DyT and Derf are more initialization-sensitive and require careful tuning. The theoretical results match empirical measurements on vision transformers, providing a practical guide for designing stable normalization-free models.
Problem
Understanding how signals evolve across layers in deep transformer models at initialization, especially for architectures lacking normalization, remains an open problem.
Method
We derive recurrence relations for activation statistics and gradient amplification across layers, extending the analysis to bidirectional attention and permutation-symmetric inputs, and use these relations to predict asymptotic behavior of signal propagation.
Results
Pre-LayerNorm transformers exhibit power-law growth of gradient amplification, while those with tanh-like nonlinearities show stretched-exponential growth, indicating subcritical behavior; the theory also explains why DyT and Derf transformers are more sensitive to initialization.
Contributions
We extend signal propagation analysis to bidirectional attention and permutation-symmetric inputs, derive recurrence relations for activation statistics and gradient norms, and predict subcritical behavior in normalization-free transformers.
Limitations and assumptions
The analysis assumes permutation-symmetric input token configurations and is validated primarily on vision transformers, which may limit direct applicability to other settings.
Practical relevance
The findings guide the design of stable normalization-free transformers by highlighting which architectures are subcritical and require careful initialization tuning.
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