English

Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpus

Machine Learning 2024-12-24 v2 Artificial Intelligence Logic in Computer Science

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 Additional Logic Training (ALT)\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 Formal Logic Deduction Diverse\textbf{Formal Logic Deduction Diverse} (FLD\textbf{FLD}×2_{\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×2_{\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.

Keywords

Cite

@article{arxiv.2411.12498,
  title  = {Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpus},
  author = {Terufumi Morishita and Gaku Morio and Atsuki Yamaguchi and Yasuhiro Sogawa},
  journal= {arXiv preprint arXiv:2411.12498},
  year   = {2024}
}

Comments

NeurIPS 2024