AICLLGMay 5, 2023

Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming

arXiv:2305.03742v1230 citations
Originality Highly original
AI Analysis

This addresses the challenge of enhancing logical reasoning in language models for AI applications, representing a novel method rather than an incremental improvement.

The paper tackles the problem of unreliable logical reasoning in pre-trained large language models by proposing DSR-LM, a differentiable symbolic programming framework that combines LM perception with symbolic deductive reasoning, resulting in over 20% accuracy improvement on deductive reasoning benchmarks.

Pre-trained large language models (LMs) struggle to perform logical reasoning reliably despite advances in scale and compositionality. In this work, we tackle this challenge through the lens of symbolic programming. We propose DSR-LM, a Differentiable Symbolic Reasoning framework where pre-trained LMs govern the perception of factual knowledge, and a symbolic module performs deductive reasoning. In contrast to works that rely on hand-crafted logic rules, our differentiable symbolic reasoning framework efficiently learns weighted rules and applies semantic loss to further improve LMs. DSR-LM is scalable, interpretable, and allows easy integration of prior knowledge, thereby supporting extensive symbolic programming to robustly derive a logical conclusion. The results of our experiments suggest that DSR-LM improves the logical reasoning abilities of pre-trained language models, resulting in a significant increase in accuracy of over 20% on deductive reasoning benchmarks. Furthermore, DSR-LM outperforms a variety of competitive baselines when faced with systematic changes in sequence length.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes