mlsanityData to 14 Oct 2026

An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generation

arXiv 2210.03826 ↗First posted 7 Oct 2022cs.CL cs.AI cs.LGcited by 7

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  5. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  6. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  7. 2018Hierarchical Neural Story Generationcited by 1,193
  8. 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
  9. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 541
  10. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
  11. 2021BOLD: Dataset and Metrics for Measuring Biases in Open-Ended Language Generationcited by 412
  12. 2021Societal Biases in Language Generation: Progress and Challengescited by 202
11 more
  1. 2021Challenges in Detoxifying Language Modelscited by 169
  2. 2019Reducing Sentiment Bias in Language Models via Counterfactual Evaluationcited by 148
  3. 2018Generating Informative and Diverse Conversational Responses via Adversarial Information Maximizationcited by 116
  4. 2020Towards Controllable Biases in Language Generationcited by 112
  5. 2018Language GANs Falling Shortcited by 97
  6. 2020Trading Off Diversity and Quality in Natural Language Generationcited by 96
  7. 2021Mitigating Political Bias in Language Models Through Reinforced Calibrationcited by 73
  8. 2020"You are grounded!": Latent Name Artifacts in Pre-trained Language Modelscited by 39
  9. 2020A Systematic Characterization of Sampling Algorithms for Open-ended Language Generationcited by 28
  10. 2022Challenges in Measuring Bias via Open-Ended Language Generationcited by 24
  11. 2020Defining and Evaluating Fair Natural Language Generationcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 3; 2024: 1; 2025: 0; 2026: 1.

7 papers.