An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generation
Not on the map. Why?
Abstract (arXiv)
Several prior works have shown that language models (LMs) can generate text containing harmful social biases and stereotypes. While decoding algorithms play a central role in determining properties of LM generated text, their impact on the fairness of the generations has not been studied. We present a systematic analysis of the impact of decoding algorithms on LM fairness, and analyze the trade-off between fairness, diversity and quality. Our experiments with top-p, top-k and temperature decoding algorithms, in open-ended language generation, show that fairness across demographic groups changes significantly with change in decoding algorithm's hyper-parameters. Notably, decoding algorithms that output more diverse text also output more texts with negative sentiment and regard. We present several findings and provide recommendations on standardized reporting of decoding details in fairness evaluations and optimization of decoding algorithms for fairness alongside quality and diversity.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 23 of its 30 references that are in the map. First posted on arXiv 7 Oct 2022.
Builds on
23 of 30 references.
References · 23
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2018Hierarchical Neural Story Generationcited by 1,193
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 541
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
- 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
- 2021Societal Biases in Language Generation: Progress and Challengescited by 202
11 more
- 2021Challenges in Detoxifying Language Modelscited by 169
- 2019Reducing Sentiment Bias in Language Models via Counterfactual Evaluationcited by 148
- 2018Generating Informative and Diverse Conversational Responses via Adversarial Information Maximizationcited by 116
- 2020Towards Controllable Biases in Language Generationcited by 112
- 2018Language GANs Falling Shortcited by 97
- 2020Trading Off Diversity and Quality in Natural Language Generationcited by 96
- 2021Mitigating Political Bias in Language Models Through Reinforced Calibrationcited by 73
- 2020"You are grounded!": Latent Name Artifacts in Pre-trained Language Modelscited by 39
- 2020A Systematic Characterization of Sampling Algorithms for Open-ended Language Generationcited by 28
- 2022Challenges in Measuring Bias via Open-Ended Language Generationcited by 24
- 2020Defining and Evaluating Fair Natural Language Generationcited by 17
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 1; 2025: 0; 2026: 1.
7 papers.
- 2023Evaluating the Moral Beliefs Encoded in LLMscited by 215
- 2022Truncation Sampling as Language Model Desmoothingcited by 123
- 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimizationcited by 33
- 2023Learning to Generate Equitable Text in Dialogue from Biased Training Datacited by 12
- 2023Look-back Decoding for Open-Ended Text Generationcited by 10
- 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Modelscited by 0
- 2026Narrowing the Horizon: Quantifying Topic Saliency Shifts in Generative Monoculturecited by 0
- 2026Narrowing the Horizon: Quantifying Topic Saliency Shifts in Generative Monoculture28 Sep 2026
- 2024Towards Resource Efficient and Interpretable Bias Mitigation in Large Language Models2 Dec 2024
- 2023Evaluating the Moral Beliefs Encoded in LLMs26 Jul 2023
- 2023Learning to Generate Equitable Text in Dialogue from Biased Training Data10 Jul 2023
- 2023Look-back Decoding for Open-Ended Text Generation22 May 2023
- 2022Truncation Sampling as Language Model Desmoothing27 Oct 2022
- 2022Unified Detoxifying and Debiasing in Language Generation via Inference-time Adaptive Optimization10 Oct 2022