SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Jia, Jinghan, Zhang, Yihua, Zhang, Yimeng, Liu, Jiancheng, Runwal, Bharat, Diffenderfer, James, Kailkhura, Bhavya, Liu, Sijia
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916299136827392
author Jia, Jinghan
Zhang, Yihua
Zhang, Yimeng
Liu, Jiancheng
Runwal, Bharat
Diffenderfer, James
Kailkhura, Bhavya
Liu, Sijia
author_facet Jia, Jinghan
Zhang, Yihua
Zhang, Yimeng
Liu, Jiancheng
Runwal, Bharat
Diffenderfer, James
Kailkhura, Bhavya
Liu, Sijia
contents Large Language Models (LLMs) have highlighted the necessity of effective unlearning mechanisms to comply with data regulations and ethical AI practices. LLM unlearning aims at removing undesired data influences and associated model capabilities without compromising utility beyond the scope of unlearning. While interest in studying LLM unlearning is growing, the impact of the optimizer choice for LLM unlearning remains unexplored. In this work, we shed light on the significance of optimizer selection in LLM unlearning for the first time, establishing a clear connection between second-order optimization and influence unlearning (a classical approach using influence functions to update the model for data influence removal). This insight propels us to develop a second-order optimization-based LLM unlearning framework, termed Second-Order UnLearning (SOUL), which extends the static, one-shot model update using influence unlearning to a dynamic, iterative unlearning process. Our extensive experiments show that SOUL consistently outperforms conventional first-order methods across various unlearning tasks, models, and metrics, indicating that second-order optimization offers an effective and broadly applicable solution for LLM unlearning. Codes are available at https://github.com/OPTML-Group/SOUL.
format Preprint
id arxiv_https___arxiv_org_abs_2404_18239
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearning
Jia, Jinghan
Zhang, Yihua
Zhang, Yimeng
Liu, Jiancheng
Runwal, Bharat
Diffenderfer, James
Kailkhura, Bhavya
Liu, Sijia
Machine Learning
Computation and Language
Large Language Models (LLMs) have highlighted the necessity of effective unlearning mechanisms to comply with data regulations and ethical AI practices. LLM unlearning aims at removing undesired data influences and associated model capabilities without compromising utility beyond the scope of unlearning. While interest in studying LLM unlearning is growing, the impact of the optimizer choice for LLM unlearning remains unexplored. In this work, we shed light on the significance of optimizer selection in LLM unlearning for the first time, establishing a clear connection between second-order optimization and influence unlearning (a classical approach using influence functions to update the model for data influence removal). This insight propels us to develop a second-order optimization-based LLM unlearning framework, termed Second-Order UnLearning (SOUL), which extends the static, one-shot model update using influence unlearning to a dynamic, iterative unlearning process. Our extensive experiments show that SOUL consistently outperforms conventional first-order methods across various unlearning tasks, models, and metrics, indicating that second-order optimization offers an effective and broadly applicable solution for LLM unlearning. Codes are available at https://github.com/OPTML-Group/SOUL.
title SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearning
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2404.18239