Enhancing Chain-of-Thoughts Prompting with Iterative Bootstrapping in Large Language Models

Jiashuo Sun, Yi Luo, Yeyun Gong, Chen Lin, Yelong Shen +2 more
4/23/2023
cs.CLcs.AI

No official code found. Best implementation: GasolSun36/Iter-CoT (86 stars, last commit 2024-03-13).

Abstract

Large language models (LLMs) can achieve highly effective performance on various reasoning tasks by incorporating step-by-step chain-of-thought (CoT) prompting as demonstrations. However, the reasoning chains of demonstrations generated by LLMs are prone to errors, which can subsequently lead to incorrect reasoning during inference. Furthermore, inappropriate exemplars (overly simplistic or complex), can affect overall performance among varying levels of difficulty. We introduce Iter-CoT (Iterative bootstrapping in Chain-of-Thoughts Prompting), an iterative bootstrapping approach for selecting exemplars and generating reasoning chains. By utilizing iterative bootstrapping, our approach enables LLMs to autonomously rectify errors, resulting in more precise and comprehensive reasoning chains. Simultaneously, our approach selects challenging yet answerable questions accompanied by reasoning chains as exemplars with a moderate level of difficulty, which enhances the LLMs' generalizability across varying levels of difficulty. Experimental results indicate that Iter-CoT exhibits superiority, achieving competitive performance across three distinct reasoning tasks on ten datasets.

View on arXivView PDF

Code Implementations(1)

GasolSun36/Iter-CoTCommunity100%

[NAACL 2024] Enhancing Chain-of-Thoughts Prompting with Iterative Bootstrapping in Large Language Models

867Shell, PythonApr 16, 20232 years ago

Cite this paper

@article{sun2023enhancing,
  title  = {Enhancing Chain-of-Thoughts Prompting with Iterative Bootstrapping in Large Language Models},
  author = {Jiashuo Sun and Yi Luo and Yeyun Gong and Chen Lin and Yelong Shen and Jian Guo and Nan Duan},
  year   = {2023},
  eprint = {2304.11657},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.11657v3}
}

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

Discussion