Neural networks learn structured representations at specific points during training, yet pinpointing these transitions usually requires post-hoc, label-dependent metrics. We introduce a bifurcation theory of representation dynamics to detect these moments in real time. By analyzing a passive GMM probe on an evolving encoder, we show that the emergence of structure corresponds to a supercritical pitchfork bifurcation driven by the loss Hessian. Comparing a theoretically predictable zero-crossing ($β_c$) with the network's current state ($β$) yields a dynamic ratio, $β(t)/β_c(t)$. Computed solely from hidden states, this ratio is a universal, label-free phase coordinate for representation dynamics. We validate the four transition regimes this coordinate predicts across diverse settings: sparse autoencoders (SAEs) on language models (Pythia), self-supervised learning (CIFAR), and grokking (modular arithmetic). Crucially, under finite dissipation, macroscopic symmetry breaking can lag the initial zero-crossing by orders of magnitude, providing a rigorous dynamical explanation for delayed generalization in grokking. Microscopically, the theory predicts that the bifurcation creates a shared unstable subspace that forces collective symmetry breaking. We call this the \emph{feature lottery} in SAE training: a feature's eventual interpretability is determined very early on. Just $5\%$ into training, early atom purity strongly predicts final purity at convergence: atoms in the top $10\%$ at the $5\%$ mark reach a final POS purity of $0.82$, versus $0.47$ for the bottom $10\%$ and $0.22$ for chance. Beyond explaining how concepts emerge, $β/β_c$ is a practical early-warning indicator of training health, capturing the onset of usable structure, the crystallization of feature identities, and the beginning of representation collapse many epochs before downstream metrics react.
翻译:暂无翻译