TL;DR
Current LLM agents struggle with long-term memory because they try to "rewrite" history into summaries, a process that is expensive, lossy, and unstable. Threader flips this script by treating raw chat logs as first-class memory, using lightweight segmentation and multi-view retrieval to access precise evidence without the overhead of constant LLM rewriting.
What Problem Does This Paper Address?
Building a conversational agent with a "perfect memory" is harder than it looks. Most state-of-the-art systems (like Mem0 or EverMemOS) use a Memory Construction paradigm: they take raw chat turns, use an LLM to summarize or extract key facts, and store those snippets in a database.
However, the authors identify a "breaking point" for this approach in long-horizon, high-entropy conversations—think of a months-long interaction where topics are interleaved and complex. In these scenarios, LLM-based construction suffers from:
- Information Loss: Summaries often miss sparse but critical details (the "lost-in-the-middle" phenomenon).
- Instability: As history grows, the LLM's ability to consistently extract facts degrades.
- Prohibitive Cost: Repeatedly calling an LLM to "rewrite" every new interaction leads to massive "token amplification," making it too expensive for real-world deployment.
Methods
The authors propose Threader, which shifts the focus from constructing memory to accessing raw history more intelligently. It consists of three main components:
- Incremental Topic-Coherent Segmentation: Instead of fixed-size chunks or expensive LLM summaries, Threader uses a lightweight BERT-based classifier to decide, turn-by-turn, whether to continue the current topic or start a new segment. This preserves the natural boundaries of a conversation.
- Multi-View Segment Representation: To ensure retrieval doesn't miss "weak" signals, each segment is encoded into three views: User-only, Assistant-only, and Full-context. This prevents verbose assistant responses from drowning out specific user preferences during the search.
- Multi-Signal Evidence Retrieval: At query time, Threader uses a two-stage process. First, it performs a coarse recall using both dense (semantic) and lexical (BM25) search. Second, it performs "Evidence-level refinement," scoring individual messages within the candidate segments to pinpoint the exact evidence needed for the final answer.
Datasets
The researchers evaluated Threader on two major benchmarks:
- LongMemEval: A dataset containing 500 QA instances with an average session length of 2K tokens, focusing on information extraction and temporal reasoning.
- PersonaMem: A more challenging personalization benchmark with much longer sessions (averaging 26K tokens), designed to test long-horizon user-specific memory.
To simulate even more difficult real-world scenarios, they also created "concatenated" versions of these datasets to increase information entanglement.
Key Insights and Ideas
- Raw is Better than Refined: In long-term memory, the "lossy" nature of LLM summarization is a feature, not a bug, of failure. Keeping the raw text ensures that the "gold" evidence is never accidentally deleted during the construction phase.
- The Cost of "Thinking" about Memory: Traditional methods can require up to 21x more tokens than the original input just to build the memory index. Threader achieves a 110x speedup in memory construction by eliminating LLM calls during the indexing phase.
- Multi-View Retrieval is Essential: User utterances are often short and fact-dense, while assistant responses are long and generative. By separating these views, the system can selectively attend to user-centric signals that are often the key to answering personalization queries.
Key Results
- Superior Accuracy: Threader consistently outperformed all baselines. On LongMemEval, it improved overall accuracy by 6.84% over the strongest baseline (EverMemOS) when using GPT-5-mini.
- Robustness to Length: While other methods saw their performance plummet as conversations got longer and more "entangled," Threader remained stable.
- Efficiency: Beyond the 110x construction speedup, Threader achieved 5.9x to 23.0x faster query-time latency compared to other agentic RAG systems, primarily because it avoids expensive LLM-based retrieval loops.
Limitations and Future Work
- Segmentation Quality: The system's performance is heavily dependent on the BERT segmenter. If a topic is split incorrectly across two segments, recall can suffer.
- Lifelong Scaling: While efficient, the authors note that truly "lifelong" memory (years of data) would eventually require mechanisms for pruning or hierarchical indexing to maintain speed.
- Abstraction vs. Preservation: Threader excels at finding specific facts. However, for tasks that require high-level synthesis (e.g., "How has my personality changed over the last year?"), the authors suggest that a hybrid approach combining raw evidence with adaptive abstraction might be the next frontier.
Summary updated