个性化大语言模型需要完整对话历史吗?通过相关性过滤的上下文,仅用5%的文本匹配完整历史 Do Personalized LLMs Need the Whole Conversation? Matching the Full History with Only 5% of Its Text via Relevance-Filtered Context 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-10
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
个性化助手积累的对话历史很长,每次请求都把全部历史传给大模型成本很高。研究者在PersonaMem-v2数据集(180个问题)上测试发现,用句子级检索按与当前请求的相似度排序历史,并截断到固定预算,仅保留5%的文本,就能达到与完整历史相同的准确率,同时将评审模型的输入减少约20倍。虽然用大模型生成摘要效果相当,但检索只需一个小型嵌入模型,更高效。研究还发现,检索只在61%的问题中把相关证据放入上下文,而如果只给模型相关证据,准确率能比完整历史高15.6个百分点,说明更好的上下文选择有望超越完整历史。
领域自然语言处理/对话系统与个性化
适合谁读需要一定专业背景
核心贡献1. 证明仅用5%的检索文本即可匹配完整对话历史的个性化性能,大幅降低输入成本;2. 揭示检索与摘要效果相当但检索更轻量,且上下文选择仍有提升空间,为超越完整历史指明方向。
关键数据在PersonaMem-v2的180个问题上,检索仅用5%文本达到完整历史准确率,评审输入减少约20倍;检索仅在61%的问题中放入相关证据;仅给相关证据的oracle比完整历史高15.6个百分点。
推荐理由想用极低成本实现个性化对话?这篇论文告诉你只需5%的文本就能媲美完整历史,还指出了超越完整历史的潜力方向。
关键词["个性化大语言模型", "上下文压缩", "句子级检索", "对话历史", "相关性过滤", "效率优化"]

原文摘要

查看英文原文摘要

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.