arXiv:2610.08577cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08577

How Learning Governs Unlearning across the Memorization-Generalization Spectrum

Hwiyeong Lee, Hyelim Lim, Ingyu Bang, Hoki Kim, Taeuk Kim

ABSTRACT

While unlearning seeks to negate undesired capabilities acquired through learning, little research has examined how the way models learn shapes their subsequent unlearning. In this paper, we investigate this connection from the perspectives of memorization and generalization, the two most representative yet competing strategies that models employ during training. We first classify memorization-and generalization-heavy models using grokking in modular addition and compare their responses to unlearning, showing that the latter suffer greater retain damage, i.e., a larger performance drop on the retain set. Furthermore, we conduct a finer-grained analysis by introducing bucketed modular addition, in which the respective contributions of the two strategies can be explicitly controlled across the memorization–generalization spectrum. In this setup, we reaffirm that the same trend persists and is nearly monotonic. We further demonstrate that this relationship also holds in LLM unlearning across verbatim and factual recall settings. Finally, we provide two practical insights for developing better unlearning methods, highlighting the importance of accounting for learning dynamics in unlearning.

1 INTRODUCTION

Trained on vast corpora, pre-trained networks such as large language models (LLMs) can contain private information or copyrighted material that data owners may later request be removed (Carlini et al., 2021; Eldan & Russinovich, 2024). Machine unlearning aims to eliminate the knowledge a model has acquired from such data while preserving its general capabilities (Bourtoule et al., 2021). In practice, however, existing unlearning methods rarely achieve this balance, typically incurring the loss of unrelated knowledge and skills (Shi et al., 2025), an effect we refer to as retain damage.

In this work, we investigate how learning dynamics shape the difficulty of unlearning and, in turn, the amount of retain damage it entails. Our intuition is that, since unlearning attempts to reverse training, the strategies a model employs to fit its data should determine how readily it later yields to unlearning. Neural networks are known to rely on the two most representative learning mechanisms, memorization and generalization, to different extents (Bengio et al., 2013; Liu et al., 2022). We thus regard the two as endpoints of a memorization–generalization spectrum, locate a trained model on it by its relative reliance on each, and measure how retain damage varies with this position.

A remaining challenge is that a model's precise position on the spectrum cannot, in general, be directly identified. We therefore introduce practical proxies that render the analysis tractable within our framework. First, in the simple setting of modular addition, we exploit grokking (Nanda et al., 2023), which provides a clear binary split between memorizing and generalizing models. We find that memorizing models suffer minimal retain damage, whereas generalizing models pay a much higher price. With generalization realized as a Fourier circuit (Nanda et al., 2023), we confirm that unlearning disrupts this circuit and thereby degrades retain performance.

∗^{*}Equal contribution †\daggerWork done while at Hanyang University

‡^{\ddagger}Corresponding authors

Figure

Figure 1: Analysis of unlearning across the memorization–generalization spectrum. We argue that retain damage in unlearning grows with a model’s reliance on generalization over memorization during training. We study this in three steps: contrasting memorizing and generalizing models separated by grokking ( §3§3), extending this contrast to a fine-grained analysis across the spectrum, quantified by the memorization floor ( §4§4), and confirming the relationship in LLM unlearning ( §5§5).

Meanwhile, real-world tasks typically demand a combination of memorization and generalization (Zhang et al., 2023; Morris et al., 2026). To capture this setting, we introduce bucketed modular addition (BMA), which controls the balance between the two by design. In particular, BMA consists of two parts: (1) selecting a bucket via modular addition, which rewards generalization, and (2) identifying the index within the bucket, which is randomly assigned and thus requires memorization. While fixing the total number of answer candidates, adjusting the bucket size (e.g., 4 buckets × 4 items = 2 buckets × 8 items = 16 candidates) let us tune how much the task relies on memorization versus generalization. We quantify this as the memorization floor, the number of bits per answer that must be memorized beyond the shared rule. In this setup, we reaffirm that configurations with a higher memorization floor (i.e., less generalization) suffer less retain damage, and that this trend is monotonic across the spectrum: each step toward generalization costs more retain damage.

Moreover, we extend our analysis to LLM unlearning, where regularities in natural language play the role of generalization by making part of what must be recalled predictable. The sample-specific remainder plays the role of the memorization floor, which we estimate via Morris et al.'s (2026) unintended memorization, i.e., the information a model holds beyond what a reference model predicts. We consider two settings: in verbatim recall, linguistic regularities reduce what a model must memorize to reproduce a passage (Bengio et al., 2003; Prashanth et al., 2025); in factual recall, semantic regularities shared across entities narrow the space of plausible answers (Chughtai et al., 2024; Liu et al., 2025b). On the Hubble model suite (Wei et al., 2025), a higher estimated memorization floor again predicts less retain damage in both settings, confirming that the relationship observed in BMA extends to language modeling.

Finally, we discuss two practical implications. First, our findings distinguish two objectives often conflated under unlearning: removing a forget set's contribution to training and suppressing the answers it induced. Although retraining without the forget set constitutes the gold standard for the former (Bourtoule et al., 2021), a retrained model may nonetheless reproduce the targeted answers from the remaining data when generalization accounts for most of them (Cooper et al., 2025; Liu et al., 2025a); methods should therefore state explicitly which objective they pursue. Second, the probability mass that unlearning removes from a targeted answer is necessarily reassigned, and its destination proves consequential: redirecting it to answers consistent with the shared rule incurs substantially less retain damage than redirecting it to arbitrary ones. Unlearning objectives should accordingly favor alternatives that preserve the structure underlying generalization.

References (64)