DiLA: Enhancing LLM Tool Learning with Differential Logic Layer
On the map: LLM reasoning → Reasoning benchmarks and evaluation
also in 1 more
Abstract (arXiv)
Considering the challenges faced by large language models (LLMs) in logical reasoning and planning, prior efforts have sought to augment LLMs with access to external solvers. While progress has been made on simple reasoning problems, solving classical constraint satisfaction problems, such as the Boolean Satisfiability Problem (SAT) and Graph Coloring Problem (GCP), remains difficult for off-the-shelf solvers due to their intricate expressions and exponential search spaces. In this paper, we propose a novel differential logic layer-aided language modeling (DiLA) approach, where logical constraints are integrated into the forward and backward passes of a network layer, to provide another option for LLM tool learning. In DiLA, LLM aims to transform the language description to logic constraints and identify initial solutions of the highest quality, while the differential logic layer focuses on iteratively refining the LLM-prompted solution. Leveraging the logic layer as a bridge, DiLA enhances the logical reasoning ability of LLMs on a range of reasoning problems encoded by Boolean variables, guaranteeing the efficiency and correctness of the solution process. We evaluate the performance of DiLA on two classic reasoning problems and empirically demonstrate its consistent outperformance against existing prompt-based and solver-aided approaches.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 20 of its 44 references that are in the map. First posted on arXiv 19 Feb 2024.
Builds on
20 of 44 references.
Closest ancestors · 5
Same direction, newest first
- 2023Language Models can be Logical Solvers10 Nov
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers23 Oct
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
- 2023SatLM: Satisfiability-Aided Language Models Using Declarative Prompting16 May
- 2022PAL: Program-aided Language Models18 Nov
Other references · 15
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Let's Verify Step by Stepcited by 3,598
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2023Alphazero-like Tree-Search can Guide Large Language Model Decoding and Trainingcited by 291
- 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
- 2024On the Self-Verification Limitations of Large Language Models on Reasoning and Planning Taskscited by 137
- 2023Solving Math Word Problems by Combining Language Models With Symbolic Solverscited by 124
- 2024Large Language Models Can Learn Temporal Reasoningcited by 110
3 more
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 1.
6 papers.
- 2025Empowering LLMs with Logical Reasoning: A Comprehensive Surveycited by 51
- 2025Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluationcited by 27
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuningcited by 20
- 2025Neuro-Symbolic Artificial Intelligence: Towards Improving the Reasoning Abilities of Large Language Modelscited by 19
- 2024Can Language Models Pretend Solvers? Logic Code Simulation with LLMscited by 4
- 2026Infeasibility Aware Large Language Models for Combinatorial Optimizationcited by 0
- 2026Infeasibility Aware Large Language Models for Combinatorial Optimization1 Apr 2026
- 2025Neuro-Symbolic Artificial Intelligence: Towards Improving the Reasoning Abilities of Large Language Models19 Aug 2025
- 2025Empowering LLMs with Logical Reasoning: A Comprehensive Survey21 Feb 2025
- 2025Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluation10 Feb 2025
- 2024Deeper Insights Without Updates: The Power of In-Context Learning Over Fine-Tuning7 Oct 2024
- 2024Can Language Models Pretend Solvers? Logic Code Simulation with LLMs24 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes
- 2024A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters
- 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas
- 2024Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
- 2023GraphReason: Enhancing Reasoning Capabilities of Large Language Models through A Graph-Based Verification Approach
- 2025Rosetta-PL: Propositional Logic as a Benchmark for Large Language Model Reasoning
- 2025GPO: Learning from Critical Steps to Improve LLM Reasoning