Leveraging Explicit Lexico-logical Alignments in Text-to-SQL Parsing
Text-to-SQL aims to parse natural language questions into SQL queries, which is valuable in providing an easy interface to access large databases. Previous work has observed that leveraging lexico-logical alignments is very helpful to improve parsing performance. However, current attention-based approaches can only model such alignments at the token level and have unsatisfactory generalization capability. In this paper, we propose a new approach to leveraging explicit lexico-logical alignments. It first identifies possible phrase-level alignments and injects them as additional contexts to guide the parsing procedure. Experimental results on \textsc{Squall} show that our approach can make better use of such alignments and obtains an absolute improvement of 3.4% compared with the current state-of-the-art.
Code (0)
등록된 구현이 없습니다.
Tasks
SQL ParsingText to SQLText-To-SQLSimilar Papers 제목 키워드 기반
Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsing
Prior work in semantic parsing has shown that conventional seq2seq models fail at compositional generalization tasks. This limitation led to a resurgence of methods that model alignments between sentences and their corre…
Semantic ParsingPhiloBERTA: A Transformer-Based Cross-Lingual Analysis of Greek and Latin Lexicons
We present PhiloBERTA, a cross-lingual transformer model that measures semantic relationships between ancient Greek and Latin lexicons. Through analysis of selected term pairs from classical texts, we use contextual embe…
On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queries
Large-scale semantic parsing datasets annotated with logical forms have enabled major advances in supervised approaches. But can richer supervision help even more? To explore the utility of fine-grained, lexical-level su…
DecoderMachine TranslationSemantic ParsingTranslationSemantic Features Based on Word Alignments for Estimating Quality of Text Simplification
This paper examines the usefulness of semantic features based on word alignments for estimating the quality of text simplification. Specifically, we introduce seven types of alignment-based features computed on the basis…
Machine TranslationReading ComprehensionSemantic Textual SimilarityText Generation+2Word Alignment by Fine-tuning Embeddings on Parallel Corpora
Word alignment over parallel corpora has a wide variety of applications, including learning translation lexicons, cross-lingual transfer of language processing tools, and automatic evaluation or analysis of translation o…
Cross-Lingual TransferTranslationWord AlignmentWord Embeddings