[论文解读] Faithful Chain-of-Thought Reasoning
Faithful CoT 将推理分解为翻译(NL 到 NL/SL 链)和问题解决(确定性求解器),以确保解释忠实地产生最终答案,在若干数据集上实现了 SOTA 性能。
While Chain-of-Thought (CoT) prompting boosts Language Models' (LM) performance on a gamut of complex reasoning tasks, the generated reasoning chain does not necessarily reflect how the model arrives at the answer (aka. faithfulness). We propose Faithful CoT, a reasoning framework involving two stages: Translation (Natural Language query $ ightarrow$ symbolic reasoning chain) and Problem Solving (reasoning chain $ ightarrow$ answer), using an LM and a deterministic solver respectively. This guarantees that the reasoning chain provides a faithful explanation of the final answer. Aside from interpretability, Faithful CoT also improves empirical performance: it outperforms standard CoT on 9 of 10 benchmarks from 4 diverse domains, with a relative accuracy gain of 6.3% on Math Word Problems (MWP), 3.4% on Planning, 5.5% on Multi-hop Question Answering (QA), and 21.4% on Relational Inference. Furthermore, with GPT-4 and Codex, it sets the new state-of-the-art few-shot performance on 7 datasets (with 95.0+ accuracy on 6 of them), showing a strong synergy between faithfulness and accuracy.
研究动机与目标
- 解决 Chain-of-Thought 提示中推理链的忠实性问题。
- 提出一个两阶段框架(翻译与问题解决),产生忠实的解释。
- 在数学文字题、规划、多步问答和关系推断等任务上展示性能提升。
- 在不同语言模型、提示变体和示例下展示鲁棒性,同时强调局限性与伦理问题。
提出的方法
- 将 NL 查询翻译成交错 NL 与符号语言(SL)的推理链。
- 用确定性的外部求解器解决 SL 程序以产生最终答案。
- 将问题分解为子问题,使用 NL 编码子步骤并以 Python、Datalog 或 PDDL 等 SL 编码。
- 使用两阶段管道确保 A 是通过执行 C_SL 推导得到,从而保证忠实性。
- 在4个领域(MWP、规划、Multi-hop QA、关系推断)对多种 LM 和解码策略评估 Faithful CoT 的表现。
- 提供对鲁棒性、求解器角色和错误模式的分析。
实验结果
研究问题
- RQ1Faithful CoT 是否能够在不同推理任务中提供忠实的解释同时提升最终答案的准确性?
- RQ2在推理链中交错 NL 与 SL 对性能与可解释性有何影响?
- RQ3外部求解器(Python、Datalog、PDDL)的选择如何影响结果与鲁棒性?
- RQ4翻译阶段的不透明性在可解释性方面在多大程度上是一个局限?
主要发现
- 相较于 vanilla CoT 和 LtM 基线,Faithful CoT 在9/10 基准上提高了准确性。
- 在使用 Codex 时,Faithful CoT 在关系推断上实现了最高 21.4% 的相对增益,并在数学文字题、规划和多步问答上实现显著增益。
- 在使用 GPT-4 时,Faithful CoT 实现了7个数据集的 SOTA 少量示例结果(其中6个达到 95.0% 及以上的准确度)。
- 外部求解器对多项任务至关重要;去除它会显著降低若干数据集的准确性。
- 在人工评估中,Faithful CoT 产生了相对合理的推理链,尽管在知识密集或模棱两可的情形中仍可能存在错误链与正确答案共存。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。