output unit
Machine Learning the H-theorem
The H-theorem provides a microscopic foundation for the Second Law of Thermodynamics and therefore occupies a central place in statistical physics. At the same time, its relation to microscopic reversibility has remained conceptually subtle. To investigate how an arrow of time may be inferred directly from microscopic data, we study the relaxation of randomly initialized hard disks in a periodic box. We construct a permutation-invariant neural network based on the DeepSets architecture. The model is trained only to assign later states a larger scalar value than earlier states. We compare the learned scalar with the Boltzmann H-functional and assess to what extent the dynamics alone lead the model toward the structure implied by the H-theorem.
Single-Nodal Spontaneous Symmetry Breaking in NLP Models
Rosner, Shalom, Gross, Ronit D., Koresh, Ella, Kanter, Ido
Spontaneous symmetry breaking in statistical mechanics primarily occurs during phase transitions at the thermodynamic limit where the Hamiltonian preserves inversion symmetry, yet the low-temperature free energy exhibits reduced symmetry. Herein, we demonstrate the emergence of spontaneous symmetry breaking in natural language processing (NLP) models during both pre-training and fine-tuning, even under deterministic dynamics and within a finite training architecture. This phenomenon occurs at the level of individual attention heads and is scaled-down to its small subset of nodes and also valid at a single-nodal level, where nodes acquire the capacity to learn a limited set of tokens after pre-training or labels after fine-tuning for a specific classification task. As the number of nodes increases, a crossover in learning ability occurs, governed by the tradeoff between a decrease following random-guess among increased possible outputs, and enhancement following nodal cooperation, which exceeds the sum of individual nodal capabilities. In contrast to spin-glass systems, where a microscopic state of frozen spins cannot be directly linked to the free-energy minimization goal, each nodal function in this framework contributes explicitly to the global network task and can be upper-bounded using convex hull analysis. Results are demonstrated using BERT-6 architecture pre-trained on Wikipedia dataset and fine-tuned on the FewRel classification task.