Skip to main content

Toward Fairness in Text Generation via Mutual Information Minimization based on Importance Sampling

Publication ,  Conference
Wang, R; Cheng, P; Henao, R
Published in: Proceedings of Machine Learning Research
January 1, 2023

Pretrained language models (PLMs), such as GPT-2, have achieved remarkable empirical performance in text generation tasks. However, pretrained on large-scale natural language corpora, the generated text from PLMs may exhibit social bias against disadvantaged demographic groups. To improve the fairness of PLMs in text generation, we propose to minimize the mutual information between the semantics in the generated text sentences and their demographic polarity, i.e., the demographic group to which the sentence is referring. In this way, the mentioning of a demographic group (e.g., male or female) is encouraged to be independent from how it is described in the generated text, thus effectively alleviating the social bias. Moreover, we propose to efficiently estimate the upper bound of the above mutual information via importance sampling, leveraging a natural language corpus. We also propose a distillation mechanism that preserves the language modeling ability of the PLMs after debiasing. Empirical results on real-world benchmarks demonstrate that the proposed method yields superior performance in term of both fairness and language modeling ability.

Duke Scholars

Published In

Proceedings of Machine Learning Research

EISSN

2640-3498

Publication Date

January 1, 2023

Volume

206

Start / End Page

4473 / 4485
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Wang, R., Cheng, P., & Henao, R. (2023). Toward Fairness in Text Generation via Mutual Information Minimization based on Importance Sampling. In Proceedings of Machine Learning Research (Vol. 206, pp. 4473–4485).
Wang, R., P. Cheng, and R. Henao. “Toward Fairness in Text Generation via Mutual Information Minimization based on Importance Sampling.” In Proceedings of Machine Learning Research, 206:4473–85, 2023.
Wang R, Cheng P, Henao R. Toward Fairness in Text Generation via Mutual Information Minimization based on Importance Sampling. In: Proceedings of Machine Learning Research. 2023. p. 4473–85.
Wang, R., et al. “Toward Fairness in Text Generation via Mutual Information Minimization based on Importance Sampling.” Proceedings of Machine Learning Research, vol. 206, 2023, pp. 4473–85.
Wang R, Cheng P, Henao R. Toward Fairness in Text Generation via Mutual Information Minimization based on Importance Sampling. Proceedings of Machine Learning Research. 2023. p. 4473–4485.

Published In

Proceedings of Machine Learning Research

EISSN

2640-3498

Publication Date

January 1, 2023

Volume

206

Start / End Page

4473 / 4485