mlsanityData to 7 Oct 2026

Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement Learning

arXiv 2602.08382 ↗First posted 9 Feb 2026cs.CL cs.AIcited by 5

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

also in 1 more
Abstract (arXiv)

Large Language Models (LLMs) face significant challenges in long-context processing, including quadratic computational costs, information forgetting, and the context fragmentation inherent in retrieval-augmented generation (RAG). We propose a cognitively inspired framework for efficient long-context inference based on chunk-wise compression and selective memory recall, rather than processing all raw tokens. The framework segments long inputs into chunks and encodes each chunk into compressed memory representations using a learned compressor. A gating module dynamically selects relevant memory blocks, which are then iteratively processed by a reasoning module with an evolving working memory to solve downstream tasks. The compressor and reasoner are jointly optimized via end-to-end reinforcement learning, while the gating module is trained separately as a classifier. Experimental results show that the proposed method achieves competitive accuracy on multi-hop reasoning benchmarks such as RULER-HQA, extrapolates context length from 7K to 1.75M tokens, and offers a favorable accuracy-efficiency trade-off compared to strong long-context baselines. In particular, it achieves up to a 2 times reduction in peak GPU memory usage and a 6 times inference speedup over MemAgent.

Key facts. Cited by 5 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 38 of its 41 references that are in the map. First posted on arXiv 9 Feb 2026.

Builds on

38 of 41 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025QwenLong-L1.5: Post-Training Recipe for Long-Context Reasoning and Memory Management15 Dec
  2. 2025QwenLong-L1: Towards Long-Context Large Reasoning Models with Reinforcement Learning23 May

Other references · 36

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  4. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  5. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  9. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  10. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
  11. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  12. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
24 more
  1. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  2. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
  3. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  4. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  5. 2025Group Sequence Policy Optimizationcited by 788
  6. 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
  7. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 722
  8. 2023Adapting Language Models to Compress Contextscited by 350
  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. 2025From RAG to Memory: Non-Parametric Continual Learning for Large Language Modelscited by 223
  12. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 192
  13. 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 178
  14. 2025Qwen2.5-1M Technical Reportcited by 158
  15. 2022StreamingQA: A Benchmark for Adaptation to New Knowledge over Time in Question Answering Modelscited by 123
  16. 2025A Comprehensive Survey on Long Context Language Modelingcited by 113
  17. 2024Long Context Compression with Activation Beaconcited by 101
  18. 2025On the Theoretical Limitations of Embedding-Based Retrievalcited by 98
  19. 2023RecurrentGPT: Interactive Generation of (Arbitrarily) Long Textcited by 84
  20. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
  21. 2025Dynamic Parametric Retrieval Augmented Generation for Test-time Knowledge Enhancementcited by 24
  22. 2024Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Modelcited by 15
  23. 2025Reconstructing Context: Evaluating Advanced Chunking Strategies for Retrieval-Augmented Generationcited by 12
  24. 2025UniGist: Towards General and Hardware-aligned Sequence-level Long Context Compressioncited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons
  2. 2025Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning Chains
  3. 2026Memory Augmentation Unlocks Efficient Chain-of-Thought Reasoning
  4. 2026CoEM: Empowering Long-Context Reasoning with Commit-on-Evidence Memory
  5. 2025Look Back to Reason Forward: Revisitable Memory for Long-Context LLM Agents
  6. 2026LongAttnComp: Cross-Family Context Compression for Long-Context Reasoning
  7. 2026LongR: Unleashing Long-Context Reasoning via Reinforcement Learning with Dense Utility Rewards
  8. 2026G-MemLLM: Gated Latent Memory Augmentation for Long-Context Reasoning in Large Language Models