Understanding the Effects of Hyper-Connections on Self-Attention Dynamics: A Bifurcation Analysis
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…
- arXiv
- 2612.04435
- Authors
- Nhi Y. Pham, Dung V. Nguyen, Trinh T. Nguyen, Thieu N. Vo, Tan M. Nguyen
- Categories
- stat.ML · cs.LG