ReasonCACHE: Teaching LLMs To Reason Without Weight Updates
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Can Large language models (LLMs) learn to reason without any weight update and only through in-context learning (ICL)? ICL is strikingly sample-efficient, often learning from only a handful of demonstrations, but complex reasoning tasks typically demand many training examples to learn from. However, naively scaling ICL by adding more demonstrations breaks down at this scale: attention costs grow quadratically, performance saturates or degrades with longer contexts, and the approach remains a shallow form of learning. Due to these limitations, practitioners predominantly rely on in-weight learning (IWL) to induce reasoning. In this work, we show that by using Prefix Tuning, LLMs can learn to reason without overloading the context window and without any weight updates. We introduce ReasonCACHE, an instantiation of this mechanism that distills demonstrations into a fixed key-value cache. Empirically, across challenging reasoning benchmarks, including GPQA-Diamond, ReasonCACHE outperforms standard ICL and matches or surpasses IWL approaches. Further, it achieves this all while being more efficient across three key axes: data, inference cost, and trainable parameters. We also theoretically prove that ReasonCACHE can be strictly more expressive than low-rank weight update since the latter ties expressivity to input rank, whereas ReasonCACHE bypasses this constraint by directly injecting key-values into the attention mechanism. Together, our findings identify ReasonCACHE as a middle path between in-context and in-weight learning, providing a scalable algorithm for learning reasoning skills beyond the context window without modifying parameters. Our project page: https://reasoncache.github.io/
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 55 of its 62 references that are in the map. First posted on arXiv 2 Feb 2026.
Builds on
55 of 62 references.
Closest ancestors · 5
Same direction, newest first
- 2025Schema for In-Context Learning14 Oct
- 2025OpenThoughts: Data Recipes for Reasoning Models4 Jun
- 2025On the generalization of language models from in-context learning and finetuning: a controlled study1 May
- 2024Great Memory, Shallow Reasoning: Limits of kNN-LMs21 Aug
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?25 Feb
Other references · 50
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
38 more
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2025s1: Simple test-time scalingcited by 1,311
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
- 2022Transformers learn in-context by gradient descentcited by 714
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2025LIMO: Less is More for Reasoningcited by 488
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
- 2023Function Vectors in Large Language Modelscited by 292
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2024Many-Shot In-Context Learningcited by 203
- 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
- 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
- 2024The Surprising Effectiveness of Test-Time Training for Few-Shot Learningcited by 88
- 2025NaturalReasoning: Reasoning in the Wild with 2.8M Challenging Questionscited by 81
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2024Synthetic continued pretrainingcited by 56
- 2024Learning to Compress Prompt in Natural Language Formatscited by 54
- 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
- 2025Parametric Retrieval Augmented Generationcited by 38
- 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 27
- 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
- 2022Exploring The Landscape of Distributional Robustness for Question Answering Modelscited by 23
- 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 22
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
- 2025Continual Learning via Sparse Memory Finetuningcited by 17
- 2024Memory Mosaicscited by 16
- 2024Revisiting Prefix-tuning: Statistical Benefits of Reparameterization among Promptscited by 15
- 2025More is not always better? Enhancing Many-Shot In-Context Learning with Differentiated and Reweighting Objectivescited by 12
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 6
- 2025PrefixMemory-Tuning: Modernizing Prefix-Tuning by Decoupling the Prefix from Attentioncited by 4
- 2025Context Tuning for In-Context Optimizationcited by 2
- 2025Is In-Context Learning Learning?cited by 2
- 2025Iterative Amortized Inference: Unifying In-Context Learning and Learned Optimizerscited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026ReasonXL: Shifting LLM Reasoning Language Without Sacrificing Performance
- 2023TART: A plug-and-play Transformer module for task-agnostic reasoning
- 2025LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters!
- 2026A Decomposition Perspective to Long-context Reasoning for LLMs
- 2024Augmenting In-Context-Learning in LLMs via Automatic Data Labeling and Refinement
- 2025Learning to Reason in LLMs by Expectation Maximization
- 2025Training Language Models to Reason Efficiently
- 2026Learning to Reason Efficiently with A* Post-Training