English

Mitigating Social Biases in Language Models through Unlearning

Computation and Language 2024-06-21 v1 Artificial Intelligence

Abstract

Mitigating bias in language models (LMs) has become a critical problem due to the widespread deployment of LMs. Numerous approaches revolve around data pre-processing and fine-tuning of language models, tasks that can be both time-consuming and computationally demanding. Consequently, there is a growing interest in machine unlearning techniques given their capacity to induce the forgetting of undesired behaviors of the existing pre-trained or fine-tuned models with lower computational cost. In this work, we explore two unlearning methods, (1) Partitioned Contrastive Gradient Unlearning (PCGU) applied on decoder models and (2) Negation via Task Vector, to reduce social biases in state-of-the-art and open-source LMs such as LLaMA-2 and OPT. We also implement distributed PCGU for large models. It is empirically shown, through quantitative and qualitative analyses, that negation via Task Vector method outperforms PCGU in debiasing with minimum deterioration in performance and perplexity of the models. On LLaMA-27B, negation via Task Vector reduces the bias score by 11.8%

Keywords

Cite

@article{arxiv.2406.13551,
  title  = {Mitigating Social Biases in Language Models through Unlearning},
  author = {Omkar Dige and Diljot Singh and Tsz Fung Yau and Qixuan Zhang and Borna Bolandraftar and Xiaodan Zhu and Faiza Khan Khattak},
  journal= {arXiv preprint arXiv:2406.13551},
  year   = {2024}
}
R2 v1 2026-06-28T17:12:13.140Z