CPU-ARC: Agentic Reasoning Caching for on-CPU Reasoning Reuse
Abstract
Large language models reinvent the wheel all the time. They conflate task-solving with the execution of the solutions, which forces them to solve every problem from scratch. We show that once a task has been reasoned through, the application of its solution to a new problem instance can be done very efficiently and with little involvement from language models. We introduce agentic reasoning caching, a method for constructing robust CPU-executable agentic reasoning caches (ARCs) from LLM reasoning traces. ARCs show on-par performance with frontier LLMs across a range of difficult mathematical and scientific tasks, are fully explainable, continually trainable, robust to input perturbations, and 16-291x cheaper to invoke than the source model.
Figures & tables
| Original | Rephrased | Reparameterized | |
| Question | How many positive whole-number divisors does have? | Find how many positive integers evenly divide . | How many positive whole-number divisors does have? |
| Reasoning | I need to find the prime factorisation of first. {\hbox{\pagecolor{hlparam}\mathstrut 196}}={\hbox{\pagecolor{hlderived}\mathstrut 4}}\times{\hbox{\pagecolor{hlderived}\mathstrut 49}}={\hbox{\pagecolor{hlderived}\mathstrut 2^{2}}}\times{\hbox{\pagecolor{hlderived}\mathstrut 7^{2}}} . For a number with prime factorisation , the number of divisors is . For {\hbox{\pagecolor{hlparam}\mathstrut 196}}={\hbox{\pagecolor{hlderived}\mathstrut 2^{2}}}\times{\hbox{\pagecolor{hlderived}\mathstrut 7^{2}}} : {\hbox{\pagecolor{hlderived}\mathstrut(2+1)(2+1)}}={\hbox{\pagecolor{hlderived}\mathstrut 3\times 3}}={\hbox{\pagecolor{hlderived}\mathstrut\mathbf{9}}} . | I need to find the prime factorisation of first. {\hbox{\pagecolor{hlparam}\mathstrut 144}}={\hbox{\pagecolor{hlderived}\mathstrut 16}}\times{\hbox{\pagecolor{hlderived}\mathstrut 9}}={\hbox{\pagecolor{hlderived}\mathstrut 2^{4}}}\times{\hbox{\pagecolor{hlderived}\mathstrut 3^{2}}} . For a number with prime factorisation , the number of divisors is . For {\hbox{\pagecolor{hlparam}\mathstrut 144}}={\hbox{\pagecolor{hlderived}\mathstrut 2^{4}}}\times{\hbox{\pagecolor{hlderived}\mathstrut 3^{2}}} : {\hbox{\pagecolor{hlderived}\mathstrut(4+1)(2+1)}}={\hbox{\pagecolor{hlderived}\mathstrut 5\times 3}}={\hbox{\pagecolor{hlderived}\mathstrut\mathbf{15}}} . | |
| Correctness (%) | Perturbation (%) | Avg. Cost ($/sample) | Multipliers | ||||||||
| Benchmark | S Acc | C Acc | Fidelity | Phrasal | Param. | Combined | Source | Builder | Cache | Build | Savings |
| MATH-500 | 98.6 | 98.8 | 99.6 | 96.7 | 94.5 | 91.6 | 0.0388 | 1.1818 | 0.0004 | 30.5 | 88.7 |
| AIME ’24 | 100.0 | 100.0 | 100.0 | 96.0 | 99.3 | 95.1 | 0.1101 | 1.4198 | 0.0004 | 12.9 | 262.4 |
| AIME ’25 | 83.3 | 93.3 | 90.0 | 98.4 | 91.2 | 93.4 | 0.1203 | 1.4517 | 0.0004 | 12.1 | 291.1 |
| AIME ’26 | 90.0 | 96.7 | 90.0 | 97.9 | 90.9 | 90.8 | 0.1197 | 1.5477 | 0.0004 | 12.9 | 281.4 |
| GPQA Diamond | 83.8 | 83.8 | 98.5 | 93.8 | 93.9 | 94.0 | 0.0708 | 1.7781 | 0.0019 | 25.1 | 38.1 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 114 | 1,529 | 0 | — | 0.0388 |
| Builder | 355,140 | 27,591 | 324,207 | 41,587 | 1.1818 |
| Target | 546 | 393 | 0 | — | 0.0001 |
| Extractor | 5,271 | 369 | 0 | — | 0.0002 |
| Converter | 1,732 | 596 | 0 | — | 0.0002 |
| Total | 1.2210 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 150 | 4,374 | 0 | — | 0.1101 |
| Builder | 451,054 | 32,829 | 414,183 | 49,435 | 1.4198 |
| Target | 226 | 76 | 0 | — | 0.0000 |
| Extractor | 5,851 | 383 | 0 | — | 0.0002 |
| Converter | 2,419 | 697 | 0 | — | 0.0002 |
| Total | 1.5303 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 225 | 4,766 | 0 | — | 0.1203 |
| Builder | 439,165 | 33,702 | 400,518 | 51,325 | 1.4517 |
| Target | 494 | 205 | 0 | — | 0.0001 |
| Extractor | 8,369 | 461 | 0 | — | 0.0003 |
| Converter | 1,231 | 268 | 0 | — | 0.0001 |
| Total | 1.5724 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 168 | 4,754 | 0 | — | 0.1197 |
| Builder | 462,836 | 36,763 | 424,685 | 53,344 | 1.5477 |
| Target | 289 | 116 | 0 | — | 0.0000 |
| Extractor | 7,232 | 393 | 0 | — | 0.0002 |
| Converter | 1,996 | 555 | 0 | — | 0.0002 |
| Total | 1.6678 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 268 | 2,779 | 0 | — | 0.0708 |
| Builder | 597,730 | 41,200 | 553,857 | 60,194 | 1.7781 |
| Target | 4,796 | 4,519 | 0 | — | 0.0010 |
| Extractor | 18,175 | 1,400 | 0 | — | 0.0007 |
| Converter | 1,729 | 729 | 0 | — | 0.0002 |
| Total | 1.8508 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 100 | 386 | 0 | — | 0.0101 |
| Builder | 164,598 | 21,110 | 140,887 | 31,599 | 0.8481 |
| Target | 317 | 96 | 0 | — | 0.0000 |
| Extractor | 6,458 | 415 | 0 | — | 0.0002 |
| Converter | 4,174 | 1,404 | 0 | — | 0.0004 |
| Total | 0.8589 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 246 | 1,332 | 0 | — | 0.0345 |
| Builder | 477,206 | 32,045 | 439,344 | 48,698 | 1.4084 |
| Target | 3,707 | 3,035 | 0 | — | 0.0007 |
| Extractor | 14,786 | 1,449 | 0 | — | 0.0006 |
| Converter | 2,074 | 863 | 0 | — | 0.0002 |
| Total | 1.4445 | ||||
| Role | Avg In | Avg Out | Cache Rd | Cache Wr | Cost ($) |
| Source | 130 | 1,709 | 0 | — | 0.0434 |
| Builder | 293,107 | 30,957 | 261,293 | 45,101 | 1.2572 |
| Target | 736 | 397 | 0 | — | 0.0001 |
| Extractor | 7,655 | 518 | 0 | — | 0.0003 |
| Converter | 1,513 | 607 | 0 | — | 0.0002 |
| Total | 1.3011 | ||||
| Parameter | Value |
| Base model | meta-llama/Llama-3.2-1B |
| Max training epochs | 20 |
| Learning rate | |
| Optimizer | AdamW |
| Per-device batch size | 8 (auto-scaled) |
| Gradient accumulation | 1 |
Efficient Language Model Reasoning
Efficient language model reasoning studies how to improve problem-solving accuracy while reducing inference, memory, latency, and training costs.
See all 388 papers