potentialpaper

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

Eric Gilerson

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We add a calculator inside a language model’s Transformer. It gets 99.95% of supplied equations right, reaches 97.7% after mixed training, and helps them retain arithmetic while learning unrelated facts better than models that learn arithmetic alone.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper inserts a frozen residue-number arithmetic module into a Transformer and trains a gated injection pathway and LM-head adapter to emit its results. The initial meta-review questioned learned use of the arithmetic module, exactness and failure handling, and the comparison with tool use and non-arithmetic behavior.

The exactness and failure-handling concern is resolved. The response reports 800/800 targeted modular-division cases and a 1,350/1,350 supported-domain regression. A shared validator accepts only in-range integer addition, non-negative subtraction, multiplication, and exact division by a nonzero denominator. Other cases bypass the arithmetic path and delegate to the frozen base model.

The non-arithmetic behavior and tool-use claims are now limited to the reported measurements. WikiText-103 and SWE-bench Lite produce zero valid triggers, while quoted syntactically valid in-domain equations still activate and unsupported tokenizers require a validated extraction mapping. The current eager active path is slower than the measured calculator relay, and the active-speedup claim is withdrawn.

The frozen-backbone experiment still shows decoding of a supplied answer, not learned invocation or multi-step reasoning. The new capacity-matched joint-training experiment raises supplied-equation arithmetic from 19.0% to 97.7% without a material held-out prose-NLL change. The staged experiment reports faster acquisition of the 40,000 binding task and reduced arithmetic forgetting. These results provide evidence for functional capacity reallocation and reduced task interference in the tested setting, while learned invocation, language reasoning, and larger-scale transfer remain open.

I recommend acceptance as a poster.

Final justification

The justification for this recommendation is provided in the Meta Review above.

Area Chair afZM · Meta-reviewOpenReview ↗
Final justification
The justification for this recommendation is provided in the Meta Review above.
Read meta-review
Meta-review

The paper inserts a frozen residue-number arithmetic module into a Transformer and trains a gated injection pathway and LM-head adapter to emit its results. The initial meta-review questioned learned use of the arithmetic module, exactness and failure handling, and the comparison with tool use and non-arithmetic behavior.

The exactness and failure-handling concern is resolved. The response reports 800/800 targeted modular-division cases and a 1,350/1,350 supported-domain regression. A shared validator accepts only in-range integer addition, non-negative subtraction, multiplication, and exact division by a nonzero denominator. Other cases bypass the arithmetic path and delegate to the frozen base model.

The non-arithmetic behavior and tool-use claims are now limited to the reported measurements. WikiText-103 and SWE-bench Lite produce zero valid triggers, while quoted syntactically valid in-domain equations still activate and unsupported tokenizers require a validated extraction mapping. The current eager active path is slower than the measured calculator relay, and the active-speedup claim is withdrawn.

The frozen-backbone experiment still shows decoding of a supplied answer, not learned invocation or multi-step reasoning. The new capacity-matched joint-training experiment raises supplied-equation arithmetic from 19.0% to 97.7% without a material held-out prose-NLL change. The staged experiment reports faster acquisition of the 40,000 binding task and reduced arithmetic forgetting. These results provide evidence for functional capacity reallocation and reduced task interference in the tested setting, while learned invocation, language reasoning, and larger-scale transfer remain open.

I recommend acceptance as a poster.

Reviewer cxVCOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
concept_feasibility
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work investigated the effectiveness of including an explicit arithmetic computational block based on the paradigm of high-dimensional computing and the residue number system in a Transformer.

Strengths and weaknesses

While some of the results are interesting and promising, I believe that the experimental evaluation of the method falls significantly short of the premise of the paper. In addition, some of the claims are rather vaguely motivated, and certain motivational sentences are entirely wrong. For example, the paper claims that log-precision transformers cannot evaluate iterated addition according to Merrill and Sabharwal, 2023; however, most of the referenced paper builds results which explicitly rely on the transformer being able to execute iterated addition. The loss bound argument in A.2. is rather confusing and is more of a hypothesis than an actual argument. Tool use is framed negatively in part due to CUDA stalls, but the effect on the runtime of the proposed method is never investigated, and it would seemingly incur a runtime overhead at least due to the arithmetic expression detection logic. Finally, the experimental evaluation is not entirely clear to me; I have tested the performance of SmolLM2-360m-instruct on multi-digit arithmetic and have rather easily obtained results which are significantly better than the reported baselines. Additionally, I believe that the framing of the paper as proposing an entirely new paradigm is too strong; there exist numerous tensor-based neurosymbolic methods which are not entirely unrelated to the proposed method.

Questions
  • What kind of a runtime overhead does your method incur compared to e.g. tool use?
  • What is the exact experimental setup used to obtain the baseline LLM performance? As stated, I could rather quickly obtain significantly higher results, although they were still not universally strong as were those of the proposed RNS-based method.
  • Is this method fully compatible with more general pertaining? Perhaps a run on a small dataset would yield an interesting comparison point.
Limitations

yes

Final justification

The authors have added interesting new results during the discussion period, but it remains evident that the proposed mechanism adds significant overhead over more standard tool use with less of a correctness guarantee. Additionally, certain arguments made in the appendix are entirely too loose and informal, and have not been addressed in the rebuttal even though I have raised it as an issue in my initial review. While I appreciate the additional results and the discussion, I cannot justify a score above a borderline reject. In more detail:

The positives:

  • The new 20M pretraining results are genuinely interesting, even if it is a very small model trained on a specialised dataset.
  • The authors have taken critique well and have significantly improved the transparency and correctness of the paper.

The negatives:

  • The rebuttals exhibit clear signs of significant Claude usage. While this is of course totally acceptable in itself, it unfortunately makes me somewhat untrustworthy of the finally reported results; I would have preferred to talk to the authors during the discussion. The writing style of the rebuttals is significantly different from that of the paper, one response in the discussion was entirely irrelevant to my review (even though it might have been attached for visibility for the AC, this was not explicitly mentioned to me in the first response, making me somewhat doubtful of the visibility claim). Additionally, I find the "staged matched-capacity diagnostic" to be quite a convoluted benchmark and while I do now understand how it works (but only after prompting the authors to describe it explicitly), I cannot fully grasp the under-explained motivation of this particular experimental setup.
  • The final response seems to again try to justify ARB as a valid alternative to tool use by referring to future optimisation possibilities. I would prefer it if the authors remained fully transparent on the overhead that their mechanism generates, rather than leading discussions about possible but non-existent improvements; I am certain that tool use can be optimised too.
  • The experimental evaluation remains insufficient; while the 20M results are interesting, this is a very small model by any standards, and more results would be needed to ensure that the claimed benefits actually consistently hold.
Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you. We agree that the original theoretical sentence, runtime rhetoric, baseline description, and novelty framing were insufficiently precise.

Beyond those requested corrections, the strongest post-review result is the controlled pre-training evidence. Joint training raises direct arithmetic from 19.0% for the capacity-matched baseline to 97.7% for ARB without a material held-out prose-NLL change. A separate matched-capacity staged test then shows faster unrelated binding acquisition and reduced arithmetic forgetting with ARB. Together these support functional capacity reallocation and reduced task interference in the tested setting—not yet language-reasoning transfer or learned invocation.

Baseline protocol and the Instruct checkpoint

The submitted comparison uses the foundation checkpoint HuggingFaceTB/SmolLM2-360M, not the separately instruction-tuned model. We reran the documented direct protocol for both the exported ARB and raw foundation model: deterministic 1--3-digit cells, 9,000 cases per operation, greedy decoding, batch size 64, a 15-token cap, and the first signed integer in the completion as the parsed answer. Concretely, an evaluation item supplies only 35+23= as the prompt; a correct continuation has the first parsed integer 58. There is no natural-language instruction, system message, or chat template in the submitted benchmark. ARB is 35,983/36,000 (99.9528%); raw foundation is 1,642/36,000 (4.5611%). Raw-foundation operation totals are 637/9,000 addition, 52/9,000 subtraction, 799/9,000 multiplication, and 154/9,000 exact division.

Under that same non-chat direct string, SmolLM2-360M-Instruct is 6.4694% overall. We do not treat this as contradicting your observation: an Instruct checkpoint is trained for a chat-template/instruction interface, so prompt format is part of the experiment. Our completed chat-template run produced materially different behavior from the same checkpoint's direct-string run, confirming that the two prompt protocols must be reported separately rather than treating either as a universal baseline. The submitted 4.6% number is specifically the raw foundation/direct-format condition.

After the review, we separately tested prompt sensitivity by changing the same item to Compute this arithmetic expression. Return only the integer answer: 35+23=. This follow-up instruction-prefix diagnostic yields 47.0417% ARB versus 55.9444% raw foundation, compared with 99.9528%/4.5611% in the original canonical direct condition. It is not the protocol from which the submitted numbers were obtained. Because the frozen checkpoint was trained only on the explicit direct interface and never saw this prefix, the comparison reveals expected training-format dependence rather than an inherent architectural inability to process contextually supplied equations. In the separate joint-training experiment, where varied prefixes are included during training, ARB reaches 98.0% seen and 99.0% held-out-template accuracy, versus 39.0% seen and 37.0% held-out for the capacity-matched baseline. The proper limitation is that the frozen result does not generalize automatically beyond its trained prompt format; contextual compatibility itself is learnable. None of these supplied-equation tests establishes natural-language invocation or spontaneous equation writing.

Measured runtime and tool comparison

On an A100-SXM4-40GB with batch 1, greedy eight-token decoding, 20 warm-ups, and 30 alternating paired repetitions, no-trigger ARB-minus-base latency is +2.81%, +1.97%, and +2.04% for 8, 32, and 128 prompt tokens. Detection and routing are included on every generation forward call; this is small but not zero overhead.

On 750 paired direct equations, raw base takes 347.359 ms and active ARB 416.091 ms: +68.732 ms (+19.8%). A deliberately favorable token-matched in-process CPU calculator relay takes 348.774 ms. It receives an already present equation and excludes tool syntax generation, schema validation, RPC, retries, and workflow orchestration; it is a lower-bound relay, not an agent benchmark. Nevertheless, it is faster than the current ARB path, so we withdraw an active-speedup claim for the current prototype. The +19.8% should not be read as an architectural lower bound: detector-only latency is 1.16--1.43 ms median, and an internal component ablation attributes 1.77 ms to adding the LM-head LoRA. Most of the observed increment lies in the current eager active composition—multiple kernel launches and intermediate tensors, injection hooks, and a custom generation path. A fused or compiled integration is therefore a specific optimization target. We retain this as a plausible advantage of the architecture, but do not report its unmeasured optimized latency as a result.

Non-arithmetic behavior and activation containment

We agree that frozen base weights alone do not establish unchanged behavior. With the shared syntax/domain gate, 256 WikiText-103 test documents (21,239 scored tokens) produce zero valid triggers and exactly identical base/ARB PPL of 21.96115. On 100 SWE-bench Lite patches, 115 = candidates produce zero valid triggers, affected tokens, or NLL difference. These measurements support low accidental activation on the tested ordinary-text and code distributions, not universal invariance. A curated probe identifies the remaining boundary: quoted syntactically valid in-domain equations such as 2+2=5 still trigger and alter likelihood. Unsupported tokenizers also require a validated digit/operator extraction mapping. We will narrow the paper's behavioral claim to these measured conditions and report the quotation/tokenizer limitations.

Central pre-training evidence

We trained capacity-matched approximately-20M-parameter models from scratch with full next-token loss on 75% prose / 15% direct equations / 10% text-prefixed supplied equations. Across three seeds, ARB reaches 97.7% direct arithmetic accuracy versus 19.0% for the capacity-matched baseline. On contextual templates, ARB reaches 98.0% seen and 99.0% held-out accuracy, versus 39.0% seen and 37.0% held-out for the baseline. Held-out prose NLL is essentially unchanged: 3.13381 ARB versus 3.13463 baseline, paired difference -0.00082 (sample SD 0.00407). Thus joint training produces a large supplied-equation arithmetic improvement in direct and varied-prefix formats without materially degrading held-out prose NLL. It does not establish improved prose, emergent equation writing, or learned invocation.

A narrower staged matched-capacity diagnostic tests arithmetic/fact competition directly. Its 436,882-parameter ARB is slightly smaller than the 437,166-parameter baseline. After 8k arithmetic-only steps, both receive 30k identical mixed updates, each containing 384 arbitrary key-to-one-token-value bindings and 128 arithmetic rehearsals. This tests recall of the 40,000 trained bindings, not unseen-fact generalization. Across five fixed-data initialization seeds, final fact top-1—the percentage of keys for which the assigned value is the highest-probability token—is 60.2155% ARB versus 58.2940% baseline (paired mean advantage +1.9215 points, sample SD of paired differences 4.0864; four of five positive). Mean fact NLL, where lower means more probability on the correct value, is 1.92409 versus 2.01904. ARB leads on the fixed learning-curve subset in all five seeds through 20k mixed steps. Meanwhile, exact-match arithmetic on a disjoint 4,000-expression test falls from 66.615% after arithmetic pretraining to 63.290% for baseline, but remains essentially 100% for ARB.

These two pre-training experiments are complementary. The first shows a large arithmetic gain without measurable degradation on the otherwise trained prose distribution; the second directly isolates capacity competition and shows faster unrelated acquisition plus less forgetting under a slightly smaller learned budget. We therefore present controlled evidence for functional capacity reallocation and reduced task interference in this setting. We do not claim a demonstrated language, reasoning, invocation, or unseen-fact gain; the larger-scale pretraining/RL transfer remains the next unrun test.

Theory and novelty framing

You are correct about TC0: iterated addition and multiplication are not ruled out by the cited upper bound. We will replace that statement with the narrower learnability/generalization motivation. We will also moderate “new paradigm,” expand the relationship to tensor-based neurosymbolic methods, and identify the specific contribution as a frozen exact arithmetic computation exposed through an in-forward residual interface. ARB is complementary to tools, especially for narrow supported computation; it is not a replacement for interpreters, information retrieval, or open-ended external operations.

These changes retain the architectural idea while conceding where the original paper extended beyond its evidence.

Reviewer cxVC · CommentOpenReview ↗

I would like to thank the authors for their detailed rebuttal, which significantly clarifies their contribution and results. I have further comments and additional clarifying questions to the newly provided results; given my delayed response and the short time left in the discussion phase, however, I will not insist on a response before deciding on my final score. Especially, I will not insist on further experimentation requiring training runs, even though I do ask questions which would require such experimentation; I only ask them in case the authors have in the meantime obtained the results without my prompting.

Baseline protocol and the Instruct checkpoint.

Thank you for the clarification of the experimental setup, as well as the additional results. I believe that the original setup of a non-instruction-tuned model is the correct one to test your method in. This is a paper about fundamental computational units inside a neural network, not on prompt design, but it is significantly more informative now that it also considers instruction-tuned models.

Clearly, there is an issue to be addressed; the instruction-tuned base model performs better than the same model with ARB units included. However, this is something best left to future work, and I believe that there is great value in the authors being transparent about this discrepancy.

Measured runtime and tool comparison.

This is a rather unfortunate result for the paper; it renders some of the main motivating sentences entirely incorrect. I believe that such neuro-vector-symbolic methods are interesting in themselves, i.e. there is value in developing and understanding them further even if they are currently not competitive with more explicit tools. However, as mentioned, competitiveness with tools forms some of the main motivation behind this work, and it seems to now be confirmed that tools are superior in latency (and I would assume they are also superior in accuracy). I have two questions in this response.

  • What is meant by "no-trigger ARB minus base latency"?
  • What is the accuracy achieved by tool use? I am assuming it is consistently perfect.

Non-arithmetic behavior and activation containment.

I am confused as to what point in my review this answer is addressing. Could the authors clarify what exactly is being addressed in this response, and how?

Central pre-training evidence.

I agree that these are the most interesting new results. It is unfortunate that it is currently constrained to such small models, but I fully appreciate its value as an initial prototype. I have some clarifying questions in this domain.

  • What dataset is exactly used here?
  • How large is the dataset?
  • What is the setup used in the second part of the response, "A narrower staged matched-capacity diagnostic.."? In particular, what are the "384 arbitrary key-to-one-token-value bindings" and "128 arithmetic rehearsals"?
  • Did you happen to train larger models in this setup?

Theory and novelty framing.

I appreciate the authors acknowledging my original concerns.

Authors · CommentOpenReview ↗

Thank you for the thoughtful response and questions. We first want to clarify the interpretation of the instruction-prefix result.

Baseline and instruction-prefix result. The 55.9444% result is from the raw SmolLM2-360M foundation checkpoint, not the instruction-tuned checkpoint: “instruction-prefix” described the prompt, not the model. The 47.0417% ARB uses the same frozen foundation model, but its interface/LoRA was trained only on bare expressions such as 35+23=. Its lower score therefore reflects specialization to that bare training format, not an inability to operate after text. The separate joint pretraining experiment used both bare equations and eight instruction-prefixed formats. ARB reached 97.7% direct, 98.0% seen-prefix, and 99.0% held-out-prefix accuracy, versus 19.0%, 39.0%, and 37.0% for the capacity-matched baseline. This demonstrates near-ceiling arithmetic accuracy in both formats; we therefore interpret the frozen checkpoint's drop as a direct-only interface-training limitation and will report both results.

Runtime and tool accuracy. “No-trigger ARB minus base latency” compares ARB with raw base on inputs having no supported terminal equation. Detection/routing still run on each generation forward call, but arithmetic and the ARB injection/LoRA path are bypassed. Overhead was +2.81%, +1.97%, and +2.04% for prompt lengths 8, 32, and 128.

For active equations, eager-PyTorch ARB takes 416.091 ms versus 347.359 ms raw base (+19.8%) and 348.774 ms for the token-matched in-process relay (+19.3% ARB over relay). Thus, the current eager prototype does not beat this favorable lower bound. However, it is not an end-to-end tool workflow: it starts with an available equation and omits tool-call generation/parsing, validation, process/network boundaries, message reconstruction, additional prefill, and result interpretation. These costs can matter in deployment, but we did not measure them and do not claim an unmeasured speedup. The component breakdown below puts this result in context by comparing the measured component costs with the current end-to-end integration.

Calculator-core accuracy is 750/750; ARB is 35,983/36,000. The calculator was handed a valid expression, so 750/750 measures only arithmetic execution; model invocation and result use were not tested.

This overhead is specific to our unfused implementation. Detector-only latency is 1.16–1.43 ms (0.33–0.41% of the 347.359 ms base mean). A same-stack, device-resident diagnostic of detection, extraction, RNS/CRT computation, and result selection takes approximately 20.5 ms (5.9%); it excludes transformer execution, injection, LoRA, tokenization, and transfer, but still includes eager dispatch within the core. Separately, LM-head LoRA adds 1.77 ms (0.86% of its diagnostic's base), while the full active path adds 20.1%. These non-additive measurements indicate that much of the gap arises in the current unfused integration—kernel launches/intermediates, injection hooks, and custom generation—rather than any measured component alone. Fused/compiled performance remains future work.

Non-arithmetic containment. This addressed the AC's grouping of tools and non-arithmetic behavior and another reviewer's tests, not a concern unique to your review. We included it for visibility; apologies for the ambiguity.

Pretraining dataset and scale. The randomly initialized approximately 20.1M-parameter models use 200,000 fixed 129-token sequences (25.8M unique tokens; 103.2M presentations) and 5,000 held-out sequences: 150,000 (75%) unique streamed FineWeb-Edu sample-10BT prose blocks, 30,000 (15%) direct-equation blocks, and 20,000 (10%) supplied-equation blocks with eight prefixes. Arithmetic covers addition, nonnegative subtraction, multiplication, and exact division. Evaluation uses three held-out prefixes. Each variant received 25,000 batch-32 updates across three matched seeds.

Staged diagnostic. This compares a 436,882-parameter ARB with a larger 437,166-parameter baseline over 40,000 opaque associations, e.g.: <factkeyaaaaa><factkeyaaaab><factmap> -> <factvalueaaaac>. Each bracketed item is an atomic, semantically empty token. We sample 40,000 pairs from 512 key tokens and distribute them across 512 values. The prompt is two keys plus <factmap>; loss/top-1 scores only the answer. This tests trained-association recall, not unseen-fact generalization.

Both models receive 8,000 arithmetic-only updates. After resetting AdamW, both receive 30,000 identical mixed updates. Each mixed batch of 512 contains 384 samples from the 40,000 bindings and 128 arithmetic rehearsals from a fixed 25,000-expression pool covering all four operations. Evaluation uses all 40,000 bindings and 4,000 disjoint expressions. Across five seeds, everything but initialization is fixed.

We did not train larger models under this protocol; the approximately 20M full-LM experiment is complementary, not a scaled replication.

Reviewer UmmTOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
concept_feasibility
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes ARB - a small frozen module that can be integrated into a transformer that exactly computes arithmetic operations. This module reads operations written in the token stream via a deterministic, parameter-free extraction step and outputs a representation of the numerical answer. The authors integrate ARB into a frozen transformer model (SmolLM2-360M) gated by a learned logit, and feed its output into a LoRA adapter on the frozen LM head so that the augmented model can emit the answer digits. Training and evaluation use a synthetic dataset of expressions like “124+33=157”, with the loss computed only on the answer tokens. They report that the accuracy goes up from around 4.6% for the unmodified LLM to almost 100% for the augmented model. The authors propose a general design principle of integrating deterministic functions as frozen modules, and predict that pre-training with these modules would produce emergent equation-writing, and improve the model’s performance on non-arithmetic benchmarks as it can dedicate more of its parameters to non-arithmetic purposes.

Strengths and weaknesses

The work proposes an interesting paradigm and framework for integrating exact computations modules into LLMs. It is written very clearly, and proposes some interesting and thought provoking predictions about what would happen if models are pre-trained with these modules. I also really enjoyed their elegant implementation of the addition and subtraction modules using circle encoded prime residuals.

However, I ultimately found their actual construction and experiments lacking. I think more work is needed to show the proposed approach delivers on its central promise. Specifically:

  1. While the ARB circuit is structurally integrated into the transformer, it functionally carries all the weight, so the resulting construct is essentially equivalent to the ARB circuit by itself (plus the LoRA for token output), and the LoRA learns to completely ignore the transformer part (as also confirmed by the gate sweep in table 4 - with the ARB silenced but the LoRA active, accuracy falls to 0.0%, below the unmodified base model’s 4.8%). As the ARB is constructed to exactly compute the arithmetic operations, and the evaluation is done only on the answer tokens, it is not surprising that this construction achieves very close to 100% accuracy. The way the model is trained and evaluated, the “language modeling” part of the transformer weights are never actually put into use.
  2. The claim that the transformer will learn to use the ARB output internally and therefore repurpose its weights towards non-arithmetic computations is interesting, but its feasibility is not validated in any way. The single experiment offered is uninformative about the vision because it’s true by construction, and the LLM weights are completely frozen.

So ultimately the main weakness of the paper is that, for a concept & feasibility paper, I believe it does not sufficiently validate the feasibility of its proposed method. Some more minor issues with the paper:

  1. The ARB is also injected at layer 20, but since the subsequent frozen layers were never trained to decode its output, it seems unlikely to contribute meaningfully, and whatever survives is in any case swamped by the second injection after the final layer. I could not find an ablation isolating the layer 20 injection contribution, which would be worth including.
  2. For the specific work done in the paper, I believe the 1.6M parameter LoRA may be substantially more expressive than necessary. It would be interesting to explore simpler decoding architectures, since the decoder's role is primarily to map the ARB output to the appropriate answer digits, rather than modeling the full ~50k-token vocabulary.
  3. In section 3.2, “1% of the model’s hidden dimension” is a bit vague at this point since the model was not mentioned up to this part.
  4. Section name for 3.3, “Arithmetic as Geometric Operations” - this title probably only applies to addition/subtraction, as multiplication is not framed as a geometric operation.
  5. The introduction part has a slight typo/garbled text: “These operations are continuous, approximate, and statistical. Arithmetic is These operations are continuous, approximate, and statistical, whereas arithmetic is discrete…”
Questions
  1. The main types of experiments that could tip the scale for me would be any experiment that would support the feasibility of ARB improving performance of the models, e.g. - pre-training the LLM together with the circuit (or at least fine tuning some part of it), showing that the model learns to use the internal output of the result, showing that the model learns to output equations to invoke the ARB module or that it allows the model to get better results for non-arithmetic tasks (e.g. perplexity comparison on non-arithmetic text between equal size ARB and non-ARB models), or show that it gets better at solving downstream arithmetic tasks that do need the LLM as well (e.g. tasks from ARC or MATH).
  2. For the current experiment done, I think it would be interesting to see an ablation for the ARB added at layer 20. Do we need the ARB integrated at both places or is integrating it after the last layer sufficient?
  3. Can you justify the need for a 1.6M parameter LoRA , or perhaps explore much smaller constructions?
Limitations

Yes.

Final justification

Resolved issues (high weight):

  • Feasibility: The new ~20M parameter joint-training experiments provided concrete evidence that offloading math to the ARB can reduce task interference and free up capacity for acquiring unrelated bindings, successfully addressing my main concern regarding the frozen-model setup.
  • Architecture Efficiency: The new ablation studies proved that a significantly reduced LoRA adapter (Rank 8) can cleanly decode exact arithmetic.

Unresolved issues (moderate weight):

  • Comparison with tool-use: As discussed with the other reviewers, the authors' new benchmarks reveal that the active ARB prototype is currently slower (~20% higher latency) than a standard external calculator relay, undermining one of the primary motivations for an in-forward-pass computation module.
  • Emergent Capabilities: The paper's more ambitious predictions—namely that an LLM will learn to spontaneously write equations to invoke the ARB, or that this will improve downstream performance on non-mathematical language tasks—remain unproven hypotheses.
  • Generalization: The system still relies on strict, explicitly provided equation syntax (A op B =), leaving its ability to autonomously solve natural language word problems untested.
Formatting concerns

No concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you. We agree with your central diagnosis: in the submitted frozen model, the deterministic circuit supplies the arithmetic answer and the learned path decodes it. The experiment does not show that the language-model backbone learns invocation, uses the result for multi-step reasoning, or reallocates its frozen parameters. We now lead with this bounded interface-feasibility claim rather than treating the broader pre-training predictions as demonstrated.

The post-review pre-training results now provide the central evidence that was absent from the submission. Joint training produces a large arithmetic gain without materially degrading held-out prose, and a separate staged, parameter-matched experiment shows faster unrelated binding acquisition plus less arithmetic forgetting for ARB. This supports functional capacity reallocation and reduced interference in the controlled setting, while leaving reasoning-scale transfer and learned invocation explicitly open.

Main result: joint training and functional capacity reallocation

We ran two complementary post-review tests. First, we trained capacity-matched approximately-20M-parameter baseline and ARB decoders from scratch with full next-token loss on an exact 75% prose / 15% direct-equation / 10% text-prefixed supplied-equation mixture. Across three 25k-step seeds, ARB achieves 97.7% direct arithmetic accuracy versus 19.0% for the capacity-matched baseline. On contextual templates, ARB reaches 98.0% seen and 99.0% held-out accuracy, versus 39.0% seen and 37.0% held-out for the baseline. Held-out prose NLL is essentially unchanged: 3.13381 ARB versus 3.13463 baseline; paired ARB-minus-baseline difference -0.00082 (sample SD 0.00407). This validates that joint training can produce a large supplied-equation arithmetic gain in both direct and varied-prefix formats without materially degrading held-out prose NLL. It does not establish improved prose, spontaneous equation writing, or learned invocation.

Second, to isolate competition from language acquisition, we used a target-masked staged diagnostic. A 436,882-parameter ARB and deliberately larger 437,166-parameter baseline first train on all four operations, reset the optimizer, and then learn the same 40,000 opaque associations while rehearsing arithmetic. Each fact is an arbitrary key-to-one-token-value binding, so the metric is trained-binding recall, not unseen-fact generalization. Target-masking scores only the value token and arithmetic answer digits, removing general language generation from this probe. Across five initializations, all other variation is fixed. After 8k arithmetic-only steps, each of 30k "mixed" updates contains 384 fact examples and 128 arithmetic rehearsals. Final fact top-1—the fraction of all 40,000 keys whose highest-probability next token is the assigned value—is 60.2155% ARB versus 58.2940% baseline: paired mean advantage +1.9215 percentage points (sample SD of paired differences 4.0864), positive in four seeds. Mean fact NLL, or negative log-probability on the correct value (lower is better), improves from 2.01904 to 1.92409. On a common 4,096-binding learning-curve subset, ARB leads in all five seeds at 5k, 10k, 15k, and 20k mixed updates: +3.44, +7.46, +5.90, and +4.18 points, before partial catch-up. On a disjoint 4,000-expression exact-match test, baseline arithmetic falls from 66.615% after Phase A to 63.290% after mixed training despite rehearsal; ARB goes from 99.945% to 100.000%, perfect in every final seed. The trajectories show faster unrelated binding acquisition and reduced arithmetic forgetting under a slightly smaller learned budget. The fifth seed is also informative against a weak-baseline explanation: it has the strongest fact-only reference (73.0075%) and mixed baseline (61.2750%), yet ARB remains higher at 61.6950%, has lower fact NLL, and leads at every recorded checkpoint. We call this evidence for functional capacity reallocation, while not claiming a literal count or localization of freed parameters.

Taken together, the two experiments move the central hypothesis beyond the submitted decoder-feasibility result. The approximately-20M experiment shows that ARB's arithmetic improvement is compatible with unchanged measured prose performance; the staged experiment then isolates competition and shows faster unrelated learning plus reduced forgetting. They do not turn opaque recall into a reasoning result, but they make the next claim concrete and testable: a larger autoregressive or RL study should ask whether removing approximate arithmetic burden likewise improves reasoning acquisition while invocation is learned.

Layer-20 contribution

We agree this was missing. In the existing checkpoint, both injection layers give 36/36, layer 20 alone 19/36, the final layer alone 1/36, and neither 0/36. That inference-time result shows co-adaptation, not architectural necessity. We therefore freshly trained a final-layer-only rank-32 model on the matched protocol. It reaches 35,928/36,000 (99.8000%): subtraction and division are perfect, and it is 99.9657% on all cases except 3-by-3 multiplication. That single hardest cell is 94.0% and contains 60 of the model's 72 total errors (83.3%). Thus a final-only interface is sufficient for nearly all tested cases, while the middle injection provides a meaningful "last-mile" benefit on the hardest multiplication regime. We scope that conclusion to this architecture and digit range.

LM-head LoRA size

We agree that disabling LoRA in the existing checkpoint establishes dependency, not the required rank. We therefore trained ranks 16 and 8 with the same two injection layers and 36,000-case suite. Submitted rank 32 scores 35,983 (99.9528%); rank 16 scores 35,978 (99.9389%); and rank 8 scores 35,981 (99.9472%). Rank 8 is only two correct cases, or 0.0056 percentage points, below rank 32 while reducing output-head LoRA parameters by 75%, from 1,603,584 to 400,896, and the complete learned interface by 64.7%, from 1,859,074 to 656,386 parameters. The few-case non-monotonic differences among single runs should not be treated as a quality ordering. The robust conclusion is that rank 32 and rank 16 are not required for near-ceiling decoding. In a revision, we would use rank 8 as the parameter-efficient reported configuration. Rank 8 is the lowest completed point before the initial-response deadline, not a claimed minimum. We are continuing the controlled sweep below rank 8 and will report the empirical boundary during the discussion phase; the present conclusion does not depend on that unfinished sweep.

Invocation and downstream reasoning

The frozen checkpoint was trained only on bare A op B = expressions. Adding a fixed text prefix is therefore an out-of-training-distribution diagnostic: accuracy changes from 99.9528% direct to 47.0417%, versus 55.9444% for the raw foundation model under that prefix. This shows prompt-format dependence of the frozen training protocol, not an inherent inability of the architecture to handle contextual supplied equations. Indeed, the separately jointly trained toy ARB, which includes varied prefixes during training, reaches 98.0% seen and 99.0% held-out-template accuracy, versus 39.0% seen and 37.0% held-out for the capacity-matched baseline. Thus contextual compatibility is learnable, while the original frozen checkpoint's generality remains limited to its trained interface. Because the equation is supplied in both experiments, we still do not claim emergent equation writing, ARC/MATH improvement, or internal multi-step use.

We will also clarify “1% of hidden dimension,” rename the geometric-operations subsection to distinguish lookup-based multiplication/division, and correct the introduction typo. Thank you for pushing us to separate an interesting mechanism from the stronger evidence its broader vision still requires.

Reviewer UmmT · CommentOpenReview ↗

Thank you so much for the detailed response to my concerns. I'm especially very happy with the new experiments, and I think they will make the paper much better at demonstrating the potential of this method, which was my main concern.

However, I also share the concern raised by the other reviewers regarding the actual advantage of this method over standard tool use, especially given the new latency benchmarks showing the current ARB implementation is actually slower than a calculator relay.

Assuming the new experiments and claim adjustments are properly integrated into the final revision as promised, I have raised my score to a Borderline Accept.

Authors · CommentOpenReview ↗

Thank you for the careful reconsideration and for raising your score. We will integrate the new experiments and narrow the claims as promised. We agree that the current eager implementation does not yet beat the minimal relay. The component breakdown puts this result in context: the approximately 20% end-to-end difference is not the arithmetic module alone; much of it comes from how the current prototype integrates the module into generation.

Ordinary no-trigger overhead is +1.97% to +2.81% relative to the raw base, and detector-only latency is 0.33% to 0.41% of the base-generation mean. A same-stack, device-resident diagnostic covering detection, extraction, RNS/CRT computation, and result selection takes approximately 20.5 ms, or 5.9% of the 347.359 ms base mean. It excludes injection and LoRA, but still includes eager dispatch inside the core. In a separate decomposition, LM-head LoRA costs 1.77 ms (0.86% of that diagnostic's base). These non-additive measurements show that the approximately 20% end-to-end increase is not detector, arithmetic-core, or output-projection time alone. Much of the gap arises in the current unfused integration—separate kernel launches/intermediates, injection hooks, and custom generation—providing a concrete optimization target. Fused/compiled performance remains untested future work.

We will also make clear that the measured CPU relay is an intentionally favorable lower bound, not an end-to-end tool workflow. It begins with an already available equation and therefore omits tool-call generation and parsing, validation, process or network boundaries, message reconstruction, additional prefill, and result interpretation. Those costs can matter in deployed tool systems, but we did not measure such a system and will not claim an unmeasured speedup. The revision will distinguish the current prototype result from the still-open architectural motivation.

Reviewer x9VLOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
concept_feasibility
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes Arithmetic Residual Blocks (ARBs), frozen differentiable modules inserted into a transformer's forward pass that compute exact integer arithmetic. Operands are parsed deterministically from the token stream when an explicit equation pattern (A op B =) appears, encoded into a Residue Number System over six coprime prime moduli, mapped onto unit circles where modular addition becomes complex multiplication, computed exactly (with small frozen lookup tables for multiplication and modular inverses for division), reconstructed via the Chinese Remainder Theorem, and injected back into the hidden state through a learned gated MLP. The base model (SmolLM2-360M) is entirely frozen; only two injection modules and a LoRA adapter on the LM head are trained, totaling 1.7M parameters (0.47%), with standard cross-entropy on answer tokens. On 36,000 synthetic evaluation examples spanning four operations with operands up to 3 digits, accuracy rises from 4.6% (base) to 99.95%. A gate-sweep ablation shows accuracy collapses when the injection signal is attenuated, indicating exclusive reliance on the module, and disabling both trained components exactly recovers base-model behavior. The authors frame this as an instance of a general principle ("Don't Learn What You Can Compute") and argue, in the appendices, that pre-training with ARBs from initialization would yield ceiling performance, emergent equation-writing, and parameter reallocation benefits.

Strengths and weaknesses

Strengths

  • The core idea is well motivated and cleanly positioned. Unlike tool use, the computation happens inside the forward pass as native tensor operations with gradient flow, requiring no orchestration layer and no interruption of autoregressive generation. This is a genuine architectural distinction from Toolformer-style approaches, and the paper is clear that its contribution is a proof that the interface works rather than a catalog of modules.
  • The technical construction is elegant. The RNS decomposition eliminates carry chains, the circle encoding absorbs the non-smooth mod operation into periodicity while remaining exact within float precision (the separation-to-noise analysis in Section 2.2 is convincing), and division is handled via modular inverses. Notably, the construction mirrors the classical circuit-complexity technique used to place multiplication in TC0, effectively hardwiring a circuit from the theory literature rather than hoping SGD discovers it. The paper would benefit from making this connection explicit.
  • The experimental evidence for the routing claim is strong for what it covers. The gate-sweep ablation is the standout result. Accuracy falls from 99.96% to 25% at 75% gate strength and to 0% at zero gate, below the base model's 4.8%, demonstrating that the trained parameters are a specialized decoder of the injected signal rather than a general enhancement. The decomposability check (recovering exact base accuracy with both components disabled) confirms clean additivity. The logit analysis showing errors are positional rather than correlated with base-model confidence supports the representation-mismatch interpretation. Training is cheap and easily reproducible.
  • Interpretability and containment are designed in. Every computation is visible as an explicit equation in the output, and the activation masking confines the module's influence to answer positions.

Weaknesses

  • The headline theoretical motivation misstates the cited result. The paper claims log-precision transformers "provably cannot solve even iterated addition" citing Merrill and Sabharwal (2023). That work establishes an upper bound (transformers ⊆ uniform TC0), and iterated addition, multiplication, and even integer division are known to be inside TC0. An upper bound of TC0 cannot rule out problems within TC0. The correct and still adequate motivation is empirical, namely that the exact TC0 circuits for arithmetic exist but gradient descent does not find them, that a fixed-precision fixed-weight model cannot length-generalize indefinitely, and that models instead learn costly approximations. This should be corrected, as it currently overstates the impossibility of the alternative the paper argues against.
  • The generality claim (Section 6.2) is oversold. The recipe requires a function that is bounded and total, syntactically triggerable from the token stream, and, critically, admits an encoding under which it becomes a smooth tensor operation. The lookup-table component is universal only because RNS shrinks the domain per lane to at most 23 values; the decomposition into small independent subproblems is a piece of arithmetic-specific algebraic structure. Each new target function would require its own encoding discovery, which may not exist, while the competing approach (a code interpreter) covers all computable functions with one tool. The claim that the pattern extends to "any bounded deterministic function" should be qualified accordingly.
  • Division has unaddressed failure modes. (a) The modular inverse is undefined when the divisor is congruent to 0 modulo any modulus, so ordinary exact divisions such as 84 ÷ 7 (or any divisor that is a multiple of 7, 11, 13, 17, 19, or 23) break the corresponding lane. The paper's statement that inverses are well-defined "for b ≢ 0" elides this, yet reported division accuracy is 99.99%, which requires explanation. (b) Non-exact division produces silently incorrect integers rather than a detectable failure, since RNS cannot represent remainders. (c) Handling of negative subtraction results is never discussed, though subtraction accounts for 9 of the 17 total errors.
  • The most consequential claims are untested hypotheses. Ceiling performance under pre-training, emergent equation-writing, and non-arithmetic gains from parameter reallocation are argued (Appendices A and B) but not evaluated, and the human/frontier-model existence proof (excellent externalized arithmetic with zero co-evolution between brain and calculator) is not engaged. The fine-tuning result demonstrates a mechanism; whether co-evolution buys anything remains open, and the paper's framing should more clearly separate demonstrated results from conjecture.
  • The "catastrophic forgetting is structurally impossible" claim conflates unchanged weights with unchanged behavior. The activation condition is syntactic pattern matching on operator-digit-equals sequences, which occur pervasively in code, tables, dates, and quoted text. No perplexity or benchmark comparison on general text or code is reported, no false-activation analysis is provided, and the system's behavior when a context legitimately requires writing an incorrect equation (grading, fiction, discussing common errors) is not examined. There is also a dependency risk the paper does not discuss. The gate sweep shows the system is all-or-nothing, and a pre-trained variant would presumably entangle the model's basic numeracy with the module's range ceiling and trigger format at the architecture level.
  • Evaluation scope is narrow. One base model, one training run, no error bars (acknowledged in the checklist), reliance on per-digit tokenization that many larger models lack, and train and test drawn from the same synthetic A op B = C format, so invocation from natural-language contexts is never tested. The comparison against tool use is asserted (latency, CUDA stream stalls) rather than measured.
Questions
  • How does the system handle exact divisions whose divisor is a multiple of one of the six moduli (e.g., 84 ÷ 7)? Were such cases present in the evaluation set, and if so, what is accuracy on that slice?
  • How are negative subtraction results encoded, generated, and scored? Is the concentration of errors in subtraction related to this?
  • Can you report perplexity or benchmark deltas on general text and code with the ARB and LoRA active, and a false-activation rate on a code corpus, to substantiate the no-forgetting claim behaviorally?
  • What happens when a result exceeds P ≈ 3.2M or a division is inexact? Is there any mechanism for the system to signal "cannot compute" rather than silently injecting a wrong value?
  • Will you correct the characterization of Merrill and Sabharwal (2023), given that iterated addition and multiplication are in TC0?
  • Does the LoRA head override contexts where an incorrect equation is intended (e.g., reproducing a student's erroneous work)?
  • How does the approach transfer to tokenizers without per-digit number tokenization?
Limitations

The paper's Section 6.4 honestly discusses several limitations (explicit-equation requirement, single-step operations, range ceiling, fine-tuning's inability to reallocate parameters). However, it omits the division-by-modulus-multiple failure mode, the silent-error behavior on out-of-range or inexact inputs, the absence of any behavioral evaluation outside arithmetic, and the dependency/entanglement risk that its own gate-sweep ablation implies.

Final justification

I am surprised to learn that authors are very honest and candid about all their limitations and have worked on experiments that address those limitations, and I'll raise my score accordingly. Considering that the category here is "Concept and Feasibility", I'll raise the score to 5.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the unusually careful mathematical and behavioral review. We agree with the main corrections and have narrowed our claim accordingly. The submitted frozen-backbone result demonstrates a learned decoder/interface for an explicitly supported arithmetic expression; it does not demonstrate learned invocation, spontaneous equation writing, or general parameter reallocation.

Most importantly, we directly tested the pre-training hypothesis rather than relying on the frozen checkpoint. Two complementary controlled experiments show (i) that joint training raises supplied-equation arithmetic from 19.0% for the capacity-matched baseline to 97.7% for ARB without a material held-out prose-NLL change, and (ii) under a slightly smaller learned parameter budget, ARB learns an unrelated 40,000-binding task faster while avoiding the arithmetic forgetting seen in the baseline. The second is controlled evidence for functional capacity reallocation and reduced task interference in this setting. It does not yet establish transfer to language reasoning or learned invocation, which remains the next test.

TC0 and generality

You are correct that our characterization of Merrill and Sabharwal was wrong. An upper bound placing transformers in uniform TC0 cannot rule out iterated addition, multiplication, or integer division, which are themselves in TC0. We will replace the impossibility claim with the empirical/architectural point: exact circuits exist, but learned finite models need not discover them or length-generalize them. We will also replace “any bounded deterministic function” with the narrower condition that a target needs a safe syntactic interface and a tractable bounded tensor decomposition. The small RNS lanes are arithmetic-specific algebraic structure, not a universal drop-in interpreter.

Division, subtraction, range, and failure policy

For exact division where the divisor is zero modulo an RNS prime, we use the nonsingular lanes to reconstruct the quotient and re-encode the missing lanes. The targeted evaluation is 800/800: 100 seeded cases for divisors divisible by each of 7, 11, 13, 17, 19, and 23, plus 100 each for multiples of 7x11 and 11x13. This includes the failure class represented by 84/7. A separate supported-domain regression is 1,350/1,350.

We agree that silent computation outside this domain is unacceptable. One shared validator now gates both injection and arithmetic LoRA. It accepts only in-range integer addition, non-negative subtraction, multiplication, and exact division by a nonzero denominator. 7/2=, 7/0=, 3-5=, and an expression whose ordinary-integer result exceeds the CRT range bypass the arithmetic path and delegate to the frozen base model. This is not a textual “cannot compute” answer; it is an explicit safe fallback. The submitted evaluation generator orders subtraction operands so answers are non-negative. Therefore the nine subtraction errors were not hidden negative cases; they were output-decoder errors.

Behavioral containment and tokenization

We agree that unchanged base weights do not imply unchanged behavior. The old =-based description was too permissive. With the shared syntax/domain gate, 256 WikiText-103 test documents (21,239 scored tokens) produce zero valid triggers and identical base/ARB NLL and PPL (21.96115). In 100 SWE-bench Lite patches, 115 = candidates produce zero valid triggers, affected tokens, or NLL difference. A curated prose/code/table/quotation probe exposes the remaining limitation: quoted syntactically valid in-domain equations such as 2+2=5 and 8*9=71 still activate and alter likelihood, while quoted inexact division and negative subtraction bypass. We therefore claim measured containment only on the named corpora, not structural immunity to forgetting or correctness in arbitrary quotation/grading contexts.

The current interface builds explicit digit/operator token tables from its tokenizer. It is not automatically compatible with tokenizers that merge numbers differently; such a tokenizer requires a validated extraction mapping or a different operand interface. We will state this dependency.

Learned interface and central pre-training evidence

The gate sweep correctly shows that the submitted model depends on supplied ARB output. A 36-case component diagnostic gives 36/36 full, 0/36 with injection disabled, 1/36 with LoRA disabled, and 3/36 with both disabled. With LoRA active, both injection layers give 36/36, layer 20 alone 19/36, and the final layer alone 1/36. This shows dependency on both learned components and a meaningful middle-layer signal, but not learned invocation.

Freshly retraining the ablations gives a more precise conclusion. Rank 8 with both layers scores 35,981/36,000 (99.9472%), only two cases below submitted rank 32 while reducing the output-head LoRA from 1,603,584 to 400,896 parameters. Rank 16 scores 35,978/36,000 (99.9389%). A final layer only rank-32 model scores 35,928/36,000 (99.8000%); 60/72 errors are concentrated in 3-by-3 multiplication. Thus rank 32 is unnecessary for near-ceiling decoding, while middle injection is most valuable on the hardest tested cell. The few-case differences among the single runs are not a meaningful quality ordering. None of these results demonstrates invocation.

We separately trained capacity-matched approximately-20M-parameter models from scratch with full next-token loss. Across three seeds, ARB reaches 97.7% direct arithmetic accuracy versus 19.0% for the capacity-matched baseline. On text-prefix templates, ARB reaches 98.0% seen and 99.0% held-out accuracy, versus 39.0% seen and 37.0% held-out for the baseline. Held-out prose NLL is essentially unchanged (3.13381 versus 3.13463; paired difference -0.00082, sample SD 0.00407). Thus joint training produces a large supplied-equation arithmetic improvement in both direct and varied-prefix formats without materially degrading held-out prose NLL. It does not establish improved prose, spontaneous equation formation, or learned invocation.

A narrower staged capacity diagnostic first trains arithmetic and then introduces opaque facts under nearly exact parameter matching. A 436,882-parameter ARB is compared with a deliberately larger 437,166-parameter baseline. Five initialization seeds hold the 40,000 fact mapping, tokenizer, example schedules, training RNG, and evaluations fixed. Each opaque fact is an arbitrary key mapped to a one-token value, so this is a memorized-association capacity test rather than fact generalization. After 8k arithmetic-only steps and an AdamW reset, each of the 30k "mixed" updates contains the same 384 fact examples and 128 arithmetic-rehearsal examples for both models. Final fact top-1 is the percentage of all 40,000 bindings for which the model assigns highest probability to the correct value token: ARB averages 60.2155% versus 58.2940% baseline, a paired mean advantage of +1.9215 percentage points (sample SD of paired differences 4.0864), positive in four seeds. Mean fact NLL—the average negative log-probability of that correct value, where lower is better—is 1.92409 versus 2.01904. On a fixed 4,096-binding learning-curve subset, ARB leads in all five seeds at 5k, 10k, 15k, and 20k mixed updates, with a mean +7.46-point lead at 10k before partial catch-up. Arithmetic is exact-match on a disjoint 4,000-expression set: baseline falls from 66.615% after arithmetic pretraining to 63.290% after mixed training despite rehearsal, whereas ARB remains essentially 100%.

Central interpretation. Together, the joint-training and staged results provide controlled evidence for functional capacity reallocation and reduced task interference in this setting: ARB preserves performance on the otherwise trained distribution, learns the competing binding task faster, and avoids the baseline's arithmetic forgetting. This is not yet a general language, reasoning, invocation, or unseen-fact result; it grounds the next direct test of whether reasoning-oriented pretraining or RL shows analogous reduced competition when exact arithmetic is supplied in-forward.

Runtime and tools

On an A100-SXM4-40GB, no-trigger overhead relative to raw base is +1.97% to +2.81% across 8/32/128-token prompts. On 750 paired direct equations, active ARB takes 416.091 ms versus 347.359 ms raw base (+19.8%). A deliberately minimal token-matched in-process CPU calculator relay takes 348.774 ms. Thus the present eager active path is slower than this favorable relay. However, the 19.8% is an end-to-end cost of the current unfused implementation, not an intrinsic ARB cost: the detector is 1.16--1.43 ms median, and a separate component diagnostic adds only 1.77 ms for the LM-head LoRA. The remainder includes eager dispatch, intermediate tensors, injection hooks, and a custom generation path. We do not claim an active speedup for this prototype, but the measurement identifies an implementation target rather than refuting the in-forward latency motivation.

We appreciate these corrections: they preserve the bounded arithmetic feasibility result while making the exact domain, fallback behavior, tokenization dependency, containment boundary, and untested hypotheses clear.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…