mlsanityData to 14 Oct 2026

Modular addition without black-boxes: Compressing explanations of MLPs that compute numerical integration

arXiv 2412.03773 ↗First posted 4 Dec 2024cs.LG cs.AIcited by 3

On the map: Mechanistic interpretability → Circuits and mechanistic analysis

Abstract (arXiv)

The goal of mechanistic interpretability is discovering simpler, low-rank algorithms implemented by models. While we can compress activations into features, compressing nonlinear feature-maps -- like MLP layers -- is an open problem. In this work, we present the first case study in rigorously compressing nonlinear feature-maps, which are the leading asymptotic bottleneck to compressing small transformer models. We work in the classic setting of the modular addition models, and target a non-vacuous bound on the behaviour of the ReLU MLP in time linear in the parameter-count of the circuit. To study the ReLU MLP analytically, we use the infinite-width lens, which turns post-activation matrix multiplications into approximate integrals. We discover a novel interpretation of} the MLP layer in one-layer transformers implementing the ``pizza'' algorithm: the MLP can be understood as evaluating a quadrature scheme, where each neuron computes the area of a rectangle under the curve of a trigonometric integral identity. Our code is available at https://tinyurl.com/mod-add-integration.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Builds on 6 of its 10 references that are in the map. First posted on arXiv 4 Dec 2024.

Builds on

6 of 10 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Compact Proofs of Model Performance via Mechanistic Interpretability17 Jun
  2. 2023Progress measures for grokking via mechanistic interpretability12 Jan

Other references · 4

  1. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  2. 2022Toy Models of Superpositioncited by 971
  3. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
  4. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 156

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Fourier Circuits in Neural Networks and Transformers: A Case Study of Modular Arithmetic with Multiple Inputs
  2. 2023A technical note on bilinear layers for interpretability
  3. 2025Secret mixtures of experts inside your LLM
  4. 2024Towards Empirical Interpretation of Internal Circuits and Properties in Grokked Transformers on Modular Polynomials
  5. 2026ITNet: A Learnable Integral Transform That Subsumes Convolution, Attention, and Recurrence
  6. 2026Arbitrary-Accuracy Neural Approximation with Optimal Neuron Count and Near-Optimal Bit Complexity
  7. 2026Variance Is Not Importance: Structural Analysis of Transformer Compressibility Across Model Scales
  8. 2026Sparsity Moves Computation: How FFN Architecture Reshapes Attention in Small Transformers