arXiv Machine Learning

Machine learning modularity

The paper introduces a transformer‑based sequence‑to‑sequence model with dynamic batching that automatically simplifies complex expressions involving multiple elliptic Gamma functions. It learns to apply algebraic identities, especially SL(2,ℤ) and SL(3,ℤ) modular transformations, to reduce scrambled expressions to canonical forms. Experiments show over 99% accuracy on in‑distribution tests and more than 90% accuracy under significant extrapolation, indicating the model internalizes the underlying algebraic rules rather than merely memorizing patterns.

arXiv AI
Aug 19

BRo-JEPA: Learning Modular Transformations in Latent Space

The paper introduces BRo-JEPA, a world model that learns modular arithmetic operations as rotations in latent space. Using MNIST and EMNIST datasets, BRo-JEPA achieves near-perfect zero‑shot generalization to unseen operations, outperforming standard supervised and JEPA baselines by a large margin. The model demonstrates that latent transformations can encode underlying algebraic structures, enabling strict zero‑shot operation generalization.

By Divyansh Jha, Yuanfang Xie, Brennen Yu, Varan Mehra
arXiv AI
Oct 9

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

The paper investigates why neural networks trained on modular addition tasks develop Fourier-structured representations that enable exact generalization. Using probability signatures, the authors show that leading gradient interactions are cyclic shift operators, which are diagonalized by the discrete Fourier transform, leading to decoupled Fourier-mode dynamics that explain Fourier sparsity, frequency matching, and phase alignment. The framework also clarifies how label noise can accelerate early loss decrease by increasing conditional label collisions, and it is demonstrated to predict frequency behavior in other operators such as XOR.

By Yunji Wang, Junjie Yao, Linyu Liu, Pinyan Lu, Zhi-Qin John Xu
arXiv Machine Learning
Oct 12

Algebraic Integer Quantization for Machine Learning Applications

The paper introduces algebraic integer number formats (AINF) as a framework for highly configurable and accurate compressed computation, emphasizing its reduction to purely integer arithmetic for error‑free multiply‑accumulate operations. A matrix multiplication engine leveraging AINF achieves performance close to the most efficient numerical counterparts on modern hardware accelerators. The authors further propose algebraic integer quantization (AIQ) as a lossy compression format for large language model inference, demonstrating competitive accuracy against the industry‑standard MX format at equivalent bit‑per‑parameter budgets, and suggest that higher‑order algebraic integers could yield even greater computational benefits.

By Anthony Kostal-Vazquez, Vassil Dimitrov, Branden Butler