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

大语言模型中忠实推理与不忠实推理的分离

Dissociation of Faithful and Unfaithful Reasoning in LLMs

University of California, San Diego(加利福尼亚大学圣迭戈分校);Peddie(佩迪学校);Laboratory of Emerging Intelligence(新兴智能实验室)

Evelyn Yee, Alice Li, Chenyu Tang, Yeon Ho Jung, Ramamohan Paturi, Leon Bergen

AI总结:

本文通过分析思维链中的错误恢复行为,揭示LLMs存在不忠实推理,并发现忠实与不忠实恢复由不同机制驱动,为降低不忠实推理和提升可解释性提供了方向。

摘要:

大语言模型(LLMs)在生成答案之前先产生思维链推理文本时,通常能提升其在下游任务中的表现。我们研究了LLMs如何从思维链中的错误中恢复。通过对错误恢复行为的分析,我们发现了思维链中存在不忠实性的证据,即模型在推理文本无效的情况下仍能得出正确答案。我们识别了改变LLM恢复行为的因素:LLMs在错误较为明显时以及上下文为正确答案提供更多证据时,恢复的频率更高。关键的是,这些因素对忠实恢复和不忠实恢复产生了不同的影响。我们的结果表明,驱动忠实错误恢复与不忠实错误恢复的是不同的机制。选择性地针对这些机制进行干预,可能有助于降低不忠实推理的发生率,并提高模型的可解释性。

英文摘要:

Large language models (LLMs) often improve their performance in downstream tasks when they generate Chain of Thought reasoning text before producing an answer. We investigate how LLMs recover from errors in Chain of Thought. Through analysis of error recovery behaviors, we find evidence for unfaithfulness in Chain of Thought, which occurs when models arrive at the correct answer despite invalid reasoning text. We identify factors that shift LLM recovery behavior: LLMs recover more frequently from obvious errors and in contexts that provide more evidence for the correct answer. Critically, these factors have divergent effects on faithful and unfaithful recoveries. Our results indicate that there are distinct mechanisms driving faithful and unfaithful error recoveries. Selective targeting of these mechanisms may be able to drive down the rate of unfaithful reasoning and improve model interpretability.

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

↑