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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sun, Jiashuo, Luo, Yi, Gong, Yeyun, Lin, Chen, Shen, Yelong, Guo, Jian, Duan, Nan
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929276796796928
author Sun, Jiashuo
Luo, Yi
Gong, Yeyun
Lin, Chen
Shen, Yelong
Guo, Jian
Duan, Nan
author_facet Sun, Jiashuo
Luo, Yi
Gong, Yeyun
Lin, Chen
Shen, Yelong
Guo, Jian
Duan, Nan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2304_11657
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Enhancing Chain-of-Thoughts Prompting with Iterative Bootstrapping in Large Language Models
Sun, Jiashuo
Luo, Yi
Gong, Yeyun
Lin, Chen
Shen, Yelong
Guo, Jian
Duan, Nan
Computation and Language
Artificial Intelligence
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.
title Enhancing Chain-of-Thoughts Prompting with Iterative Bootstrapping in Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2304.11657