about
Automated Large Language Models Reasoning with Bidirectional Chaining (arxiv.org)
2 points by PaulHoule on Jun 25, 2024 | hide | past | pdf | discuss on HN

In plain words: When a chain of logic hits several possible next steps, this system flips direction and works backward (or forward) to gather clues before choosing. It answered hard logic puzzles more accurately than one-way chaining, with fewer model calls and fewer wrong intermediate steps.

Abstract · Bi-Chainer: Automated Large Language Models Reasoning with Bidirectional Chaining

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.

Shuqi Liu, Bowei He, Linqi Song
arXiv:2406.06586 · cs.CL, cs.AI · submitted Jun 5, 2024
abstract · pdf · html · Accepted by ACL 2024

add comment on HN