ACL 2022long199 citations

Auto-Debias: Debiasing Masked Language Models with Automated Biased Prompts

Yue Guo, Yi Yang, Ahmed Abbasi

Abstract

Human-like biases and undesired social stereotypes exist in large pretrained language models. Given the wide adoption of these models in real-world applications, mitigating such biases has become an emerging and important task. In this paper, we propose an automatic method to mitigate the biases in pretrained language models. Different from previous debiasing work that uses external corpora to fine-tune the pretrained models, we instead directly probe the biases encoded in pretrained models through prompts. Specifically, we propose a variant of the beam search method to automatically search for biased prompts such that the cloze-style completions are the most different with respect to different demographic groups. Given the identified biased prompts, we then propose a distribution alignment loss to mitigate the biases. Experiment results on standard datasets and metrics show that our proposed Auto-Debias approach can significantly reduce biases, including gender and racial bias, in pretrained language models such as BERT, RoBERTa and ALBERT. Moreover, the improvement in fairness does not decrease the language models’ understanding abilities, as shown using the GLUE benchmark.

BibTeX
@inproceedings{guo-etal-2022-auto,
    title = "Auto-Debias: Debiasing Masked Language Models with Automated Biased Prompts",
    author = "Guo, Yue  and
      Yang, Yi  and
      Abbasi, Ahmed",
    editor = "Muresan, Smaranda  and
      Nakov, Preslav  and
      Villavicencio, Aline",
    booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.acl-long.72/",
    doi = "10.18653/v1/2022.acl-long.72",
    pages = "1012--1023"
}
Auto-Debias: Debiasing Masked Language Models with Automated Biased Prompts · ACL 2022