General Phrase Debiaser: Debiasing Masked Language Models at a Multi-Token Level

Bingkang Shi, Xiaodan Zhang, Dehan Kong, Yulei Wu, Zongzhen Liu +2 more
11/23/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

The social biases and unwelcome stereotypes revealed by pretrained language models are becoming obstacles to their application. Compared to numerous debiasing methods targeting word level, there has been relatively less attention on biases present at phrase level, limiting the performance of debiasing in discipline domains. In this paper, we propose an automatic multi-token debiasing pipeline called \textbf{General Phrase Debiaser}, which is capable of mitigating phrase-level biases in masked language models. Specifically, our method consists of a \textit{phrase filter stage} that generates stereotypical phrases from Wikipedia pages as well as a \textit{model debias stage} that can debias models at the multi-token level to tackle bias challenges on phrases. The latter searches for prompts that trigger model's bias, and then uses them for debiasing. State-of-the-art results on standard datasets and metrics show that our approach can significantly reduce gender biases on both career and multiple disciplines, across models with varying parameter sizes.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shi2023general,
  title  = {General Phrase Debiaser: Debiasing Masked Language Models at a Multi-Token Level},
  author = {Bingkang Shi and Xiaodan Zhang and Dehan Kong and Yulei Wu and Zongzhen Liu and Honglei Lyu and Longtao Huang},
  year   = {2023},
  eprint = {2311.13892},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.13892v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.13892.svg)](https://codeofpaper.com/paper/2311.13892)

Discussion