This work applies the tools of nonlinear dynamics and chaos theory to LLMs and demonstrates that LLMs exhibit hallmark signatures of chaos, including strong sensitivity to initial conditions, manifested as intermittent, jump-like divergence of nearby trajectories combined with bounded evolution.
Abstract
Large Language Models (LLMs) have achieved remarkable performance across a wide range of tasks, yet their internal dynamics remain poorly understood. In this work, we apply the tools of nonlinear dynamics and chaos theory to LLMs. By analyzing both text and hidden state trajectories, we demonstrate that LLMs exhibit hallmark signatures of chaos, including strong sensitivity to initial conditions, manifested as intermittent, jump-like divergence of nearby trajectories combined with bounded evolution, with consistent results across different distance metrics. An exact Jacobian analysis of the Transformer's sub-blocks shows that self-attention and the feed-forward network expand and propagate perturbations, while normalization and residual connections counteract this expansion and promote stability. Recurrence plots show structural similarities between LLMs and canonical chaotic systems such as the Lorenz attractor, while dimension analysis reveals fractal structures in the hidden state space, particularly pronounced in the last layers. We propose that the nonlinear coupling induced by attention mechanisms plays a key role in driving this chaotic behavior.
Autoregressive models are trained to predict a system's behavior one step at a time, and recursive generation allows the learned dynamics to unfold over long horizons. To what extent can such dynamics learned from local observations recover broader organization of an underlying system that was only partially observed d...
Yi-Lun Liu, Yi Zhang, Gan-Yu Wu et al.· 0 citations
A central challenge in diagnosing quantum chaos is to distinguish genuine many-body scrambling from kinematic effects of the spectrum. Krylov state complexity, or spread complexity, has emerged as a powerful diagnostic, with its characteristic growth, peak, and relaxation often taken as signatures of chaos. However, pr...
Johanna Erdmenger, Kyoung-Bum Huh, Hyun-Sik Jeong et al.· 2 citations· ⚡1
The long-run statistics of chaotic dissipative partial differential equations are described by invariant measures, and when the equation carries a parameter these measures form a family whose members can differ in kind, from steady states to sustained spatiotemporal chaos. We ask whether a single generative model can c...
We propose and analyse a hybrid chaotic pseudorandom generator that combines the logistic, tent, and Hénon maps under a deterministic entropy-greedy selector. At each step every map proposes a candidate; the selector keeps the one that maximises the plug-in Shannon entropy of a sliding output window, emits it, and adva...
Analysis of the Lyapunov spectrum and participation-ratio dimension show that motif structure changes the geometry of chaotic activity, reducing entropy production and attractor dimensionality even when the effective spectral edge is held fixed.
Deterministic chaotic systems often exhibit highly organized structures in both phase space and parameter space. In this work, we investigate two-dimensional Hénon-like extensions of the discrete Gaussian and cubic maps incorporating a linear feedback channel. The Gaussian-based model admits a natural realization as a...
Purbasha Deb, G. Layek· Chaos· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.