Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Qingchuan, Li, Jiatong, Liu, Tongxuan, Zeng, Yuting, Cheng, Mingyue, Huang, Weizhe, Liu, Qi
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914996805435392
author Li, Qingchuan
Li, Jiatong
Liu, Tongxuan
Zeng, Yuting
Cheng, Mingyue
Huang, Weizhe
Liu, Qi
author_facet Li, Qingchuan
Li, Jiatong
Liu, Tongxuan
Zeng, Yuting
Cheng, Mingyue
Huang, Weizhe
Liu, Qi
contents Large Language Models (LLMs) have exhibited remarkable potential across a wide array of reasoning tasks, including logical reasoning. Although massive efforts have been made to empower the logical reasoning ability of LLMs via external logical symbolic solvers, crucial challenges of the poor generalization ability to questions with different features and inevitable question information loss of symbolic solver-driven approaches remain unresolved. To mitigate these issues, we introduce LINA, a LLM-driven neuro-symbolic approach for faithful logical reasoning. By enabling an LLM to autonomously perform the transition from propositional logic extraction to sophisticated logical reasoning, LINA not only bolsters the resilience of the reasoning process but also eliminates the dependency on external solvers. Additionally, through its adoption of a hypothetical-deductive reasoning paradigm, LINA effectively circumvents the expansive search space challenge that plagues traditional forward reasoning methods. Empirical evaluations demonstrate that LINA substantially outperforms both established propositional logic frameworks and conventional prompting techniques across a spectrum of five logical reasoning tasks. Specifically, LINA achieves an improvement of 24.34% over LINC on the FOLIO dataset, while also surpassing prompting strategies like CoT and CoT-SC by up to 24.02%. Our code is available at https://github.com/wufeiwuwoshihua/nshy.
format Preprint
id arxiv_https___arxiv_org_abs_2410_21779
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
Li, Qingchuan
Li, Jiatong
Liu, Tongxuan
Zeng, Yuting
Cheng, Mingyue
Huang, Weizhe
Liu, Qi
Computation and Language
Large Language Models (LLMs) have exhibited remarkable potential across a wide array of reasoning tasks, including logical reasoning. Although massive efforts have been made to empower the logical reasoning ability of LLMs via external logical symbolic solvers, crucial challenges of the poor generalization ability to questions with different features and inevitable question information loss of symbolic solver-driven approaches remain unresolved. To mitigate these issues, we introduce LINA, a LLM-driven neuro-symbolic approach for faithful logical reasoning. By enabling an LLM to autonomously perform the transition from propositional logic extraction to sophisticated logical reasoning, LINA not only bolsters the resilience of the reasoning process but also eliminates the dependency on external solvers. Additionally, through its adoption of a hypothetical-deductive reasoning paradigm, LINA effectively circumvents the expansive search space challenge that plagues traditional forward reasoning methods. Empirical evaluations demonstrate that LINA substantially outperforms both established propositional logic frameworks and conventional prompting techniques across a spectrum of five logical reasoning tasks. Specifically, LINA achieves an improvement of 24.34% over LINC on the FOLIO dataset, while also surpassing prompting strategies like CoT and CoT-SC by up to 24.02%. Our code is available at https://github.com/wufeiwuwoshihua/nshy.
title Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
topic Computation and Language
url https://arxiv.org/abs/2410.21779