Saved in:
Bibliographic Details
Main Authors: Wu, YuXuan, Dossou, Bonaventure F. P., Liu, Dianbo
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.10866
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917802425712640
author Wu, YuXuan
Dossou, Bonaventure F. P.
Liu, Dianbo
author_facet Wu, YuXuan
Dossou, Bonaventure F. P.
Liu, Dianbo
contents Large Language Models (LLMs) offer extensive knowledge across various domains, but they may inadvertently memorize sensitive, unauthorized, or malicious data, such as personal information in the medical and financial sectors. Machine unlearning methods aim to remove specific information from models after training to address this. However, current approaches require additional model training or struggle to effectively erase particular data points and their associated context due to LLMs' complex, dense, and continuous nature. In this study, we propose a novel amortized unlearning approach using codebook features and Sparse Autoencoders (SAEs). By leveraging a bottleneck to decompose the activation space and regulate information flow, our method efficiently unlearns targeted information while preserving the model's performance on unrelated data. To the best of our knowledge, this is the first work that successfully enables unlearning specific topics with contextual relevance in an LLM, marking a significant step towards real-world applications of machine unlearning.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10866
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CodeUnlearn: Amortized Zero-Shot Machine Unlearning in Language Models Using Discrete Concept
Wu, YuXuan
Dossou, Bonaventure F. P.
Liu, Dianbo
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) offer extensive knowledge across various domains, but they may inadvertently memorize sensitive, unauthorized, or malicious data, such as personal information in the medical and financial sectors. Machine unlearning methods aim to remove specific information from models after training to address this. However, current approaches require additional model training or struggle to effectively erase particular data points and their associated context due to LLMs' complex, dense, and continuous nature. In this study, we propose a novel amortized unlearning approach using codebook features and Sparse Autoencoders (SAEs). By leveraging a bottleneck to decompose the activation space and regulate information flow, our method efficiently unlearns targeted information while preserving the model's performance on unrelated data. To the best of our knowledge, this is the first work that successfully enables unlearning specific topics with contextual relevance in an LLM, marking a significant step towards real-world applications of machine unlearning.
title CodeUnlearn: Amortized Zero-Shot Machine Unlearning in Language Models Using Discrete Concept
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.10866