arXiv AI

The Discrete-Log Clock: How a Transformer Learns Modular Multiplication

arXiv:2606. 17399v1 Announce Type: cross Abstract: When small transformers grok modular multiplication, prior work reports that the learned embedding has a "dense" Fourier spectrum requiring all frequencies.

Hugging Face Trending Papers
Nov 12

Symmetry in Time: A Representation Theory of Linear Recurrent Memory

The paper studies state space models (SSMs) and shows that diagonal real- or complex-valued SSMs can only track commutative groups because their transition matrices commute. By applying representation theory, the authors derive conditions for an SSM to track a group and introduce HyperSSM, which incorporates quaternion channels to satisfy these conditions while maintaining linear-time inference and parallel training. HyperSSM achieves exact solutions on recent state-tracking benchmarks, generalizes to much longer sequences, and allows direct interpretation of learned weights in real-world calibration tasks.

arXiv AI
Oct 7

Recurrent Looped Transformer

The Recurrent Looped Transformer (RLT) divides its layers into a parallel causal encoder and a recurrent decoder, allowing the computation path to grow with sequence length while keeping a fixed per-token cost. Experiments on six algorithmic tasks show that RLT outperforms a standard eight‑layer Transformer, achieving perfect generalization on parity up to 256 bits and high accuracy on swap‑based permutation tracking and modular arithmetic beyond training lengths. Ablation studies confirm that the recurrent feedback is essential for these gains, with chunked updates preserving performance on parity but reducing accuracy on permutation tracking.

By Yifan Zhang, Jichen Feng, Shihan Qin