Pith. sign in

Enhancing SQL Query Generation with Neurosymbolic Reasoning

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

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).

citation-role summary

background 1

citation-polarity summary

fields

cs.SE 1

years

2025 1

verdicts

CONDITIONAL 1

roles

background 1

polarities

support 1

representative citing papers

Toward Neurosymbolic Program Comprehension

cs.SE · 2025-02-03 · conditional · novelty 4.0

The paper outlines the Neurosymbolic Program Comprehension (NsPC) framework and provides preliminary evidence that SHAP-value patterns over AST-tagged token positions can be interpreted as symbolic rules for insecure code detection.

citing papers explorer

Showing 1 of 1 citing paper.

  • Toward Neurosymbolic Program Comprehension cs.SE · 2025-02-03 · conditional · none · ref 39 · internal anchor

    The paper outlines the Neurosymbolic Program Comprehension (NsPC) framework and provides preliminary evidence that SHAP-value patterns over AST-tagged token positions can be interpreted as symbolic rules for insecure code detection.