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

Gladys Tyen, Hassan Mansoor, Victor Cărbune, Peter Chen, Tony Mak
11/14/2023
cs.AIcs.CLcs.LG

Official code: WHGTyen/BIG-Bench-Mistake (90 stars, Apache-2.0, last commit 2024-08-10).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

A dataset of LLM-generated chain-of-thought steps annotated with mistake location.

909PythonNov 16, 20232 years agoApache-2.0

Cite this paper

@article{tyen2023llms,
  title  = {LLMs cannot find reasoning errors, but can correct them given the error location},
  author = {Gladys Tyen and Hassan Mansoor and Victor Cărbune and Peter Chen and Tony Mak},
  year   = {2023},
  eprint = {2311.08516},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.08516v3}
}

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/2311.08516.svg)](https://codeofpaper.com/paper/2311.08516)

Discussion