Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming
Authors: Hanlin Zhang, Jiani Huang, Ziyang Li, Mayur Naik, Eric Xing
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.
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.
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.
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 representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm compares the title and abstract of this paper with all the papers of the same arXiv category that we have summarized, and finds the closest ones. You can rerun it from time to time: the results improve as our database grows.
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.