CLOct 21, 2022

STAR: SQL Guided Pre-Training for Context-dependent Text-to-SQL Parsing

arXiv:2210.11888v2301 citationsh-index: 29Has Code
Originality Highly original
AI Analysis

This addresses the problem of generating accurate SQL queries from conversational natural language in databases, which is incremental as it builds on existing pre-training approaches with specific enhancements.

The paper tackles context-dependent text-to-SQL parsing by proposing STAR, a SQL guided pre-training framework that uses novel objectives to enrich representations, achieving new state-of-the-art performance on benchmarks like SParC and CoSQL, with significant improvements over previous methods.

In this paper, we propose a novel SQL guided pre-training framework STAR for context-dependent text-to-SQL parsing, which leverages contextual information to enrich natural language (NL) utterance and table schema representations for text-to-SQL conversations. Concretely, we propose two novel pre-training objectives which respectively explore the context-dependent interactions of NL utterances and SQL queries within each text-to-SQL conversation: (i) schema state tracking (SST) objective that tracks and explores the schema states of context-dependent SQL queries in the form of schema-states by predicting and updating the value of each schema slot during interaction; (ii) utterance dependency tracking (UDT) objective that employs weighted contrastive learning to pull together two semantically similar NL utterances and push away the representations of semantically dissimilar NL utterances within each conversation. In addition, we construct a high-quality large-scale context-dependent text-to-SQL conversation corpus to pre-train STAR. Extensive experiments show that STAR achieves new state-of-the-art performance on two downstream benchmarks (SParC and CoSQL), significantly outperforming previous pre-training methods and ranking first on the leaderboard. We believe the release of the constructed corpus, codebase and pre-trained STAR checkpoints would push forward the research in this area. For reproducibility, we release our code and data at https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/star.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes