An Empirical Analysis of Parameter-Efficient Methods for Debiasing Pre-Trained Language Models

Zhongbin Xie, Thomas Lukasiewicz

Abstract

The increasingly large size of modern pretrained language models not only makes them inherit more human-like biases from the training corpora, but also makes it computationally expensive to mitigate such biases. In this paper, we investigate recent parameter-efficient methods in combination with counterfactual data augmentation (CDA) for bias mitigation. We conduct extensive experiments with prefix tuning, prompt tuning, and adapter tuning on different language models and bias types to evaluate their debiasing performance and abilities to preserve the internal knowledge of a pre-trained model. We find that the parameter-efficient methods (i) are effective in mitigating gender bias, where adapter tuning is consistently the most effective one and prompt tuning is more suitable for GPT-2 than BERT, (ii) are less effective when it comes to racial and religious bias, which may be attributed to the limitations of CDA, and (iii) can perform similarly to or sometimes better than full fine-tuning with improved time and memory efficiency, as well as maintain the internal knowledge in BERT and GPT-2, evaluated via fact retrieval and downstream fine-tuning.

Introduction

As pre-trained language models (PLMs) like BERT and GPT-2 grow in size, they become better at mimicking human language—but they also get better at absorbing human prejudices from their training data. The standard approach to mitigation, full fine-tuning using Counterfactual Data Augmentation (CDA), is computationally expensive and risks "catastrophic forgetting," where the model loses factual knowledge or linguistic nuances. This paper explores whether parameter-efficient fine-tuning (PEFT) can mitigate these biases while preserving model integrity.

Methodology

The researchers investigated three popular PEFT methods in combination with CDA:

  1. Adapter Tuning: Inserting small, trainable layers between existing transformer layers.
  2. Prefix Tuning: Adding trainable vectors to the keys and values of the self-attention mechanism.
  3. Prompt Tuning: Prepending trainable "soft prompt" vectors to the input embeddings.

In all cases, the original model weights are frozen, and only a tiny fraction (often <0.3%) of parameters are updated. These methods were tested across BERT and GPT-2 architectures using augmented English Wikipedia data.

Key Results and Discussion

Effectiveness in Gender Debiasing

PEFT methods proved highly effective for gender bias mitigation. Adapter tuning consistently outperformed prefix and prompt tuning, likely because it modifies feed-forward sublayers where social biases may be more concentrated. On the CrowS-Pairs benchmark, Adapter Tuning reduced BERT's stereotype score from 57.25 to 51.68 (where 50 is the ideal unbiased score).

Table 1: Gender bias mitigation results for BERT and GPT-2. Adapter tuning shows the most consistent improvement across models.

The CDA Bottleneck in Racial and Religious Bias

While PEFT was successful for gender bias, it struggled with racial and religious bias. This failure is attributed to the limitations of CDA word lists rather than the tuning methods themselves. Gender is often represented by simple binary pairs (e.g., he/she), whereas race and religion involve noisier, more ambiguous attribute words that simple data augmentation fails to capture effectively.

Table 2: Racial bias results, highlighting the diminished effectiveness of CDA-based tuning for non-gendered biases.

Knowledge Preservation and Efficiency

Unlike full fine-tuning, PEFT methods maintained or even improved the models' internal knowledge, as measured by fact-retrieval benchmarks (LAMA). Furthermore, PEFT methods were significantly more efficient, requiring only 12–17 GB of VRAM compared to 19 GB for full fine-tuning, and reducing training time by approximately 25%.

Conclusion

Parameter-efficient methods, particularly Adapter Tuning, offer a powerful way to debias large language models without sacrificing performance or computational resources. However, the reliance on CDA remains a bottleneck for complex biases like race and religion. Future work should explore more sophisticated debiasing techniques that can be integrated into these efficient frameworks.

Summary updated

BibTeX
@inproceedings{xie2023empirical,
  author = {Zhongbin Xie and Thomas Lukasiewicz},
  title = {{An Empirical Analysis of Parameter-Efficient Methods for Debiasing Pre-Trained Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  url = {https://openreview.net/forum?id=3dNOOHcsks},
}
Figure