betaFeedback

WorksComputer Science

Why Forget-Only Unlearning Needs Memorization

Abstract

Machine unlearning asks for a deletion algorithm whose output is close to retraining from scratch without the selected forget examples. In this work, we study forget-only unlearning, where the deletion algorithm receives only the trained model and the examples to forget, with no retained data or extra training information. We ask whether forget-only unlearning is always possible. We first show that this depends on the learning method: different datasets can produce the same trained model but require very different outputs after the same examples are removed. Using this observation, we derive lower bounds on how accurately unlearning can match retraining and instantiate them for several standard learning algorithms. We then ask what must be true when forget-only unlearning succeeds. To this end, we derive lower bounds on what an algorithm must memorize about the training data to handle arbitrary deletion requests. For simple threshold learners, the required information can be as large as the entire dataset, even though ordinary training keeps only one boundary point. Overall, our results show that information discarded during ordinary learning may be needed later for deletion, so models designed for forget-only unlearning may need to retain more information than standard training does.

Introduction

As machine learning models are more widely deployed, the ability to retroactively remove specific data from their training sets has become important. This need arises from privacy regulations, such as the EU GDPR’s right to be forgotten ([14]), and from the accidental inclusion of poisoned [27], copyrighted [9], or unlawfully collected [Thiel, 2023] data. While retraining a model on the remaining data is the gold standard, doing so is often too expensive or practically impossible. Certified machine unlearning, therefore, asks for a cheaper procedure whose output is close in a distributional sense to the model obtained by retraining from scratch on the retained data [5].

An unlearning scheme consists of a learning algorithm A\mathcal{A} and an unlearning algorithm Aˉ\bar{\mathcal{A}}. Given a training dataset SS, the learner outputs a model M:=A(S)M := \mathcal{A}(S). The unlearner receives a forget set U⊆SU \subseteq S and the trained model, and outputs the unlearned model W‾:=Aˉ(M,U)\overline{W} := \bar{\mathcal{A}}(M,U), with the goal of being distributionally close to the retraining target W:=A(S∖U)W := \mathcal{A}(S \setminus U). In this paper, we study the forget-only setting: at deletion time, Aˉ\bar{\mathcal{A}} has access only to MM and UU, with no retained data or other training information except what is already stored in MM. This raises a difficulty: information discarded during training could be necessary to determine the correct retraining target after deletion.

We define unlearning using the notion of Rényi divergence. A pair (A,Aˉ)(\mathcal{A},\bar{\mathcal{A}}) satisfies (α,ε)(\alpha,\varepsilon)-Rényi unlearning (RU) (Definition 1) if, for every SS and U⊆SU \subseteq S, it holds that dα(Aˉ(M,U),Aˉ(W,∅))≤εd_{\alpha}(\bar{\mathcal{A}}(M,U),\bar{\mathcal{A}}(W,\varnothing)) \leq\varepsilon, where dαd_{\alpha} denotes the symmetric α\alpha-Rényi divergence. We note that Rényi unlearning implies the standard (ε′,δ)(\varepsilon',\delta)-unlearning for appropriate choice of ε′\varepsilon'. Similar to Sekhari et al. [2021], we compare the unlearned output with Aˉ(W,∅)\bar{\mathcal{A}}(W,\varnothing) to allow for deterministic learners. However, indistinguishability alone does not guarantee utility: an unlearner could output the same distribution regardless of its inputs and still satisfy RU. We therefore also require the empty-request unlearning to preserve utility by remaining close to its input, with high probability (see Definition 2).

Several empirical unlearning methods are forget-only or close to forget-only, including commonly used methods based on gradient ascent on the forget set [11, 20, 37]. These methods can work well in some settings, but fail in others [36] (Mavrothalassitis et al. 2025). This leads to our first question:

Question 1. Is forget-only unlearning always possible? If not, what conditions make it impossible?

Our first result in § 3 shows that forget-only unlearning is not always possible. Intuitively, the obstruction arises when many (say two) datasets S1S_1, S2S_2 produce the same trained model, A(S1)=A(S2)\mathcal{A}(S_1) = \mathcal{A}(S_2), but deleting the same forget set UU pushes their corresponding retraining targets far apart. For example, consider a threshold learner that returns the leftmost positive point. Two datasets may share this point but have different second-leftmost positive points, which become the respective retraining targets when the shared point is deleted. A forget-only unlearner receives the same input in both cases, namely (A(S1),U)=(A(S2),U)(\mathcal{A}(S_1), U) = (\mathcal{A}(S_2), U) and must therefore produce the same output distribution. However, that output cannot be close to two far apart retraining targets if they are required to preserve utility on empty unlearning requests. We generalize these ideas to lower bound the unlearning parameter ε\varepsilon (Theorem 3.1), and instantiate it for several common learning algorithms (Examples 2 to 4). One consequence is the following.

Corollary 1.1 (Informal: hard-margin SVM). Let A\mathcal{A} be hard-margin linear SVM in dimension d≥2d \ge2. Then, no forget-only unlearner with non-trivial utility can satisfy (α,ε)(\alpha,\varepsilon)-Rényi unlearning with a fixed finite ε\varepsilon uniformly over all datasets and deletion requests.

The hardness above arises because the trained SVM has discarded information needed after deletion. If the model does not memorize enough information to distinguish datasets that look identical before deletion but different after deletion, then the unlearner has no way to recover the correct retraining target. Additionally, we show that such a hard instance is guaranteed to exist if the teaching dimension [16] of the hypothesis class is finite. Our impossibility result leads to the second question:

Question 2. How much information about the training dataset must the learned model memorize in order to support future forget-only unlearning requests?

Following Brown et al. [ [4], Feldman et al. [ [12], we measure memorization through the mutual information I(M;S)I(M; S), where SS is drawn from an analysis distribution over datasets. Our main contribution is a technique for lower-bounding I(M;S)I(M; S) using the retraining targets induced by possible deletion requests, given the unlearning and utility requirements. We prove the bound for discrete model spaces in § 4.1, and instantiate it for concrete learning problems.

Since the unlearning guarantee is uniform across every dataset and deletion request, it must hold for every SS and every nonempty request Ui⊆SU_i \subseteq S. The model MM must therefore retain enough information to support each retraining target Wi:=A(S∖Ui)W_i := \mathcal{A}(S \setminus U_i). The need for memorization I(M;S)I(M; S) might seem to add across unlearning requests, but requests can reveal overlapping information: e.g., for a threshold learner, many deletions can expose the same next positive point. Thus the bound must count only new, nonredundant information per request. We formalize this via a permutation π\pi of the requests. The bound holds for every ordering, so we can choose the one giving the strongest lower bound. The following informal statement summarizes our result for finite model spaces.

Theorem 1.2. Let SS be a training dataset, M=A(S)M = \mathcal{A}(S), (A,Aˉ)(\mathcal{A}, \bar{\mathcal{A}}) satisfy (α,ε)(\alpha, \varepsilon)-Rényi unlearning, and U1,…,UKU_1, \ldots, U_K be the unlearning requests. For each request, let Wi=A(S∖Ui)W_i = \mathcal{A}(S \setminus U_i) be the corresponding retrained model. Then, for any ordering π\pi of the requests,

I(M;S)≳∑i=1KH(Wπ(i)∣Wπ(<i),Uπ(≤i))−K⋅err⁡(α,ε).I(M; S) \gtrsim\sum_{i=1}^{K} H(W_{\pi(i)} \mid W_{\pi(<i)}, U_{\pi(\leq i)}) - K \cdot\operatorname{err}(\alpha, \varepsilon).

The first term captures the genuinely new information in the respective retraining targets while the second term gives some slack for the approximation error. We instantiate this bound for several learning algorithms and hypothesis classes in Section 4.2. For canonical threshold learners, this bound gives a concrete separation between the information retained by ordinary learning and the information required for forget-only unlearning. We show that over datasets of size nn from a domain of size NN, the ordinary learner keeps only one boundary point and carries log⁡(N/n)\log(N/n) bits of information about the dataset. However, supporting unlearning requests of size at most mm, with n≥2mn \geq2m, requires memorizing Ω(mlog⁡(N/n))\Omega(m \log(N/n)) bits of information.

Closest to our work, Cherapanamjeri et al. [ [7] lower bounds the space complexity of learning–unlearning algorithms in terms of the eluder dimension of the hypothesis class. Our bounds depend on the particular learning algorithm and the retraining targets induced by the chosen deletion requests. Additionally, their bounds are not for forget-only algorithms and mainly apply to the pure unlearning setting. Taken together, our results give, to our knowledge, one of the first formal accounts of why memorization is necessary for forget-only unlearning. Thus, forget-only unlearning entails a basic tradeoff: either the learner preserves enough information for future deletions, or the unlearner must rely on additional retained data, training state, or surrogate information.

Preliminaries

Datasets and deletion requests. Let X\mathcal{X} be the data space and let W\mathcal{W} be the model space. A dataset of size nn is an ordered tuple S=(x1,…,xn)∈XnS = (x_1, \ldots, x_n) \in\mathcal{X}^n. A deletion request (or forget set) is denoted by U⊆SU \subseteq S, with ∣U∣≤m|U| \leq m, where 1≤m≤n1 \leq m \leq n is the deletion budget. We write S∖US \setminus U for the retained dataset.

The unlearning guarantee holds for every dataset SS and unlearning request UU and, unless stated otherwise, probabilities are taken only over algorithmic randomness. In § 4, where we lower-bound I(M;S)I(M; S), we let SS be random under an analysis distribution PSP_S over datasets. No i.i.d. assumption is made unless stated explicitly.

Learning and forget-only unlearning. A learning algorithm is a possibly randomized map A:X∗→W\mathcal{A} : \mathcal{X}^* \to\mathcal{W}, where X∗\mathcal{X}^* is the set of finite datasets. An unlearning algorithm is a randomized map Aˉ:W×X∗→W\bar{\mathcal{A}} : \mathcal{W} \times\mathcal{X}^* \to\mathcal{W}. For fixed S∈XnS \in\mathcal{X}^n and U⊆SU \subseteq S, define M:=A(S)M := \mathcal{A}(S), W:=A(S∖U)W := \mathcal{A}(S \setminus U), Wˉ:=Aˉ(M,U)\bar{W} := \bar{\mathcal{A}}(M,U), and W∅:=Aˉ(W,∅)W^\varnothing:= \bar{\mathcal{A}}(W,\varnothing). We call these the pretrained model, retraining target, unlearned model, and empty-request output, respectively.

The unlearner Aˉ\bar{\mathcal{A}} is forget-only: at deletion time, its only inputs are the pretrained model MM and the forget set UU. It has no access to the retained data, training logs, checkpoints, gradients, or auxiliary statistics beyond any information stored in MM. This differs from settings where the unlearner may also receive second-order information or the retained dataset [26, 28].

Rényi unlearning. For distributions P,QP,Q and α>1\alpha> 1, we use the symmetric α\alpha-Rényi divergence dα(P,Q):=max⁡{Dα(P∥Q),Dα(Q∥P)}d_\alpha(P,Q) := \max\{D_\alpha(P \mathbin\Vert Q), D_\alpha(Q \mathbin\Vert P)\}, where Dα(P∥Q):=1α−1log⁡∫(dPdQ)αdQD_\alpha(P \mathbin\Vert Q) := \frac{1}{\alpha-1} \log\int\left(\frac{dP}{dQ}\right)^\alpha dQ, with the convention Dα(P∥Q)=∞D_\alpha(P \mathbin\Vert Q) = \infty if PP is not absolutely continuous with respect to QQ. We write Law⁡(X)\operatorname{Law}(X) for the law of a random variable XX and use the shorthand dα(X,Y):=dα(Law⁡(X),Law⁡(Y))d_\alpha(X,Y) := d_\alpha(\operatorname{Law}(X),\operatorname{Law}(Y)).

Definition 1 (Rényi unlearning). Fix α>1\alpha> 1 and ε≥0\varepsilon\ge0. We say that (A,Aˉ)(\mathcal{A},\bar{\mathcal{A}}) satisfies (α,ε)(\alpha,\varepsilon)-Rényi unlearning (RU) over deletion sets of size at most mm if, for every dataset S∈XnS \in\mathcal{X}^n and every request U⊆SU \subseteq S with ∣U∣≤m|U| \le m,

dα(Aˉ(A(S),U),Aˉ(A(S∖U),∅))≤ε.d_{\alpha}\left(\bar{\mathcal{A}}(\mathcal{A}(S),U),\bar{\mathcal{A}}(\mathcal{A}(S \setminus U),\varnothing)\right) \le\varepsilon.

When mm is clear from context, we simply say that (A,Aˉ)(\mathcal{A},\bar{\mathcal{A}}) satisfies (α,ε)(\alpha,\varepsilon)-Rényi unlearning.

The reference W∅=Aˉ(W,∅)W^{\varnothing} = \bar{\mathcal{A}}(W,\varnothing) is obtained by applying unlearning the empty set to the retrained model. This allows us to have randomized unlearning outputs even when A\mathcal{A} is deterministic [28]. However, an unlearner that always returns the same distribution would satisfy RU regardless of its inputs. We therefore impose an empty-request utility requirement: Aˉ(w,∅)\bar{\mathcal{A}}(w,\varnothing) should remain close to ww in model space.

Definition 2 (Γ\Gamma-utility on empty requests). Fix a metric dWd_{\mathcal{W}} on W\mathcal{W} and a non-increasing function Γ:[0,∞)→[0,1]\Gamma: [0,\infty) \to[0,1]. For each w∈Ww \in\mathcal{W}, let Qw:=Law⁡(Aˉ(w,∅))Q_w := \operatorname{Law}(\bar{\mathcal{A}}(w,\varnothing)). We say that Aˉ\bar{\mathcal{A}} has (dW,Γ)(d_{\mathcal{W}},\Gamma)-utility on empty requests if, for every w∈Ww \in\mathcal{W} and every radius r≥0r \ge0,

PW∅∼Qw[dW(W∅,w)>r]≤Γ(r).\mathbb{P}_{W^{\varnothing}\sim Q_w}\left[d_{\mathcal{W}}(W^{\varnothing},w)>r\right]\le\Gamma(r).

For discrete W\mathcal{W}, we use the zero-one metric dW(w,w′)=1{w≠w′}d_{\mathcal{W}}(w,w') = \mathbb{1}\{w \ne w'\}. At r=0r = 0, writing η:=Γ(0)\eta:= \Gamma(0), the utility condition gives PW∅∼Qw[W∅≠w]≤η\mathbb{P}_{W^{\varnothing}\sim Q_w}[W^{\varnothing} \ne w] \le\eta for every w∈Ww \in\mathcal{W}. For a vector space W\mathcal{W} with norm ϕ\phi, we use dW(w,w′)=ϕ(w−w′)d_{\mathcal{W}}(w,w') = \phi(w-w') and write (ϕ,Γ)(\phi,\Gamma)-utility. The example below shows that the Gaussian mechanism satisfies this utility condition.

References

  1. [1]Sk Miraj Ahmed, Umit Yigit Basaran, Dripta S. Raychaudhuri, Arindam Dutta, Rohit Kundu, Fahim Faisal Niloy, Basak Guler, and Amit K. Roy-Chowdhury. Towards source-free machine unlearning. In Computer Vision and Pattern Recognition (CVPR), 2025.arxiv.org/abs/2508.15127
  2. [2]Youssef Allouah, Joshua Kazdan, Rachid Guerraoui, and Sanmi Koyejo. The utility and complexity of in- and out-of-distribution machine unlearning. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2412.09119
  3. [3]Umit Yigit Basaran, Sk Miraj Ahmed, Amit Roy-Chowdhury, and Basak Guler. A certified unlearning approach without access to source data. In International Conference on Machine Learning (ICML), 2025.arxiv.org/abs/2506.06486
  4. [4]Gavin Brown, Mark Bun, Vitaly Feldman, Adam Smith, and Kunal Talwar. When is memorization of irrelevant training data necessary for high-accuracy learning? In Symposium on Theory of Computing (STOC), 2021.DOI
  5. [5]Yinzhi Cao and Junfeng Yang. Towards making systems forget with machine unlearning. In IEEE Symposium on Security and Privacy (IEEE), 2015.DOI
  6. [6]Huiqiang Chen, Tianqing Zhu, Xin Yu, and Wanlei Zhou. Zero-shot machine unlearning with proxy adversarial data generation. In International Joint Conference on Artificial Intelligence (IJCAI), 2025.
  7. [7]Yeshwanth Cherapanamjeri, Sumegha Garg, Nived Rajaraman, Ayush Sekhari, and Abhishek Shetty. The space complexity of learning-unlearning algorithms. In Conference on Learning Theory (COLT), 2025.arxiv.org/abs/2506.13048
  8. [8]Vikram S. Chundawat, Ayush K. Tarun, Murari Mandal, and Mohan S. Kankanhalli. Zero-shot machine unlearning. IEEE Transactions on Information Forensics and Security, 2023.DOI
  9. [9]Guangyao Dou, Zheyuan Liu, Qing Lyu, Kaize Ding, and Eric Wong. Avoiding copyright infringement via large language model unlearning. In Findings of the Association for Computational Linguistics: NAACL 2025, 2025.
  10. [10]Ronen Eldan and Mark Russinovich. Who’s harry potter? approximate unlearning in llms. arXiv preprint arXiv:2310.02238, 2023.arxiv.org/abs/2310.02238
  11. [11]Chongyu Fan, Jiancheng Liu, Licong Lin, Jinghan Jia, Ruiqi Zhang, Song Mei, and Sijia Liu. Simplicity prevails: Rethinking negative preference optimization for llm unlearning. Advances in Neural Information Processing Systems, 38:1540–1567, 2025.arxiv.org/abs/2410.07163
  12. [12]Vitaly Feldman, Guy Kornowski, and Xin Lyu. Trade-offs in data memorization via strong data processing inequalities. In Conference on Learning Theory (COLT), 2025.arxiv.org/abs/2506.01855
  13. [13]Jack Foster, Kyle Fogarty, Stefan Schoepf, Cengiz Özireli, and Alexandra Brintrup. Zero-shot machine unlearning at scale via lipschitz regularization. arXiv preprint arXiv:2402.01401, 2024.
  14. [14]GDPR. Regulation (eu) 2016/679 (general data protection regulation). Official Journal of the European Union, L 119, 2016. European Parliament and Council of the European Union. Article 17: Right to erasure (“right to be forgotten”). Available via EUR-Lex.
  15. [15]Antonio Ginart, Melody Guan, Gregory Valiant, and James Y Zou. Making ai forget you: Data deletion in machine learning. Neural Information Processing Systems (NeurIPS), 32, 2019.arxiv.org/abs/1907.05012
  16. [16]Sally A Goldman and Michael J Kearns. On the complexity of teaching. Journal of Computer and System Sciences, 50(1):20–31, 1995.
  17. [17]Chuan Guo, Tom Goldstein, Awni Hannun, and Laurens Van Der Maaten. Certified data removal from machine learning models. International Conference on Machine Learning (ICML), 2020.arxiv.org/abs/1911.03030
  18. [18]Moritz Hardt and Kunal Talwar. On the geometry of differential privacy. In Proceedings of the forty-second ACM symposium on Theory of computing, pages 705–714, 2010.arxiv.org/abs/0907.3754
  19. [19]Carolin Heinzler, Kasra Malihi, and Amartya Sanyal. Less noise, same certificate: Retain sensitivity for unlearning. arXiv preprint arXiv:2603.03172, 2026.arxiv.org/abs/2603.03172
  20. [20]Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajanugen Logeswaran, and Minjoon Seo. Knowledge unlearning for mitigating privacy risks in language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, 2023.
  21. [21]Yongwoo Kim, Sungmin Cha, and Donghyun Kim. Are we truly forgetting? a critical re-examination of machine unlearning evaluation protocols. Engineering Applications of Artificial Intelligence, 2026.DOI
  22. [22]SangYong Lee, Sangjun Chung, and Simon S. Woo. RUAGO: Effective and practical retain-free unlearning via adversarial attack and OOD generator. In Neural Information Processing Systems (NeurIPS), 2025.DOI
  23. [23]Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary Chase Lipton, and J. Zico Kolter. TOFU: A task of fictitious unlearning for llms. In Conference on Language Modeling, 2024.arxiv.org/abs/2401.06121
  24. [25]Siqiao Mu and Diego Klabjan. Rewind-to-delete: Certified machine unlearning for nonconvex functions. Neural Information Processing Systems (NeurIPS), 2025.arxiv.org/abs/2409.09778
  25. [26]Seth Neel, Aaron Roth, and Saeed Sharifi-Malvajerdi. Descent-to-delete: Gradient-based methods for machine unlearning. In Conference on Algorithmic Learning Theory (ALT), 2021.arxiv.org/abs/2007.02923
  26. [27]Stefan Schoepf, Jack Foster, and Alexandra Brintrup. Potion: Towards poison unlearning. Data-Centric Machine Learning Research (DMLR), 2024.
  27. [28]Ayush Sekhari, Jayadev Acharya, Gautam Kamath, and Ananda Theertha Suresh. Remember What You Want to Forget: Algorithms for Machine Unlearning. Neural Information Processing Systems (NeurIPS), 2021.arxiv.org/abs/2103.03279
  28. [29]Weijia Shi, Jaech an Lee, Yangsibo Huang, Sadhika Malladi, Jieyu Zhao, Ari Holtzman, Daogao Liu, Luke Zettlemoyer, Noah A. Smith, and Chiyuan Zhang. MUSE: Machine unlearning six-way evaluation for language models. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2407.06460
  29. [30]Pratiksha Thaker, Shengyuan Hu, Neil Kale, Yash Maurya, Zhiwei Steven Wu, and Virginia Smith. Position: Llm unlearning benchmarks are weak measures of progress. In IEEE Conference on Secure and Trustworthy Machine Learning, 2025.arxiv.org/abs/2410.02879
  30. [32]Anvith Thudi, Gabriel Deza, Varun Chandrasekaran, and Nicolas Papernot. Unrolling SGD: Understanding factors influencing machine unlearning. In IEEE Symposium on Security and Privacy (IEEE), 2022.arxiv.org/abs/2109.13398
  31. [33]Xiuyuan Wang, Chaochao Chen, Weiming Liu, Xinting Liao, Fan Wang, and Xiaolin Zheng. Efficient source-free unlearning via energy-guided data synthesis and discrimination-aware multitask optimization. In International Conference on Machine Learning (ICML), 2025a.
  32. [34]Yaxuan Wang, Jiaheng Wei, Yuhao Liu, Jinlong Pang, Quan Liu, Ankit Parag Shah, Yujia Bao, Yang Liu, and Wei Wei. Llm unlearning via loss adjustment with only forget data. In International Conference on Learning Representations (ICLR), 2025b.arxiv.org/abs/2410.11143
  33. [35]Yuanshun Yao, Xiaojun Xu, and Yang Liu. Large language model unlearning. In Neural Information Processing Systems (NeurIPS), 2024.arxiv.org/abs/2310.10683
  34. [36]Jiatong Yu, Yinghui He, Anirudh Goyal, and Sanjeev Arora. On the impossibility of retrain equivalence in machine unlearning. arXiv preprint arXiv:2510.16629, 2025.arxiv.org/abs/2510.16629
  35. [37]Ruiqi Zhang, Licong Lin, Yu Bai, and Song Mei. Negative preference optimization: From catastrophic collapse to effective unlearning. In Conference on Language Modeling, 2024.arxiv.org/abs/2404.05868

Paper details

vlnc:W_vq9f7dcr
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents