Source-linked AI summary
Fractal basins trap latent reasoning
Jeffrey Lai, Anthony Bao, John Quinn, William Gilpin
TL;DR
Prior analyses focused on solution-space dynamics rather than full latent trajectories. This paper maps reasoning-model basins and finds that fractal structure emerges on difficult problems and relates to task difficulty.
Problem
Prior analyses examined dynamics in solution space rather than full latent trajectories, leaving trajectory geometry less characterized.
Source: Appendix Appendix B: Supplementary… · p. 8Method
The study maps convergence times over initial-condition slices and quantifies basin complexity and scale dependence using entropy and uncertainty-exponent measures.
Source: Appendix Appendix B: Supplementary… · p. 7, Appendix Appendix D: Metrics for basin… · p. 9, Appendix Appendix E: Measuring… · p. 10Results
Across alternative maze and Countdown models, fractal basins emerge on difficult problems, and fractality relates to task difficulty.
Source: Appendix Appendix C: Replicate basin… · p. 9Takeaways & Limitations
Basin patterns vary in qualitative appearance and structure across models, likely reflecting the optimization algorithms they use.
Source: Appendix Appendix C: Replicate basin… · p. 9
Abstract
from arXiv · showhide
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.
Appendix Appendix B: Supplementary Methods
The appendix describes how publicly released recurrent reasoning models are probed as latent-state dynamical systems by varying initial conditions and decoding intermediate solutions. It defines basin maps and fractality measures, then specifies task sampling and analyses of boundary and trajectory behavior.
Model and inference settings
- EqR [1], FPRM, and fine-tuned Parcae use task-specific checkpoints, loop schedules, and deterministic or threshold-based inference settings.EqR uses a fixed 24-iteration budget with injected noise disabled; FPRM uses residual thresholds and iteration caps, while Parcae is fine-tuned on Countdown with ∆t = 0.3.Source: Appendix Appendix B: Supplementary… · p. 7
Basin maps
- Basin maps vary initial latent states over a 200 × 200 grid on a random two-dimensional slice while holding the model, prompt, and loop schedule fixed.For FPRM mazes, the slice is restricted to the fifteen register tokens that receive no input injection.Source: Appendix Appendix B: Supplementary… · p. 7
- A trajectory’s settling time is the number of loops until its decoded solution stops changing; trajectories still changing at the loop cap are marked as errors.The settling-time field across the two-dimensional slice forms the basin map.Source: Appendix Appendix B: Supplementary… · p. 7
Task instances and difficulty
- Sudoku difficulty uses Sudoku-Extreme ratings based on classical-solver backtracking [4], while FPRM mazes come from Maze-Unique and Maze-Hard splits rated by shortest-path length.EqR maze experiments use 300 generated perfect mazes with solution paths of 101–169 steps; opening k independent corner walls can create 2^k shortest paths.Source: Appendix Appendix B: Supplementary… · pp. 7–8
Quantifying basin fractality
- Basin entropy, boundary entropy, and an uncertainty exponent quantify fractality; population statistics exclude slices with inconsistent solves or too many trajectories reaching the loop cap.The uncertainty exponent α is estimated from differing settling times among pixel pairs separated by 1–5 pixels, and basin-boundary dimension is 2 − α. At least 300 valid slices per model-task pair support correlations with mean settling time.Source: Appendix Appendix B: Supplementary… · p. 8
Fast Lyapunov Indicator
- The fast Lyapunov indicator λF estimates local trajectory divergence from decoded-state deviations between each pixel and its initial neighbors, highlighting saddle-like boundaries between solution routes.Large λF marks initial conditions that separate maximally from nearby trajectories before reconverging.Source: Appendix Appendix B: Supplementary… · p. 8
Trajectory geometry and decoding near saddles
- Trajectory geometry is analyzed using full latent dynamics, with residuals measured against the final latent solution and principal components fit to pooled trajectories and timepoints.This analysis considers latent trajectories rather than only dynamics in solution space.Source: Appendix Appendix B: Supplementary… · p. 8
Appendix Appendix C: Replicate basin experiments with alternative reasoning models
Replicating maze and Countdown experiments with alternative reasoning architectures, the authors find fractal basins on difficult problems and a relationship between fractality and task difficulty. Basin appearance and structure also vary across models, likely reflecting their optimization algorithms.
Appendix C: Replicate basin experiments with alternative reasoning models
- Fractal basins emerge on difficult problems, and fractality is related to task difficulty across the alternative-model experiments.The replication covers Maze and Countdown (Fig. S1).Source: Appendix Appendix C: Replicate basin… · p. 9
- The replications use an Equilibrium Reasoning checkpoint for maze tasks and an encoder-only looped transformer trained for Countdown [1].Source: Appendix Appendix C: Replicate basin… · p. 9
- Basin appearance and structure change across models, likely because they depend on each model’s optimization algorithm.Source: Appendix Appendix C: Replicate basin… · p. 9
Appendix Appendix D: Metrics for basin complexity
The appendix defines three basin-complexity metrics and reports that they are strongly correlated across puzzle instances and tasks.
Appendix D: Metrics for basin complexity
- The appendix quantifies basin complexity with basin entropy, boundary basin entropy, and the uncertainty exponent.Basin entropy measures variation in convergence time across finite-resolution neighborhoods, while boundary basin entropy restricts this measure to initial conditions straddling multiple basins. The uncertainty exponent measures how the fraction of initial conditions whose convergence time changes under perturbation scales with perturbation size.Source: Appendix Appendix D: Metrics for basin… · p. 9
- The uncertainty exponent satisfies α = D − db, where D = 2 in these experiments and db is the boundary’s box-counting dimension.Figure S2 shows alternative basin-complexity metrics calculated over random two-dimensional slices through random problem instances.Source: Appendix Appendix D: Metrics for basin… · p. 9, Figure S2 · p. 9
- The three basin-complexity metrics are strongly correlated across puzzle instances and tasks.The appendix reports that the metrics were computed across all tasks and architectures.Source: Appendix Appendix D: Metrics for basin… · p. 9
Appendix Appendix E: Measuring fractality across scales
Across reasoning models and tasks, progressive zooms and uncertainty-exponent measurements assess how fractal structure changes with scale. Some models produce true fractals, while others produce scale-dependent “slim fractals.”
Appendix E: Measuring fractality across scales
- Progressive magnifications show settle-time and fast Lyapunov indicator structure for Equilibrium Reasoning on difficult Sudoku, FPRM on Maze, and fine-tuned Parcae on Countdown.For each model and task, the uncertainty exponent measures how outcome variation within a fixed-radius ball changes with radius; true fractals exhibit a fixed power-law relationship.Source: Appendix Appendix E: Measuring… · pp. 9–10, Figure S3 · p. 11, Figure S5 · p. 13
- Some reasoning models produce true fractals, while others produce “slim fractals” whose fractal dimension decreases with resolution and whose basin boundary has codimension 1.Slim fractals are associated with doubly-transient chaos, where the saddle-like set decays over time, unlike singly-transient chaos where that set remains constant.Source: Appendix Appendix E: Measuring… · p. 10
- Slim fractals typically arise in dissipative physical systems where the saddle-like set decays, as in a frictional double pendulum whose long-term attractor is a resting fixed point.This contrasts with a frictionless double pendulum’s sustained chaotic attractor.Source: Appendix Appendix E: Measuring… · p. 10
- Because reasoning models tend to converge to fixed answers, the paper expects most to exhibit some form of doubly-transient chaos.The authors treat convergence as a likely form of dissipation, while noting that reasoning models may produce dynamics beyond singly- or doubly-transient chaos.Source: Appendix Appendix E: Measuring… · p. 10