News

Logic-LM: Enhancing Logical Reasoning in Large Language Models with Symbolic Solvers

Logic-LM: Enhancing Logical Reasoning in Large Language Models with Symbolic Solvers

April 05, 2025
Logic-LM Large Language Models Symbolic Solvers Logical Reasoning AI
Logic-LM, a novel framework combining Large Language Models with symbolic solvers, significantly improves logical reasoning accuracy by translating natural language problems into symbolic formulations and using self-refinement to enhance results.

Logic-LM: Enhancing Logical Reasoning in Large Language Models with Symbolic Solvers

Logic-LM is a novel framework designed to enhance the logical reasoning capabilities of Large Language Models (LLMs) by integrating them with symbolic solvers. This approach addresses the limitations of LLMs in handling complex logical problems, despite their human-like reasoning abilities.

The Logic-LM framework operates in two main steps:

  1. Translation: The LLM translates a natural language problem into a symbolic formulation.
  2. Inference: A deterministic symbolic solver performs inference on the formulated problem.

Additionally, Logic-LM includes a self-refinement module that uses error messages from the symbolic solver to revise and improve the symbolic formalizations. This iterative process enhances the accuracy and reliability of the logical reasoning.

Logic-LM has been tested on five logical reasoning datasets: ProofWriter, PrOntoQA, FOLIO, LogicalDeduction, and AR-LSAT. The results show significant performance improvements:

  • 39.2% improvement over using LLM alone with standard prompting.
  • 18.4% improvement over LLM with chain-of-thought prompting.

These findings suggest that combining LLMs with symbolic logic offers a promising avenue for achieving more faithful and accurate logical reasoning. For more detailed information, you can refer to the original paper.

Sources

Novel Logic-Enhanced LLM for Improved Symbolic Reasoning I'm experimenting with a novel approach that integrates symbolic logic directly into a transformer's attention mechanism.
Logic-LM: Empowering Large Language Models with Symbolic ... This paper proposed to improve the reasoning capability of LLMs by giving them the access to a symbolic reasoner. A self-refinement mechanism ...
Logic-LM: Empowering Large Language Models with Symbolic ... This paper introduces a novel framework, Logic-LM, which integrates LLMs with symbolic solvers to improve logical problem-solving.