pith. machine review for the scientific record. sign in

arxiv: 1905.08205 · v2 · submitted 2019-05-20 · 💻 cs.CL

Recognition: unknown

Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representation

Authors on Pith no claims yet
classification 💻 cs.CL
keywords irnetquerytext-to-sqlachievescomplexcross-domaindatabasefirst
0
0 comments X
read the original abstract

We present a neural approach called IRNet for complex and cross-domain Text-to-SQL. IRNet aims to address two challenges: 1) the mismatch between intents expressed in natural language (NL) and the implementation details in SQL; 2) the challenge in predicting columns caused by the large number of out-of-domain words. Instead of end-to-end synthesizing a SQL query, IRNet decomposes the synthesis process into three phases. In the first phase, IRNet performs a schema linking over a question and a database schema. Then, IRNet adopts a grammar-based neural model to synthesize a SemQL query which is an intermediate representation that we design to bridge NL and SQL. Finally, IRNet deterministically infers a SQL query from the synthesized SemQL query with domain knowledge. On the challenging Text-to-SQL benchmark Spider, IRNet achieves 46.7% accuracy, obtaining 19.5% absolute improvement over previous state-of-the-art approaches. At the time of writing, IRNet achieves the first position on the Spider leaderboard.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Agent-Agnostic Evaluation of SQL Accuracy in Production Text-to-SQL Systems

    cs.AI 2026-04 unverdicted novelty 5.0

    STEF is a schema-agnostic evaluation framework that scores SQL generation accuracy from natural language inputs using semantic feature alignment and a composite metric.