Skip to content
Preprint

Chaos in reason: How chain-of-thought LLMs can look for an answer

Jul 2026 · 1 citation · 31 references
Physics

TL;DR

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.

View source

Similar papers

#machine learning Preprint Sep 2026

Learning Chaos Without Seeing Chaos: Extrapolation of Global Dynamics in Autoregressive Transformers

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
Preprint Sep 2026

Unfolded Krylov complexity: universal chaotic dynamics without false positives

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
Preprint Sep 2026

Amortized Generative Modeling of Invariant Measures across A Family of Kuramoto-Sivashinsky PDEs

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...

A. Roy, T. Driscoll · 0 citations
Open access Sep 2026

Hybrid Chaos via Entropy-Greedy Map Switching: A Statistical and Predictability Analysis

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...

Alexandru Dinu, C. Niţu · 0 citations
Preprint Sep 2026

Nonlinear dynamics of random neural networks with second-order synaptic motifs

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.

Jun Yang, Hannah Choi · 0 citations
Sep 2026

Organized structures and multiple attractors in chaotic regimes.

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 · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.