English

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

Computation and Language 2024-06-12 v1 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2406.06586,
  title  = {Bi-Chainer: Automated Large Language Models Reasoning with Bidirectional Chaining},
  author = {Shuqi Liu and Bowei He and Linqi Song},
  journal= {arXiv preprint arXiv:2406.06586},
  year   = {2024}
}

Comments

Accepted by ACL 2024

R2 v1 2026-06-28T17:00:10.113Z