Reproduce “Learning Deductive Reasoning from Synthetic Corpus based on Formal Logic” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Terufumi Morishita, Gaku Morio, Atsuki Yamaguchi, Yasuhiro Sogawa

Researchers at Hitachi, Ltd. developed FLD (Formal Logic Deduction), a new framework that generates synthetic logical reasoning problems based on first-order predicate logic axioms to train and evaluate large language models. Their T5-based prover, trained on FLD, demonstrated enhanced generalizable logical reasoning across various synthetic benchmarks and improved performance on human-authored tasks like EntailmentBank, while GPT-4 still struggled with pure logical deduction.

Key insights

  • Large Language Models (LLMs) like GPT-4 struggle with pure logical reasoning, exhibiting 'logical hallucination' and misinterpreting operators when external knowledge is irrelevant.
  • Training LMs on synthetic corpora grounded in formal logic axioms enhances generalizable deductive reasoning, especially for handling complex formulas and factual distractors.
  • While synthetic training improves transferability to human-authored reasoning tasks like EntailmentBank, current methods still face limitations in effectively constructing very deep, axiom-based proofs for coarse-grained real-world entailments.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.