Mitigating Social Biases in Language Models through Unlearning
<|reference_start|>Mitigating Social Biases in Language Models through Unlearning: 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%<|reference_end|>
@article{dige2024mitigating,
    title={Mitigating Social Biases in Language Models through Unlearning},
    author={Omkar Dige, Diljot Singh, Tsz Fung Yau, Qixuan Zhang, Borna
  Bolandraftar, Xiaodan Zhu, Faiza Khan Khattak},
    journal={arXiv preprint arXiv:2406.13551},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.13551},
    primaryClass={cs.CL cs.AI}
}