Your fairness may vary: Pretrained language model fairness in toxic text classification
Not on the map. Why?
Abstract (arXiv)
The popularity of pretrained language models in natural language processing systems calls for a careful evaluation of such models in down-stream tasks, which have a higher potential for societal impact. The evaluation of such systems usually focuses on accuracy measures. Our findings in this paper call for attention to be paid to fairness measures as well. Through the analysis of more than a dozen pretrained language models of varying sizes on two toxic text classification tasks (English), we demonstrate that focusing on accuracy measures alone can lead to models with wide variation in fairness characteristics. Specifically, we observe that fairness can vary even more than accuracy with increasing training data size and different random initializations. At the same time, we find that little of the fairness variation is explained by model size, despite claims in the literature. To improve model fairness without retraining, we show that two post-processing methods developed for structured, tabular data can be successfully applied to a range of pretrained language models. Warning: This paper contains samples of offensive text.
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 45 of its 82 references that are in the map. First posted on arXiv 3 Aug 2021.
Builds on
45 of 82 references.
References · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2016Equality of Opportunity in Supervised Learningcited by 2,000
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
33 more
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2020Language (Technology) is Power: A Critical Survey of "Bias" in NLPcited by 951
- 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2021Carbon Emissions and Large Neural Network Trainingcited by 561
- 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2017On Fairness and Calibrationcited by 406
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
- 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
- 2020BERTweet: A pre-trained language model for English Tweetscited by 346
- 2019Mitigating Gender Bias in Natural Language Processing: Literature Reviewcited by 287
- 2020Measuring and Reducing Gendered Correlations in Pre-trained Modelscited by 222
- 2018Multiaccuracy: Black-Box Post-Processing for Fairness in Classificationcited by 221
- 2020Social Biases in NLP Models as Barriers for Persons with Disabilitiescited by 182
- 2021Process for Adapting Language Models to Society (PALMS) with Values-Targeted Datasetscited by 179
- 2020Characterising Bias in Compressed Modelscited by 162
- 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
- 2020Intrinsic Bias Metrics Do Not Correlate with Application Biascited by 148
- 2018The Frontiers of Fairness in Machine Learningcited by 139
- 2019Wasserstein Fair Classificationcited by 131
- 2021Quantifying Social Biases in NLP: A Generalization and Empirical Comparison of Extrinsic Fairness Metricscited by 83
- 2016A Confidence-Based Approach for Balancing Fairness and Accuracycited by 73
- 2020Mapping the Space of Chemical Reactions Using Attention-Based Neural Networkscited by 70
- 2019Inferring Which Medical Treatments Work from Reports of Clinical Trialscited by 63
- 2019Leveraging Labeled and Unlabeled Data for Consistent Fair Binary Classificationcited by 60
- 2021Stereotype and Skew: Quantifying Gender Bias in Pre-trained and Fine-tuned Language Modelscited by 57
- 2020SqueezeBERT: What can computer vision teach NLP about efficient neural networks?cited by 50
- 2019Equalized odds postprocessing under imperfect group informationcited by 48
- 2020Confronting Abusive Language Online: A Survey from the Ethical and Human Rights Perspectivecited by 43
- 2019Fairness in representation: quantifying stereotyping as a representational harmcited by 26
- 2019Optimized Score Transformation for Consistent Fair Classificationcited by 7
Built on by
Citing papers per year: 2022: 5; 2023: 19; 2024: 10; 2025: 3; 2026: 1.
38 papers.
Sort:
By area:
- 2023A Survey on Fairness in Large Language Modelscited by 91
- 2023Distilling Script Knowledge from Large Language Models for Constrained Language Planningcited by 45
- 2024Threats, Attacks, and Defenses in Machine Unlearning: A Surveycited by 34
- 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarkscited by 31
- 2023Towards Trustworthy and Aligned Machine Learning: A Data-centric Survey with Causality Perspectivescited by 30
- 2023On The Impact of Machine Learning Randomness on Group Fairnesscited by 26
- 2023Grounding Foundation Models through Federated Transfer Learning: A General Frameworkcited by 24
- 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanesecited by 20
- 2022Vote'n'Rank: Revision of Benchmarking with Social Choice Theorycited by 15
- 2023SocialStigmaQA: A Benchmark to Uncover Stigma Amplification in Generative Language Modelscited by 14
- 2023Being Right for Whose Right Reasons?cited by 12
- 2024Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxiacited by 12
26 more
- 2022Conditional Supervised Contrastive Learning for Fair Text Classificationcited by 11
- 2023FairSISA: Ensemble Post-Processing to Improve Fairness of Unlearning in LLMscited by 10
- 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitationscited by 10
- 2023Fairness Evaluation in Text Classification: Machine Learning Practitioner Perspectives of Individual and Group Fairnesscited by 7
- 2023An Empirical Investigation into Benchmarking Model Multiplicity for Trustworthy Machine Learning: A Case Study on Image Classificationcited by 7
- 2022Nano: Nested Human-in-the-Loop Reward Learning for Few-shot Language Model Controlcited by 6
- 2023On the Origins of Bias in NLP through the Lens of the Jim Codecited by 5
- 2024The Case for Globalizing Fairness: A Mixed Methods Study on Colonialism, AI, and Health in Africacited by 5
- 2023Location-Aware Visual Question Generation with Lightweight Modelscited by 4
- 2022Systematic Evaluation of Predictive Fairnesscited by 3
- 2024Dynamic Normativity: Necessary and Sufficient Conditions for Value Alignmentcited by 3
- 2024Inducing Group Fairness in Prompt-Based Language Model Decisionscited by 3
- 2024Different Horses for Different Courses: Comparing Bias Mitigation Algorithms in MLcited by 3
- 2025HInter: Exposing Hidden Intersectional Bias in Large Language Modelscited by 3
- 2025Mitigating Confounding in Speech-Based Dementia Detection through Weight Maskingcited by 3
- 2023How does the task complexity of masked pretraining objectives affect downstream performance?cited by 2
- 2024The Trade-off between Performance, Efficiency, and Fairness in Adapter Modules for Text Classificationcited by 2
- 2023Linking convolutional kernel size to generalization bias in face analysis CNNscited by 1
- 2023On Bias and Fairness in NLP: Investigating the Impact of Bias and Debiasing in Language Models on the Fairness of Toxicity Detectioncited by 1
- 2023Selecting Shots for Demographic Fairness in Few-Shot Learning with Large Language Modelscited by 1
- 2024Alternative Speech: Complementary Method to Counter-Narrative for Better Discoursecited by 1
- 2023Globalizing Fairness Attributes in Machine Learning: A Case Study on Health in Africacited by 0
- 2023Keeping Up with the Language Models: Systematic Benchmark Extension for Bias Auditingcited by 0
- 2024fairBERTs: Erasing Sensitive Information Through Semantic and Fairness-aware Perturbationscited by 0
- 2025Group Fairness Meets the Black Box: Enabling Fair Algorithms on Closed LLMs via Post-Processingcited by 0
- 2026Fairness Beyond a Single Run: Training-Seed Variability in Speech LLM Adaptationcited by 0
- 2026Fairness Beyond a Single Run: Training-Seed Variability in Speech LLM Adaptation30 Sep 2026
- 2025Group Fairness Meets the Black Box: Enabling Fair Algorithms on Closed LLMs via Post-Processing15 Aug 2025
- 2025Mitigating Confounding in Speech-Based Dementia Detection through Weight Masking5 Jun 2025
- 2025HInter: Exposing Hidden Intersectional Bias in Large Language Models15 Mar 2025
- 2024Different Horses for Different Courses: Comparing Bias Mitigation Algorithms in ML17 Nov 2024
- 2024fairBERTs: Erasing Sensitive Information Through Semantic and Fairness-aware Perturbations11 Jul 2024
- 2024Inducing Group Fairness in Prompt-Based Language Model Decisions24 Jun 2024
- 2024Dynamic Normativity: Necessary and Sufficient Conditions for Value Alignment16 Jun 2024
- 2024The Trade-off between Performance, Efficiency, and Fairness in Adapter Modules for Text Classification3 May 2024
- 2024Threats, Attacks, and Defenses in Machine Unlearning: A Survey20 Mar 2024
- 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitations9 Mar 2024
- 2024The Case for Globalizing Fairness: A Mixed Methods Study on Colonialism, AI, and Health in Africa5 Mar 2024
26 more
- 2024Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxia8 Feb 2024
- 2024Alternative Speech: Complementary Method to Counter-Narrative for Better Discourse26 Jan 2024
- 2023SocialStigmaQA: A Benchmark to Uncover Stigma Amplification in Generative Language Models12 Dec 2023
- 2023FairSISA: Ensemble Post-Processing to Improve Fairness of Unlearning in LLMs12 Dec 2023
- 2023Grounding Foundation Models through Federated Transfer Learning: A General Framework29 Nov 2023
- 2023An Empirical Investigation into Benchmarking Model Multiplicity for Trustworthy Machine Learning: A Case Study on Image Classification24 Nov 2023
- 2023Selecting Shots for Demographic Fairness in Few-Shot Learning with Large Language Models14 Nov 2023
- 2023Location-Aware Visual Question Generation with Lightweight Models23 Oct 2023
- 2023A Survey on Fairness in Large Language Models20 Aug 2023
- 2023Towards Trustworthy and Aligned Machine Learning: A Data-centric Survey with Causality Perspectives31 Jul 2023
- 2023On The Impact of Machine Learning Randomness on Group Fairness9 Jul 2023
- 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanese16 Jun 2023
- 2023Being Right for Whose Right Reasons?1 Jun 2023
- 2023On Bias and Fairness in NLP: Investigating the Impact of Bias and Debiasing in Language Models on the Fairness of Toxicity Detection22 May 2023
- 2023Keeping Up with the Language Models: Systematic Benchmark Extension for Bias Auditing22 May 2023
- 2023How does the task complexity of masked pretraining objectives affect downstream performance?18 May 2023
- 2023On the Origins of Bias in NLP through the Lens of the Jim Code16 May 2023
- 2023Distilling Script Knowledge from Large Language Models for Constrained Language Planning9 May 2023
- 2023Globalizing Fairness Attributes in Machine Learning: A Case Study on Health in Africa5 Apr 2023
- 2023Fairness Evaluation in Text Classification: Machine Learning Practitioner Perspectives of Individual and Group Fairness1 Mar 2023
- 2023Linking convolutional kernel size to generalization bias in face analysis CNNs7 Feb 2023
- 2022Nano: Nested Human-in-the-Loop Reward Learning for Few-shot Language Model Control10 Nov 2022
- 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarks18 Oct 2022
- 2022Systematic Evaluation of Predictive Fairness17 Oct 2022
- 2022Vote'n'Rank: Revision of Benchmarking with Social Choice Theory11 Oct 2022
- 2022Conditional Supervised Contrastive Learning for Fair Text Classification23 May 2022
- 2023Towards Trustworthy and Aligned Machine Learning: A Data-centric Survey with Causality Perspectivescited by 30
- 2022Nano: Nested Human-in-the-Loop Reward Learning for Few-shot Language Model Controlcited by 6
- 2024Dynamic Normativity: Necessary and Sufficient Conditions for Value Alignmentcited by 3
- 2024Dynamic Normativity: Necessary and Sufficient Conditions for Value Alignment16 Jun 2024
- 2023Towards Trustworthy and Aligned Machine Learning: A Data-centric Survey with Causality Perspectives31 Jul 2023
- 2022Nano: Nested Human-in-the-Loop Reward Learning for Few-shot Language Model Control10 Nov 2022
- 2023A Survey on Fairness in Large Language Modelscited by 91
- 2023Distilling Script Knowledge from Large Language Models for Constrained Language Planningcited by 45
- 2022The Tail Wagging the Dog: Dataset Construction Biases of Social Bias Benchmarkscited by 31
- 2023On The Impact of Machine Learning Randomness on Group Fairnesscited by 26
- 2023Grounding Foundation Models through Federated Transfer Learning: A General Frameworkcited by 24
- 2023How do different tokenizers perform on downstream tasks in scriptio continua languages?: A case study in Japanesecited by 20
- 2022Vote'n'Rank: Revision of Benchmarking with Social Choice Theorycited by 15
- 2023SocialStigmaQA: A Benchmark to Uncover Stigma Amplification in Generative Language Modelscited by 14
- 2023Being Right for Whose Right Reasons?cited by 12
- 2022Conditional Supervised Contrastive Learning for Fair Text Classificationcited by 11
- 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitationscited by 10
- 2023Fairness Evaluation in Text Classification: Machine Learning Practitioner Perspectives of Individual and Group Fairnesscited by 7
12 most cited of 32 All 32 (JSON)
- 2026Fairness Beyond a Single Run: Training-Seed Variability in Speech LLM Adaptation30 Sep 2026
- 2025Group Fairness Meets the Black Box: Enabling Fair Algorithms on Closed LLMs via Post-Processing15 Aug 2025
- 2025Mitigating Confounding in Speech-Based Dementia Detection through Weight Masking5 Jun 2025
- 2025HInter: Exposing Hidden Intersectional Bias in Large Language Models15 Mar 2025
- 2024Different Horses for Different Courses: Comparing Bias Mitigation Algorithms in ML17 Nov 2024
- 2024fairBERTs: Erasing Sensitive Information Through Semantic and Fairness-aware Perturbations11 Jul 2024
- 2024Inducing Group Fairness in Prompt-Based Language Model Decisions24 Jun 2024
- 2024The Trade-off between Performance, Efficiency, and Fairness in Adapter Modules for Text Classification3 May 2024
- 2024Detectors for Safe and Reliable LLMs: Implementations, Uses, and Limitations9 Mar 2024
- 2024The Case for Globalizing Fairness: A Mixed Methods Study on Colonialism, AI, and Health in Africa5 Mar 2024
- 2024Alternative Speech: Complementary Method to Counter-Narrative for Better Discourse26 Jan 2024
- 2023SocialStigmaQA: A Benchmark to Uncover Stigma Amplification in Generative Language Models12 Dec 2023
12 newest of 32 All 32 (JSON)