arXiv:2611.04501cs.LGNov 2026

Manuscript Offprint

arXiv:2611.04501

Sample-Grained Approximate Unlearning with Provable Per-Sample Bounds

Yaxin Xiao, Yulin Jin, Li Tang, Haoyang LI, Huadi Zheng, Qingqing Ye, Haibo Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yaxin Xiao

The Hong Kong

Polytechnic University

samin-yaxin.xiao@polyu.edu.hk

Yulin Jin

The Hong Kong

Polytechnic University

yulin.jin@connect.polyu.hk

Li Tang

Yunnan University

tangli@ynu.edu.cn

Haoyang LI

The Hong Kong Polytechnic University

hao-yang9905.11@connect.polyu.hk

Huadi Zheng

Huawei Technologies Co., Ltd.

zhenghuadi@huawei.com

Qingqing Ye

The Hong Kong Polytechnic University

qqing.ye@polyu.edu.hk

Haibo Hu*

The Hong Kong Polytechnic University

Research Centre for Privacy and Security

Technologies in Future Smart Systems

haibo.hu@polyu.edu.hk

Abstract

Machine unlearning aims to erase the influence of a designated forget set from a trained model while preserving strong utility on the retain set. Approximate unlearning methods efficiently achieve this goal without full retraining, but their effectiveness is primarily assessed using dataset-level aggregate metrics. These aggregate metrics can mask deviations from retraining at the level of individual samples.

In this work, we focus on per-sample unlearning effectiveness. We introduce SALA (Sample-grained Likelihoods AAlignment), a plug-in optimization framework that enables approximate unlearning methods to operate at the level of individual samples by steering each example toward its correct target distribution. To quantitatively assess this behavior, we further propose the sample-grained distribution gap, a metric that captures per-sample discrepancies between approximate unlearning and exact retraining output distributions. We provide theoretical guarantees showing that SALA contracts this gap and yields a bounded per-sample discrepancy to retraining. To make this framework practical, we develop a low-cost estimation method for the member and non-member target distributions. Extensive experiments on classification and generation tasks demonstrate that SALA reduces the sample-grained distribution gap by up to 86.67% when paired with existing approximate unlearning baselines, while also improving robustness to unlearning hyperparameters.

1 Introduction

Motivated by the legal data-deletion requirement known as the “right to be forgotten” [11], machine unlearning is introduced to remove the influence of a designated forget set from a trained model [2, 5, 14] while preserving utility on the retain set. The most direct way to achieve this goal is to retrain the model from scratch using only the retain set. This exact retraining procedure is the gold standard

*Corresponding author: haibo.hu@polyu.edu.hk.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

for unlearning. However, because exact retraining is often too expensive for deployment, recent work has increasingly shifted to approximate unlearning (AU) [15, 21], which updates a pretrained model with small compute overhead to closely match the result of exact retraining. Accordingly, the efficacy of AU is commonly evaluated by gap-to-retrain [4], which measures how close the AU model distribution is to the exact-retraining (ER) distribution under a chosen observable metric.

However, existing works usually rely on dataset-level average observables, such as prediction accuracy over a dataset, which can mask unlearning failures at the sample level. To capture per-sample unlearning performance, we measure distribution non-overlap (DNO 2^{2}), defined as the discrepancy between the output distributions estimated over multiple runs of unlearning a given sample x and exact retraining without x, as illustrated in Figure 1. Figure 2a shows that state-of-the-art AU methods can achieve a small dataset-level gap-to-retrain, measured by 1−ToW31 - \text{ToW}^{3}, while still exhibiting a large per-sample gap-to-retrain, i.e., DNO. Figure 2b further shows that this per-sample gap is associated with greater privacy leakage on forget samples, as evaluated here by the representative attack RULI [30].

These findings highlight a key research gap: sample-grained approximate unlearning remains insufficiently studied and far from well achieved. We address this gap with SALA (Sample-grained Likelihoods Alignment), a plug-in framework that equips AU with explicit per-sample targets. SALA assigns each sample a role-specific target distribution: retain samples align to Qin(⋅∣x)Q_{in}(\cdot \mid x), which represents member behavior, while forget samples align to Qout(⋅∣x)Q_{out}(\cdot \mid x), which represents non-member behavior. For each sample x, SALA minimizes the sample's z-score to its assigned target distribution, driving the output toward the prescribed distribution.

Beyond empirically reducing the per-sample gap-to-retrain of AU methods, SALA provides a provable upper bound on this gap measured by DNO. Moreover, it reduces the strong hyperparameter sensitivity of existing AU methods, which are often tuned heuristically and can degrade sharply under poor configurations. SALA mitigates this issue through its z-score, which serves as an explicit per-sample alignment signal. From this signal, we define InDist, the fraction of samples whose outputs lie within a preset z-band around their assigned targets. InDist supports two complementary automated

Figure

Figure 1: Output log-odds distributions for a selected forgotten sample. We compare retraining with AU (i.e., SalUn [12]) with and without SALA under the score in Eq. (5). SALA moves the distribution closer to the retraining reference.

the sample's z-score to its assigned target distribution, driving the output toward the prescribed distribution.

Figure

(a) DNO vs ToW

(b) DNO vs RULI

RetrainGAIUSCRUBSalUnRUMMinNorm_OG
FTRLFF11 sparseSFRonSEMU

Figure 2: Gap-to-retrain evaluations for AU. ToW measures comprehensive dataset-average gap (see (1)). Triangles denote AU results assisted by SALA.

mechanisms: hyperparameter selection and a stop criterion. For the former, SALA runs a fast probe with only a few unlearning steps and chooses the configuration that maximizes InDist. For the latter, SALA stops once InDist exceeds a high threshold, such as 0.95. This improves AU robustness to hyperparameters and avoids unnecessary updates. Finally, since InDist imposes an explicit distributional constraint, it also yields a theoretical upper bound on SALA's DNO.

However, constraining InDist in SALA requires access to the full original training set, which may be unrealistic in some settings. We therefore introduce a forget-target-only variant that aligns only forget samples to Qout(⋅∣x)Q_{out}(\cdot \mid x), for AU methods with limited access to the retain set. When the underlying AU method satisfies the utility preservation condition in Eq. 16, this variant still yields an upper bound on DNO under a single InDist constraint on forget samples.

The main bottleneck of SALA is estimating Qin(⋅∣x)Q_{\mathrm{in}}(\cdot \mid x) and Qout(⋅∣x)Q_{\mathrm{out}}(\cdot \mid x) for each training sample x. These targets can be estimated once during model development and reused across unlearning requests. One direct solution uses shadow-model estimation [13], which trains models under different forget-retain splits and aggregates their outputs. This pipeline resembles the memorization-estimation

2^{2}If DNO is large for x, approximate unlearning (AU) produces outputs that differ from exact retraining (ER) on x, and x is not in the desired unlearned state, even when dataset-level averages appear good.

3^{3}A smaller 1 – ToW indicates a smaller dataset-level gap to retrain.

step used by AU methods such as SUM [40]. If compatible member and non-member score statistics already exist, SALA can reuse them for target estimation. However, shadow-model estimation is expensive and costs tens of standard training runs. To avoid this overhead, we propose an efficient estimator that obtains both targets and the model in a single training run. It uses a split-merge training scheme. In the middle stage, two models train on complementary subsets, so each sample is in-training for one model and out-of-training for the other. In the late stage, Federated Averaging merges the two models [23]. Finally, checkpoint ensembles collected during training then estimate Qin(⋅∣x)Q_{\mathrm{in}}(\cdot \mid x) and Qout(⋅∣x)Q_{\mathrm{out}}(\cdot \mid x).

In summary, this work makes the following contributions:

  • We propose a sample-grained approximate unlearning (AU) framework. It monitors and guides alignment to retraining at the individual-sample level.

  • SALA provides a theoretical upper bound on the sample-grained gap-to-retrain metric (i.e., DNO), yielding guarantees for AU at the sample level.

  • We introduce SMSE, which estimates per-sample member and non-member distributions with split-merge training and segment ensembles. SMSE reduces preparation from multiple shadow-model trainings to a single model training run.

  • We evaluate SALA on classification and generative tasks with diverse AU methods. Figure 2 shows that SALA reduces DNO by up to 86.67%, keeps a small dataset-level gap to retraining (i.e., 1-ToW), and remains robust without manual hyperparameter tuning.

References (38)