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

个性化大语言模型(LLM)是否需要完整对话?通过相关性过滤的上下文仅用5%的文本匹配完整历史

Do Personalized LLMs Need the Whole Conversation? Matching the Full History with Only 5% of Its Text via Relevance-Filtered Context

Keio University(庆应义塾大学)

Erika Hayashi, Andrew Shin

AI总结:

该研究针对个性化助手传递完整对话历史成本高的问题,提出通过相关性过滤的句子级检索构建仅含5%文本的上下文,在PersonaMem-v2数据集上达到完整历史的准确率,且优于LLM摘要,为优化LLM上下文选择提供了方向。

摘要:

个性化助手会积累长长的对话历史,每次请求都将完整历史传递给LLM的成本很高,我们证明这也是不必要的。在PersonaMem-v2(180个问题)数据集上,以GPT-5.6-terra和Claude Opus 5.5作为评判者,通过句子级检索构建的相关性过滤上下文(该检索按历史与当前请求的相似度排序,并在达到固定预算时停止)仅用5%的文本就达到了完整历史的准确率,将评判者的输入减少了约20倍。相同长度的LLM摘要表现相当,但它需要LLM读取整个历史,而检索仅需要一个小型嵌入模型。虽然句子级检索和LLM摘要都表现出色,但检索仅在61%的问题中将相关证据置于上下文中,仅获得该证据的“神谕”比完整历史的准确率高出15.6个百分点,这使得更好的上下文选择成为超越完整历史的有前景路径。

英文摘要:

Personalized assistants accumulate long conversation histories, and passing the whole history to an LLM with every request is costly. We show that it is also unnecessary. On PersonaMem-v2 (180 questions), with GPT-5.6-terra and Claude Opus 5.5 as judges, a relevance-filtered context, built by sentence-level retrieval that ranks the history by similarity to the current request and stops at a fixed budget, matches full-history accuracy with only 5% of the text, cutting the judge's input about 20-fold. An LLM summary of the same length performs on par, but it needs an LLM to read the entire history, whereas retrieval needs only a small embedding model. While both sentence-level retrieval and LLM summary perform strongly, retrieval does so while placing the relevant evidence in the context for only 61% of the questions, and an oracle given only that evidence beats the full history by 15.6 points, making better context selection a promising path to surpassing the full history.

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

↑