arXiv:2609.04963cs.LGSep 2026

Manuscript Offprint

arXiv:2609.04963

Fractal basins trap latent reasoning

Jeffrey Lai, Anthony Bao, John Quinn, William Gilpin

Jeffrey Lai,1,∗^{1,*} Anthony Bao,2,∗^{2,*} John Quinn,1^{1} and William Gilpin3,†^{3,\dagger}

1^{1}The Oden Institute, The University of Texas at Austin, Austin, Texas 78712, USA

2^{2}Department of Electrical Engineering, The University of Texas at Austin, Austin, Texas 78712, USA

3^{3}Department of Physics, The University of Texas at Austin, Austin, Texas 78712, USA

(Dated: September 7, 2026)

Reasoning allows artificial intelligence models to revisit and correct their mistakes, enabling recent frontier advances in mathematical theorem solving, software engineering, and autonomous task planning. Reasoning models are widely observed to reason for longer on harder tasks, but the general mechanism responsible for these slowdowns is unknown. Here, we show that reasoning models exhibit transient chaos, a physical consequence of the computational complexity of difficult tasks. As a consequence, we show that diverse leading reasoning models are dynamical systems with fractal basins, with fractality increasing with task difficulty across diverse tasks like Sudoku and maze solving, visual puzzles, and mathematical logic. We show that transient chaos emerges due to reasoning becoming trapped for extended durations near saddle points, which we show correspond to nearly-correct attempted solutions of the underlying problem. Our results show that reasoning slowdowns are an inevitable consequence of problem hardness in modern artificial intelligence models, and establish reasoning traces as a rich new class of dynamical system.

Recent advances in frontier artificial intelligence are driven not by scale alone, but rather by the ability to reason. Reasoning models revisit and correct earlier mistakes before producing outputs, allowing them to achieve state-of-the-art performance on logical tasks such as visual reasoning, mathematical derivation, and puzzle solving [1-3]. Reasoning capabilities recently allowed small recurrent models (7 million parameters) to outperform large language models (exceeding 10 billion parameters) on the Abstract Reasoning Corpus (ARC-AGI), a set of complex visual riddles used to benchmark frontier models' fluid intelligence and generalization ability [4-6]. Yet despite their efficiency, reasoning models are widely reported to suffer from overthinking, in which the models become trapped reasoning for extended periods without converging to a solution [7]. Overthinking can nearly double the inference cost of reasoning without improving its accuracy, and adversarially-chosen prompts can induce denial-of-service attacks on frontier reasoning models by consuming 10×10\times more computing resources than nearly-identical benign prompts [8]. Overthinking is often attributed informally to the need to explore larger or more uncertain solution spaces [9-11]. Yet a mechanistic understanding of reasoning dynamics is currently missing, hindering empirical efforts to consistently identify and mitigate reasoning slowdowns [12-14].

Here, we seek a physical understanding of reasoning using the framework of dynamical systems theory. Many reasoning models represent tasks as optimization problems: the problem statement and trained model weights parametrize a dynamical system, and the solution represents a stable fixed point [5, 6, 15, 16]. The dynamics either evolve explicitly in the form of intermediate outputs (as in chain-of-thought models) or in the form of a latent encoding of the problem and partial solutions as a hidden state. In this sense, modern reasoning models ex-

tend efforts to model task-solving using recurrent neural networks, which identify low-dimensional attractors that support computation [17–19].

A

Figure

B

Figure 1. Recurrent depth reasoning models produce fractal basins. (A) A looped reasoning model encodes a task as a dynamical system evolving in a latent space, and the problem's solution as a fixed point. (B) Convergence time basins on a difficult Sudoku puzzle not seen during training.

The latent state for modern reasoning models is usually initialized arbitrarily, such as by sampling a random vector. We thus introduce a new probe of reasoning dynamics by choosing a model and problem instance, and continuously varying the initial latent state to test how initialization affects convergence across replicates (Fig. 1A). Across diverse reasoning models, we observe complex basins of attraction when we label initial conditions by their convergence time, and we find that these basins become self-similar fractals on harder tasks, like Sudoku puzzles (Fig. 1B). As a consequence, even an infinitesimal change to the model's initialization increases convergence time by orders of magnitude. Though reasoning models are trained to solve discrete puzzles, their fractal basins are smooth and naturalistic, resembling optical caustics or transient lifetimes in turbulence—both phenomena arising from spatial variation in the path-

A

Figure

B

C

Figure

Figure 2. Hard problems produce fractal basins across diverse models and tasks. (A) Examples of Sudoku-Extreme, Maze-Hard, Countdown, and ARC-AGI-1 reasoning tasks, each of which we probe using a different architecture (Equilibrium Reasoners, Fixed Point Reasoning Models, Parcae, and Tiny Recursive Model) [4–6, 15, 16, 20] (B) Example basins for varying problem difficulties across the four tasks and architectures. (C) Scaling of basin entropy with the number of reasoning iterations required to converge, each across randomly-sampled task instances of varying underlying difficulty.

lengths required for a physical system to reach fixed points [21, 22]. In isolated previous cases, fractals have been observed when continuous dynamics are used to represent discrete optimization problems, such as sequence alignment, travelling salesperson routing, and spin glass ground state estimation [23–25]. In particular, a previous work derives a continuous-time dynamical system to solve Boolean satisfiability problems (which include Sudoku puzzles) and finds that fractal basins emerge as constraints increase [26, 27]. However, here we show that such hardness-induced fractal basins are ubiquitous in modern artificial reasoning models: even in the absence of solvers hand-designed for a particular task, reasoning models produce fractal basins whenever they encounter difficult problems, across highly-distinct model architectures and tasks (Figure 2A).

We determine the prevalence of fractal basins using basin entropy, a recently-introduced metric that distin-

guishes self-similar fractal basins from random or smooth basins [28]. For each reasoning model and task, we randomly sample initial latent states along randomly-oriented two-dimensional slices through the full initial latent space. For each slice, we measure the average number of loops required for the model to converge across all initial conditions, and compare it to the basin entropy of the entire slice (Fig. 2C). We find that the basin entropy strongly correlates with the number of iterations, a measure of overall task difficulty. These findings persist across alternative architectures (Appendix C) and basin complexity metrics (Appendix D).

Fractal basins form due to transient chaos, the phenomenon responsible for extended transients in high-dimensional dynamical systems [29–31]. Successfully solving a hard problem requires that all trajectories of a reasoning model eventually converge to a single fixed point—and thus that no sustained chaos occurs. How-

A

Figure

B

Figure

C

Figure

D

Figure

Figure 3. Scattering from incorrect solutions produces reasoning transients. (A) The “Plinko” model of high-dimensional dynamics. Trajectories that start and end at nearly the same point can take very different routes if one encounters weakly-unstable saddle points. The fast Lyapunov indicator ( λF\lambda_{F}) measures their maximum separation. (B) The latent state dynamics projected into two dimensions using PCA, showing two representative initial conditions that start out closely-spaced, but which take direct and indirect routes scattered by a saddle point. (C) The error between the latent state and converged latent state for trajectories originating from the initial conditions in (B). (D) Decoding the latent state near the saddle point produces a nearly-correct solution attempt.

ever, trajectories can take widely-varying routes to equilibrium, due to the presence of saddle points (weakly-unstable solutions) scattered throughout phase space, that redirect trajectories for extended durations and thus delay their convergence to equilibrium. High-dimensional dynamics thus resemble a “Plinko” toy: initially closely-spaced initial conditions scatter off of weakly-unstable saddle sets, which pull trajectories apart and create diverging routes to equilibrium (Fig. 3A) [32]. The scrambling of trajectories caused by saddles produces the complex structure of basins.

We thus consider the underlying cause of saddle formation in reasoning tasks. We project the sequence of latent states encountered during high-dimensional reasoning traces into fewer dimensions using principal components analysis. We find that faster-converging trajectories take direct paths toward the true solution, while slower trajectories take longer, indirect routes that visit saddle points before reaching the true solution (Fig. 3B). Decoding these meandering trajectories into problem states reveals that reasoning becomes trapped near answers that are nearly, but not quite, correct. In mazes, saddle regions correspond to dead ends; in Sudoku puzzles, they represent grids with repeated digits (Fig. 3D). The amount of time that a dynamical system spends near a saddle depends on the number of outgoing escape directions [33]. In gradient systems, this corresponds to the number of downhill directions.

A

Figure

B

Figure 4. Saddle sets indicate uncertain reasoning trajectories. (A) The fast Lyapunov Indicator λF\lambda_{F} versus initial condition for a Sudoku-solving model, with two representative initial conditions highlighted (magenta and blue crosses). (B) λF\lambda_{F} versus the frequency at which reasoning traces switch solutions. We measure the frequency by decoding the latent reasoning dynamics to a candidate solution at each timestep, and measuring the number of changes divided by the total number of iterations before convergence. Each point corresponds to a different puzzle instance.

We directly measure the saddle sets responsible for transient chaos using the fast Lyapunov indicator λF\lambda_{F}, a quantity originally developed to measure the stability of asteroid orbits [34]. Two initially-close trajectories that take different routes to equilibrium have larger λF\lambda_{F}, implying that they straddle opposite sides of at least

Figure

Figure

Figure 5. Fractal basins emerge as bifurcations during training. (A) A looped transformer is trained to solve integer linear systems. Panels correspond to a series of training steps around the bifurcation that occurs 150k steps into training, when accurate solving first emerges. The top row colors initial conditions based on whether they converge to the correct solution, and the bottom row colors trajectories by their convergence time. (B) Latent reasoning trajectories before and after the bifurcation, projected into two latent components. Open circles denote starting points, and crosses denote final fixed points. (C) The fraction of correct solutions, basin entropy, and number of saddle escape directions along trajectories across the full training procedure. (D) The finite-time Lyapunov exponents separately-calculated for the directly-substitutable variables, and more difficult core variables that require multistep Gaussian elimination to solve.

one saddle. On single puzzles, λF\lambda_{F} reveals boundaries between different solution routes in reasoning traces (Fig. 4A). From an algorithmic perspective, these represent maximally-uncertain solution routes. Across many different puzzles for the three different models considered here, we find that the fast Lyapunov indicator strongly correlates with the number of distinct solutions that a given reasoning trajectory passes through before converging. Thus, saddle points shape the reasoning landscape by encoding the solution structure of the underlying problem (Fig. 4B).

Generally, when high-dimensional dynamical systems transition from a complex phase to a monostable phase, their local minima disappear, leaving a single stable equilibrium but many weakly-unstable saddle points [35, 36]. In reasoning tasks, this transition occurs when an underconstrained puzzle with multiple solutions (such as a maze with two routes) loses a solution due to the addition of a new constraint (such as an additional wall blocking an exit route). The former solution still affects the convergence time of solvers, which may traverse all the way through the previous solution before reaching the barrier, requiring backtracking [37]. Generally, constraint-solving

problems are often hardest at this constrainedness transition: the problem is still solvable, but with few distinct routes to the correct solution—thus increasing the amount of required trial-and-error [38, 39]. We find that saddles encode these dead end reasoning routes in reasoning dynamical systems.

To study the emergence of saddle-mediated fractal basins, we train a miniaturized reasoning model to solve integer linear systems: For prime pp, given A∈FpM×N\mathbf{A} \in \mathbb{F}_p^{M \times N}, b∈FpM\mathbf{b} \in \mathbb{F}_p^M, solve Ax=b\mathbf{A}\mathbf{x} = \mathbf{b} for x∈FpN\mathbf{x} \in \mathbb{F}_p^N. There are pNp^N candidate solutions corresponding to all possible NN-dimensional integer-valued vectors over Fp={0,1,…,p−1}\mathbb{F}_p = \{0,1,\ldots,p-1\}. Typical discrete algorithms for this problem test sequences of integers until a constraint is found violated. We train an encoder-only looped transformer on many random instances with p=3,M=N=8p=3, M=N=8, and at each stage of training we analyze the reasoning dynamics on newly sampled problem instances. In early stages of training, the model exhibits a basin landscape resembling that of a random dynamical system [36], with basins surrounding distinct stable fixed points, most of which represent incorrect solutions (Fig. 5A). However, in this regime, the convergence times do not show fractal basins. As training proceeds, a bifurcation occurs, with the model's weights acting as a control parameter: the incorrect solutions lose stability and become saddles, and reasoning trajectories begin converging to the fixed point of the true solution (Fig. 5A). In projections of the latent space, trajectories transition from smoothly converging to their nearest (incorrect) solution to taking more circuitous routes that pass near saddle points (Fig. 5B). As a result, at the bifurcation we observe an abrupt increase in solvability and basin entropy, and the appearance of unstable saddle directions, as measured by the number of unstable eigenvalues in the Jacobian of the reasoning model (Fig. 5C). These unstable directions confirm that local minima associated with incorrect solutions lose stability. However, saddles still weakly attract trajectories, producing basins in the convergence time field that resemble the former basins of incorrect solutions. Such saddle-mediated bifurcations produce fractal basins in many classical nonlinear systems [29]. We calculate the spectrum of finite-time Lyapunov exponents (FTLE), a set of rates that quantify how small perturbations to the latent state are initially amplified or suppressed along independent directions [40]. Pre-bifurcation, all FTLE are negative and so no transient chaos occurs: trajectories smoothly approach nearby local minima representing incorrect solutions. After the bifurcation, unstable directions appear, and transient chaos emerges due to scattering from saddle points. To interpret the unstable directions, we partition the NN variables of the original problem into a subset of simple variables solvable with direct substitution, and core variables which require multi-step Gaussian elimination to resolve. This partitioning is analogous to constraint satisfaction problems with leaf variables (resolvable by constraint propagation) and the core (the sub-problem remaining after constraint propagation) [41]. Only the core variables produce positive FTLE, implying that the algorithm that the model uses to resolve these variables produces transient chaos (Fig. 5D). We thus find that the bifurcation to solvability during training occurs when the model gains multi-step reasoning capability. This, in turn, allows the model to escape from incorrect solutions in the core, but it leads to transient chaos and fractal basins.

We have discovered that diverse reasoning models navigate fractal basins when they solve hard problems. Our observations hold across diverse model architectures and tasks, underscoring that fractality is a general phenomenon in learning models, arising from the algorithms reasoning models learn to apply during inference. Practically, our findings introduce a new probe of hidden reasoning processes, and show that models' capabilities are related to their ability to escape saddle points near incorrect solutions. Our findings support a general interpretation of fractal basins and transient chaos as the generic manner in which computational complexity manifests in analogue systems [42], thus connecting the classi-

cal physics of nonlinear dynamics to the discrete symbolic reasoning tasks encountered by modern artificial intelligence models. Our results thus place modern reasoning models within a longstanding tradition framing computation as a physical process [43, 44]—supporting a view of complexity as a physical quantity, with consequences for inference as artificial intelligence methods continue to evolve.

ACKNOWLEDGMENTS

We thank Unconventional AI for supporting our group. This work was performed in part at the Aspen Center for Physics, which is supported by NSF grant PHY-2210452. W.G. is supported by NSF DMS 2436233 and NSF CMMI 2440490, Grant No. DAF2023-329596 from the Chan Zuckerberg Initiative DAF (an advised fund of Silicon Valley Community Foundation), and grant CS-CSA-2026-075 from Research Corporation for Science Advancement. Computational analyses were performed using the Biomedical Research Computing Facility at UT Austin, Center for Biomedical Research Support (RRID: SCR_021979) and the Texas Advanced Computing Center (TACC).

  • These authors contributed equally to this work. † wgilpin@utexas.edu [1] J. Wei, X. Wang, D. Schuurmans, M. Bosma, F. Xia, E. Chi, Q. V. Le, D. Zhou, et al., Advances in neural information processing systems 35, 24824 (2022). [2] D. Guo, D. Yang, H. Zhang, J. Song, P. Wang, Q. Zhu, R. Xu, R. Zhang, S. Ma, X. Bi, et al., Nature 645, 633 (2025). [3] C. V. Snell, J. Lee, K. Xu, and A. Kumar, in The Thirteenth International Conference on Learning Representations (2025). [4] F. Chollet, arXiv preprint arXiv:1911.01547 (2019). [5] G. Wang, J. Li, Y. Sun, X. Chen, C. Liu, Y. Wu, M. Lu, S. Song, and Y. A. Yadkori, Hierarchical reasoning model (2025), arXiv:2506.21734 [cs.AI]. [6] A. Jolicoeur-Martineau, Less is more: Recursive reasoning with tiny networks (2025), arXiv:2510.04871 [cs.LG]. [7] X. Chen, J. Xu, T. Liang, Z. He, J. Pang, D. Yu, L. Song, Q. Liu, M. Zhou, Z. Zhang, et al., in Forty-second International Conference on Machine Learning (2025). [8] X. Liu, X. Wang, Y. Zhang, S. Kariyappa, C. Xiang, M. Chen, G. E. Suh, and C. Xiao, arXiv preprint arXiv:2602.00154 (2026). [9] A. Schwarzschild, E. Borgnia, A. Gupta, F. Huang, U. Vishkin, M. Goldblum, and T. Goldstein, Advances in Neural Information Processing Systems 34, 6695 (2021). [10] J. Geiping, S. M. McLeish, N. Jain, J. Kirchenbauer, S. Singh, B. R. Bartoldson, B. Kailkhura, A. Bhatele, and T. Goldstein, in The Thirty-ninth Annual Conference on Neural Information Processing Systems (2025).

[11] X. Wang, J. Wei, D. Schuurmans, Q. V. Le, E. H. Chi, S. Narang, A. Chowdhery, and D. Zhou, in The Eleventh International Conference on Learning Representations (2023).

[12] P. Shojaee, I. Mirzadeh, M. Horton, S. Bengio, M. Farajtabar, et al., Advances in Neural Information Processing Systems 38, 108018 (2026).

[13] Center for AI Safety, Scale AI, and HLE Contributors Consortium, Nature 649, 1139 (2026).

[14] W. Yang, S. Ma, Y. Lin, and F. Wei, Advances in Neural Information Processing Systems 38, 43605 (2026).

[15] S. Movahedi, V. Milovanović, S. L. Feigin, A. Theus, T. Hofmann, V. Boeva, T. K. Rusch, and A. Orvieto, Fixed-point reasoners: Stable and adaptive deep looped transformers (2026), arXiv:2606.18206 [cs.AI].

[16] B. Huang, Z. Geng, and J. Z. Kolter, in Forty-third International Conference on Machine Learning (2026).

[17] D. Sussillo and O. Barak, Neural computation 25, 626 (2013).

[18] M. Khona and I. R. Fiete, Nature Reviews Neuroscience 23, 744 (2022).

[19] D. Durstewitz, G. Koppe, and M. I. Thurm, Nature Reviews Neuroscience 24, 693 (2023).

[20] H. Prairie, Z. Novack, T. Berg-Kirkpatrick, and D. Y. Fu, Parcae: Scaling laws for stable looped language models (2026), arXiv:2604.12946 [cs.LG].

[21] J. Moehlis, H. Faisst, and B. Eckhardt, New Journal of Physics 6, 56 (2004).

[22] E. G. Altmann, J. S. E. Portela, and T. Tél, Rev. Mod. Phys. 85, 869 (2013).

[23] J. J. Hopfield and D. W. Tank, Biological cybernetics 52, 141 (1985).

[24] L. Chen and K. Aihara, Neural networks 8, 915 (1995).

[25] V. Elser, I. Rankenburg, and P. Thibault, Proceedings of the National Academy of Sciences 104, 418 (2007).

[26] M. Ercsey-Ravasz and Z. Toroczkai, Nature Physics 7, 966 (2011).

[27] M. Ercsey-Ravasz and Z. Toroczkai, Scientific reports 2, 725 (2012).

[28] A. Daza, A. Wagemakers, B. Georgeot, D. Guéry-Odelin, and M. A. Sanjuán, Scientific reports 6, 31416 (2016).

[29] C. Grebogi, E. Ott, and J. A. Yorke, Physical Review Letters 50, 935 (1983).

[30] T. Tél and Y.-C. Lai, Physics Reports 460, 245 (2008).

[31] A. E. Motter, M. Gruiz, G. Károlyi, and T. Tél, Physical review letters 111, 194101 (2013).

[32] Y. N. Dauphin, R. Pascanu, C. Gulcehre, K. Cho, S. Ganguli, and Y. Bengio, Advances in neural information processing systems 27 (2014).

[33] H. Kantz and P. Grassberger, Physica D: Nonlinear Phenomena 17, 75 (1985).

[34] C. Froeschlé, R. Gonczi, and E. Lega, Planetary and space science 45, 881 (1997).

[35] G. Ben Arous, Y. V. Fyodorov, and B. A. Khoruzhenko, Proceedings of the National Academy of Sciences 118, e2023719118 (2021).

[36] G. Wainrib and J. Touboul, Physical review letters 110, 118101 (2013).

[37] R. Dechter and I. Meiri, Artificial Intelligence 68, 211 (1994).

[38] P. C. Cheeseman, B. Kanefsky, W. M. Taylor, et al., in Ijcai, Vol. 91 (1991) pp. 331–337.

[39] R. Monasson, R. Zecchina, S. Kirkpatrick, B. Selman, and L. Troyansky, Nature 400, 133 (1999).

[40] Y.-C. Lai and T. Tél, Transient chaos: complex dynamics on finite time scales (Springer Science & Business Media, 2011).

[41] A. Braunstein, M. Leone, F. Ricci-Tersenghi, and R. Zecchina, Journal of Physics A: Mathematical and General 35, 7559 (2002).

[42] C. Moore, Physical Review Letters 64, 2354 (1990).

[43] R. Shaw, Zeitschrift für Naturforschung A 36, 80 (1981).

[44] J. P. Crutchfield and K. Young, Physical Review Letters 63, 105 (1989).