In-Contextual Gender Bias Suppression for Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Oba, Daisuke, Kaneko, Masahiro, Bollegala, Danushka
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914686770872320
author Oba, Daisuke
Kaneko, Masahiro
Bollegala, Danushka
author_facet Oba, Daisuke
Kaneko, Masahiro
Bollegala, Danushka
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2309_07251
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle In-Contextual Gender Bias Suppression for Large Language Models
Oba, Daisuke
Kaneko, Masahiro
Bollegala, Danushka
Computation and Language
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.
title In-Contextual Gender Bias Suppression for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2309.07251