Understanding the Effects of Hyper-Connections on Self-Attention Dynamics: A Bifurcation Analysis
stat.ML, cs.LG
Submitted: 2026-12-02
Updated: 2026-12-02
Comments: 10 pages in the main text. NeurIPS2026 Poster
License: http://creativecommons.org/licenses/by/4.0/
The gist: A central challenge in understanding deep sequence models is characterizing how token representations evolve across layers: whether they collapse, diverge, or converge to nontrivial structures.
Terminology
Abstract
A central challenge in understanding deep sequence models is characterizing how token representations evolve across layers: whether they collapse, diverge, or converge to nontrivial structures. We study this question for Transformers with hyper-connections, whose learnable cross-layer coupling makes the stability of representation collapse analytically tractable. In contrast to standard residual connections, hyper-connections introduce additional parameters that directly control the hyperbolicity of the zero fixed point, where hyperbolicity allows the Jacobian to determine local stability, thereby enabling a rigorous and precise bifurcation analysis of the dynamical system underlying the model. In particular, we derive a continuous-depth ODE limit of self-attention with hyper-connections and use bifurcation theory to characterize its token dynamics. For the 1-stream case, we obtain a closed-form critical threshold and give conditions under which crossing this threshold produces a pitchfork bifurcation, separating representation local collapse from escape or convergence to nontrivial stable states. For the 2-stream case, the richer coupling structure yields two distinct types of stability boundaries: one where a real eigenvalue of the Jacobian reaches zero (static type), and another where a complex-conjugate pair reaches the imaginary axis at plus or minus iω, with ω>0 (oscillatory type). Experiments on pretrained hyper-connected language models provide qualitative comparisons with the ODE regimes.
Related papers
- Free Decompression with Algebraic Spectral Curves
- Batched Stochastic Linear Bandits with 1-Bit Communication Constraints
- Uniform-in-Time Weak Propagation-of-Chaos in Shallow Neural Networks
- Diffusion Models Observe Only Gradients: A Geometric Perspective on Score Matching Errors
- Quantifying Error Propagation and Model Collapse in Diffusion Models
- Behavior of prediction performance metrics with rare events