Replica Fragmentation and Glassy Dynamics in Parity Learning
Han Ma
Abstract
We study how independently trained Transformer neural networks reconstruct a binary string from its local domain walls. Runs sharing the data and training protocol can realize different functions. We treat them as replicas and measure truth alignment m, prediction confidence qself, and cross-replica agreement qcross. Confident disagreement defines the finite-size replica fragmentation that we call glass-like. With small training sets, replicas predict all training examples correctly but remain confident in incorrect predictions for unseen inputs, a regime we call memorization. With larger sets, runs can generalize and then retreat. Retreat occurs when outputs start to deviate from truth while confidence remains high. The frontier between learned and unlearned outputs recedes toward shorter strings. Many later recover as the frontier advances again. The self--cross gap qself-qcross clearly distinguishes the three learning regimes of memorization, retreat, and recovery. With overall and position-dependent truth alignment subtracted, their residual correlations also differ: memorizing replicas have weakly and uniformly correlated residuals, while retreat has the largest fraction of replica pairs whose residuals are anti-correlated. That is, on the inputs where one replica of such a pair does better than its average, the other tends to do worse. These finite-size observations distinguish persistent memorization from ongoing retreat--recovery dynamics. The thermodynamic and long-time limits, and extensions to other learning tasks, remain open.
Create a lesson
Related papers
Towards synergy between theory and experiments: First-passage processes under resetting with stochastic return protocols
Ashutosh Dubey, Arnab Pal
Emergent Loop Geometry in Gauge-Equivariant Graph Neural Networks
Ali Rayat, Gia-Wei Chern
Extending the mean first-passage-time formalism to the reconstruction of high free-energy barriers: A top-start approach
Ying Jiang, Ivan Saika-Voivod
Exact Microscopic One-Body Reduction in the Symmetric Exclusion Process
Olivier Bénichou, Aurélien Grabsch
Macroscopic fluctuation theory of stochastic systems undergoing monitoring
João Costa, Pedro Ribeiro, Andrea De Luca
Charge-selective topological locking and ultraslow coarsening in magnetoelastic media
Tirthankar Banerjee, Amaresh Jaiswal