potentialpaper

Don’t Learn What You Can Compute: Arithmetic Residual Blocks for Exact Arithmetic in Transformers

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:43 UTC · cbe991f80571 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,21 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "HkTpQ00UDJ"
- }
- ],
- "title": "Don’t Learn What You Can Compute: Arithmetic Residual Blocks for Exact Arithmetic in Transformers",
- "authors": [
- "Eric Gilerson"
- ],
- "abstract": "Language models typically approximate arithmetic through learned weights, even when an exact computation is available. We introduce Arithmetic Residual Blocks (ARBs), which recognize a supported terminal equation, compute its bounded integer result with a frozen residue-number core, and expose that result inside a transformer's forward pass through a small learned residual/output interface. On a frozen SmolLM2-360M model, ARB reaches 99.95\\% exact match on 36,000 supplied 1--3-digit expressions, versus 4.56\\% for the unmodified model. The interface remains near ceiling at rank one (99.89\\% with 305,602 learned parameters, versus 1.86M at rank 32). We next train two equally sized 20M decoders from random initialization on a mixture of ordinary text and equations: the ARB model reaches 97.7\\% supplied-equation accuracy versus 19.0\\% for the learned-arithmetic baseline, with essentially the same held-out ordinary-text NLL. Finally, a five-seed staged experiment shows that keeping arithmetic exact lets a model retain it while acquiring 40,000 unrelated key--value associations. ARB therefore provides a concrete in-forward computation primitive, evidence that it integrates with language-model training, and a controlled first measurement of reduced task interference.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "4106254f-ffe6-4eb6-a209-0b43d986e469"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,11 @@
+{
+ "title": "Don’t Learn What You Can Compute: Arithmetic Residual Blocks for Exact Arithmetic in Transformers",
+ "authors": [
+ "Eric Gilerson"
+ ],
+ "abstract": "Language models typically approximate arithmetic through learned weights, even when an exact computation is available. We introduce Arithmetic Residual Blocks (ARBs), which recognize a supported terminal equation, compute its bounded integer result with a frozen residue-number core, and expose that result inside a transformer's forward pass through a small learned residual/output interface. On a frozen SmolLM2-360M model, ARB reaches 99.95\\% exact match on 36,000 supplied 1--3-digit expressions, versus 4.56\\% for the unmodified model. The interface remains near ceiling at rank one (99.89\\% with 305,602 learned parameters, versus 1.86M at rank 32). We next train two equally sized 20M decoders from random initialization on a mixture of ordinary text and equations: the ARB model reaches 97.7\\% supplied-equation accuracy versus 19.0\\% for the learned-arithmetic baseline, with essentially the same held-out ordinary-text NLL. Finally, a five-seed staged experiment shows that keeping arithmetic exact lets a model retain it while acquiring 40,000 unrelated key--value associations. ARB therefore provides a concrete in-forward computation primitive, evidence that it integrates with language-model training, and a controlled first measurement of reduced task interference.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}