From Low-Dimensional Chaos to High-Dimensional Dynamics in Self-Attention Systems
Abstract
Continuous-time particle models of self-attention are often studied under symmetry assumptions that yield a gradient structure and constrain the dynamics to convergence toward equilibria. We investigate the behavior of these systems beyond the gradient setting, considering autonomous projected self-attention models with constant query, key, and value matrices and particles constrained to an ellipse. For three particles, the equations define a vector field on the three-dimensional torus. We derive explicit synchronized periodic solutions and compute their Floquet multipliers, establishing the existence of non-gradient dynamics. Numerical explorations using bifurcation diagrams, Poincare sections, periodic-orbit continuation, a nd Lyapunov exponents reveal attracting periodic orbits, invariant-torus-like behavior, and strong evidence of chaos. We then construct higher-dimensional systems by coupling these low-dimensional building blocks through masked and multi-head attention mechanisms. We discuss the persistence of normally hyperbolic invariant manifolds under weak coupling and investigate how the coupling architecture influences the resulting dynamics. Numerical experiments reveal the emergence of additional expanding directions, including a 60-particle system in which 26 of the 40 computed Lyapunov exponents exceed 0.01. These results demonstrate the richness of the dynamical behavior possible in simplified self-attention systems and motivate further investigation of the invariant structures organizing their high-dimensional dynamics.
Create a lesson
Related papers
Data-Driven Discovery and Rigorous Certification of Periodic Solutions in Infinite-Dimensional Dynamical Systems
Shared title terminologymath.DSAaron Loh, J. D. Mireles James
Algorithms and topological invariants for dynamic systems. IV. Topological Equivalence of Functions and Hamiltonian Dynamical Systems
Shared title terminologymath.DSAlexandr Prishlyak
High order tangencies, paratangencies, and universal dynamics
Shared title terminologymath.DSDmitrii Mints, Dmitry Turaev
Eight limit cycles in a three-dimensional competitive Lotka-Volterra system
Shared title terminologymath.DSHaoyu Albert Wang, Yuxiu Shao, Wei P. Dai
Conditional limit theorems in dynamical systems
Shared title terminologymath.DSJason Atnip, Gary Froyland, Cecilia González-Tokman et al.
Countable dynamical systems with a dense orbit
Shared title terminologymath.DSJhon Pérez-Remolina, Carlos Uzcátegui-Aylwin