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

10/07/2022
by   Jwala Dhamala, et al.
8

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/10/2021

Societal Biases in Language Generation: Progress and Challenges

Technology for language generation has advanced rapidly, spurred by adva...
research
09/09/2023

Reverse-Engineering Decoding Strategies Given Blackbox Access to a Language Generation System

Neural language models are increasingly deployed into APIs and websites ...
research
11/18/2022

Social Diversity Reduces the Complexity and Cost of Fostering Fairness

Institutions and investors are constantly faced with the challenge of ap...
research
10/13/2022

Language Model Decoding as Likelihood-Utility Alignment

A critical component of a successful language generation pipeline is the...
research
04/22/2020

Trading Off Diversity and Quality in Natural Language Generation

For open-ended language generation tasks such as storytelling and dialog...
research
03/08/2023

On the Risks of Stealing the Decoding Algorithms of Language Models

A key component of generating text from modern language models (LM) is t...
research
09/06/2023

Improving Code Generation by Dynamic Temperature Sampling

Recently, Large Language Models (LLMs) have shown impressive results in ...

Please sign up or login with your details

Forgot password? Click here to reset