mlsanityData to 7 Oct 2026

DocuT5: Seq2seq SQL Generation with Table Documentation

arXiv 2211.06193 ↗First posted 11 Nov 2022cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Current SQL generators based on pre-trained language models struggle to answer complex questions requiring domain context or understanding fine-grained table structure. Humans would deal with these unknowns by reasoning over the documentation of the tables. Based on this hypothesis, we propose DocuT5, which uses off-the-shelf language model architecture and injects knowledge from external `documentation' to improve domain generalization. We perform experiments on the Spider family of datasets that contain complex questions that are cross-domain and multi-table. Specifically, we develop a new text-to-SQL failure taxonomy and find that 19.6% of errors are due to foreign key mistakes, and 49.2% are due to a lack of domain knowledge. We proposed DocuT5, a method that captures knowledge from (1) table structure context of foreign keys and (2) domain knowledge through contextualizing tables and columns. Both types of knowledge improve over state-of-the-art T5 with constrained decoding on Spider, and domain knowledge produces state-of-the-art comparable effectiveness on Spider-DK and Spider-SYN datasets.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 26 of its 28 references that are in the map. First posted on arXiv 11 Nov 2022.

Builds on

26 of 28 references.

References · 26

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  4. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  5. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
  6. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  7. 2020Recipes for building an open-domain chatbotcited by 593
  8. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
  9. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  10. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  11. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  12. 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
14 more
  1. 2020Bridging Textual and Tabular Data for Cross-Domain Text-to-SQL Semantic Parsingcited by 133
  2. 2020Semantic Evaluation for Text-to-SQL with Distilled Test Suitescited by 123
  3. 2021LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relationscited by 119
  4. 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
  5. 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
  6. 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
  7. 2019Representing Schema Structure with Graph Neural Networks for Text-to-SQL Parsingcited by 74
  8. 2022S2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parserscited by 41
  9. 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
  10. 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsingcited by 30
  11. 2022Semantic Enhanced Text-to-SQL Parsing via Iteratively Learning Schema Linking Graphcited by 22
  12. 2022UniSAr: A Unified Structure-Aware Autoregressive Language Model for Text-to-SQLcited by 20
  13. 2021RETRONLU: Retrieval Augmented Task-Oriented Semantic Parsingcited by 15
  14. 2020SeqGenSQL -- A Robust Sequence Generation Model for Structured Query Languagecited by 4

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.