mlsanityData to 7 Oct 2026

Uncovering and Categorizing Social Biases in Text-to-SQL

arXiv 2305.16253 ↗First posted 25 May 2023cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

Content Warning: This work contains examples that potentially implicate stereotypes, associations, and other harms that could be offensive to individuals in certain social groups.} Large pre-trained language models are acknowledged to carry social biases towards different demographics, which can further amplify existing stereotypes in our society and cause even more harm. Text-to-SQL is an important task, models of which are mainly adopted by administrative industries, where unfair decisions may lead to catastrophic consequences. However, existing Text-to-SQL models are trained on clean, neutral datasets, such as Spider and WikiSQL. This, to some extent, cover up social bias in models under ideal conditions, which nevertheless may emerge in real application scenarios. In this work, we aim to uncover and categorize social biases in Text-to-SQL models. We summarize the categories of social biases that may occur in structured data for Text-to-SQL models. We build test benchmarks and reveal that models with similar task accuracy can contain social biases at very different rates. We show how to take advantage of our methodology to uncover and assess social biases in the downstream Text-to-SQL task. We will release our code and data.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 29 of its 39 references that are in the map. First posted on arXiv 25 May 2023.

Builds on

29 of 39 references.

References · 29

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  6. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
  7. 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 683
  8. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  9. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
  10. 2021Conditional DETR for Fast Training Convergencecited by 422
  11. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 420
  12. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
17 more
  1. 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
  2. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  3. 2022Group DETR: Fast DETR Training with Group-Wise One-to-Many Assignmentcited by 96
  4. 2021Awakening Latent Grounding from Pretrained Language Models for Semantic Parsingcited by 28
  5. 2022Group DETR v2: Strong Object Detector with Encoder-Decoder Pretrainingcited by 25
  6. 2022CAE v2: Context Autoencoder with CLIP Targetcited by 25
  7. 2023Uncovering and Quantifying Social Biases in Code Generationcited by 25
  8. 2021Not All Voxels Are Equal: Semantic Scene Completion from the Point-Voxel Perspectivecited by 22
  9. 2022Conditional DETR V2: Efficient Detection Transformer with Box Queriescited by 21
  10. 2022UniSAr: A Unified Structure-Aware Autoregressive Language Model for Text-to-SQLcited by 20
  11. 2022Point Scene Understanding via Disentangled Instance Mesh Reconstructioncited by 20
  12. 2022D3ETR: Decoder Distillation for Detection Transformercited by 17
  13. 2021Adversarial Scrubbing of Demographic Information for Text Classificationcited by 14
  14. 2022HERB: Measuring Hierarchical Regional Bias in Pre-trained Language Modelscited by 8
  15. 2021Enhance Long Text Understanding via Distilled Gist Detector from Abstractive Summarizationcited by 6
  16. 2022Know What I don't Know: Handling Ambiguous and Unanswerable Questions for Text-to-SQLcited by 6
  17. 2023Parallel Sentence-Level Explanation Generation for Real-World Low-Resource Scenarioscited by 4

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 1.

5 papers.