Related Experiment Video
Updated: Jan 8, 2026

Simulation of Human-induced Vibrations Based on the Characterized In-field Pedestrian Behavior
Published on: April 13, 2016
Geometric dynamics of signal propagation predict trainability of transformers
Aditya Cowsik1, Tamra Nebabu2, Xiaoliang Qi1
1Stanford University, Department of Physics, Stanford, California 94305, USA.
None:
We investigate forward signal propagation and gradient back propagation in deep, randomly initialized transformers, and we use our analysis to propose simple and geometrically meaningful criteria for hyperparameter initialization that ensures trainability of deep transformers. Our approach leverages a dynamical perspective in which we regard the token vectors as particles evolving according to the layerwise map of the transformer. We derive simple update equations for the ensemble-averaged geometry of this many-particle configuration starting from a permutation-symmetric simplex. Our analysis reveals an order-chaos phase transition in the forward direction, which corresponds to converging/diverging token angles, and another transition in the backwards direction between exploding/vanishing gradients. We derive the phase boundaries as a function of the initialization hyperparameters, such as the variance of the weights and the strength of attentional and MLP residual branches. We analytically derive two Lyapunov exponents: a token angle exponent that governs the departure from the edge of chaos and a gradient exponent that governs the rate of exponential growth or decay of backpropagated gradients. We show through experiments that the final test loss at the end of training is correlated with these two exponents at the beginning of training, suggesting that simultaneous vanishing of these two exponents constitute simple criteria for achieving minimal test loss.
Related Concept Videos
Energy Losses in Transformers
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the...
Transformers
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
Three-Winding Transformers
In the per-unit equivalent circuit of a grounded Y-Y three-phase...
Equivalent Circuits for Practical Transformers
In a practical transformer, each winding exhibits resistance and leakage reactance. The...
Transformers with Off-Nominal Turns Ratios
The Ideal Transformer
Ampere's Law forms the basis of understanding the magnetic field within the transformer. It states that the integral of the magnetic field intensity's tangential...

