arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.13982cs.CLcs.AI
收藏

用于回答知识密集型复杂问题的概率性思维树推理

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

Tsinghua University(清华大学);Huawei Technologies(华为技术有限公司)

Shulin Cao, Jiajie Zhang, Jiaxin Shi, Xin Lv, Zijun Yao, Qi Tian, Juanzi Li, Lei Hou

AI总结:

本文提出概率性思维树推理方法ProbTree,通过构建查询树并结合闭卷与开卷问答的置信度选择,解决LLM在知识密集型复杂问答中的负面检索和局部错误传播问题,显著优于现有SOTA方法。

摘要:

大型语言模型(LLMs)能够通过思维链(CoT)推理回答知识密集型复杂问题。然而,当所需知识在模型参数中不可用或不是最新时,它们往往会产生事实性错误的推理步骤。近期的研究转向检索外部知识来增强CoT推理。尽管前景广阔,这些基于链的方法存在以下问题:1)负面检索。不必要或错误的检索可能会误导推理;2)视野受限。由于缺乏向后或向前看的能力,某一步的局部错误会沿着链条传播。在本文中,我们提出了一种新颖的方法:概率性思维树推理(ProbTree)。首先,LLMs将复杂问题转换为一棵查询树,其中每个非根节点表示其父节点的一个子问题。然后,在树上进行概率推理,通过考虑问题分解和回答的置信度,从叶到根解决各个问题。在推理过程中,对于叶节点,LLMs从利用参数知识的闭卷问答和利用检索外部知识的开卷问答中选择置信度更高的答案,从而消除负面检索问题。对于非叶节点,借助层次结构,LLMs拥有更广阔的视野,能够利用来自子节点的信息进行全局推理,从而从局部错误中恢复。在开放域设置下的三个复杂问答数据集上的实验表明,我们的方法显著优于SOTA方法,证明了概率性思维树推理的有效性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑