SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.14402 · NeurIPS · 2022

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

Parishad Behnamghader, Aristides Milios

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

FunctionStatusWhere it lives
average_across_templates_from_dict Ran parishadbehnam/social-biases-in-bert-variants-across-multiple-languages/utils.py
pointer only (licence: NONE) · get_code("e17a8ccd77d49c60")
normalize Ran parishadbehnam/social-biases-in-bert-variants-across-multiple-languages/utils.py
pointer only (licence: NONE) · get_code("1b050e97f74d8fea")
score_lists_sent_prob Ran parishadbehnam/social-biases-in-bert-variants-across-multiple-languages/utils.py
pointer only (licence: NONE) · get_code("61f3981a0a0c06bf")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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. 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2211.14402")
get_code_for_paper("2211.14402")
have("2211.14402")

Connect an agent — have() is free.