EMNLP 2024main6 citations

Fine-grained Pluggable Gradient Ascent for Knowledge Unlearning in Language Models

XiaoHua Feng, Chaochao Chen, Yuyuan Li, Zibin Lin

Abstract

Pre-trained language models acquire knowledge from vast amounts of text data, which can inadvertently contain sensitive information. To mitigate the presence of undesirable knowledge, the task of knowledge unlearning becomes crucial for language models. Previous research relies on gradient ascent methods to achieve knowledge unlearning, which is simple and effective. However, this approach calculates all the gradients of tokens in the sequence, potentially compromising the general ability of language models. To overcome this limitation, we propose an adaptive objective that calculates gradients with fine-grained control specifically targeting sensitive tokens. Our adaptive objective is pluggable, ensuring simplicity and enabling extension to the regularization-based framework that utilizes non-target data or other models to preserve general ability. Through extensive experiments targeting the removal of typical sensitive data, we demonstrate that our proposed method enhances the general ability of language models while achieving knowledge unlearning. Additionally, it demonstrates the capability to adapt to behavior alignment, eliminating all the undesirable knowledge within a specific domain.

BibTeX
@inproceedings{feng-etal-2024-fine,
    title = "Fine-grained Pluggable Gradient Ascent for Knowledge Unlearning in Language Models",
    author = "Feng, XiaoHua  and
      Chen, Chaochao  and
      Li, Yuyuan  and
      Lin, Zibin",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.emnlp-main.566/",
    doi = "10.18653/v1/2024.emnlp-main.566",
    pages = "10141--10155"
}
Fine-grained Pluggable Gradient Ascent for Knowledge Unlearning in Language Models · EMNLP 2024