Bi-Chainer:基于双向链式推理的大语言模型自动推理方法
Bi-Chainer: Automated Large Language Models Reasoning with Bidirectional Chaining
AI总结:
本文提出双向链式推理方法 Bi-Chainer,通过在遇到多分支时动态切换推理方向,利用中间结果引导推理,在四个逻辑推理数据集上实现了比单向链式方法更高的准确率和更低的推理调用次数。
摘要:
大语言模型(LLMs)已展现出类人的推理能力,但在解决复杂逻辑问题时仍面临挑战。现有的单向链式推理方法,如前向链式推理和后向链式推理,存在预测准确率低和效率低等问题。为解决这些问题,我们提出了一种双向链式推理方法 Bi-Chainer,该方法在当前推理方向遇到多个分支选项时,动态切换到相反推理方向进行深度优先推理。这样,中间推理结果可以作为引导,促进推理过程的进行。我们证明,Bi-Chainer 在四个具有挑战性的逻辑推理数据集上相比单向链式推理框架取得了可观的准确率提升。此外,Bi-Chainer 提高了中间证明步骤的准确率,并减少了平均推理调用次数,从而实现更高效、更准确的推理。
英文摘要:
Large Language Models (LLMs) have shown human-like reasoning abilities but still face challenges in solving complex logical problems. Existing unidirectional chaining methods, such as forward chaining and backward chaining, suffer from issues like low prediction accuracy and efficiency. To address these, we propose a bidirectional chaining method, Bi-Chainer, which dynamically switches to depth-first reasoning in the opposite reasoning direction when it encounters multiple branching options within the current direction. Thus, the intermediate reasoning results can be utilized as guidance to facilitate the reasoning process. We show that Bi-Chainer achieves sizable accuracy boots over unidirectional chaining frameworks on four challenging logical reasoning datasets. Moreover, Bi-Chainer enhances the accuracy of intermediate proof steps and reduces the average number of inference calls, resulting in more efficient and accurate reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。