arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.20215cs.CLcs.LG
收藏

具有记忆掩码的多智能体辩论

Multi-Agent Debate with Memory Masking

TMLR Group, Hong Kong Baptist University(香港 Baptist 大学 TMLR 团队);Search Algorithm Group, WeChat, Tencent(微信搜索算法团队,腾讯)

Hongduan Tian, Xiao Feng, Ziyuan Zhao, Xiangyu Zhu, Rolan Yan, Bo Han

AI总结:

本文提出MAD-M$^2$框架,通过在每轮辩论前屏蔽错误记忆以提升多智能体辩论的鲁棒性,实验证明其在数学和逻辑推理任务中表现更优。

摘要:

大型语言模型(LLMs)近期在推理任务中展示了出色的性能。目前主流LLM推理框架主要通过扩大推理时间采样来提升性能。特别是,多智能体辩论(MAD)作为一种多轮辩论的推理范式,因其允许智能体访问先前记忆以减少错误内容并迭代优化推理而兴起。然而,尽管MAD显著提升了LLM的推理能力,本文发现仍存在错误记忆,且LLM智能体易受这些错误记忆影响。为此,本文提出一种简单有效的多智能体辩论框架,即具有记忆掩码的多智能体辩论(MAD-M$^2$),通过在每轮辩论开始时屏蔽前一轮的错误记忆,以提高MAD的鲁棒性。实验表明,MAD-M$^2$能识别错误记忆并在推理任务中表现优于MAD。

英文摘要:

Large language models (LLMs) have recently demonstrated impressive capabilities in reasoning tasks. Currently, mainstream LLM reasoning frameworks predominantly focus on scaling up inference-time sampling to enhance performance. In particular, among all LLM reasoning frameworks, *multi-agent debate* (MAD), which employs multiple LLMs as agents to perform reasoning in the way of multi-round debate, has emerged as a powerful reasoning paradigm since it allows agents to access previous memories to alleviate fallacious content and refine their reasoning iteratively in each debate round. However, although MAD significantly improves the reasoning capabilities of LLMs, in this paper, we observe that there remain erroneous memories, and LLM agents are vulnerable to these erroneous memories. To explore this phenomenon, we provide a theoretical insight that the performance of MAD is highly dependent on the quality of memories derived from the previous debate, indicating that the existence of erroneous memories poses a threat to the performance of MAD. To address this problem, we introduce a simple yet effective multi-agent debate framework, *multi-agent debate with memory masking* (MAD-M$^2$), to improve the robustness of MAD by allowing LLM agents to mask erroneous memories from the previous debate round at the beginning of each debate round. In this way, MAD-M$^2$ can polish the contextual information before each debate round by preserving informative and meaningful memories while discarding the erroneous memories. Extensive experiments and analyses on mainstream mathematical and logical reasoning benchmarks demonstrate that MAD-M$^2$ can identify the erroneous memories and achieve better performance in reasoning than MAD.

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

↑