WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Jia, Jinghan, Liu, Jiancheng, Zhang, Yihua, Ram, Parikshit, Baracaldo, Nathalie, Liu, Sijia
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916687040741376
author Jia, Jinghan
Liu, Jiancheng
Zhang, Yihua
Ram, Parikshit
Baracaldo, Nathalie
Liu, Sijia
author_facet Jia, Jinghan
Liu, Jiancheng
Zhang, Yihua
Ram, Parikshit
Baracaldo, Nathalie
Liu, Sijia
contents The need for effective unlearning mechanisms in large language models (LLMs) is increasingly urgent, driven by the necessity to adhere to data regulations and foster ethical generative AI practices. Despite growing interest of LLM unlearning, much of the existing research has focused on varied unlearning method designs to boost effectiveness and efficiency. However, the inherent relationship between model weights and LLM unlearning has not been extensively examined. In this paper, we systematically explore how model weights interact with unlearning processes in LLMs and we design the weight attribution-guided LLM unlearning method, WAGLE, which unveils the interconnections between 'influence' of weights and 'influence' of data to forget and retain in LLM generation. By strategically guiding the LLM unlearning across different types of unlearning methods and tasks, WAGLE can erase the undesired content, while maintaining the performance of the original tasks. We refer to the weight attribution-guided LLM unlearning method as WAGLE, which unveils the interconnections between 'influence' of weights and 'influence' of data to forget and retain in LLM generation. Our extensive experiments show that WAGLE boosts unlearning performance across a range of LLM unlearning methods such as gradient difference and (negative) preference optimization, applications such as fictitious unlearning, malicious use prevention, and copyrighted information removal, and models including Zephyr-7b-beta and Llama2-7b. To the best of our knowledge, our work offers the first principled method for attributing and pinpointing the influential weights in enhancing LLM unlearning. It stands in contrast to previous methods that lack weight attribution and simpler weight attribution techniques.
format Preprint
id arxiv_https___arxiv_org_abs_2410_17509
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Models
Jia, Jinghan
Liu, Jiancheng
Zhang, Yihua
Ram, Parikshit
Baracaldo, Nathalie
Liu, Sijia
Machine Learning
The need for effective unlearning mechanisms in large language models (LLMs) is increasingly urgent, driven by the necessity to adhere to data regulations and foster ethical generative AI practices. Despite growing interest of LLM unlearning, much of the existing research has focused on varied unlearning method designs to boost effectiveness and efficiency. However, the inherent relationship between model weights and LLM unlearning has not been extensively examined. In this paper, we systematically explore how model weights interact with unlearning processes in LLMs and we design the weight attribution-guided LLM unlearning method, WAGLE, which unveils the interconnections between 'influence' of weights and 'influence' of data to forget and retain in LLM generation. By strategically guiding the LLM unlearning across different types of unlearning methods and tasks, WAGLE can erase the undesired content, while maintaining the performance of the original tasks. We refer to the weight attribution-guided LLM unlearning method as WAGLE, which unveils the interconnections between 'influence' of weights and 'influence' of data to forget and retain in LLM generation. Our extensive experiments show that WAGLE boosts unlearning performance across a range of LLM unlearning methods such as gradient difference and (negative) preference optimization, applications such as fictitious unlearning, malicious use prevention, and copyrighted information removal, and models including Zephyr-7b-beta and Llama2-7b. To the best of our knowledge, our work offers the first principled method for attributing and pinpointing the influential weights in enhancing LLM unlearning. It stands in contrast to previous methods that lack weight attribution and simpler weight attribution techniques.
title WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Models
topic Machine Learning
url https://arxiv.org/abs/2410.17509