Learning Deductive Reasoning from Synthetic Corpus based on Formal Logic

Terufumi Morishita, Gaku Morio, Atsuki Yamaguchi, Yasuhiro Sogawa
2/12/2026

No official code found. Best implementation: hitachi-nlp/FLD (61 stars, Apache-2.0, last commit 2024-12-06).

Abstract

We study a synthetic corpus based approach for language models (LMs) to acquire logical deductive reasoning ability. The previous studies generated deduction examples using specific sets of deduction rules. However, these rules were limited or otherwise arbitrary, limiting the generalizability of acquired reasoning ability. We rethink this and adopt a well-grounded set of deduction rules based on formal logic theory, which can derive any other deduction rules when combined in a multistep way. Then, using the proposed corpora, which we name FLD (Formal Logic Deduction), we first evaluate and analyze the logical reasoning ability of the latest LLMs. Even GPT-4 can solve only half of the problems, suggesting that pure logical reasoning isolated from knowledge is still challenging for the LLMs, and additional training specialized in logical reasoning is indeed essential. We next empirically verify that LMs trained on FLD corpora acquire more generalizable reasoning ability. Furthermore, we identify the aspects of reasoning ability on which deduction corpora can enhance LMs and those on which they cannot, and discuss future directions on each aspect. The released corpora serve both as learning resources and as challenging benchmarks.

View on arXivView PDF

Code Implementations(1)

hitachi-nlp/FLDCommunity100%
Apache-2.0
611Jul 13, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{morishita2026learning,
  title  = {Learning Deductive Reasoning from Synthetic Corpus based on Formal Logic},
  author = {Terufumi Morishita and Gaku Morio and Atsuki Yamaguchi and Yasuhiro Sogawa},
  year   = {2026},
  eprint = {2308.07336},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.07336},
  journal = {ICML 2023 2023}
}

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

Discussion