Towards Transfer Unlearning: Empirical Evidence of Cross-Domain Bias Mitigation

Huimin Lu, Masaru Isonuma, Junichiro Mori, Ichiro Sakata
7/24/2024
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) often inherit biases from vast amounts of training corpora. Traditional debiasing methods, while effective to some extent, do not completely eliminate memorized biases and toxicity in LLMs. In this paper, we study an unlearning-based approach to debiasing in LLMs by performing gradient ascent on hate speech against minority groups, i.e., minimizing the likelihood of biased or toxic content. Specifically, we propose a mask language modeling unlearning technique, which unlearns the harmful part of the text. This method enables LLMs to selectively forget and disassociate from biased and harmful content. Experimental results demonstrate the effectiveness of our approach in diminishing bias while maintaining the language modeling abilities. Surprisingly, the results also unveil an unexpected potential for cross-domain transfer unlearning: debiasing in one bias form (e.g. gender) may contribute to mitigating others (e.g. race and religion).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2024towards,
  title  = {Towards Transfer Unlearning: Empirical Evidence of Cross-Domain Bias Mitigation},
  author = {Huimin Lu and Masaru Isonuma and Junichiro Mori and Ichiro Sakata},
  year   = {2024},
  eprint = {2407.16951},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.16951v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.16951.svg)](https://codeofpaper.com/paper/2407.16951)

Discussion