Saved in:
Bibliographic Details
Main Authors: Mahmud, Tamim Al, Jebreel, Najeeb, Domingo-Ferrer, Josep, Sanchez, David
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.13774
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912490166681600
author Mahmud, Tamim Al
Jebreel, Najeeb
Domingo-Ferrer, Josep
Sanchez, David
author_facet Mahmud, Tamim Al
Jebreel, Najeeb
Domingo-Ferrer, Josep
Sanchez, David
contents Large language models (LLMs) have recently revolutionized language processing tasks but have also brought ethical and legal issues. LLMs have a tendency to memorize potentially private or copyrighted information present in the training data, which might then be delivered to end users at inference time. When this happens, a naive solution is to retrain the model from scratch after excluding the undesired data. Although this guarantees that the target data have been forgotten, it is also prohibitively expensive for LLMs. Approximate unlearning offers a more efficient alternative, as it consists of ex post modifications of the trained model itself to prevent undesirable results, but it lacks forgetting guarantees because it relies solely on empirical evidence. In this work, we present DP2Unlearning, a novel LLM unlearning framework that offers formal forgetting guarantees at a significantly lower cost than retraining from scratch on the data to be retained. DP2Unlearning involves training LLMs on textual data protected using ε-differential privacy (DP), which later enables efficient unlearning with the guarantees against disclosure associated with the chosen ε. Our experiments demonstrate that DP2Unlearning achieves similar model performance post-unlearning, compared to an LLM retraining from scratch on retained data -- the gold standard exact unlearning -- but at approximately half the unlearning cost. In addition, with a reasonable computational cost, it outperforms approximate unlearning methods at both preserving the utility of the model post-unlearning and effectively forgetting the targeted information.
format Preprint
id arxiv_https___arxiv_org_abs_2504_13774
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DP2Unlearning: An Efficient and Guaranteed Unlearning Framework for LLMs
Mahmud, Tamim Al
Jebreel, Najeeb
Domingo-Ferrer, Josep
Sanchez, David
Machine Learning
Artificial Intelligence
Large language models (LLMs) have recently revolutionized language processing tasks but have also brought ethical and legal issues. LLMs have a tendency to memorize potentially private or copyrighted information present in the training data, which might then be delivered to end users at inference time. When this happens, a naive solution is to retrain the model from scratch after excluding the undesired data. Although this guarantees that the target data have been forgotten, it is also prohibitively expensive for LLMs. Approximate unlearning offers a more efficient alternative, as it consists of ex post modifications of the trained model itself to prevent undesirable results, but it lacks forgetting guarantees because it relies solely on empirical evidence. In this work, we present DP2Unlearning, a novel LLM unlearning framework that offers formal forgetting guarantees at a significantly lower cost than retraining from scratch on the data to be retained. DP2Unlearning involves training LLMs on textual data protected using ε-differential privacy (DP), which later enables efficient unlearning with the guarantees against disclosure associated with the chosen ε. Our experiments demonstrate that DP2Unlearning achieves similar model performance post-unlearning, compared to an LLM retraining from scratch on retained data -- the gold standard exact unlearning -- but at approximately half the unlearning cost. In addition, with a reasonable computational cost, it outperforms approximate unlearning methods at both preserving the utility of the model post-unlearning and effectively forgetting the targeted information.
title DP2Unlearning: An Efficient and Guaranteed Unlearning Framework for LLMs
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2504.13774