arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.23730cs.CL
收藏

评估长期记忆以实现长上下文问答

Evaluating Long-Term Memory for Long-Context Question Answering

School of Informatics, The University of Edinburgh(信息学院,爱丁堡大学)

Alessandra Terranova, Björn Ross, Alexandra Birch

AI总结:

本文评估了增强记忆方法在长上下文问答任务中的效果,发现通过RAG和事件记忆可显著减少令牌使用并保持准确性。

摘要:

为了使大型语言模型实现真正的对话连续性并受益于经验学习,它们需要记忆。尽管研究重点集中在复杂记忆系统的开发上,但仍然不清楚哪种类型的记忆最有效于长上下文对话任务。我们系统地评估了增强记忆的方法,这些方法应用于标注了问答任务的长上下文对话,这些任务需要多样的推理策略。我们分析了全上下文提示、通过检索增强生成和代理记忆的语义记忆,以及通过上下文学习的事件记忆,以及通过提示优化的程序记忆。我们的发现表明,增强记忆的方法可将令牌使用量减少超过90%,同时保持竞争性的准确性。记忆架构的复杂性应与模型能力成比例,基础模型最受益于RAG,而更强的指令调优模型则通过反思和更复杂的代理语义记忆获得益处。特别是,事件记忆可以帮助LLM识别自身知识的局限。

英文摘要:

In order for large language models to achieve true conversational continuity and benefit from experiential learning, they need memory. While research has focused on the development of complex memory systems, it remains unclear which types of memory are most effective for long-context conversational tasks. We present a systematic evaluation of memory-augmented methods on long-context dialogues annotated for question-answering tasks that require diverse reasoning strategies. We analyse full-context prompting, semantic memory through retrieval-augmented generation and agentic memory, episodic memory through in-context learning, and procedural memory through prompt optimization. Our findings show that memory-augmented approaches reduce token usage by over 90\% while maintaining competitive accuracy. Memory architecture complexity should scale with model capability, with foundation models benefitting most from RAG, and stronger instruction-tuned models gaining from episodic learning through reflections and more complex agentic semantic memory. In particular, episodic memory can help LLMs recognise the limits of their own knowledge.

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

↑