Towards Robustness of Text-to-SQL Models Against Natural and Realistic Adversarial Table Perturbation
Not on the map. Why?
Abstract (arXiv)
The robustness of Text-to-SQL parsers against adversarial perturbations plays a crucial role in delivering highly reliable applications. Previous studies along this line primarily focused on perturbations in the natural language question side, neglecting the variability of tables. Motivated by this, we propose the Adversarial Table Perturbation (ATP) as a new attacking paradigm to measure the robustness of Text-to-SQL models. Following this proposition, we curate ADVETA, the first robustness evaluation benchmark featuring natural and realistic ATPs. All tested state-of-the-art models experience dramatic performance drops on ADVETA, revealing models' vulnerability in real-world practices. To defend against ATP, we build a systematic adversarial training example generation framework tailored for better contextualization of tabular data. Experiments show that our approach not only brings the best robustness improvement against table-side perturbations but also substantially empowers models against NL-side perturbations. We release our benchmark and code at: https://github.com/microsoft/ContextualSP.
Key facts. Cited by 28 papers in the map (data through 14 Oct 2026). Builds on 41 of its 62 references that are in the map. First posted on arXiv 20 Dec 2022.
Builds on
41 of 62 references.
References · 41
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
- 2016Practical Black-Box Attacks against Machine Learningcited by 903
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
- 2017Adversarial Examples for Evaluating Reading Comprehension Systemscited by 571
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 515
29 more
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 491
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 434
- 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 424
- 2018Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifierscited by 345
- 2019Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approachcited by 308
- 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 306
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
- 2019CoSQL: A Conversational Text-to-SQL Challenge Towards Cross-Domain Natural Language Interfaces to Databasescited by 185
- 2014SimLex-999: Evaluating Semantic Models with (Genuine) Similarity Estimationcited by 172
- 2021Few-NERD: A Few-Shot Named Entity Recognition Datasetcited by 152
- 2019SParC: Cross-Domain Semantic Parsing in Contextcited by 144
- 2016Counter-fitting Word Vectors to Linguistic Constraintscited by 140
- 2020Structure-Grounded Pretraining for Text-to-SQLcited by 126
- 2021Towards Robustness of Text-to-SQL Models against Synonym Substitutioncited by 110
- 2019A Comprehensive Exploration on WikiSQL with Table-Aware Word Contextualizationcited by 88
- 2019Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questionscited by 80
- 2021Open Domain Question Answering over Tables via Dense Retrievalcited by 74
- 2020On the Potential of Lexico-logical Alignments for Semantic Parsing to SQL Queriescited by 60
- 2021Adversarial Attacks for Tabular Data: Application to Fraud Detection and Imbalanced Datacited by 45
- 2019Imperceptible Adversarial Attacks on Tabular Datacited by 35
- 2019A Comparative Survey of Recent Natural Language Interfaces for Databasescited by 33
- 2020IGSQL: Database Schema Interaction Graph Based Neural Model for Context-Dependent Text-to-SQL Generationcited by 29
- 2021Awakening Latent Grounding from Pretrained Language Models for Semantic Parsingcited by 28
- 2020Photon: A Robust Cross-Domain Text-to-SQL Systemcited by 26
- 2020DuoRAT: Towards Simpler Text-to-SQL Modelscited by 17
- 2019Content Enhanced BERT-based Text-to-SQL Generationcited by 16
- 2021On Robustness of Neural Semantic Parserscited by 14
- 2020MT-Teql: Evaluating and Augmenting Consistency of Text-to-SQL Models with Metamorphic Testingcited by 3
- 2014Embedding Word Similarity with Neural Machine Translationcited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 8; 2024: 8; 2025: 5; 2026: 6.
28 papers.
Sort:
By area:
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 120
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 119
- 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
- 2023Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustnesscited by 53
- 2023RobuT: A Systematic Study of Table QA Robustness Against Human-Annotated Adversarial Perturbationscited by 43
- 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
- 2024CABINET: Content Relevance based Noise Reduction for Table Question Answeringcited by 23
- 2022MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsingcited by 22
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoringcited by 17
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systemscited by 16
- 2023Error Detection for Text-to-SQL Semantic Parsingcited by 12
16 more
- 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQLcited by 11
- 2025Tabular Data Understanding with LLMs: A Survey of Recent Advances and Challengescited by 10
- 2024SynTQA: Synergistic Table-based Question Answering via Mixture of Text-to-SQL and E2E TQAcited by 9
- 2025LOGOS: LLM-driven End-to-End Grounded Theory Development and Schema Induction for Qualitative Researchcited by 6
- 2026EvoSchema: Towards Text-to-SQL Robustness Against Schema Evolutioncited by 5
- 2024Improving Generalization in Semantic Parsing by Increasing Natural Language Variationcited by 4
- 2025TinySQL: A Progressive Text-to-SQL Dataset for Mechanistic Interpretability Researchcited by 2
- 2023On the Structural Generalization in Text-to-SQLcited by 1
- 2025Squrve: A Unified and Modular Framework for Complex Real-World Text-to-SQL Taskscited by 1
- 2025SQLSpace: A Representation Space for Text-to-SQL to Discover and Mitigate Robustness Gapscited by 1
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generationcited by 1
- 2023Comprehensive Solution Program Centric Pretraining for Table-and-Text Hybrid Numerical Reasoningcited by 0
- 2026Beyond Static Rules: Automated Discovery of Latent Vulnerabilities in Text-to-SQLcited by 0
- 2026ESQ-Bench: A Multi-Tier Enterprise Oracle Benchmark for Evaluating NL2SQL Dialect Generalization and Silent Semantic Divergencecited by 0
- 2026TrustDABench: Benchmarking Reliability and Robustness of LLMs for Structured Data Analysiscited by 0
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scalingcited by 0
- 2026TrustDABench: Benchmarking Reliability and Robustness of LLMs for Structured Data Analysis25 Aug 2026
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling23 Jul 2026
- 2026Beyond Static Rules: Automated Discovery of Latent Vulnerabilities in Text-to-SQL4 Jul 2026
- 2026ESQ-Bench: A Multi-Tier Enterprise Oracle Benchmark for Evaluating NL2SQL Dialect Generalization and Silent Semantic Divergence12 Jun 2026
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generation8 Apr 2026
- 2026EvoSchema: Towards Text-to-SQL Robustness Against Schema Evolution11 Mar 2026
- 2025SQLSpace: A Representation Space for Text-to-SQL to Discover and Mitigate Robustness Gaps31 Oct 2025
- 2025Squrve: A Unified and Modular Framework for Complex Real-World Text-to-SQL Tasks28 Oct 2025
- 2025LOGOS: LLM-driven End-to-End Grounded Theory Development and Schema Induction for Qualitative Research29 Sep 2025
- 2025Tabular Data Understanding with LLMs: A Survey of Recent Advances and Challenges31 Jul 2025
- 2025TinySQL: A Progressive Text-to-SQL Dataset for Mechanistic Interpretability Research17 Mar 2025
- 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQL17 Dec 2024
16 more
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems1 Oct 2024
- 2024SynTQA: Synergistic Table-based Question Answering via Mixture of Text-to-SQL and E2E TQA25 Sep 2024
- 2024A Survey on Employing Large Language Models for Text-to-SQL Tasks21 Jul 2024
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL12 Jun 2024
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoring23 Mar 2024
- 2024Improving Generalization in Semantic Parsing by Increasing Natural Language Variation13 Feb 2024
- 2024CABINET: Content Relevance based Noise Reduction for Table Question Answering2 Feb 2024
- 2023RobuT: A Systematic Study of Table QA Robustness Against Human-Annotated Adversarial Perturbations25 Jun 2023
- 2023Error Detection for Text-to-SQL Semantic Parsing23 May 2023
- 2023Comprehensive Solution Program Centric Pretraining for Table-and-Text Hybrid Numerical Reasoning12 May 2023
- 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Framework26 Apr 2023
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capability12 Mar 2023
- 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codex30 Jan 2023
- 2023Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustness21 Jan 2023
- 2023On the Structural Generalization in Text-to-SQL12 Jan 2023
- 2022MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsing27 Dec 2022
- 2024Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQLcited by 120
- 2023A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capabilitycited by 119
- 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
- 2023Dr.Spider: A Diagnostic Evaluation Benchmark towards Text-to-SQL Robustnesscited by 53
- 2023RobuT: A Systematic Study of Table QA Robustness Against Human-Annotated Adversarial Perturbationscited by 43
- 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
- 2024CABINET: Content Relevance based Noise Reduction for Table Question Answeringcited by 23
- 2022MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsingcited by 22
- 2024TrustSQL: Benchmarking Text-to-SQL Reliability with Penalty-Based Scoringcited by 17
- 2023Error Detection for Text-to-SQL Semantic Parsingcited by 12
- 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQLcited by 11
12 most cited of 25 All 25 (JSON)
- 2026TrustDABench: Benchmarking Reliability and Robustness of LLMs for Structured Data Analysis25 Aug 2026
- 2026DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling23 Jul 2026
- 2026Beyond Static Rules: Automated Discovery of Latent Vulnerabilities in Text-to-SQL4 Jul 2026
- 2026ESQ-Bench: A Multi-Tier Enterprise Oracle Benchmark for Evaluating NL2SQL Dialect Generalization and Silent Semantic Divergence12 Jun 2026
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generation8 Apr 2026
- 2026EvoSchema: Towards Text-to-SQL Robustness Against Schema Evolution11 Mar 2026
- 2025SQLSpace: A Representation Space for Text-to-SQL to Discover and Mitigate Robustness Gaps31 Oct 2025
- 2025Squrve: A Unified and Modular Framework for Complex Real-World Text-to-SQL Tasks28 Oct 2025
- 2025LOGOS: LLM-driven End-to-End Grounded Theory Development and Schema Induction for Qualitative Research29 Sep 2025
- 2024Solid-SQL: Enhanced Schema-linking based In-context Learning for Robust Text-to-SQL17 Dec 2024
- 2024SynTQA: Synergistic Table-based Question Answering via Mixture of Text-to-SQL and E2E TQA25 Sep 2024
- 2024A Survey on Employing Large Language Models for Text-to-SQL Tasks21 Jul 2024
12 newest of 25 All 25 (JSON)