PEFTDebias : Capturing debiasing information using PEFTs

Sumit Agarwal, Aditya Srikanth Veerubhotla, Srijan BansalEMNLP 2023

Abstract

Foundation models trained on massive, uncurated datasets often inherit and amplify societal biases. Existing debiasing techniques frequently fail because the debiasing effects are "overwritten" during downstream task fine-tuning—a phenomenon known as fairness forgetting. We introduce PEFTDebias, a two-phase framework that leverages Parameter-Efficient Fine-Tuning (PEFT) to capture debiasing information in modular, transferable "patches." By training small sets of parameters on debiasing data and keeping them frozen during downstream task training, we successfully reduce gender and racial bias across multiple datasets while preserving model performance.

Introduction

The rapid adoption of large language models (LLMs) like BERT has brought societal biases to the forefront of AI research. These models often reflect human-like prejudices regarding gender, race, and religion found in their training corpora. While various debiasing methods exist, they face two critical challenges:

  1. Fairness Forgetting: Updating all model weights during task-specific fine-tuning often erases the previously applied debiasing.
  2. Task Specificity: Most debiasing solutions are coupled to specific datasets, limiting their generalizability.

PEFTDebias addresses these issues by decoupling debiasing information from task-specific knowledge, creating a modular solution for fairness.

The PEFTDebias Framework

The core of our approach is a two-stage process designed to acquire and then protect debiasing information.

The PEFTDebias framework consists of an Upstream phase for bias acquisition and a Downstream phase for task application.

Phase 1: Upstream Acquisition

In the upstream phase, the goal is to learn the characteristics of "unbiased" data for a specific axis, such as gender or race. We employ Counterfactual Data Augmentation (CDA) to create a balanced corpus (e.g., swapping gendered terms like "he" for "she"). We then train PEFT modules—specifically Adapters, LoRA, Prompt Tuning, or Sparse Fine-Tuning (SFT)—on this balanced data while keeping the foundation model's core weights frozen.

Phase 2: Downstream Application

During the downstream phase, the model is trained for a specific target task (e.g., job classification). The previously learned debiasing PEFT modules are injected into the model and kept frozen. Only the remaining model parameters are updated for the task. This "locks" the debiasing patch, preventing the model from reverting to biased patterns during fine-tuning.

Experimental Setup

We evaluated PEFTDebias across two primary axes:

  • Gender: Using the BiasBios (biography classification) and MNLI (Natural Language Inference) datasets.
  • Race: Using the GHC (Gab Hate Corpus) and LHC (Large Hate Corpus) to measure false positive rates across racial identifiers.

We also measured intrinsic bias using standard benchmarks like CrowS-Pairs and StereoSet to ensure the upstream phase successfully captured debiasing information.

Key Results and Discussion

Our experiments demonstrate that PEFTDebias effectively mitigates bias without significant performance degradation.

Extrinsic bias and performance results across various datasets and transfer scenarios.

Effectiveness of Prompt Tuning

Among the tested PEFT methods, Prompt Tuning consistently emerged as the most effective for bias reduction. For instance, in the BiasBios dataset, Prompt Tuning reduced the True Positive Rate Gap (TPR-GAP)—a key metric for gender bias—from 13.05 to 11.98. Crucially, it maintained a competitive accuracy of 81.10%, compared to the baseline's 81.29%.

Transferability of Debiasing Patches

A major finding of this work is the successful transfer of debiasing patches across datasets. Parameters learned on the GHC dataset for racial debiasing successfully mitigated bias when transferred to the LHC dataset (GHC → LHC). This confirms that the PEFT modules capture general, axis-specific debiasing information rather than just memorizing dataset-specific features.

Performance Stability

Unlike many debiasing methods that significantly degrade a model's utility, PEFTDebias maintained task performance within a 5% margin of the baseline BERT model across all experiments. This stability makes it a viable candidate for real-world deployment where performance is as critical as fairness.

Conclusion and Future Work

PEFTDebias provides a modular and effective way to "patch" foundation models against societal biases. By isolating debiasing into frozen PEFT modules, we solve the problem of fairness forgetting and enable the transfer of fairness across different tasks. Future research will focus on scaling this approach to larger generative models like GPT-4 and exploring intersectional bias (multi-axis debiasing).

Summary updated

BibTeX
@inproceedings{agarwal2023peftdebias,
  author = {Sumit Agarwal and Aditya Srikanth Veerubhotla and Srijan Bansal},
  title = {{PEFTDebias : Capturing debiasing information using PEFTs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.122},
}
Figure