Pith. sign in

Global Reasoning over Database Structures for Text-to-SQL Parsing

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

1 Pith paper citing it
abstract

State-of-the-art semantic parsers rely on auto-regressive decoding, emitting one symbol at a time. When tested against complex databases that are unobserved at training time (zero-shot), the parser often struggles to select the correct set of database constants in the new database, due to the local nature of decoding. In this work, we propose a semantic parser that globally reasons about the structure of the output query to make a more contextually-informed selection of database constants. We use message-passing through a graph neural network to softly select a subset of database constants for the output query, conditioned on the question. Moreover, we train a model to rank queries based on the global alignment of database constants to question words. We apply our techniques to the current state-of-the-art model for Spider, a zero-shot semantic parsing dataset with complex databases, increasing accuracy from 39.4% to 47.4%.

fields

cs.DB 1

years

2025 1

verdicts

CONDITIONAL 1

representative citing papers

Enhancing Text2Cypher with Schema Filtering

cs.DB · 2025-05-08 · conditional · novelty 4.0

Schema filtering, especially exact-match pruning, reduces prompt length and cost for Text2Cypher and improves accuracy for smaller models, though larger models gain less.

citing papers explorer

Showing 1 of 1 citing paper.

  • Enhancing Text2Cypher with Schema Filtering cs.DB · 2025-05-08 · conditional · none · ref 29 · internal anchor

    Schema filtering, especially exact-match pruning, reduces prompt length and cost for Text2Cypher and improves accuracy for smaller models, though larger models gain less.