English

Mitigating Gender Bias in Distilled Language Models via Counterfactual Role Reversal

Computation and Language 2022-03-24 v1 Machine Learning

Abstract

Language models excel at generating coherent text, and model compression techniques such as knowledge distillation have enabled their use in resource-constrained settings. However, these models can be biased in multiple ways, including the unfounded association of male and female genders with gender-neutral professions. Therefore, knowledge distillation without any fairness constraints may preserve or exaggerate the teacher model's biases onto the distilled model. To this end, we present a novel approach to mitigate gender disparity in text generation by learning a fair model during knowledge distillation. We propose two modifications to the base knowledge distillation based on counterfactual role reversal\unicodex2014\unicode{x2014}modifying teacher probabilities and augmenting the training set. We evaluate gender polarity across professions in open-ended text generated from the resulting distilled and finetuned GPT\unicodex2012\unicode{x2012}2 models and demonstrate a substantial reduction in gender disparity with only a minor compromise in utility. Finally, we observe that language models that reduce gender polarity in language generation do not improve embedding fairness or downstream classification fairness.

Keywords

Cite

@article{arxiv.2203.12574,
  title  = {Mitigating Gender Bias in Distilled Language Models via Counterfactual Role Reversal},
  author = {Umang Gupta and Jwala Dhamala and Varun Kumar and Apurv Verma and Yada Pruksachatkun and Satyapriya Krishna and Rahul Gupta and Kai-Wei Chang and Greg Ver Steeg and Aram Galstyan},
  journal= {arXiv preprint arXiv:2203.12574},
  year   = {2022}
}

Comments

To appear in the Findings of ACL 2022