Machine Unlearning of Pre-trained Large Language Models

Jin Yao, Eli Chien, Minxin Du, Xinyao Niu, Tianhao Wang, Zezhou Cheng, Xiang Yue

arXiv:2402.15159 · 2026-07-27 공개 · arXiv · PDF

large-language-models benchmarking pre-trained-models machine-unlearning hyperparameter-tuning ethical-ai efficient-computation gradient-ascent

Abstract

This study investigates the concept of the `right to be forgotten' within the context of large language models (LLMs). We explore machine unlearning as a pivotal solution, with a focus on pre-trained models--a notably under-researched area. Our research delineates a comprehensive framework for machine unlearning in pre-trained LLMs, encompassing a critical analysis of seven diverse unlearning methods. Through rigorous evaluation using curated datasets from arXiv, books, and GitHub, we establish a robust benchmark for unlearning performance, demonstrating that these methods are over $10^5$ times more computationally efficient than retraining. Our results show that integrating gradient ascent with gradient descent on in-distribution data improves hyperparameter robustness. We also provide detailed guidelines for efficient hyperparameter tuning in the unlearning process. Our findings advance the discourse on ethical AI practices, offering substantive insights into the mechanics of machine unlearning for pre-trained LLMs and underscoring the potential for responsible AI development.

한국어 요약

한 줄 요약

이 연구는 사전 학습된 대형 언어 모델에서 기계적 학습 해제를 위한 체계적 프레임워크와 7가지 방법을 평가하며, 10⁵배 이상의 계산 효율성을 보인다.

핵심 기여도

핵심 아이디어

기계 학습 해제는 사전 학습된 대형 언어 모델에서 특정 데이터를 효과적으로 제거하는 것이 중요하며, 이는 기존 재학습과 비교해 10⁵배 이상의 계산 효율성을 제공한다. 본 연구는 기존 연구가 미세 조정된 모델에 집중한 반면, 실제적으로 중요한 사전 학습된 모델에서의 해제 문제를 다룬다. 특히, 저작권 데이터를 포함한 사전 학습 데이터를 제거하는 시나리오를 중심으로, 7가지 해제 방법을 평가하고, 그 중 경사 상승과 하강을 결합한 방법이 하이퍼파라미터에 대한 안정성을 높인다는 점을 발견한다. 이는 기계 학습 해제의 실용성을 높이는 중요한 통찰이다.

기술적 접근법

주요 결과

의의 및 한계

본 연구는 사전 학습된 대형 언어 모델에서 저작권 데이터 제거 문제를 해결하기 위한 체계적 프레임워크를 제시하며, 기계 학습 해제의 실현 가능성과 윤리적 중요성을 강조한다. 특히, 10⁵배 이상의 계산 효율성과 하이퍼파라미터 안정성을 통해 실용적인 해제 방법을 제시한 점에서 의의가 있다. 그러나, 실제 사전 학습 데이터는 대부분 비공개이므로, 공개 데이터셋을 사용한 실험의 일반화 가능성에 한계가 있을 수 있다. 또한, 근사 재학습 기반의 평가가 실제 재학습과 완전히 동일한 결과를 보장하지는 않는다.

실용적 활용

본 연구는 저작권 침해, 개인정보 유출 등과 같은 문제를 해결하기 위한 AI 모델 개발에 적용 가능하다. 특히, 대형 언어 모델을 사용하는 기업이 특정 데이터를 제거하는 요청을 처리할 때, 기계 학습 해제를 통해 모델을 갱신할 수 있다. 또한, 윤리적 AI 개발과 법적 규정 준수를 위한 기술적 기반을 제공한다.