Abstract
Natural Language Generation (NLG) systems, including chatbots and machine translation tools, are increasingly integrated into daily life. However, these systems often reflect and amplify societal biases. This paper provides a comprehensive survey of societal biases in NLG, categorizing harms and tasks. Furthermore, it investigates how inference-stage decoding strategies—such as nucleus sampling and beam search—influence the manifestation of bias, revealing a critical trade-off between text diversity and fairness.
Introduction: The Unique Challenges of NLG
While societal bias in Natural Language Processing (NLP) has been studied extensively, most research focuses on Natural Language Understanding (NLU) tasks like hate speech detection. Natural Language Generation (NLG) presents unique challenges because it is often open-ended and stochastic. Unlike classification tasks, defining "fairness" in generation is complex. Moreover, NLG systems interact directly with users, meaning biased outputs can act as "gatekeepers," potentially discouraging marginalized groups from using essential technologies.
Landscape of NLG Bias Research
The authors categorize NLG into two main types of tasks: Continuation Tasks (e.g., Autocomplete, Dialogue) and Transformation Tasks (e.g., Machine Translation, Text Re-writing). A systematic review of existing literature reveals a significant concentration of research on specific demographic dimensions and tasks.
As shown in the table above, gender is the most extensively studied demographic dimension across all NLG tasks. In contrast, dimensions like religion and sexuality are primarily explored within the context of autocomplete tasks, indicating a need for broader research across diverse demographic categories and complex generation tasks like dialogue.
Taxonomy of Harms
The paper expands on existing frameworks to categorize the harms caused by biased NLG:
- Representational Impacts: The propagation of stereotypes or misrepresentations of specific groups.
- Allocational Impacts: The unequal distribution of resources or opportunities (e.g., translation errors leading to legal or professional disadvantages).
- Vulnerability Impacts: A newly identified category describing how open-domain generation can make certain groups more susceptible to manipulation, radicalization, or privacy violations.
Experimental Study: The Role of Decoding
A key contribution of this work is the analysis of how the "inference" stage—specifically the choice of decoding algorithm—contributes to bias. The authors tested Greedy Search, Beam Search, Top-k Sampling, and Nucleus Sampling across three major models: GPT, GPT-2, and XLNet.
Methodology and Datasets
The study utilized several established benchmarks to evaluate bias:
- Regard Ratio Prompts: Measuring social perception towards demographics.
- AAE/WAE Prompts: Comparing sentiment disparities between African American English and White-Aligned English.
- IF/GF Templates: Evaluating Individual and Group Fairness across countries and occupations.
Key Findings
The experiments revealed that bias is not solely a product of training data; it is significantly influenced by how a model selects the next token.
- The Diversity-Bias Trade-off: There is a clear correlation between text diversity and measurable bias. Search-based methods (Beam, Greedy) produce less diverse text but often score "better" on absolute bias metrics because they favor high-probability, "safe" sequences.
- Sampling Amplifies Bias: Stochastic sampling methods (Top-k, Nucleus) produce more human-like and diverse text but are more prone to revealing the model's underlying biased associations. Nucleus sampling was found to be slightly less biased than Top-k on the "regard" metric but generally produced more negative sentiment.
- Model Architecture: Larger models often contain more gender bias, frequently concentrated in specific "biased neurons" or attention heads.
- Data Filtering Pitfalls: Simply removing "bad words" from training data can lead to "representation disparity," where the model performs poorly for marginalized populations whose discourse has been erased.
Conclusion and Future Directions
The survey highlights critical gaps in current research, including a heavy focus on Western-centric, binary gender perspectives and a lack of intersectional analysis. Future work must move beyond simple proxy metrics like sentiment toward holistic evaluations that consider fairness alongside fluency and diversity. Addressing these challenges requires interdisciplinary collaboration to ensure NLG systems are safe and equitable for all users.
Summary updated