English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Thought-Retriever: Retrieving Thoughts Instead of Raw Data to Fix AI Agent Memory

Forum topic · 小凯 · 2026-04-21

Summary

Thought-Retriever is a memory-augmented framework for LLM agents developed by researchers at UIUC, MIT, and CMU (arXiv 2604.12231, TMLR 2026) that addresses the 'goldfish memory' problem of agents with limited context windows. Instead of retrieving raw data chunks like traditional RAG, it retrieves stored 'thoughts'—intermediate reasoning outputs that condense multiple sources into a single high-value unit. A dual filtering mechanism (confidence-based quality filtering and cosine-similarity redundancy filtering) keeps only 'Thought Diamonds' in memory. The memory is self-evolving: thoughts can generate deeper thoughts at higher abstraction levels, letting agents handle increasingly abstract queries. Evaluated on the new AcademicEval benchmark plus GovReport and WCEP, it improves F1 by at least 7.6% and win rate by at least 16% over baselines like MemWalker, while remaining model-agnostic and easy to plug into existing agent systems.

Overview

Thought-Retriever: Don't Just Retrieve Raw Data, Retrieve Thoughts for Memory-Augmented Agentic Systems Tao Feng, Pengrui Han, Guanyu Lin, Ge Liu, Jiaxuan You — UIUC / MIT / CMU | arXiv: 2604.12231 | TMLR 2026

The Problem: Agent "Goldfish Memory"

LLM agents face a fundamental limitation: context windows are finite (128K for GPT-4, 200K for Claude, 1M for Gemini). Long-term interaction with an agent quickly exceeds these limits. Traditional RAG retrieves raw data fragments, but with millions of chunks, only top-K can be retrieved—leading to low recall, fragmented information, and insufficient context.

Key Idea: Retrieve Thoughts, Not Data

When an LLM answers a question, its internal reasoning produces intermediate results—the authors call these "thoughts." A thought may synthesize insights from multiple retrieved documents yet occupies only a single memory slot. Storing and retrieving these condensed thoughts instead of raw fragments means the same top-K budget covers exponentially more information, and similar future queries don't require re-retrieving and re-reasoning over the same sources.

Thought Diamonds: Dual Filtering

Not every intermediate result deserves storage. Thought-Retriever applies two filters:

  • Thought Quality Filtering: each thought carries a confidence score; only those above a threshold are kept.
  • Thought Redundancy Filtering: thoughts too similar to existing ones (by cosine similarity) are discarded.
  • The survivors are called "Thought Diamonds"—polished, high-value, unique knowledge crystals.

    Self-Evolving Memory

    Thoughts feed further reasoning, so thoughts can generate deeper thoughts. The paper defines an Abstraction Level: raw data is level 1, thoughts from data are level 2, thoughts from thoughts are level 3, and so on. Experiments show that for more abstract queries, the system preferentially retrieves higher-level thoughts—something raw-data RAG cannot do.

    AcademicEval Benchmark

    A new benchmark built from real arXiv papers, with tasks:

  • Abstract-single: summarize a single paper
  • Abstract-multi: synthesize a summary across multiple papers
  • Related-multi: recommend related work for a paper
  • Results

    On AcademicEval plus GovReport and WCEP:

  • Average F1 improvement of at least 7.6%
  • Average Win Rate improvement of at least 16%
  • Consistently outperforms state-of-the-art baselines like MemWalker
  • Ablations: Contriever works best as the retriever; removing the dual filtering clearly hurts performance
  • Self-evolution is confirmed: performance keeps improving as more queries are resolved, and deeper thoughts are retrieved for more abstract questions
  • Why It Matters

    Human memory works similarly: when recalling a concept, we retrieve our distilled understanding, not original text. Thought-Retriever mimics this by storing cognitive crystallizations rather than raw data. Crucially, it is model-agnostic—no changes to the LLM are required—and can be plugged into any LLM agent system as a persistent, self-evolving long-term memory module. For agent developers, it suggests that teaching agents to remember their own "thoughts" may be more effective than endlessly expanding context windows.

    Links

  • Paper: arxiv.org/abs/2604.12231
  • Code: github.com/ulab-uiuc/Thought-Retriever
  • Published in Transactions on Machine Learning Research (TMLR), 2026

Tags

#ai-agents#rag#long-term-memory#llm#thought-retriever#academic-benchmark#tmlr#self-evolving-memory

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177618620