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

LLMs无法找到推理错误,但在给定错误位置的情况下可以纠正它们

LLMs cannot find reasoning errors, but can correct them given the error location

University of Cambridge(剑桥大学);Google Research(谷歌研究院)

Gladys Tyen, Hassan Mansoor, Victor Cărbune, Peter Chen, Tony Mak

AI总结:

研究表明LLM自我纠正推理错误效果差是因为无法定位错误,而非无法纠错;提供错误位置可提升性能,且用域外数据训练的小型分类器能更有效地发现错误。

摘要:

虽然自我纠正在改善LLM输出的风格和质量方面已展现出潜力(例如Chen等人,2023b;Madaan等人,2023),但近期尝试自我纠正逻辑或推理错误的努力往往导致正确答案变为错误,从而导致整体性能下降(Huang等人,2023)。在本文中,我们表明,糟糕的自我纠正性能源于LLM无法找到逻辑错误,而不是它们纠正已知错误的能力。首先,我们在寻找错误的能力上对几个最先进的LLM进行基准测试,并证明它们通常难以完成该任务,即使在高度客观、明确的情况下也是如此。其次,我们使用回溯设置(即将真实错误位置信息输入模型)独立于寻找错误来测试LLM的纠错能力。我们表明,这提升了我们5项推理任务的下游任务性能,表明LLM的纠错能力是稳健的。最后,我们表明,在没有真实标签或领域内训练数据的情况下,有可能获得错误位置信息。我们使用领域外数据训练了一个小型分类器,其表现出比提示大型模型更强的寻找错误性能。我们发布了我们的LLM生成的逻辑错误数据集BIG-Bench Mistake,以促进对定位LLM推理错误的进一步研究。

英文摘要:

While self-correction has shown promise in improving LLM outputs in terms of style and quality (e.g. Chen et al., 2023b; Madaan et al., 2023), recent attempts to self-correct logical or reasoning errors often cause correct answers to become incorrect, resulting in worse performances overall (Huang et al., 2023). In this paper, we show that poor self-correction performance stems from LLMs' inability to find logical mistakes, rather than their ability to correct a known mistake. Firstly, we benchmark several state-of-the-art LLMs on their mistake-finding ability and demonstrate that they generally struggle with the task, even in highly objective, unambiguous cases. Secondly, we test the correction abilities of LLMs -- separately from mistake finding -- using a backtracking setup that feeds ground truth mistake location information to the model. We show that this boosts downstream task performance across our 5 reasoning tasks, indicating that LLMs' correction abilities are robust. Finally, we show that it is possible to obtain mistake location information without ground truth labels or in-domain training data. We train a small classifier with out-of-domain data, which exhibits stronger mistake-finding performance than prompting a large model. We release our dataset of LLM-generated logical mistakes, BIG-Bench Mistake, to enable further research into locating LLM reasoning mistakes.

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

↑