Beyond the Final Embedding: Retrieving Memories from Token-Level Evidence
Han Luo, Zhan Zhuang, Xu He, Jujia Zhao, Yu Li, Suqin Yuan, Dong Li, Lei Feng
Key points
From the paper's conclusion- Query adaptation further increases the gains to 13.3 and 14.3 percentage points in average Recall@10 and NDCG@10 on Qwen3-Embedding-4B.
Abstract
Memory-augmented assistants retrieve evidence from stored conversations and documents to answer queries. Most embedding-based retrievers compare single-vector representations of queries and memories, even when relevance depends on a small part of the content. Such local evidence can be matched to queries using the contextual token representations already computed by the same embedding models. Our method uses sparse token matching to improve retrieval without additional training. Each query token retrieves a small set of matching tokens across candidate memories. The matching scores are aggregated for each memory and combined with whole-memory similarity to rank memories. An optional low-rank query adapter can be trained with supervision while keeping the encoder and stored memory representations fixed. Our method improves retrieval across eight benchmarks and multiple model families without additional training. Query adaptation further increases the gains to 13.3 and 14.3 percentage points in average Recall@10 and NDCG@10 on Qwen3-Embedding-4B. These retrieval gains translate into higher question-answering accuracy on long-term memory benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Learning to Retrieve Missing Evidence for Long-Term Memory QAarXiv · 2026
- From Relevant Memories to Sufficient Evidence: Rethinking Memory Utilization in LLM AgentsarXiv · 2026
- Jetriever: Shifting Agent Memory Retrieval from Similarity to UtilityarXiv · 2026
- Why Calibrated BM25 Filtering Barely Reduced Context on LongMemEvalarXiv · 2026
- Search-by-Answer Bias in Retrieval ModelsarXiv · 2026
- Reducing Representational Interference in Retrieval Embeddings with Trainable Prefix TokensarXiv · 2026