Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learning
Liu Ziyin, Yizhou Xu, Isaac Chuang
TL;DR
The paper proposes an entropic-force perspective on neural network learning, framing SGD dynamics with an entropic loss $F_{\eta,\gamma}(\theta)$ and an entropic force $\nabla S(\theta)$ that together shape optimization as a gradient flow with $\dot{\theta} = -\eta(\nabla L + \gamma\theta + \nabla S)$. By showing that discretization-induced entropy breaks continuous parameter symmetries while preserving discrete ones, the authors derive gradient balance (an equipartition of gradient energy) across layers and neurons, and prove universal representation alignment via a Platonic Representation Hypothesis, including a perfect alignment theorem for deep linear networks. The framework also connects to the edge-of-stability phenomenon, explaining how data/noise balance and entropy influence sharpness and stability during training. Across ReLU nets, self-attention, and Vision Transformers, entropy-driven dynamics predict representation alignment and universal structure, providing a thermodynamics-like foundation for emergent phenomena in deep learning. The work offers predictive insights for training dynamics and a principled route to understanding universal representations and optimization behavior across architectures.
Abstract
With the rapid discovery of emergent phenomena in deep learning and large language models, understanding their cause has become an urgent need. Here, we propose a rigorous entropic-force theory for understanding the learning dynamics of neural networks trained with stochastic gradient descent (SGD) and its variants. Building on the theory of parameter symmetries and an entropic loss landscape, we show that representation learning is crucially governed by emergent entropic forces arising from stochasticity and discrete-time updates. These forces systematically break continuous parameter symmetries and preserve discrete ones, leading to a series of gradient balance phenomena that resemble the equipartition property of thermal systems. These phenomena, in turn, (a) explain the universal alignment of neural representations between AI models and lead to a proof of the Platonic Representation Hypothesis, and (b) reconcile the seemingly contradictory observations of sharpness- and flatness-seeking behavior of deep learning optimization. Our theory and experiments demonstrate that a combination of entropic forces and symmetry breaking is key to understanding emergent phenomena in deep learning.
