mlsanityData to 14 Oct 2026

Enhancing SQL Query Generation with Neurosymbolic Reasoning

arXiv 2408.13888 ↗First posted 25 Aug 2024cs.DB cs.AI cs.SEcited by 3

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

Cited by year

Citing papers per year: 2025: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Neuro-Symbolic Query Optimization in Knowledge Graphs
  2. 2025SymRAG: Efficient Neuro-Symbolic Retrieval Through Adaptive Query Routing
  3. 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
  4. 2026Neurosymbolics for Data Engineering: Achieving Long Context Token Reduction Without Finetuning
  5. 2025Reinforcing Code Generation: Improving Text-to-SQL with Execution-Based Learning
  6. 2025STaR-SQL: Self-Taught Reasoner for Text-to-SQL
  7. 2026OrLog: Resolving Complex Queries with LLMs and Probabilistic Reasoning
  8. 2024Reliable Reasoning Beyond Natural Language