arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13277cs.IRcs.CL
收藏

超越最终嵌入:从词元级证据中检索记忆

Beyond the Final Embedding: Retrieving Memories from Token-Level Evidence

Southeast University(东南大学);MemoraX AI;Leiden University(莱顿大学);University of Sydney(悉尼大学)

Han Luo, Zhan Zhuang, Xu He, Jujia Zhao, Yu Li, Suqin Yuan, Dong Li, Lei Feng

AI总结:

该研究针对记忆增强型助手的检索问题,提出无需额外训练的稀疏词元匹配方法,结合可选低秩查询适配器,在多基准上提升检索效果,进而提高问答准确率。

摘要:

记忆增强型助手会从存储的对话和文档中检索证据以回答查询。大多数基于嵌入的检索器会比较查询和记忆的单向量表示,即便相关性取决于内容的一小部分。这类局部证据可利用同一嵌入模型已计算的上下文词元表示与查询匹配。我们的方法采用稀疏词元匹配来改进检索,无需额外训练:每个查询词元从候选记忆中检索一小部分匹配词元,将每个记忆的匹配分数聚合后与整体记忆相似度结合以对记忆排序。可选的低秩查询适配器可在保持编码器和存储记忆表示固定的情况下,通过监督训练。我们的方法在8个基准和多个模型家族上提升了检索效果,无需额外训练;查询适配进一步将Qwen3-Embedding-4B的平均Recall@10和NDCG@10的增益提升至13.3和14.3个百分点,这些检索增益转化为长期记忆基准上更高的问答准确率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑