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

通过多智能体辩论激发大语言模型的发散思维

Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debate

Tencent AI Lab(腾讯AI实验室);Tsinghua University(清华大学);Shanghai Jiao Tong University(上海交通大学)

Tian Liang, Zhiwei He, Wenxiang Jiao, Xing Wang, Yan Wang, Rui Wang, Yujiu Yang, Shuming Shi, Zhaopeng Tu

AI总结:

针对大语言模型自我反思存在的思维退化问题,提出多智能体辩论框架以激发发散思维,在两个推理任务数据集上验证了有效性,并分析了性能影响因素与裁判公平性问题。

摘要:

现代大语言模型(LLM)如ChatGPT在通用语言任务上表现出色,但在复杂推理任务上仍存在困难,这推动了针对LLM认知行为的研究,以探索类人的问题解决策略。在这一方向上,自我反思是一种代表性策略,即要求LLM利用自身生成的反馈迭代优化解决方案。然而,我们的研究表明,这类反思式方法存在“思维退化(Degeneration-of-Thought,DoT)”问题:一旦LLM对自己的解决方案建立了信心,即使其初始立场是错误的,后续也无法通过反思产生新的想法。为解决DoT问题,我们提出了多智能体辩论(Multi-Agent Debate,MAD)框架,其中多个智能体以“针锋相对”的状态表达各自的论点,由一个裁判管理辩论过程以得出最终解决方案。显然,我们的MAD框架能够激发LLM的发散思维,这对需要深度思考的任务有所助益。在常识机器翻译和反直觉算术推理两个具有挑战性的数据集上的实验结果,证明了MAD框架的有效性。大量分析表明,辩论的自适应终止和适度的“针锋相对”状态是MAD取得良好性能的必要条件。此外,我们发现,如果不同智能体使用不同的LLM,LLM可能无法成为公平的裁判。代码可在https://github.com/Skytliang/Multi-Agents-Debate获取。

英文摘要:

Modern large language models (LLMs) like ChatGPT have shown remarkable performance on general language tasks but still struggle on complex reasoning tasks, which drives the research on cognitive behaviors of LLMs to explore human-like problem-solving strategies. Along this direction, one representative strategy is self-reflection, which asks an LLM to refine the solution with the feedback generated by itself iteratively. However, our study shows that such reflection-style methods suffer from the Degeneration-of-Thought (DoT) problem: once the LLM has established confidence in its solutions, it is unable to generate novel thoughts later through reflection even if its initial stance is incorrect. To address the DoT problem, we propose a Multi-Agent Debate (MAD) framework, in which multiple agents express their arguments in the state of "tit for tat" and a judge manages the debate process to obtain a final solution. Clearly, our MAD framework encourages divergent thinking in LLMs which would be helpful for tasks that require deep levels of contemplation. Experiment results on two challenging datasets, commonsense machine translation and counter-intuitive arithmetic reasoning, demonstrate the effectiveness of our MAD framework. Extensive analyses suggest that the adaptive break of debate and the modest level of "tit for tat" state are required for MAD to obtain good performance. Moreover, we find that LLMs might not be a fair judge if different LLMs are used for agents. Code is available at https://github.com/Skytliang/Multi-Agents-Debate.

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

↑