Neuro-Symbolic Integration Brings Causal and Reliable Reasoning Proofs

Sen Yang, Xin Li, Leyang Cui, Lidong Bing, Wai Lam
11/16/2023
cs.AIcs.CL

Official code: DAMO-NLP-SG/CaRing (43 stars, MIT, last commit 2024-02-15).

Abstract

Two lines of approaches are adopted for complex reasoning with LLMs. One line of work prompts LLMs with various reasoning structures, while the structural outputs can be naturally regarded as intermediate reasoning steps. Another line of work adopt LLM-free declarative solvers to do the reasoning task, rendering higher reasoning accuracy but lacking interpretability due to the black-box nature of the solvers. Aiming to resolve the trade-off between answer accuracy and interpretability, we present a simple extension to the latter line of work. Specifically, we showcase that the intermediate search logs generated by Prolog interpreters can be accessed and interpreted into human-readable reasoning proofs. As long as LLMs correctly translate problem descriptions into Prolog representations, the corresponding reasoning proofs are ensured to be causal and reliable. On two logical reasoning and one arithmetic reasoning datasets, our framework obtains significant improvements in terms of both answer accuracy and reasoning proof accuracy. Our code is released at https://github.com/DAMO-NLP-SG/CaRing

View on arXivView PDF

Code Implementations(1)

DAMO-NLP-SG/CaRingOfficial100%
MIT

Neuro-Symbolic Integration Brings Causal and Reliable Reasoning Proofs

436Shell, PrologNov 16, 20232 years agoMIT

Similar Papers

Cite this paper

@article{yang2023neurosymbolic,
  title  = {Neuro-Symbolic Integration Brings Causal and Reliable Reasoning Proofs},
  author = {Sen Yang and Xin Li and Leyang Cui and Lidong Bing and Wai Lam},
  year   = {2023},
  eprint = {2311.09802},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.09802v3}
}

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

Discussion