A CPU Inside an LLM: Zero-Gradient Compilation of Exact Circuits into Pretrained Weights
The paper reports 99.17%–100% accuracy on six-digit arithmetic after adding circuits to pretrained models without training examples or gradient updates.
Tanmay Sah’s method compiles deterministic circuits into model weights, with no runtime hooks. Across 1,200 six-digit arithmetic tests in BF16, it reports 99.17% accuracy for IBM Granite 4.2 3B and 100% for Alibaba Qwen 3.5 4B when using an ALU prefix. Both reach 100% with an FP32 sidecar. The paper also reports 98%–100% mid-sentence resumption, compared with 0% inline continuation for its LoRA baselines trained on 12,800 examples.
ArXiv · AI/CL/LG's note
Tanmay Sah’s method compiles deterministic circuits into model weights, with no runtime hooks. Across 1,200 six-digit arithmetic tests in BF16, it reports 99.17% accuracy for IBM Granite 4.2 3B and 100% for Alibaba Qwen 3.5 4B when using an ALU prefix. Both reach 100% with an FP32 sidecar. The paper also reports 98%–100% mid-sentence resumption, compared with 0% inline continuation for its LoRA baselines trained on 12,800 examples.
ArXiv · AI/CL/LG's note
score 5