Open Interpretability Models Contributors Research Posts About

A CPU Inside an LLM

Source

Citation. Tanmay Sah, Independent Researcher. "A CPU Inside an LLM: Zero-Gradient Compilation of Exact Circuits into Pretrained Weights". arXiv 2611.26450 [cs.AI], v1 19 November 2026, the only version. The arXiv comment says "27 pages, 3 figures, 24 tables". Licence CC BY 4.0. Paper. Preprint, no venue given. An appendix names a script verify_icml2027_gemm_and_proofs.py, but the text names no venue. The text we read gives no code repository. It names four companion scripts and a SHA-256 manifest in Appendix F, which we did not see. The models are pinned by Hugging Face commit: ibm-granite/granite-4.2-3b (4e9c275e), Qwen/Qwen3.5-4B (851bf6e8) and google/gemma-4-E4B-it (4ecc2ba6). We saw no funding, tool-use or competing-interest statement.

We found four inconsistencies in the source:

Status. Planned. #4782 would use it in its strand on weight-space programming, as evidence on interference. No code, skill or protocol here depends on it. This page proposes no new issue: the models aren't in the registry, and the compiler isn't released.

Read. On 2026-11-22 a web-fetch subagent read the abstract page. It read the arXiv HTML (v1) in parts, by offset. A model read it for us. We have these parts in the source's own text:

The tool cut the text at Appendix A.3. So we didn't see the end of A.3 or Appendices B–G. These hold the ablations, false-trigger breakdowns, failure taxonomy, deployment, reproduction, the sidecar runtime and the Tango tables. We also didn't see the figures as images, the PDF or the TeX source. Every number below comes from the text that we read.

Summary

Claim. Exact arithmetic and Boolean circuits can be compiled in closed form into a pretrained LLM's weights, with no training examples and no runtime hooks. The grafted models then do signed multi-digit arithmetic almost perfectly. Their language behaviour stays within pre-registered margins of the base model on the benchmarks the author ran.

Method.

Findings, as the source reports them.

Setting Result
Granite, Arith-1200, BF16 (abstract) 99.17% ALU prefix, 100% with an FP32 sidecar
Qwen, Arith-1200 (abstract) 100.00%
Granite base and grafted, Lead-Int (Table 4) 15.67% → 97.08%
Qwen base and grafted, Lead-Int (Table 4) 47.33% → 99.50%
LoRA, 12.8K examples, Granite / Qwen arithmetic 42.2% / 61.7%, and 0% inline continuation
False triggers, both models (Table 4) 0 of 10.4K
Granite PPL / KL, base and grafted (Table 4) 14.30 / 0 → 14.30 / 0.0014
Qwen PPL / KL, base and grafted (Table 4) 9.47 / 0 → 9.47 / 0.0007
Off-trigger shift (Impact Statement) under 0.002 nats of next-token KL, over 10,534 activations
GSM8K, Granite / Qwen (Table 7) 73.16 → 74.15% / 75.59 → 76.35%, noninferior
MMLU-Pro held out, Granite / Qwen (Table 7) 27.70 → 27.60% / 42.80 → 42.60%, noninferior
PubMedQA long context, Qwen (Table 7) 49.60 → 48.80%, noninferior at p=.0294 (margin 3.0pp)
Without norm compensation (−P4), Granite / Qwen PPL (Table 5) 82.27 / 275.9, against 42.10 / 29.81 for the base
Givens-rotated control (M4), Granite / Qwen arithmetic 0.0% / 0.0%
1-digit emitter, Granite GSM8K[:60] 36.67%, against 68.33% for the base
In-domain, 4 seeds × 8 formats, N=3,000 per model (Table 6) 94.07% Granite, 96.60% Qwen

Where the claims go beyond the evidence

Use in this repo