Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming

Authors: Hanlin Zhang, Jiani Huang, Ziyang Li, Mayur Naik, Eric Xing

ACL 2023 Findings
AI-generated keywords: Differentiable Symbolic Programming

AI-generated Key Points

⚠The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors propose a solution called DSR-LM (Differentiable Symbolic Reasoning framework) to improve logical reasoning of pre-trained large language models
  • DSR-LM combines pre-trained LMs' factual knowledge with a symbolic module for deductive reasoning
  • Unlike previous approaches, DSR-LM learns weighted rules and applies semantic loss for enhanced performance
  • DSR-LM is scalable, interpretable, and allows easy integration of prior knowledge
  • Experiments show that DSR-LM significantly improves logical reasoning abilities of pre-trained language models
  • DSR-LM achieves over 20% accuracy increase on deductive reasoning benchmarks compared to baseline models
  • DSR-LM outperforms competitive baselines when faced with systematic changes in sequence length
  • The proposed framework opens up possibilities for further advancements in enhancing logical reasoning capabilities of language models.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Abstract: 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.

Submitted to arXiv on 05 May. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2305.03742v1

⚠This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog article
In their paper titled "Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming," authors Hanlin Zhang, Jiani Huang, Ziyang Li, Mayur Naik, and Eric Xing address the challenge of pre-trained large language models (LMs) struggling to perform reliable logical reasoning. They propose a solution called DSR-LM, which stands for Differentiable Symbolic Reasoning framework. DSR-LM combines the strengths of pre-trained LMs in perceiving factual knowledge with a symbolic module that performs deductive reasoning. Unlike previous approaches that rely on hand-crafted logic rules, DSR-LM efficiently learns weighted rules and applies semantic loss to further enhance the performance of LMs. It is scalable, interpretable, and allows easy integration of prior knowledge, enabling extensive symbolic programming to derive logical conclusions more robustly. The authors conducted experiments to evaluate the effectiveness of DSR-LM. The results demonstrate that it significantly improves the logical reasoning abilities of pre-trained language models. In fact, DSR-LM achieved an accuracy increase of over 20% on deductive reasoning benchmarks compared to baseline models. Additionally, when faced with systematic changes in sequence length, DSR-LM outperformed various competitive baselines. Overall, this work presents a novel approach to enhancing the logical reasoning capabilities of pre-trained language models through differentiable symbolic programming. The proposed DSR-LM framework shows promising results and opens up possibilities for further advancements in this field by leveraging its scalability and interpretability features as well as its capability to easily integrate prior knowledge into its symbolic module for improved deductive reasoning outcomes.

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.