Abstract
Large language models (LLMs) often inherit and amplify social biases from their training data. While debiasing through full fine-tuning is a common approach, it is computationally expensive and risks "catastrophic forgetting" of pre-trained knowledge. This study evaluates parameter-efficient fine-tuning (PEFT) methods—specifically adapter, prefix, and prompt tuning—combined with Counterfactual Data Augmentation (CDA). Our findings indicate that adapter tuning effectively mitigates gender bias by updating less than 0.3% of parameters while maintaining superior factual knowledge retention compared to traditional full fine-tuning.
Introduction
Pre-trained language models like BERT and GPT-2 are foundational to modern NLP but suffer from inherent social biases regarding gender, race, and religion. Traditional debiasing methods face two primary hurdles: the massive computational cost of updating billions of parameters and the degradation of the model's utility (catastrophic forgetting). This paper investigates whether PEFT techniques can offer a more efficient and less destructive path to model debiasing.
Methodology
The researchers combined Counterfactual Data Augmentation (CDA) with three popular PEFT techniques:
- Adapter Tuning: Small bottleneck layers are inserted between existing transformer layers; only these new layers are trained.
- Prefix Tuning: Tunable prefix vectors are prepended to the keys and values in every attention layer.
- Prompt Tuning: Tunable vectors are added only to the input embeddings, representing the most lightweight approach.
The workflow involved using CDA to balance a subset of English Wikipedia (e.g., swapping gendered terms) and then training only the PEFT parameters while keeping the base model weights frozen. These were compared against full fine-tuning and post-hoc methods like SentenceDebias and SelfDebias.
Key Insights and Ideas
Adapters as the Optimal Solution
Across different models and bias types, adapter tuning emerged as the most consistent performer. It frequently matched or exceeded the debiasing efficacy of full fine-tuning while requiring a fraction of the computational resources. Unlike the "sledgehammer" approach of full fine-tuning, PEFT acts as a surgical strike, modifying only the necessary components to reduce bias while leaving the model's factual core intact.
The Architecture Gap and CDA Bottleneck
Prompt tuning showed promise for GPT-2 but failed significantly for BERT, suggesting that autoregressive models may be more amenable to input-level debiasing prompts. Furthermore, all methods struggled more with racial and religious bias than with gender. This is likely due to the limitations of CDA; while gender pronouns are easily swapped, racial and religious terms often lack direct counterparts, leading to noisier training data.
Key Results
Gender Debiasing and Utility
Adapter tuning significantly reduced stereotype scores. On the StereoSet benchmark, it reduced BERT's bias score from 60.28 to 56.04 (where 50 is the ideal unbiased score). Crucially, this was achieved while maintaining or even improving language modeling performance (WikiText-2 perplexity).
Efficiency and Knowledge Retention
PEFT methods demonstrated significant efficiency gains, requiring only 12–17 GB of VRAM compared to 19 GB for full fine-tuning, and reducing training time by approximately 25%. On the LAMA fact-retrieval benchmark, PEFT models remained within 0–6.8% of the original model's accuracy, whereas full fine-tuning often resulted in larger performance drops.
Limitations and Future Work
The reliance on simple word-swapping (CDA) remains a major limitation for addressing complex social biases like race and religion. Future research should explore more sophisticated debiasing objectives that do not rely on explicit word lists. Additionally, expanding the scope beyond English and North American cultural contexts is essential for developing truly inclusive global models.
Summary updated