Fixing a language model's bias before fine-tuning does not guarantee the fine-tuned model is fair, because updating every parameter can wipe out the fix. Researchers call that effect fairness forgetting. A 2023 arXiv paper by Sumit Agarwal, Aditya Srikanth Veerubhotla and Srijan Bansal proposes PEFTDebias, which stores the debiasing in a small set of parameters and keeps them frozen. This page summarizes the paper; its claims are the authors' own.
The problem
Foundation models such as BERT and GPT-3 are prone to stereotypical societal biases present in their training data, such as sexism (gender) and racism (race), which can lead to unfair outcomes. The authors cite earlier work suggesting that biases picked up during pretraining can carry over to downstream models, an idea known as the bias transfer hypothesis. Most bias-mitigation methods are applied during fine-tuning for a particular task or dataset, using extra training objectives, annotated bias attributes or task-specific fairness metrics, which burdens the many people who fine-tune language models.
Debiasing first and fine-tuning afterwards (upstream debiasing) has limits. It needs annotated bias attributes for the upstream task and supervised data for both tasks, and there is no guarantee that the downstream model will show less bias, because changing all parameters may lose the debiased representations.
The method
PEFTDebias uses parameter-efficient fine-tuning (PEFT) in two phases:
- Upstream. Using counterfactual data augmentation (CDA), which swaps words that mark a bias axis, such as he/she for gender, the method trains PEFT parameters on data specific to one axis. These parameters are meant to capture debiasing information that is not tied to a task.
- Downstream. The debiased PEFT is injected into a trainable language model and frozen while the model is fine-tuned on a task. The hypothesis is that the frozen parameters keep the debiasing and protect the model from acquiring bias along that axis during fine-tuning.

Figure 1 of the paper: the two phases of PEFTDebias. Figure from the paper by Agarwal, Veerubhotla and Bansal, CC BY 4.0.
The authors tried four PEFT methods: Adapters, Prompt Tuning, LoRA and Sparse Fine-tuning. The base model was BERT, and each PEFT was set to have about 1% of the base model's parameters so that they would be comparable.
What they tested
Two bias axes were studied: gender stereotypes about occupations, using the BiasBios dataset, and racial bias in hate-speech detection, using the GHC dataset. To test whether the debiasing transfers, they applied the parameters to MNLI (gender) and LHC (race). Upstream bias was measured with two benchmarks, CrowS-Pairs and StereoSet. Downstream, gender bias was measured as the gap in true positive rate across occupations (TPR-GAP) and racial bias as the false positive rate difference (FPRD). For MNLI they used the fraction of neutrals on Bias-NLI.
Results
The authors report that, upstream, PEFTs with CDA reduced intrinsic bias and kept or improved the language-model score, with Prompt Tuning and Adapters especially effective. Downstream on the same datasets, PEFTs reached task performance within a 5% margin of the BERT baseline, with a clear improvement in the bias measure, and Prompt Tuning reduced bias the most. A selection from their results (lower is better for TPR-GAP and FPRD):
| Method | BiasBios accuracy | BiasBios TPR-GAP | GHC F1 | GHC FPRD |
|---|---|---|---|---|
| Fine-tuning (FT) | 81.29 | 13.05 | 68.76 | 1.01 |
| Adapter | 81.28 | 13.22 | 67.39 | 0.78 |
| Prompt Tuning | 81.10 | 11.98 | 67.15 | 0.54 |
| LoRA | 81.28 | 13.67 | 66.91 | 0.73 |
| Sparse Fine-tuning | 81.34 | 12.04 | 65.06 | 0.59 |
Transfer worked too. Debiasing parameters learned on one dataset performed comparably to full fine-tuning on a different dataset along the same axis. Parameters learned on the same task's data showed the least bias, but the transferred ones were still comparable. Prompt Tuning was impressive on the Bias-NLI scores for MNLI. The authors read this as showing that axis-based debiasing patches work across datasets.

Figure 2 of the paper: TPR-GAP of CDA debiasing with fine-tuning and Prompt Tuning, by occupation. Figure from the paper by Agarwal, Veerubhotla and Bansal, CC BY 4.0.
In the occupation breakdown, Prompt Tuning gave better results than fine-tuning. Female-dominated professions such as dietitian and interior designer showed less correlation with the female gender, and male-dominated ones such as surgeon and comedian less with the male gender. Little changed for rapper and psychologist, and for poet and accountant the gap reversed, an over-correction the authors attribute to the small number of examples for those jobs.
Limits the authors state
- Only BERT was debiased. The results may not carry to generative models such as GPT-3, which treat every task as generation.
- The work targets bias in the datasets, not in the annotation of task labels.
- Gender was treated as binary, and racial bias was measured through a narrow set of attribute words.
- The authors did not test whether the methods reduce harm in real-world use. The intrinsic benchmarks can identify biased models but cannot confirm a model is unbiased, so a stereotype score of 50% on StereoSet or CrowS-Pairs does not prove a model is unbiased. The extrinsic measures rely on a few words or templates.
- For these reasons they urge readers not to make definitive claims about the techniques or apply them directly in real-world settings.
Future work could extend the idea to generative models and combine several bias axes.
Sources
- Sumit Agarwal, Aditya Srikanth Veerubhotla and Srijan Bansal, "PEFTDebias : Capturing debiasing information using PEFTs," arXiv:2312.00434 (2023) (https://arxiv.org/abs/2312.00434), licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Figures 1 and 2 are from the paper.
- Changed here: rewritten in hubnx's own words and condensed; the reference list, appendix algorithm and most tables are left out.
コメント





