cs.CLOct 16, 2026

Reasoning with Context Management and External Memory

Authors: Man-Ling Sung, William Hartmann, Jiangying Zhou

Organizations: RTX BBN Technologies, Cambridge MA, USA

Abstract

Reasoning models maintain information about the status of their reasoning process through in-context memory. Complex problems require larger context windows and memory requirements. In this scenario, context management without caching risks discarding useful information for reasoning. We propose RCMEM, an approach that extends context management with an external memory to maintain additional information without burdening the reasoning model with additional context. RCMEM significantly reduces computation time on problems that require repeated computation of intermediate steps, while achieving better performance on complex problems. We demonstrate our approach on a few mathematics problems using model sizes ranging from 0.4 to 25 million parameters, and GPT-2.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CoEM: Empowering Long-Context Reasoning with Commit-on-Evidence Memory

    Sep 29, 2026Jingguang Li, Yebo Wu, Zuyi Guo +7Long-Context Reasoning in Language ModelsMemory-Augmented Language Models

  2. MEMENTO: Teaching LLMs to Manage Their Own Context

    Apr 10, 2026Vasilis Kontonis, Yuchen Zeng, Shivam Garg +7LLM Context ManagementEfficient Language Model Reasoning

  3. Procedural Knowledge at Scale Improves Reasoning

    Apr 1, 2026Di Wu, Devendra Singh Sachan, Wen-tau Yih +1Retrieval-Augmented ReasoningLLM Reasoning