Enhancing SQL Query Generation with Neurosymbolic Reasoning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Neurosymbolic approaches blend the effectiveness of symbolic reasoning with the flexibility of neural networks. In this work, we propose a neurosymbolic architecture for generating SQL queries that builds and explores a solution tree using Best-First Search, with the possibility of backtracking. For this purpose, it integrates a Language Model (LM) with symbolic modules that help catch and correct errors made by the LM on SQL queries, as well as guiding the exploration of the solution tree. We focus on improving the performance of smaller open-source LMs, and we find that our tool, Xander, increases accuracy by an average of 10.9% and reduces runtime by an average of 28% compared to the LM without Xander, enabling a smaller LM (with Xander) to outperform its four-times larger counterpart (without Xander).
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 0 of its 42 references that are in the map. First posted on arXiv 25 Aug 2024.
Builds on
0 of 42 references.
No references here yet.
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025Vibe Coding as a Reconfiguration of Intent Mediation in Software Development: Definition, Implications, and Research Agendacited by 13
- 2025TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generationcited by 5
- 2025Toward Neurosymbolic Program Comprehensioncited by 0
- 2025TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generation27 Nov 2025
- 2025Vibe Coding as a Reconfiguration of Intent Mediation in Software Development: Definition, Implications, and Research Agenda29 Jul 2025
- 2025Toward Neurosymbolic Program Comprehension3 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024Neuro-Symbolic Query Optimization in Knowledge Graphs
- 2025SymRAG: Efficient Neuro-Symbolic Retrieval Through Adaptive Query Routing
- 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
- 2026Neurosymbolics for Data Engineering: Achieving Long Context Token Reduction Without Finetuning
- 2025Reinforcing Code Generation: Improving Text-to-SQL with Execution-Based Learning
- 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL
- 2026OrLog: Resolving Complex Queries with LLMs and Probabilistic Reasoning
- 2024Reliable Reasoning Beyond Natural Language