mlsanityData to 7 Oct 2026

MEMENTO: Teaching LLMs to Manage Their Own Context

arXiv 2604.09852 ↗First posted 10 Apr 2026cs.AI cs.LGcited by 16

On the map: LLM reasoning → Test-time compute and efficient thinking

also in 1 more
Abstract (arXiv)

Reasoning models think in long, unstructured streams with no mechanism for compressing or organizing their own intermediate state. We introduce MEMENTO: a method that teaches models to segment reasoning into blocks, compress each block into a memento, i.e., a dense state summary, and reason forward by attending only to mementos, reducing context, KV cache, and compute. To train MEMENTO models, we release OpenMementos, a public dataset of 228K reasoning traces derived from OpenThoughts-v3, segmented and annotated with intermediate summaries. We show that a two-stage SFT recipe on OpenMementos is effective across different model families (Qwen3, Phi-4, Olmo 3) and scales (8B--32B parameters). Trained models maintain strong accuracy on math, science, and coding benchmarks while achieving ~2.5× peak KV cache reduction. We extend vLLM to support our inference method, achieving ~1.75× throughput improvement while also enabling us to perform RL and further improve accuracy. Finally, we identify a dual information stream: information from each reasoning block is carried both by the memento text and by the corresponding KV states, which retain implicit information from the original block. Removing this channel drops accuracy by 15,pp on AIME24.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 32 of its 45 references that are in the map. First posted on arXiv 10 Apr 2026.

Builds on

32 of 45 references.

Closest ancestors · 17

Same direction, newest first

  1. 2026InftyThink+: Effective and Efficient Infinite-Horizon Reasoning via Reinforcement Learning6 Feb
  2. 2026Accordion-Thinking: Self-Regulated Step Summaries for Efficient and Readable LLM Reasoning3 Feb
  3. 2025TokenSqueeze: Performance-Preserving Compression for Reasoning LLMs17 Nov
  4. 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons15 Oct
  5. 2025ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models1 Oct
  6. 2025Making Slow Thinking Faster: Compressing LLM Chain-of-Thought via Step Entropy5 Aug
  7. 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning19 Jun
  8. 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention16 Jun
  9. 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Models30 May
  10. 2025R1-Compress: Long Chain-of-Thought Compression via Chunk Compression and Search22 May
  11. 2025Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning Chains22 May
  12. 2025Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning20 May
5 more
  1. 2025ThinkPrune: Pruning Long Chain-of-Thought of LLMs via Reinforcement Learning2 Apr
  2. 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Models9 Mar
  3. 2025LightThinker: Thinking Step-by-Step Compression21 Feb
  4. 2025TokenSkip: Controllable Chain-of-Thought Compression in LLMs17 Feb
  5. 2024C3oT: Generating Shorter Chain-of-Thought without Compromising Effectiveness16 Dec

Other references · 15

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  6. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,000
  7. 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
  8. 2025MathArena: Evaluating LLMs on Uncontaminated Math Competitionscited by 275
  9. 2025MemAgent: Reshaping Long-Context LLM with Multi-Conv RL-based Memory Agentcited by 235
  10. 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 226
  11. 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 216
  12. 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 132
3 more
  1. 2025Memento: Fine-tuning LLM Agents without Fine-tuning LLMscited by 119
  2. 2025Sample More to Think Less: Group Filtered Policy Optimization for Concise Reasoningcited by 75
  3. 2025PENCIL: Long Thoughts with Short Memorycited by 31

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 16.

16 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025Prompting Test-Time Scaling Is A Strong LLM Reasoning Data Augmentation
  2. 2025Reasoning on a Budget: A Survey of Adaptive and Controllable Test-Time Compute in LLMs
  3. 2024PRISM: Efficient Long-Range Reasoning With Short-Context LLMs
  4. 2025From Long to Short: LLMs Excel at Trimming Own Reasoning Chains
  5. 2025MobileLLM-R1: Exploring the Limits of Sub-Billion Language Model Reasoners with Open Training Recipes
  6. 2026Akashic: A Low-Overhead LLM Inference Service with MemAttention
  7. 2026PI-Mem: Pushing Long-Context Reasoning to 3.6M Tokens with Parallel-Iterative Memory
  8. 2026MILES: Modular Instruction Memory with Learnable Selection for Self-Improving LLM Reasoning