mlsanityData to 7 Oct 2026

Thought-Retriever: Don't Just Retrieve Raw Data, Retrieve Thoughts for Memory-Augmented Agentic Systems

arXiv 2604.12231 ↗First posted 14 Apr 2026cs.CL cs.IRcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Large language models (LLMs) have transformed AI research thanks to their powerful internal capabilities and knowledge. However, existing LLMs still fail to effectively incorporate the massive external knowledge when interacting with the world. Although retrieval-augmented LLMs are proposed to mitigate the issue, they are still fundamentally constrained by the context length of LLMs, as they can only retrieve top-K raw data chunks from the external knowledge base which often consists of millions of data chunks. Here we propose Thought-Retriever, a novel model-agnostic algorithm that helps LLMs generate output conditioned on arbitrarily long external data, without being constrained by the context length or number of retrieved data chunks. Our key insight is to let an LLM fully leverage its intermediate responses generated when solving past user queries (thoughts), filtering meaningless and redundant thoughts, organizing them in thought memory, and retrieving the relevant thoughts when addressing new queries. This effectively equips LLM-based agents with a self-evolving long-term memory that grows more capable through continuous interaction. Besides algorithmic innovation, we further meticulously prepare a novel benchmark, AcademicEval, which requires an LLM to faithfully leverage ultra-long context to answer queries based on real-world academic papers. Extensive experiments on AcademicEval and two other public datasets validate that Thought-Retriever remarkably outperforms state-of-the-art baselines, achieving an average increase of at least 7.6% in F1 score and 16% in win rate across various tasks. More importantly, we further demonstrate two exciting findings: (1) Thought-Retriever can indeed help LLM self-evolve after solving more user queries; (2) Thought-Retriever learns to leverage deeper thoughts to answer more abstract user queries.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 28 of its 57 references that are in the map. First posted on arXiv 14 Apr 2026.

Builds on

28 of 57 references.

References · 28

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2020Scaling Laws for Neural Language Modelscited by 6,411
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2023Qwen Technical Reportcited by 3,273
  6. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  8. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
  9. 2024Mixtral of Expertscited by 1,785
  10. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,295
  11. 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
  12. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
16 more
  1. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  2. 2023In-Context Retrieval-Augmented Language Modelscited by 694
  3. 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 466
  4. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 351
  5. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentationcited by 253
  6. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 200
  7. 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 167
  8. 2023SMART-LLM: Smart Multi-Agent Robot Task Planning using Large Language Modelscited by 151
  9. 2023TaskBench: Benchmarking Large Language Models for Task Automationcited by 138
  10. 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
  11. 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 116
  12. 2023Retrieval meets Long Context Large Language Modelscited by 114
  13. 2020A Large-Scale Multi-Document Summarization Dataset from the Wikipedia Current Events Portalcited by 72
  14. 2024LLM-based NLG Evaluation: Current Status and Challengescited by 71
  15. 2023Make LLM a Testing Expert: Bringing Human-like Interaction to Mobile GUI Testing via Functionality-aware Decisionscited by 41
  16. 2024LLM-Assisted Relevance Assessments: When Should We Ask LLMs for Help?cited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023Think-in-Memory: Recalling and Post-thinking Enable LLMs with Long-Term Memory
  2. 2025Rethinking Memory in LLM based Agents: Representations, Operations, and Emerging Topics
  3. 2026Memory in the LLM Era: Modular Architectures and Strategies in a Unified Framework
  4. 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context
  5. 2026PlugMem: A Task-Agnostic Plugin Memory Module for LLM Agents
  6. 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects
  7. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
  8. 2025CAIM: Development and Evaluation of a Cognitive AI Memory Framework for Long-Term Interaction with Intelligent Agents