Research map / Large language models / Language, safety and interpretability
Uncovering and Categorizing Social Biases in Text-to-SQL
Yan Liu, Yan Gao, Zhe Su, Xiaokang Chen, Elliott Ash, Jian-Guang LOU
Microsoft · Carnegie Mellon University · Peking University · ETH Zurich
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use BERT-based RATSQL instead of BART/T5-based parsers | Text-to-SQL models · BiaSpider v1 (RoBERTa-Neg) | Bias Score: 42.21 (RATSQL) vs 11.55 (UNISAR), 9.52 (PICARD) | Hurt |
| fine-tune PLMs on neutral Spider data | Text-to-SQL models · BiaSpider | Bias Score: e.g. 42.21 for RATSQL on v1 RoBERTa-Neg | Hurt |
| models with similar task accuracy | UNISAR vs PICARD · BiaSpider v1 | ACC / Bias Score: ACC 39.73 vs 39.49; Bias Score 11.55 vs 9.52 | Mixed |
| insert judgemental modifiers (BiaSpider vs Spider) | RATSQL (BERT) · Spider vs BiaSpider v1 | accuracy: 65.60 -> 43.72 | Hurt |
| use TST-String-Distance retrieval instead of DTE/TST-Jacard | GPT-3 · BiaSpider v3 (RoBERTa-Neg) | Bias Score: 10.52 -> 8.82 | Improved |
| increase number of added demographics (v1 to v2) | RATSQL (BERT) · BiaSpider (RoBERTa-Neg) | Bias Score: 42.21 -> 54.40 | Hurt |
| increase number of added demographics (v1 to v3) | UNISAR (BART) · BiaSpider (RoBERTa-Neg) | Bias Score: 11.55 -> 12.31 | No clear effect |
| increase number of added demographics (v1 to v3) | UNISAR (BART) · BiaSpider v3 (RoBERTa-Neg) | ACC: 39.73 -> 6.33 | Hurt |
| compare Spider with BERT pre-training data neutrality | Spider data · Detoxify toxicity | toxicity score: 0.00144 (Spider train) vs 0.00765 (BooksCorpus train) | Improved |
Open problems in bias measurement and mitigation
Do bias findings in LLMs hold beyond binary gender, English prompts, templated inputs and a few open models?
- Only a few open or small models were tested. · 22 papers state it
- Gender is treated as binary, leaving non-binary identities out. · 20 papers state it
- Bias is measured in English only, with other languages untested. · 18 papers state it
Closest papers by meaning
- Towards Understanding and Mitigating Social Biases in Language Models (ICML 2021 · similarity 0.90)
- Leveraging Prototypical Representations for Mitigating Social Bias without Demographic Information (NAACL 2024 · similarity 0.89)
- Confronting LLMs with Traditional ML: Rethinking the Fairness of Large Language Models in Tabular Classifications (NAACL 2024 · similarity 0.89)
- Prompting Fairness: Integrating Causality to Debias Large Language Models (ICLR 2025 · similarity 0.88)
- SocialStigmaQA: A Benchmark to Uncover Stigma Amplification in Generative Language Models (AAAI 2024 · similarity 0.87)
- Probing Social Bias in Labor Market Text Generation by ChatGPT: A Masked Language Model Approach (NeurIPS 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.