🛰️ Daily AI Frontier
‹ back to 2026-11-20

A CPU Inside an LLM: Zero-Gradient Compilation of Exact Circuits into Pretrained Weights

Research LLMs & Foundation Models

Ranking

Overall 84
Content 95
Popularity 57

Observed public metrics from 1 member.

Merged summary

TL;DR - This paper introduces a zero-gradient compiler that grafts exact arithmetic and Boolean circuits directly into pretrained LLM weights without examples or runtime tools, while largely preserving language capabilities. The approach achieves near-perfect arithmetic accuracy with sparse weight modifications.

  • Compiles deterministic circuits using analytical primitives for normalization control, cross-token scale cancellation, and width extension.
  • Reaches 99.17% on six-digit arithmetic with Granite 4.2 3B and 100% with Qwen 3.5 4B; an FP32 sidecar raises both to 100%.
  • Outperforms LoRA trained on 12,800 examples, particularly for inline continuation.
  • Uses block-sparse sidecars affecting at most 0.057% of weights and reports no out-of-distribution triggers across the evaluated Tango splits.

Sources (1)

A CPU Inside an LLM: Zero-Gradient Compilation of Exact Circuits into Pretrained Weights

arXiv cs.AI Tanmay Sah 2026-11-19 arXiv:2611.26450
Public signals Hugging Face upvotes 7
Providers: Hugging Face · Upvotes 7 OpenAlex · N/A Publisher · N/A Semantic Scholar · N/A X · N/A Fetched 2026-11-25 15:23:15.805266 UTC

TL;DR - This paper introduces a zero-gradient compiler that grafts exact arithmetic and Boolean circuits directly into pretrained LLM weights without examples or runtime tools, while largely preserving language capabilities. The approach achieves near-perfect arithmetic accuracy with sparse weight modifications.

  • Compiles deterministic circuits using analytical primitives for normalization control, cross-token scale cancellation, and width extension.
  • Reaches 99.17% on six-digit arithmetic with Granite 4.2 3B and 100% with Qwen 3.5 4B; an FP32 sidecar raises both to 100%.
  • Outperforms LoRA trained on 12,800 examples, particularly for inline continuation.
  • Uses block-sparse sidecars affecting at most 0.057% of weights and reports no out-of-distribution triggers across the evaluated Tango splits.
item →