Modular addition

13 papers · 38 extracted observations · modular addition · Markdown · CSV · JSON API

Also indexed as: modular-addition

Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines & ablations)

Proposed/measured results matching task=Modular Addition, split=test.

81.687.893.9100.02024202520261-layer Transformer: 83.0 (2023)Network in the Forgetting phase: 100.0 (2024)Random transformer (width 1024; input embeddings and unembedding trained, other parameters fixed): 100.0 (2024)Custom Loss (α=1e-4): 99.5 (2025)FACT-RFM (geometric averaging): 100.0 (2026)
Click any point on the timeline to inspect method, protocol, and paper.

Showing 4 of 4 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026FACT-RFM (geometric averaging) proposedTest accuracy100%Modular Addition · split: test · operation=(x+y) mod 61 · iterations=75 · training-data=50%FACT: a first-principles alternative to the Neural Feature Ansatz for how networks learn representations
Source quote
L203: Figure 5: We train FACT-RFM and NFA-RFM on (x + y) mod 61 for 75 iterations. Both methods achieve 100% test accuracy and exhibit delayed generalization aligned to the “grokking” phenomenon.
2024Random transformer (width 1024; input embeddings and unembedding trained, other parameters fixed) proposedTest accuracy100.0%Modular Addition · split: test · width=1024 · layers=2 · restarts=10; median · training=input-embeddings-and-unembedding-onlyAlgorithmic Capabilities of Random Transformers
Source quote
L104: Modular Addition │ 100.0% │ 1.3% │ 100.0% │ 97.2% │ 100.0%
2024Custom Loss (α=1e-4) proposedτ=0.5% Accuracy99.5%Modular Addition · split: test · N=32 · q=974269 · α=1e-4 · loss=Custom LossMaking Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular Arithmetic
Source quote
L558: 974269 │ 99.5% │ 98.9% │ 91.0%
20231-layer Transformer proposedtest accuracy83%Modular Addition · split: test · modulus=113 · condition=semi-grokking · training-data-size=approximately critical dataset sizeExplaining grokking through circuit efficiency
Source quote
L21: \caption{Semi-grokking. When \numTrainExamples \sim \criticalDatasetSize, the memorising algorithm and generalising algorithm compete with each other at convergence, so we observe a transition to improved but not perfect test loss (test accuracy of 83%).}