Probability-Signature Dynamics: Unpacking Modular Addition Learning Within Two-Layer Networks

📅 2026-10-08
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This study addresses how gradient-based training selects Fourier modes from data distributions to support generalization in modular addition tasks, and the unclear mechanisms underlying early loss reduction under label noise. To this end, this work proposes a probabilistic signature framework that translates gradient interactions into conditional statistics. By integrating the discrete Fourier transform with gradient dynamics modeling for two-layer networks, it analytically characterizes the cyclic shift operator. The proposed approach provides a unified explanation for structure emergence and noise effects, elucidating the mechanisms of Fourier sparsity and frequency matching. Furthermore, it successfully predicts the frequencies associated with operators such as XOR and reveals the decoupling mechanism of generalization under noisy conditions.
📝 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.
Problem

Research questions and friction points this paper is trying to address.

modular addition
Fourier representations
gradient-based training
label noise
probability signatures
Innovation

Methods, ideas, or system contributions that make the work stand out.

Probability Signatures
Modular Addition
Fourier Representations
Gradient Dynamics
Label Noise
🔎 Similar Papers
No similar papers found.
Y
Yunji Wang
School of Mathematical Sciences, Shanghai Jiao Tong University
Junjie Yao
Junjie Yao
Shanghai Jiao Tong University
L
Linyu Liu
Huawei Technologies Ltd
Pinyan Lu
Pinyan Lu
ITCS, Shanghai University of Finance and Economics
ComplexityAlgorithmGame Theory
Z
Zhi-Qin John Xu
School of Mathematical Sciences, Shanghai Jiao Tong University; Institute of Natural Sciences, MOE-LSC, Shanghai Jiao Tong University