Self-prompted Chain-of-Thought on Large Language Models for Open-domain Multi-hop Reasoning

Jinyuan Wang, Junlong Li, Hai Zhao
10/20/2023
42 citations
cs.CLcs.AI

Official code: noewangjy/SP-CoT (33 stars, Python, Apache-2.0, last commit 2024-03-08).

Abstract

In open-domain question-answering (ODQA), most existing questions require single-hop reasoning on commonsense. To further extend this task, we officially introduce open-domain multi-hop reasoning (ODMR) by answering multi-hop questions with explicit reasoning steps in open-domain setting.

Show full abstract

Recently, large language models (LLMs) have found significant utility in facilitating ODQA without external corpus. Furthermore, chain-of-thought (CoT) prompting boosts the reasoning capability of LLMs to a greater extent with manual or automated paradigms. However, existing automated methods lack of quality assurance, while manual approaches suffer from limited scalability and poor diversity, hindering the capabilities of LLMs. In this paper, we propose Self-prompted Chain-of-Thought (SP-CoT), an automated framework to mass-produce high quality CoTs of LLMs, by LLMs and for LLMs. SP-CoT introduces an automated generation pipeline of high quality ODMR datasets, an adaptive sampler for in-context CoT selection and self-prompted inference via in-context learning. Extensive experiments on four multi-hop question-answering benchmarks show that our proposed SP-CoT not only significantly surpasses the previous SOTA methods on large-scale (175B) LLMs, but also nearly doubles the zero-shot performance of small-scale (13B) LLMs. Further analysis reveals the remarkable capability of SP-CoT to elicit direct and concise intermediate reasoning steps by recalling $\sim$50\% of intermediate answers on MuSiQue-Ans dataset.

View on arXivView PDF

Code Implementations(1)

noewangjy/SP-CoTOfficial100%
Apache-2.0

The GitHub repository for the paper "Self-prompted Chain-of-Thought on Large Language Models for Open-domain Multi-hop Reasoning" accepted by EMNLP 2023.

332Python, ShellOct 16, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2023selfprompted,
  title  = {Self-prompted Chain-of-Thought on Large Language Models for Open-domain Multi-hop Reasoning},
  author = {Jinyuan Wang and Junlong Li and Hai Zhao},
  year   = {2023},
  eprint = {2310.13552},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.13552v2}
}

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

Discussion