Dynamical Systems Analysis Reveals Functional Regimes in Large Language Models
Hassan Ugail, Newton Howard
TL;DR
The paper tackles how temporal dynamics organize computations in large language models and introduces a neuroscience-inspired composite metric, $Ψ'$, that combines hierarchical temporal integration (via DFA/Hurst) with metastability (phase synchronisation). Using GPT-2-medium across five conditions, the authors show that $Ψ'$ discriminates structured reasoning from repetitive/noisy generation and from architectural perturbations, with integration and metastability behaving as dissociable components. The findings demonstrate that formal dynamical properties can characterize computational regimes in transformers, offering a principled, generalizable approach to interpretability that remains distinct from notions of machine consciousness. The work lays groundwork for cross-domain dynamical analyses in artificial systems and points to further methodological extensions and broader validations across models and tasks.
Abstract
Large language models perform text generation through high-dimensional internal dynamics, yet the temporal organisation of these dynamics remains poorly understood. Most interpretability approaches emphasise static representations or causal interventions, leaving temporal structure largely unexplored. Drawing on neuroscience, where temporal integration and metastability are core markers of neural organisation, we adapt these concepts to transformer models and discuss a composite dynamical metric, computed from activation time-series during autoregressive generation. We evaluate this metric in GPT-2-medium across five conditions: structured reasoning, forced repetition, high-temperature noisy sampling, attention-head pruning, and weight-noise injection. Structured reasoning consistently exhibits elevated metric relative to repetitive, noisy, and perturbed regimes, with statistically significant differences confirmed by one-way ANOVA and large effect sizes in key comparisons. These results are robust to layer selection, channel subsampling, and random seeds. Our findings demonstrate that neuroscience-inspired dynamical metrics can reliably characterise differences in computational organisation across functional regimes in large language models. We stress that the proposed metric captures formal dynamical properties and does not imply subjective experience.
