Rust in Everything
← Papers

CPU-ARC: Agentic Reasoning Caching for on-CPU Reasoning Reuse

Peter Belcak, Greg Heinrich, Saurav Muralidharan, Shizhe Diao, Pavlo Molchanov

2026-11-09▲ 6arXiv 2611.09891v1Hugging Face

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

CPU-ARC caches a source model's reasoning as parametrized Python semantic functions that a small target model and CPU can execute on equirational queries.

Problem

The paper addresses repeated LLM reasoning for queries that share instructions or plans but vary in phrasing or parameters. It argues existing monolithic caches are fragile to perturbations and modular caches still require new generation and cannot guarantee correctness upon review. The goal is an SLC method that is robust in coverage, correctable, explainable, and cheap to build, maintain, and use.

Method

CPU-ARC converts a source model transcript into a parametrized Python program made of semantic functions, each representing a logical step and referencing inputs and callees by natural-language descriptions. A builder model performs input-output isolation, decomposition, parameter recognition, planning, and implementation. At invocation, the system searches an entry-point registry by cosine similarity, extracts parameter values with a small model, dispatches a root function, and returns outputs plus a narration trace. Only the target small model and CPU are used at inference; source and builder models are construction-time only. Caches can be compiled by statically resolving do() and load() calls into direct calls and dictionary lookups. The target model can be as small as a finetuned Llama 3.2 1B.

Results

  • On MATH-500 and GSM8K, cache accuracy was close to source accuracy. §3.5
  • On AIME 2025 and AIME 2026, cache accuracy exceeded source accuracy. §3.5
  • Cache-source fidelity was high across benchmarks, reaching 100.0 on AIME 2024 and MMLU-Pro. §3.5
  • Combined perturbation pass rates ranged from 90.8 on AIME 2026 to 96.4 on SciBench. §3.5
  • Cost savings multipliers ranged from 16.3x on GSM8K to 291.1x on AIME 2025; build multipliers ranged from 12.1x to 83.7x. §3.5

Limitations

  • The paper states that generalizing multiple similar but not identical semantic functions into one coherent more general semantic function is not addressed (stated in section 4).
  • The paper states that compilation freezes the function network, so adding a function or generalizing a parameter requires recompilation (stated in section 2.2.3).
  • The experiments cover mathematical and science benchmarks rather than production agentic workloads, leaving generalization to broader agentic tasks open (left open by section 3.3).
  • Builder cost is 12.1x to 83.7x source cost in Table 2, and the paper does not report amortization break-even, so construction is expensive by its own accounting (left open by section 3.5).

Key points

  • ARC is a hybrid system-level cache that decomposes an LLM transcript into semantic functions stored as code. §1
  • It rests on O1 decoupling solution search from execution and O2 reusing reasoning across equirational problems. §1
  • Semantic functions reference inputs, outputs, and callees by natural-language descriptions and examples, enabling semantic discovery and reuse. §2.1
  • The builder constructs the program in five phases: input-output isolation, decomposition, parameter recognition, planning, and implementation. §2.2.1
  • Invocation performs entry-point search, parameter extraction, dispatch, and output; only the target model and CPU are needed at inference. §2.2.2
  • Compilation statically resolves do() and load() into direct calls and dictionary lookups, eliminating embedding search but freezing the network. §2.2.3
  • The smallest frontier-lab models sufficed as target; a finetuned Llama 3.2 1B also proved sufficient. §2.2.4
  • Perturbation testing is applied only to cache entries that already match golden labels, then validates rephrasings and reparameterizations with judges. §3.2

Mind map

CPU-ARC
Problem
Repeated LLM reasoning
Monolithic vs modular cache tradeoffs
Method
Transcript to parametrized code
Semantic functions
Natural-language references
Compilation
Static resolution
Constant-time dispatch
Freezes network
Construction
Builder model
Five phases
Invocation
Entry-point search
Parameter extraction
Dispatch
Output and narration
Target model plus CPU
Evaluation
Benchmarks
Perturbation testing
Results
High cache accuracy
High fidelity
Large cost savings
Limitations
Generalization not addressed
Compilation freezes network
Math and science only
Builder cost