Goal-Directed Search Outperforms Goal-Agnostic Memory Compression in Long-Context Memory Tasks
Not on the map. Why?
Abstract (arXiv)
How to enable human-like long-term memory in large language models (LLMs) has been a central question for unlocking more general capabilities such as few-shot generalization. Existing memory frameworks and benchmarks focus on finding the optimal memory compression algorithm for higher performance in tasks that require recollection and sometimes further reasoning. However, such efforts have ended up building more human bias into the compression algorithm, through the search for the best prompts and memory architectures that suit specific benchmarks, rather than finding a general solution that would work on other data distributions. On the other hand, goal-directed search on uncompressed information could potentially exhibit superior performance because compression is lossy, and a predefined compression algorithm will not fit all raw data distributions. Here we present SUMER (Search in Uncompressed Memory via Experience Replay), an end-to-end reinforcement learning agent with verifiable reward (RLVR) that learns to use search tools to gather information and answer a target question. On the LoCoMo dataset for long-context conversation understanding, SUMER with Qwen2.5-7B-Instruct learned to use search tools and outperformed all other biased memory compression approaches and also the full-context baseline, reaching SOTA performance (43% gain over the prior best). We demonstrate that a simple search method applied to raw data outperforms goal-agnostic and biased compression algorithms in current long-context memory tasks, arguing for new paradigms and benchmarks that are more dynamic and autonomously scalable. Code for SUMER and all implemented baselines is publicly available at https://github.com/zycyc/SUMER.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 28 of its 34 references that are in the map. First posted on arXiv 20 Nov 2025.
Builds on
28 of 34 references.
References · 28
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
16 more
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 734
- 2014Neural Turing Machinescited by 644
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2025MEM1: Learning to Synergize Memory and Reasoning for Efficient Long-Horizon Agentscited by 238
- 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 237
- 2024Memory Layers at Scalecited by 48
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Memory in the Age of AI Agentscited by 303
- 2026From Lossy to Verified: A Provenance-Aware Tiered Memory for Agentscited by 17
- 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agentcited by 10
- 2025Beyond Heuristics: A Decision-Theoretic Framework for Agent Memory Managementcited by 4
- 2026SAM: State-Adaptive Memory for Long-Horizon Reasoning Agent23 May 2026
- 2026From Lossy to Verified: A Provenance-Aware Tiered Memory for Agents20 Feb 2026
- 2025Beyond Heuristics: A Decision-Theoretic Framework for Agent Memory Management25 Dec 2025
- 2025Memory in the Age of AI Agents15 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025Task-agnostic Prompt Compression with Context-aware Sentence Embedding and Reward-guided Task Descriptor
- 2026MemBuilder: Reinforcing LLMs for Long-Term Memory Construction via Attributed Dense Rewards
- 2026InfoMem: Training Long-Context Memory Agents with Answer-Conditioned Information Gain
- 2026MemSifter: Offloading LLM Memory Retrieval via Outcome-Driven Proxy Reasoning
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents
- 2026Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement Learning
- 2026FOCUS: Training-Free Decision-Preserving Context Compression for LLM Agents
- 2026MemRetriever: Learning to Search, Reflect, and Retrieve from Long-Term Memory ↗