Reducing Sentiment Bias in Language Models via Counterfactual Evaluation
Not on the map. Why?
Abstract (arXiv)
Advances in language modeling architectures and the availability of large text corpora have driven progress in automatic text generation. While this results in models capable of generating coherent texts, it also prompts models to internalize social biases present in the training corpus. This paper aims to quantify and reduce a particular type of bias exhibited by language models: bias in the sentiment of generated text. Given a conditioning context (e.g., a writing prompt) and a language model, we analyze if (and how) the sentiment of the generated text is affected by changes in values of sensitive attributes (e.g., country names, occupations, genders) in the conditioning context using a form of counterfactual evaluation. We quantify sentiment bias by adopting individual and group fairness metrics from the fair machine learning literature, and demonstrate that large-scale models trained on two different corpora (news articles, and Wikipedia) exhibit considerable levels of bias. We then propose embedding and sentiment prediction-derived regularization on the language model's latent representations. The regularizations improve fairness metrics while retaining comparable levels of perplexity and semantic similarity.
Key facts. Cited by 148 papers in the map (data through 14 Oct 2026). First posted on arXiv 8 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 19; 2022: 31; 2023: 34; 2024: 37; 2025: 23; 2026: 4.
148 papers.
Sort:
By area:
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2022Red Teaming Language Models with Language Modelscited by 1,026
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 296
- 2021Societal Biases in Language Generation: Progress and Challengescited by 202
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
- 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 173
- 2021Challenges in Detoxifying Language Modelscited by 169
- 2021Alignment of Language Agentscited by 168
- 2022"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Datasetcited by 162
38 more
- 2023Debiasing Vision-Language Models via Biased Promptscited by 149
- 2021Self-Supervised Representation Learning: Introduction, Advances and Challengescited by 148
- 2023Co-Writing with Opinionated Language Models Affects Users' Viewscited by 148
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
- 2023Cultural Alignment in Large Language Models: An Explanatory Analysis Based on Hofstede's Cultural Dimensionscited by 112
- 2024Cognitive Bias in Decision-Making with LLMscited by 106
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Eracited by 98
- 2023A Survey on Fairness in Large Language Modelscited by 95
- 2021Quantifying Social Biases in NLP: A Generalization and Empirical Comparison of Extrinsic Fairness Metricscited by 83
- 2021On Measures of Biases and Harms in NLPcited by 81
- 2021Paragraph-level Rationale Extraction through Regularization: A case study on European Court of Human Rights Casescited by 77
- 2022On the Intrinsic and Extrinsic Fairness Evaluation Metrics for Contextualized Language Representationscited by 75
- 2021Mitigating Political Bias in Language Models Through Reinforced Calibrationcited by 73
- 2024Red Teaming Visual Language Modelscited by 65
- 2022Theories of "Gender" in NLP Bias Researchcited by 62
- 2024Fairness in Large Language Models: A Taxonomic Surveycited by 58
- 2022Perturbation Augmentation for Fairer NLPcited by 52
- 2023Bias Against 93 Stigmatized Groups in Masked Language Models and Downstream Sentiment Classification Taskscited by 51
- 2022Evaluation Gaps in Machine Learning Practicecited by 49
- 2022Characteristics of Harmful Text: Towards Rigorous Benchmarking of Language Modelscited by 49
- 2024Disclosure and Mitigation of Gender Bias in LLMscited by 49
- 2022A Causal Lens for Controllable Text Generationcited by 45
- 2022Identifying and Manipulating the Personality Traits of Language Modelscited by 40
- 2022Quantifying Social Biases Using Templates is Unreliablecited by 39
- 2023Bias of AI-Generated Content: An Examination of News Produced by Large Language Modelscited by 38
- 2023Are Personalized Stochastic Parrots More Dangerous? Evaluating Persona Biases in Dialogue Systemscited by 37
- 2024A Survey on Medical Large Language Models: Technology, Application, Trustworthiness, and Future Directionscited by 34
- 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimizationcited by 33
- 2023Probing Explicit and Implicit Gender Bias through LLM Conditional Text Generationcited by 31
- 2024Recent Advances in Generative AI and Large Language Models: Current Status, Challenges, and Perspectivescited by 30
- 2023Sociodemographic Bias in Language Models: A Survey and Forward Pathcited by 28
- 2024Identifying Implicit Social Biases in Vision-Language Modelscited by 27
- 2021Intersectional Bias in Causal Language Modelscited by 24
- 2021Detect and Perturb: Neutral Rewriting of Biased and Sensitive Text via Gradient-based Decodingcited by 23
- 2022Unit Testing for Concepts in Neural Networkscited by 23
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2022LMentry: A Language Model Benchmark of Elementary Language Taskscited by 22
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 22
50 most cited of 148 All 148 (JSON)
- 2026Probing Latent Colombian Identity Inferences in Qwen2.5-7B with Natural Language Autoencoders23 Jul 2026
- 2026Fin-Bias: Comprehensive Evaluation for LLM Decision-Making under human bias in Finance Domain9 May 2026
- 2026Efficient and Interpretable Transformer for Counterfactual Fairness29 Apr 2026
- 2026QueerGen: How LLMs Reflect Societal Norms on Gender and Sexuality in Sentence Completion Tasks28 Jan 2026
- 2025Textual Entailment is not a Better Bias Metric than Token Probability9 Oct 2025
- 2025Wasserstein projection distance for fairness testing of regression models5 Oct 2025
- 2025BTC-SAM: Leveraging LLMs for Generation of Bias Test Cases for Sentiment Analysis Models28 Sep 2025
- 2025Falcon: A Cross-Modal Evaluation Dataset for Comprehensive Safety Perception28 Sep 2025
- 2025Measuring Algorithmic Partisanship via Zero-Shot Classification and Its Implications on Political Discourse25 Sep 2025
- 2025PolBiX: Detecting LLMs' Political Bias in Fact-Checking through X-phemisms18 Sep 2025
- 2025AMBEDKAR-A Multi-level Bias Elimination through a Decoding Approach with Knowledge Augmentation for Robust Constitutional Alignment of Language Models2 Sep 2025
- 2025Measuring Stereotype and Deviation Biases in Large Language Models8 Aug 2025
38 more
- 2025Exploring Gender Bias in Large Language Models: An In-depth Dive into the German Language22 Jul 2025
- 2025Towards Fair Rankings: Leveraging LLMs for Gender Bias Detection and Measurement27 Jun 2025
- 2025Quantifying Fairness in LLMs Beyond Tokens: A Semantic and Statistical Perspective23 Jun 2025
- 2025Are Bias Evaluation Methods Biased ?20 Jun 2025
- 2025BiMa: Towards Biases Mitigation for Text-Video Retrieval via Scene Element Guidance4 Jun 2025
- 2025Analyzing Political Bias in LLMs via Target-Oriented Sentiment Classification26 May 2025
- 2025Do LLMs have a Gender (Entropy) Bias?24 May 2025
- 2025Relative Bias: A Comparative Framework for Quantifying Bias in LLMs22 May 2025
- 2025Evaluate Bias without Manual Test Sets: A Concept Representation Perspective for LLMs21 May 2025
- 2025Evaluating Large Language Models for Fair and Reliable Organ Allocation29 Mar 2025
- 2025Do Emotions Really Affect Argument Convincingness? A Dynamic Approach with LLM-based Manipulation Checks24 Feb 2025
- 2025Counterfactual-Consistency Prompting for Relative Temporal Understanding in Large Language Models17 Feb 2025
- 2025Fairness through Difference Awareness: Measuring Desired Group Discrimination in LLMs4 Feb 2025
- 2025Unmasking Conversational Bias in AI Multiagent Systems24 Jan 2025
- 2025LangFair: A Python Package for Assessing Bias and Fairness in Large Language Model Use Cases6 Jan 2025
- 2024Generalizing Trust: Weak-to-Strong Trustworthiness in Language Models31 Dec 2024
- 2024How far can bias go? Tracing bias from pretraining data to alignment28 Nov 2024
- 2024Gumbel Counterfactual Generation From Language Models11 Nov 2024
- 2024Identifying Implicit Social Biases in Vision-Language Models1 Nov 2024
- 2024LLMScan: Causal Scan for LLM Misbehavior Detection22 Oct 2024
- 2024Evaluation of Attribution Bias in Generator-Aware Retrieval-Augmented Large Language Models16 Oct 2024
- 2024Collapsed Language Models Promote Fairness6 Oct 2024
- 2024STOP! Benchmarking Large Language Models with Sensitivity Testing on Offensive Progressions20 Sep 2024
- 2024Fairness in Large Language Models in Three Hours2 Aug 2024
- 2024Risks, Causes, and Mitigations of Widespread Deployments of Large Language Models (LLMs): A Survey1 Aug 2024
- 2024Exploring Bengali Religious Dialect Biases in Large Language Models with Evaluation Perspectives25 Jul 2024
- 2024Walking in Others' Shoes: How Perspective-Taking Guides Large Language Models in Reducing Toxicity and Bias22 Jul 2024
- 2024Recent Advances in Generative AI and Large Language Models: Current Status, Challenges, and Perspectives20 Jul 2024
- 2024Evaluating Large Language Models with fmeval15 Jul 2024
- 2024Bring Your Own Prompts: Use-Case-Specific Bias and Fairness Evaluation for LLMs15 Jul 2024
- 2024BiasAlert: A Plug-and-play Tool for Social Bias Detection in LLMs14 Jul 2024
- 2024Fairness and Bias in Multimodal AI: A Survey27 Jun 2024
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performance17 Jun 2024
- 2024Why Don't Prompt-Based Fairness Metrics Correlate?9 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024BEADs: Bias Evaluation Across Domains6 Jun 2024
- 2024A Survey on Medical Large Language Models: Technology, Application, Trustworthiness, and Future Directions6 Jun 2024
- 2024LIDAO: Towards Limited Interventions for Debiasing (Large) Language Models1 Jun 2024
50 newest of 148 All 148 (JSON)
- 2023Debiasing Vision-Language Models via Biased Promptscited by 149
- 2024Red Teaming Visual Language Modelscited by 65
- 2024Identifying Implicit Social Biases in Vision-Language Modelscited by 27
- 2024Fairness and Bias in Multimodal AI: A Surveycited by 20
- 2025BiMa: Towards Biases Mitigation for Text-Video Retrieval via Scene Element Guidancecited by 2
- 2025BiMa: Towards Biases Mitigation for Text-Video Retrieval via Scene Element Guidance4 Jun 2025
- 2024Identifying Implicit Social Biases in Vision-Language Models1 Nov 2024
- 2024Fairness and Bias in Multimodal AI: A Survey27 Jun 2024
- 2024Red Teaming Visual Language Models23 Jan 2024
- 2023Debiasing Vision-Language Models via Biased Prompts31 Jan 2023
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 860
- 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 173
- 2025AMBEDKAR-A Multi-level Bias Elimination through a Decoding Approach with Knowledge Augmentation for Robust Constitutional Alignment of Language Modelscited by 2
- 2025AMBEDKAR-A Multi-level Bias Elimination through a Decoding Approach with Knowledge Augmentation for Robust Constitutional Alignment of Language Models2 Sep 2025
- 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Dataset10 Jul 2023
- 2023The Capacity for Moral Self-Correction in Large Language Models15 Feb 2023
- 2022Training language models to follow instructions with human feedback4 Mar 2022
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2023Bias and Fairness in Large Language Models: A Surveycited by 639
- 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 296
- 2021Societal Biases in Language Generation: Progress and Challengescited by 202
- 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
- 2021Challenges in Detoxifying Language Modelscited by 169
- 2021Alignment of Language Agentscited by 168
- 2022"I'm sorry to hear that": Finding New Biases in Language Models with a Holistic Descriptor Datasetcited by 162
- 2021Self-Supervised Representation Learning: Introduction, Advances and Challengescited by 148
- 2023Co-Writing with Opinionated Language Models Affects Users' Viewscited by 148
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
- 2023Cultural Alignment in Large Language Models: An Explanatory Analysis Based on Hofstede's Cultural Dimensionscited by 112
12 most cited of 133 All 133 (JSON)
- 2026Probing Latent Colombian Identity Inferences in Qwen2.5-7B with Natural Language Autoencoders23 Jul 2026
- 2026Fin-Bias: Comprehensive Evaluation for LLM Decision-Making under human bias in Finance Domain9 May 2026
- 2026Efficient and Interpretable Transformer for Counterfactual Fairness29 Apr 2026
- 2026QueerGen: How LLMs Reflect Societal Norms on Gender and Sexuality in Sentence Completion Tasks28 Jan 2026
- 2025Textual Entailment is not a Better Bias Metric than Token Probability9 Oct 2025
- 2025Wasserstein projection distance for fairness testing of regression models5 Oct 2025
- 2025BTC-SAM: Leveraging LLMs for Generation of Bias Test Cases for Sentiment Analysis Models28 Sep 2025
- 2025Falcon: A Cross-Modal Evaluation Dataset for Comprehensive Safety Perception28 Sep 2025
- 2025Measuring Algorithmic Partisanship via Zero-Shot Classification and Its Implications on Political Discourse25 Sep 2025
- 2025PolBiX: Detecting LLMs' Political Bias in Fact-Checking through X-phemisms18 Sep 2025
- 2025Measuring Stereotype and Deviation Biases in Large Language Models8 Aug 2025
- 2025Exploring Gender Bias in Large Language Models: An In-depth Dive into the German Language22 Jul 2025
12 newest of 133 All 133 (JSON)