An Analysis of Social Biases Present in BERT Variants Across Multiple Languages

Aristides Milios, Parishad BehnamGhader
11/25/2022
cs.CLcs.CYcs.LG

Official code: ParishadBehnam/Social-Biases-in-BERT-Variants-Across-Multiple-Languages (5 stars, Jupyter Notebook, last commit 2022-04-19).

Abstract

Although large pre-trained language models have achieved great success in many NLP tasks, it has been shown that they reflect human biases from their pre-training corpora. This bias may lead to undesirable outcomes when these models are applied in real-world settings.

Show full abstract

In this paper, we investigate the bias present in monolingual BERT models across a diverse set of languages (English, Greek, and Persian). While recent research has mostly focused on gender-related biases, we analyze religious and ethnic biases as well and propose a template-based method to measure any kind of bias, based on sentence pseudo-likelihood, that can handle morphologically complex languages with gender-based adjective declensions. We analyze each monolingual model via this method and visualize cultural similarities and differences across different dimensions of bias. Ultimately, we conclude that current methods of probing for bias are highly language-dependent, necessitating cultural insights regarding the unique ways bias is expressed in each language and culture (e.g. through coded language, synecdoche, and other similar linguistic concepts). We also hypothesize that higher measured social biases in the non-English BERT models correlate with user-generated content in their training.

View on arXivView PDF

Code Implementations(1)

This project analyzes to what extent cultural similarities and differences influence various types of biases, and we aim to compare different biases reflected in the pre-trained BERT model trained on each language

51Jupyter Notebook, PythonApr 18, 20224 years ago

Similar Papers

Cite this paper

@article{milios2022analysis,
  title  = {An Analysis of Social Biases Present in BERT Variants Across Multiple Languages},
  author = {Aristides Milios and Parishad BehnamGhader},
  year   = {2022},
  eprint = {2211.14402},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.14402}
}

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/2211.14402.svg)](https://codeofpaper.com/paper/2211.14402)

Discussion