Nonconformal Distortion and Local Orientation Reversal in the Fourier Circuit of a Modular-Addition Transformer
Abstract
We study the local differential geometry of a Fourier-based modular-addition circuit in a one-layer transformer whose algorithm has previously been reverse-engineered. For each of the five key Fourier frequencies, we restrict the model's multilayer perceptron (MLP) contribution to a corresponding Fourier input plane and readout, and measure its directional Beltrami coefficient under continuous input perturbations. Whereas nondegenerate restrictions of ideal complex multiplication are conformal, the trained maps exhibit nonconformal distortion (median --), spatial organization in the Beltrami argument, and regions of local orientation reversal. The median across frequencies decreases from at initialization to after training. The key-frequency planes also show lower median distortion than most random-plane controls, although their distributions overlap and the coordinate frames differ in conditioning. Across 500 checkpoints in one training run, most of the aggregate reduction in Beltrami magnitude occurs before the principal increase in the measured Fourier-circuit formation. At the individual-input level, Beltrami magnitude shows negligible association with the correct-logit margin (). Late-checkpoint measurements across six runs show comparable distortion for most selected frequencies. These results provide a quantitative characterization of local deformation in a frequency-projected component of an identified neural circuit, complementary to its algorithmic reconstruction.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 27 pages
Related papers
STEdgeFormer: MCU and NPU Deployable Transformer Architecture
Shared title terminologycs.AISudhakar Sah
When do stored facts become available in looped transformers?
Shared title terminologycs.AIFabio Valerio Massoli, Arnau Padrés Masdemont, Jordi Ros Giralt et al.
Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers
Shared title terminologycs.AIHaibin Tong, Liangliang Xin, Yamei Zhu et al.
Average-Depth Variable Execution via Request-Local Token Routing
Shared title terminologycs.AIPengjie Zheng, Mengwei Xie, Huan Yang et al.
Can Language Models See the Circuit in Pixelated RFIC Passives?
Shared title terminologycs.AIJonathan Zhou, Kaushik Sengupta
Probing Local Conditional Fit for Diffusion Model Membership Inference
Shared title terminologycs.AIByungHee Cha, Naoki Murata, Yuhta Takida et al.