召回催生召回:面向个性化大语言模型的循环记忆排序
Recall Begets Recall: Recurrent Memory Ranking for Personalized LLMs
AI总结:
针对现有个性化LLM记忆排序器单次遍历易漏相关记忆、固定截断未适配查询需求的问题,提出循环自终止式记忆排序器ReMind,经公开基准实验取得最优效果。
摘要:
记忆排序是个性化大语言模型(LLMs)的阶段,用于决定检索器返回的候选记忆中哪些进入有限上下文,从而让答案基于用户历史的正确部分。现有记忆排序器采用单次遍历方式,针对原始查询对每个候选记忆评分一次,并在固定的前K个位置截断排序列表。单次遍历会遗漏回答所需但自身与查询看似无关的记忆,而固定截断则忽略了查询所需的记忆数量。为解决这两个问题,我们提出ReMind,一种遵循记忆搜索认知理论的循环自终止式记忆排序器:每次召回的项目会加入下一次召回的线索(复合线索提示),且一旦收集到足够完成任务的信息就停止召回(元记忆监控)。对于复合线索提示,ReMind在每一步将排名最高的记忆添加到查询上下文中,并在扩展线索下对剩余候选重新排序,使每次召回让线索更具体,后续步骤寻找仍缺失的内容而非仅类似查询的内容。对于元记忆监控,充足性预测器在每一步估计收集的记忆是否足够回答查询,并在足够时停止循环,使所选记忆数量适配每个查询。在公开基准上的实验表明,ReMind相比最先进的记忆排序器取得了最佳结果。
英文摘要:
Memory ranking is the stage in personalized Large Language Models (LLMs) that decides which of the candidate memories returned by a retriever enter the limited context, so that the answer is grounded in the right parts of the user's history. Existing memory rankers operate in a single pass, scoring each candidate once against the raw query and cutting the ranked list at a fixed top-K. The single pass misses memories that the answer needs but that look unrelated to the query on their own, and the fixed cut ignores how many memories the query needs. To address both problems, we propose ReMind, a memory ranker that runs as a recurrent and self-terminating loop, following the cognitive theory of memory search: each recalled item joins the cue for the next recall (compound cueing), and recall stops once enough has been collected for the task (metamemory monitoring). For compound cueing, ReMind adds the top-ranked memory to the query context at each step and reranks the remaining candidates under the expanded cue, so that each recall makes the cue more specific and later steps look for what is still missing rather than for what merely resembles the query. For metamemory monitoring, a sufficiency predictor estimates at each step whether the collected memories are enough to answer the query and stops the loop once they are, so that the number of selected memories adapts to each query. Experiments on public benchmarks show that ReMind achieves the best results compared to state-of-the-art memory rankers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。