Neural Dynamics as the Composition of Quantized Units
Organizations: Minerva University · Sakana AI
Abstract
Deep learning is commonly interpreted at two levels: the macroscopic, through aggregate trends in loss summarized by scaling laws, and the microscopic, through neurons, features, and circuits. A central challenge is understanding how these levels connect, so that we can explain how elementary computations compose and collectively shape macroscopic behavior. To this end, we study an intermediate abstraction in which training is described as the ordered acquisition of quanta: reusable computations acquired suddenly and binary-activated across examples to reduce loss. By approximating population-gradient updates, we derive quanta's acquisition dynamics. This yields an acquisition priority governed by demand, how frequently a computation is required across examples, and conditional complexity, how difficult that computation is to acquire given those already available. In a Boolean compositional task, we derive predictions for acquisition order and show how staggered discrete acquisitions can produce smooth aggregate loss and, under certain geometries of quanta composition, give rise to scaling laws. We then train a Transformer to map numerals to English number names and recover candidate quanta from its checkpoint trajectory. From these units, we construct a model that preserves much of the Transformer's behavior while exposing interpretable latent computations and acquisition dynamics consistent with the theory. Separately, the quanta structure can serve as training targets to improve transformer generalization. Together, these results suggest the quanta abstraction can provide useful computational atoms for studying a variety of macroscopic phenomena.
Figures & tables
| Training | Balanced | Zero gap | Short tail |
|---|---|---|---|
| CE only | |||
| Q target |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Target | Full fit | Earlier range / slope | Later range / slope | |
|---|---|---|---|---|
| – M / | – M / | |||
| – M / | – M / | |||
| – M / | – M / |
| Output | Active | Active | Total | Mean/min | Event interpretation |
|---|---|---|---|---|---|
| Qs | writers | activity | writer F1 | ||
| three | 4 | 6 | 39.600 | 0.812 / 0.741 | sequence start, unit lexeme, value read |
| hundred | 3 | 4 | 12.088 | 0.696 / 0.584 | hundreds and low-chunk structure |
| forty | 5 | 6 | 33.803 | 0.847 / 0.771 | after-hundred, tail, value read/write |
| six | 4 | 7 | 20.187 | 0.821 / 0.650 | unit value and tail completion |
| EOS | 7 | 3 | 6.095 | 0.794 / 0.684 | termination and completed tail |
| Output | Quantum | Held-out F1 | Selected description |
|---|---|---|---|
| three | L0.Q3 | 0.615 | unit lexeme or 5-digit input |
| three | L1.Q2 | 0.705 | after sequence start or 3-digit input |
| three | L1.Q3 | 0.544 | chunk has hundreds |
| three | L2.Q2 | 0.662 | unit lexeme |
| hundred | L0.Q0 | 0.698 | chunk has tail |
| hundred | L1.Q0 | 0.760 | one-hundred rule or EOS decision |
| Output | Writer | Activity | Conditional F1 | Selected description |
|---|---|---|---|---|
| three | L0.Q3.W10 | 0.218 | 0.741 | after sequence start |
| three | L1.Q2.W8 | 1.802 | 0.824 | after sequence start or hundreds |
| three | L1.Q3.W9 | 0.359 | 0.783 | unit form or after sequence start |
| three | L2.Q2.W6 | 14.219 | 0.882 | value read |
| three | L2.Q2.W7 | 10.736 | 0.869 | value read |
| three | L2.Q2.W8 | 12.266 | 0.771 | emit value |
Neural Network Training Dynamics
Neural network training dynamics studies how parameters and representations change during optimization and how those changes shape learning, stability, and generalization.
See all 516 papersTransformers as Generic Deep Neural Networks: Exact Compilation, the Cost of Removing Activation-Activation Products, and Multi-Agent Attention Clustering
Neural Quadratic Forms: A Unified Minimal Model for Sudden Learning and Scaling Laws
structure matrix" $A(x)$ that we compute for each architecture. Perceptrons, attention layers, mixtures of experts, and convolutions become one model at different $A$. Its training dynamics then close on the order parameter" and, whenever the data matrices share an eigenbasis, reduce to a Lotka--Volterra equation whose modes switch on one after another. The smaller the initial weights, the further apart the switch-on times, and the plateaus appear as a singular limit of a smooth flow; when many modes are unresolved the same events merge into a power law in training time whose exponent the theory predicts. We confirm both numerically across training methods and architectures.