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

LLM 智能体中的自我反思:对问题解决性能的影响

Self-Reflection in LLM Agents: Effects on Problem-Solving Performance

Johns Hopkins University(约翰斯·霍普金斯大学)

Matthew Renze, Erhan Guven

AI总结:

该研究让九种 LLM 及八类自我反思智能体完成选择题并在答错后反思重试,证明自我反思可显著提升问题解决性能,并比较了不同反思类型的贡献。

摘要:

在本研究中,我们调查了大型语言模型(LLM)中的自我反思对问题解决性能的影响。我们指示九种流行的 LLM 回答一系列多项选择题,以提供性能基线。对于每个回答错误的问题,我们指示八种类型的自我反思 LLM 智能体反思其错误,并为自己提供指导以改进问题解决。随后,每个自我反思智能体利用该指导尝试重新回答相同的问题。我们的结果表明,LLM 智能体能够通过自我反思显著提升其问题解决性能($p < 0.001$)。此外,我们比较了各种类型的自我反思,以确定它们各自对性能的贡献。所有代码和数据均可在 GitHub 上获取:https://github.com/matthewrenze/self-reflection

英文摘要:

In this study, we investigated the effects of self-reflection in large language models (LLMs) on problem-solving performance. We instructed nine popular LLMs to answer a series of multiple-choice questions to provide a performance baseline. For each incorrectly answered question, we instructed eight types of self-reflecting LLM agents to reflect on their mistakes and provide themselves with guidance to improve problem-solving. Then, using this guidance, each self-reflecting agent attempted to re-answer the same questions. Our results indicate that LLM agents are able to significantly improve their problem-solving performance through self-reflection ($p < 0.001$). In addition, we compared the various types of self-reflection to determine their individual contribution to performance. All code and data are available on GitHub at https://github.com/matthewrenze/self-reflection

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

↑