cs.LGNov 16, 2026

Large Language Models as Nonlinear Dynamical Systems: The Three Clocks of Depth, Training, and Generation

Authors: Maor Farid

Organizations: Leo AI, Inc., 50 Milk Street, Boston, MA 02109, United States

Abstract

Language models are dynamical systems. A transformer is iterated over its layers, over the steps of its training and over the tokens it generates, and on each of these three clocks it shows behavior that nonlinear dynamics has studied for a century: fixed points, bifurcations, synchronization, chaos and noise-driven escape from potential wells. The two communities rarely meet, so this behavior is often rediscovered under new names. We build a bridge between them. To describe, we condense about 200 papers into the Three-Clock Dictionary, which maps fifteen concepts of nonlinear dynamics onto each clock and marks every correspondence as proved, measured or conjectured, and we show each concept in a mechanical system and in a language model side by side. To explain, we derive reduced-order models: the softmax is a Boltzmann distribution, gradient descent an Euler step on a nonlinear spring, a loss spike a ball thrown out of a stiff valley, attention on the circle a Kuramoto model, and a repetition loop a well that deepens while it is occupied. We then test these explanations on open language models, on a laptop CPU. Escape from repetition loops in GPT-2 and Pythia follows the Arrhenius law with the logit gap as the barrier, and the barrier deepens and then saturates, so the temperature needed to leave a loop falls like 1/ln⁡N1/\ln N with the generation length NN and rises with model size. Coherent text lives in a narrow window of temperatures, which a small reasoning model shares at its recommended temperature. Training makes each Pythia layer more expansive, and a small transformer trains at a multi-mode edge of stability. The third step, solving problems of language models, is still ahead: controllers derived from the escape analysis remove loops but do not yet beat the best fixed temperature. We state twelve open problems where nonlinear dynamics could get there.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. As Language Models Scale, Low-order Linear Depth Dynamics Emerge

    Mar 13, 2026Buddhika Nettasinghe, Geethu JosephLLM InterpretabilityLanguage Model Scaling Laws

  2. A phase diagram for training and inference in language models

    Nov 15, 2026Zhuo-Yang Song, Zeyu Li, Qing-Hong Cao +2Representation Geometry in Language ModelsTransformer Training Dynamics

  3. Wait, Wait, Wait... Why Do Reasoning Models Loop?

    Dec 15, 2025Charilaos Pipis, Shivam Garg, Vasilis Kontonis +3Large Reasoning Models