Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpus

Terufumi Morishita, Gaku Morio, Atsuki Yamaguchi, Yasuhiro Sogawa
11/19/2024
cs.LGcs.AIcs.LO

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

Abstract

Large language models (LLMs) are capable of solving a wide range of tasks, yet they have struggled with reasoning. To address this, we propose $\textbf{Additional Logic Training (ALT)}$, which aims to enhance LLMs' reasoning capabilities by program-generated logical reasoning samples. We first establish principles for designing high-quality samples by integrating symbolic logic theory and previous empirical insights. Then, based on these principles, we construct a synthetic corpus named $\textbf{Formal Logic Deduction Diverse}$ ($\textbf{FLD}$$_{\times 2}$), comprising numerous samples of multi-step deduction with unknown facts, diverse reasoning rules, diverse linguistic expressions, and challenging distractors. Finally, we empirically show that ALT on FLD$_{\times2}$ substantially enhances the reasoning capabilities of state-of-the-art LLMs, including LLaMA-3.1-70B. Improvements include gains of up to 30 points on logical reasoning benchmarks, up to 10 points on math and coding benchmarks, and 5 points on the benchmark suite BBH.

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{morishita2024enhancing,
  title  = {Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpus},
  author = {Terufumi Morishita and Gaku Morio and Atsuki Yamaguchi and Yasuhiro Sogawa},
  year   = {2024},
  eprint = {2411.12498},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.12498},
  url    = {http://arxiv.org/abs/2411.12498v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion