mlsanityData to 7 Oct 2026

ReasonCACHE: Teaching LLMs To Reason Without Weight Updates

arXiv 2602.02366 ↗First posted 2 Feb 2026cs.LG cs.AIcited by 3

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

  1. 2025Schema for In-Context Learning14 Oct
  2. 2025OpenThoughts: Data Recipes for Reasoning Models4 Jun
  3. 2025On the generalization of language models from in-context learning and finetuning: a controlled study1 May
  4. 2024Great Memory, Shallow Reasoning: Limits of kNN-LMs21 Aug
  5. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?25 Feb

Other references · 50

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  7. 2024Qwen2.5 Technical Reportcited by 4,713
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  9. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  10. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  11. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  12. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
38 more
  1. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  2. 2025s1: Simple test-time scalingcited by 1,311
  3. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
  4. 2022Transformers learn in-context by gradient descentcited by 714
  5. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  6. 2025LIMO: Less is More for Reasoningcited by 488
  7. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
  8. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 399
  9. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  10. 2023Adapting Language Models to Compress Contextscited by 350
  11. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  12. 2023Function Vectors in Large Language Modelscited by 292
  13. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
  14. 2022Prompting GPT-3 To Be Reliablecited by 258
  15. 2024Many-Shot In-Context Learningcited by 203
  16. 2023In-context Autoencoder for Context Compression in a Large Language Modelcited by 190
  17. 2023Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluationcited by 134
  18. 2024The Surprising Effectiveness of Test-Time Training for Few-Shot Learningcited by 88
  19. 2025NaturalReasoning: Reasoning in the Wild with 2.8M Challenging Questionscited by 81
  20. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
  21. 2024Synthetic continued pretrainingcited by 56
  22. 2024Learning to Compress Prompt in Natural Language Formatscited by 54
  23. 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
  24. 2025Parametric Retrieval Augmented Generationcited by 38
  25. 2025Cramming 1568 Tokens into a Single Vector and Back Again: Exploring the Limits of Embedding Space Capacitycited by 27
  26. 2024Generative Adapter: Contextualizing Language Models in Parameters with A Single Forward Passcited by 26
  27. 2022Exploring The Landscape of Distributional Robustness for Question Answering Modelscited by 23
  28. 2025Training Plug-n-Play Knowledge Modules with Deep Context Distillationcited by 22
  29. 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
  30. 2025Continual Learning via Sparse Memory Finetuningcited by 17
  31. 2024Memory Mosaicscited by 16
  32. 2024Revisiting Prefix-tuning: Statistical Benefits of Reparameterization among Promptscited by 15
  33. 2025More is not always better? Enhancing Many-Shot In-Context Learning with Differentiated and Reweighting Objectivescited by 12
  34. 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 6
  35. 2025PrefixMemory-Tuning: Modernizing Prefix-Tuning by Decoupling the Prefix from Attentioncited by 4
  36. 2025Context Tuning for In-Context Optimizationcited by 2
  37. 2025Is In-Context Learning Learning?cited by 2
  38. 2025Iterative Amortized Inference: Unifying In-Context Learning and Learned Optimizerscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ReasonXL: Shifting LLM Reasoning Language Without Sacrificing Performance
  2. 2023TART: A plug-and-play Transformer module for task-agnostic reasoning
  3. 2025LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters!
  4. 2026A Decomposition Perspective to Long-context Reasoning for LLMs
  5. 2024Augmenting In-Context-Learning in LLMs via Automatic Data Labeling and Refinement
  6. 2025Learning to Reason in LLMs by Expectation Maximization
  7. 2025Training Language Models to Reason Efficiently
  8. 2026Learning to Reason Efficiently with A* Post-Training