Faithful Chain-of-Thought Reasoning

Qing Lyu, Shreya Havaldar, Adam Stein, Li Zhang, Delip Rao +3 more
1/31/2023
cs.CL

No official code found. Best implementation: veronica320/Faithful-COT (169 stars, MIT, last commit 2024-05-07).

Abstract

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 $\rightarrow$ symbolic reasoning chain) and Problem Solving (reasoning chain $\rightarrow$ 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.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data accompanying our paper on arXiv "Faithful Chain-of-Thought Reasoning".

16914PDDL, PythonJan 31, 20232 years agoMIT

Cite this paper

@article{lyu2023faithful,
  title  = {Faithful Chain-of-Thought Reasoning},
  author = {Qing Lyu and Shreya Havaldar and Adam Stein and Li Zhang and Delip Rao and Eric Wong and Marianna Apidianaki and Chris Callison-Burch},
  year   = {2023},
  eprint = {2301.13379},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.13379v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.13379.svg)](https://codeofpaper.com/paper/2301.13379)

Discussion