Probability-Signature Dynamics: Unpacking Modular Addition Learning Within Two-Layer Networks
Yunji Wang, Junjie Yao, Linyu Liu, Pinyan Lu, Zhi-Qin John Xu
Abstract
Neural networks trained on modular addition tasks often develop Fourier-structured representations that support exact generalization. While prior work has identified these Fourier circuits, the mechanism by which gradient-based training selects them from the data distribution remains unclear. We address this question using probability signatures, which express leading gradient interactions through conditional statistics of the training distribution. For modular addition, these signatures are cyclic shift operators and are diagonalized by the discrete Fourier transform, yielding approximately decoupled Fourier-mode dynamics. This explains the emergence of Fourier sparsity, frequency matching, and phase alignment. The same framework resolves a puzzle under label noise: corrupted examples can show faster early loss decrease than clean examples, despite lacking a coherent generalization rule. We show that noise increases conditional label collisions, strengthening early shared-coordinate reinforcement. Finally, this method can be applied to other operators. Taking XOR as an example, we observed the predicted frequency in experiments.
Create a lesson
Metadata
- Comments
- 36 pages, 18 figures. Submitted to ICLR 2027
Related papers
SpikeSSL: A Universal Spike Inference Framework with Dynamics-Informed State-Space Layers
Shared title terminologycs.AIChenghao Yue, Siming Xing, Shuran Liu et al.
Aggregation Rules Induced by KL-Regularised Preference Dynamics on Networks
Shared title terminologycs.AIMilan Vojnovic
Unpacking the Evaluators: How Configuration Shapes the Evaluation of Alignment in Explainable AI
Shared title terminologycs.AIGizem Karagoz, Tanir Ozcelebi, Nirvana Meratnia
ActField: Learning Action Effects as Continuous-Time Latent Dynamics
Shared title terminologycs.AIYunpeng Qing, Yuheng Huang, Changxu Wei et al.
Event-Driven Parameter Dynamics for Spatiotemporal Parameter-Update Application in Deep Learning
Shared title terminologycs.AIRuixue Li, Chaofei Hong
MH-RAG-DIVE: Dynamic and Cost-Efficient Multi-Hop RAG Evaluation via Tree-Cached Dialogue Simulation
Shared title terminologycs.AILorenz Brehme, Daniel Hillebrand, Thomas Ströhle et al.