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

内在记忆代理:通过结构化上下文记忆实现异构多代理LLM系统

Intrinsic Memory Agents: Heterogeneous Multi-Agent LLM Systems through Structured Contextual Memory

The Alan Turing Institute(艾伦·图灵研究所);King’s College London(伦敦大学国王学院);University of Southampton(南安普顿大学)

Sizhe Yuen, Francisco Gomez Medina, Ting Su, Yali Du, Adam J. Sobey

AI总结:

本文提出内在记忆代理,通过结构化上下文记忆提升多代理LLM系统在复杂任务中的表现,展现更高的设计质量和一致性。

摘要:

基于大型语言模型(LLMs)的多代理系统在复杂协作问题解决中展现出巨大潜力,但受到上下文窗口限制的根本挑战影响了记忆一致性、角色遵循和程序完整性。本文介绍了内在记忆代理,一种新的框架,通过代理特定的记忆来解决这些限制,这些记忆随着代理输出内在演变。具体而言,我们的方法维护了角色对齐的记忆,以保持专门的视角,同时专注于任务相关的信息。我们的方法利用通用的记忆模板适用于新问题,而无需手工编写特定的记忆提示。我们在此PDDL、FEVER和ALFWorld数据集上进行基准测试,将其性能与现有最先进的多代理记忆方法进行比较,并在所有三个数据集上均显示出最先进的或可比的性能,其中最高的一致性。此外,我们在复杂的数据管道设计任务上进行了额外评估,并证明我们的方法在可扩展性、可靠性、可用性、成本效益和文档方面产生了更高的质量设计,在5个指标上表现更优,加上额外的定性证据。我们的发现表明,通过内在方法解决记忆限制可以提高多代理LLM系统在结构化规划任务中的能力。

英文摘要:

Multi-agent systems built on Large Language Models (LLMs) show exceptional promise for complex collaborative problem-solving, yet they face fundamental challenges stemming from context window limitations that impair memory consistency, role adherence, and procedural integrity. This paper introduces Intrinsic Memory Agents, a novel framework that addresses these limitations through agent-specific memories that evolve intrinsically with agent outputs. Specifically, our method maintains role-aligned memory that preserves specialized perspectives while focusing on task-relevant information. Our approach utilises a generic memory template applicable to new problems without the need to hand-craft specific memory prompts. We benchmark our approach on the PDDL, FEVER, and ALFWorld datasets, comparing its performance to existing state-of-the-art multi-agentic memory approaches and showing state-of-the-art or comparable performance across all three, with the highest consistency. An additional evaluation is performed on a complex data pipeline design task, and we demonstrate that our approach produces higher quality designs across 5 metrics: scalability, reliability, usability, cost-effectiveness, and documentation, plus additional qualitative evidence of the improvements. Our findings suggest that addressing memory limitations through intrinsic approaches can improve the capabilities of multi-agent LLM systems on structured planning tasks.

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

↑