arXiv AI

Tracking States or Tracking Cosets? An Algebraic Account of Learned State Tracking

The paper investigates how neural networks, particularly Transformers and recurrent models, learn to track group elements by predicting their running product. It finds that Transformers tend to recover quotient classes and that their accuracy can be predicted by the reciprocal of class size, while recurrent networks can capture both normal and non‑normal right‑coset partitions. The study links partial accuracy, learning stages, and internal state representations to the subgroup cosets the models learn to track.

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 Computation and Language
Oct 28

Rethinking State Tracking in Recurrent Models Through Error Control Dynamics

The paper argues that error control is as crucial as expressive capacity for state tracking in recurrent models. It proves that affine recurrent networks, including State‑Space Models and Linear Attention, cannot correct errors along state‑separating subspaces once they preserve state representations, leading to finite‑horizon solutions governed by accumulated error. Empirical results on group state‑tracking tasks show that tracking collapses when the distinguishability ratio falls below a readability threshold, and this crossing predicts downstream accuracy failure.

By Jiwan Chung, Heechan Choi, Seon Joo Kim
arXiv Machine Learning
Aug 17

The Expressive Limits of Diagonal SSMs for State-Tracking

arXiv:2603. 01959v2 Announce Type: replace Abstract: State-Space Models (SSMs) have recently been shown to achieve strong empirical performance on a variety of long-range sequence modeling tasks while remaining efficient and highly-parallelizable.

By Mehran Shakerinava, Behnoush Khavari, Siamak Ravanbakhsh, Sarath Chandar
arXiv AI
Sep 21

Understanding In-context Learning of Addition via Activation Subspaces

The paper investigates how transformer language models perform few‑shot learning for a simple addition task, showing that the ability is concentrated in a handful of attention heads. Using dimensionality reduction, the authors identify low‑dimensional subspaces—three heads with six‑dimensional spaces in Llama‑3‑8B‑Instruct—where specific dimensions encode the units digit via trigonometric patterns and magnitude via low‑frequency components. They also derive a mathematical identity linking aggregator and extractor subspaces, enabling tracking of information flow from examples to the final prediction.

By Xinyan Hu, Kayo Yin, Michael I. Jordan, Jacob Steinhardt, Lijie Chen
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