paper-with-me

홈 › Papers

In-Contextual Gender Bias Suppression for Large Language Models

2023-09-13 · Daisuke Oba, Masahiro Kaneko, Danushka Bollegala

Despite their impressive performance in a wide range of NLP tasks, Large Language Models (LLMs) have been reported to encode worrying-levels of gender biases. Prior work has proposed debiasing methods that require human labelled examples, data augmentation and fine-tuning of LLMs, which are computationally costly. Moreover, one might not even have access to the model parameters for performing debiasing such as in the case of closed LLMs such as GPT-4. To address this challenge, we propose bias suppression that prevents biased generations of LLMs by simply providing textual preambles constructed from manually designed templates and real-world statistics, without accessing to model parameters. We show that, using CrowsPairs dataset, our textual preambles covering counterfactual statements can suppress gender biases in English LLMs such as LLaMA2. Moreover, we find that gender-neutral descriptions of gender-biased objects can also suppress their gender biases. Moreover, we show that bias suppression has acceptable adverse effect on downstream task performance with HellaSwag and COPA.

📄 PDF Abstract BibTeX arXiv:2309.07251

Code (1)

livnlp/prompt_bias_suppression 공식 구현

Tasks

counterfactualData AugmentationDescriptiveHellaSwag

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Estimating Grammatical Gender Directions in Contextual Embeddings under Controlled and Natural Contexts

2026-06-29 · Huanping Xiao, Yingji Li arxiv

Contextual language models conflate grammatical gender and social semantic bias in gendered languages such as Spanish. Existing gender debiasing approaches only operate on static word embeddings leaving contextual repres…

Unmasking Contextual Stereotypes: Measuring and Mitigating BERT’s Gender Bias

2020-12-01 · GeBNLP (COLING) 2020 12 · Marion Bartl, Malvina Nissim, Albert Gatt

Contextualized word embeddings have been replacing standard embeddings as the representational knowledge source of choice in NLP systems. Since a variety of biases have previously been found in standard word embeddings, …

counterfactualWord Embeddings

Unmasking Contextual Stereotypes: Measuring and Mitigating BERT's Gender Bias

2020-10-27 · Marion Bartl, Malvina Nissim, Albert Gatt

Contextualized word embeddings have been replacing standard embeddings as the representational knowledge source of choice in NLP systems. Since a variety of biases have previously been found in standard word embeddings, …

counterfactualWord Embeddings

Evaluating the Underlying Gender Bias in Contextualized Word Embeddings

2019-04-18 · WS 2019 8 · Christine Basta, Marta R. Costa-jussà, Noe Casas

Gender bias is highly impacting natural language processing applications. Word embeddings have clearly been proven both to keep and amplify gender biases that are present in current data sources. Recently, contextualized…

SentenceWord Embeddings

Leveraging Large Language Models to Measure Gender Representation Bias in Gendered Language Corpora

2024-06-19 · Erik Derner, Sara Sansalvador de la Fuente, Yoan Gutiérrez, Paloma Moreda 외

Large language models (LLMs) often inherit and amplify social biases embedded in their training data. A prominent social bias is gender bias. In this regard, prior work has mainly focused on gender stereotyping bias - th…

Multilingual NLP