Modular addition
13 papers · 38 extracted observations · modular addition · Markdown · CSV · JSON API
Also indexed as: modular-addition
Tasks on Modular additionAll tasks (13)Modular Addition (10)Mathematical Reasoning (2)Modular Arithmetic (1)
Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines & ablations)
Proposed/measured results matching task=Modular Addition, split=test.
Click any point on the timeline to inspect method, protocol, and paper.
| # | Method | Score ↑ | Year | Protocol / Settings | Paper & Evidence |
|---|---|---|---|---|---|
| 1 | FACT-RFM (geometric averaging) SOTA frontier | 100% | 2026-01-01 | operation=(x+y) mod 61 · iterations=75 · training-data=50% · Trained for 75 iterations; trained on 50% of the data and tested on the other half. | FACT: a first-principles alternative to the Neural Feature Ansatz for how networks learn representationsSource quoteFigure 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. |
| 2 | Network in the Forgetting phase SOTA frontier | 100% | 2024-01-01 | Early stage of the Forgetting-phase dynamics, before accuracy subsequently decays; da… | To Grok or not to Grok: Disentangling Generalization and Memorization on Corrupted Algorithmic DatasetsSource quoteWe saw in \Cref{fig:phase_diagrams}(a) (right-most panel, wd=20.0) that extremely high weight decay leads to Forgetting phase. This phase has random guessing accuracies on both training and test datasets at the end of training. Naively, this would seem similar to the Confusion phase. However, Upon close inspection of their training dynamics, we find rich behaviour. Namely, the network initially undergoes dynamics similar to Full Inversion, i.e., the test accuracy reaches 100 % while the train accuracy plateaus around 100 (1-\xi) %. However, both accuracies subsequently decay down to random guessing. This curious phenomenon is explained by the effect of the high weight decay on the network weights. We notice that the Frobenius norms of the weights of the network steadily decay down to arbitrarily small values. |
| 3 | Random transformer (width 1024; input embeddings and unembedding trained, other parameters fixed) SOTA frontier | 100% | 2024-01-01 | width=1024 · layers=2 · restarts=10; median · training=input-embeddings-and-unembedding-only · Two-layer transformer; addition modulo p=199; fixed train/test split; median over 10 … | Algorithmic Capabilities of Random TransformersSource quoteModular Addition │ 100.0% │ 1.3% │ 100.0% │ 97.2% │ 100.0% |
| 4 | Custom Loss (α=1e-4) | 99.5% | 2025-01-01 | N=32 · q=974269 · α=1e-4 · loss=Custom Loss · N=32, q=974269; models use the best settings identified in the data-distribution expe… | Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular ArithmeticSource quote974269 │ 99.5% │ 98.9% │ 91.0% |
| 5 | 1-layer Transformer SOTA frontier | 83% | 2023-09-01 | modulus=113 · condition=semi-grokking · training-data-size=approximately critical dataset size · Semi-grokking condition: training dataset size approximately the critical dataset siz… | Explaining grokking through circuit efficiencySource quote\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%).} |
Metricaccuracy (9)5 fold cv ridge r2 (6)dcsp solution disagreement d (5)median generalisation gap (4)total numerical abs bound (4)apparently irrelevant features incoming edges bu (2)energy in retained components of embedding matri (1)
Splittest (8)
Regimediverse-image (1)
Showing 4 of 4 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | FACT-RFM (geometric averaging) proposed | Test accuracy | 100% | 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 representationsSource quoteL203: 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. |
| 2024 | Random transformer (width 1024; input embeddings and unembedding trained, other parameters fixed) proposed | Test accuracy | 100.0% | Modular Addition · split: test · width=1024 · layers=2 · restarts=10; median · training=input-embeddings-and-unembedding-only | Algorithmic Capabilities of Random TransformersSource quoteL104: Modular Addition │ 100.0% │ 1.3% │ 100.0% │ 97.2% │ 100.0% |
| 2024 | Custom Loss (α=1e-4) proposed | τ=0.5% Accuracy | 99.5% | Modular Addition · split: test · N=32 · q=974269 · α=1e-4 · loss=Custom Loss | Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular ArithmeticSource quoteL558: 974269 │ 99.5% │ 98.9% │ 91.0% |
| 2023 | 1-layer Transformer proposed | test accuracy | 83% | Modular Addition · split: test · modulus=113 · condition=semi-grokking · training-data-size=approximately critical dataset size | Explaining grokking through circuit efficiencySource quoteL21: \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%).} |