Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questions

Shulin Cao, Jiajie Zhang, Jiaxin Shi, Xin Lv, Zijun Yao +3 more
11/23/2023
cs.CLcs.AI

No official code found. Best implementation: THU-KEG/ProbTree (23 stars, MIT, last commit 2024-03-21). 1 more below.

Abstract

Large language models (LLMs) are capable of answering knowledge-intensive complex questions with chain-of-thought (CoT) reasoning. However, they tend to generate factually incorrect reasoning steps when the required knowledge is not available or up-to-date in models' parameters. Recent works turn to retrieving external knowledge to augment CoT reasoning. Despite being promising, these chain-based methods suffer from: 1) Negative retrieval. Unnecessary or incorrect retrieval may mislead the reasoning; 2) Limited sight. Lacking the ability to look backward or forward, a local error in one step will propagate along the chain. In this paper, we propose a novel approach: Probabilistic Tree-of-thought Reasoning (ProbTree). First, LLMs translate a complex question into a query tree, in which each non-root node denotes a sub-question of its parent node. Then, probabilistic reasoning is conducted over the tree, by solving questions from leaf to root considering the confidence of both question decomposing and answering. During reasoning, for leaf nodes, LLMs choose a more confident answer from Closed-book QA that employs parametric knowledge and Open-book QA that employs retrieved external knowledge, thus eliminating the negative retrieval problem. For non-leaf nodes, with the hierarchical structure, LLMs have broader sights and are able to globally reason with the information from child nodes, thus recovering from local errors. The experiments on three Complex QA datasets under the open-domain setting show that our approach outperforms SOTA methods significantly, demonstrating the effect of probabilistic tree-of-thought reasoning.

View on arXivView PDF

Code Implementations(2)

THU-KEG/ProbTreeCommunity100%
MIT

Source code for EMNLP 2023 paper "Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questions".

231Shell, PythonOct 17, 20232 years agoMIT
MIT

Source code for findings of EMNLP 2023 paper"Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questions".

81Shell, PythonOct 16, 20233 years agoMIT

Similar Papers

Cite this paper

@article{cao2023probabilistic,
  title  = {Probabilistic Tree-of-thought Reasoning for Answering Knowledge-intensive Complex Questions},
  author = {Shulin Cao and Jiajie Zhang and Jiaxin Shi and Xin Lv and Zijun Yao and Qi Tian and Juanzi Li and Lei Hou},
  year   = {2023},
  eprint = {2311.13982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.13982v1}
}

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

Discussion