WorksComputer Science
Exact Unlearning via Quantized Sufficient Statistics
Abstract
Exact unlearning requires a deployed predictor to match one rebuilt without the information named by a deletion request. Existing general-purpose exact methods localize retraining through disjoint shards, but every request still invalidates a model, and smaller shards reduce the data available to each constituent predictor. We introduce Quantized Sufficient Statistics (QSS), which separates a small frozen schema from mutable, sum-decomposable content. The schema learns global structure; the content stores local prediction corrections as additive statistics indexed by quantized regions. Deleting content is therefore exact subtraction rather than optimization. We distinguish two guarantees: QSS-L exactly removes a label while retaining the unlabelled input, whereas QSS-E exactly removes both input and label by learning the schema without deletable examples. A deletion takes the arithmetic fast path with probability and triggers a full rebuild with probability ; all reported expected latencies include both events. Across 15 vision, text, and tabular datasets at , QSS-L is within 2 percentage points of SISA on 11 tasks and provides 4–483 lower expected deletion latency on the low-class-count tasks where a compact schema is effective. QSS-E quantifies the additional accuracy cost of removing every trace of an input.
Exact unlearning requires a deployed predictor to match one rebuilt without the information named by a deletion request. Existing general-purpose exact methods localize retraining through disjoint shards, but every request still invalidates a model, and smaller shards reduce the data available to each constituent predictor. We introduce Quantized Sufficient Statistics (QSS), which separates a small frozen schema from mutable, sum-decomposable content. The schema learns global structure; the content stores local prediction corrections as additive statistics indexed by quantized regions. Deleting content is therefore exact subtraction rather than optimization. We distinguish two guarantees: QSS-L exactly removes a label while retaining the unlabelled input, whereas QSS-E exactly removes both input and label by learning the schema without deletable examples. A deletion takes the arithmetic fast path with probability and triggers a full rebuild with probability ; all reported expected latencies include both events. Across 15 vision, text, and tabular datasets at , QSS-L is within 2 percentage points of SISA on 11 tasks and provides – lower expected deletion latency on the low-class-count tasks where a compact schema is effective. QSS-E quantifies the additional accuracy cost of removing every trace of an input.
Introduction
Machine unlearning has become a legal and operational requirement for deployed models: privacy regulations such as the EU’s GDPR [19] and California’s CCPA [5] mandate the ability to delete the effect of specific training instances, while security and safety concerns (removing poisoned [25], biased or outdated data points [18]) provide independent motivation. Exactness is defined relative to the information named by the request. We study two neighboring-dataset relations. Label deletion retains an input but removes its label and all supervised influence; this models retracted annotations, outcomes, or responses when retaining the unlabelled input is permitted. Instance deletion removes both and , so the result must match training as if the example had never been present. We write for the former neighboring dataset and for the latter. The fundamental obstacle in either case is entanglement: standard training weaves examples into shared parameters, leaving retraining as the generic way to produce the appropriate neighboring-dataset model.
The standard exact baseline, SISA [1], attacks this problem by disjoint partitioning: it partitions the dataset (size ) into shards, and trains a sub-model on each, simultaneously bounding the retraining cost to , but also ensuring that every deletion deterministically invalidates a single shard and forces an eventual retrain. Under a batch of deletions, the expected number of affected shards is , which approaches once . SISA cannot lower its invalidation rate.
40th Conference on Neural Information Processing Systems (NeurIPS 2026). without proportionally reducing the data available to each shard; redundancy multiplies compute overhead without improving availability.
We propose Quantized Sufficient Statistics (QSS), which breaks this coupling by changing the model representation. The intuition is a wall of labelled bins. A frozen quantizer assigns similar inputs to bins, and each bin stores only sums and counts of prediction errors. Prediction consults the relevant bins; deleting an example subtracts its contribution. Recomputing the same bin totals from the remaining information gives exactly the same state, without rerunning an optimizer or scanning the dataset.
QSS realizes this idea by separating schema from content. A small random subset (size , , typically ) trains a frozen base model and a Residual Quantization (RQ) [7] codebook, the schema (see Table 1 for symbols). The remaining data is pure content: stored as sum-decomposable accumulators indexed by RQ codes over frozen embeddings (Figure 1). Because the data structure is the model, ordinary unlearning is subtraction: deleting content is a constant-time arithmetic decrement, independent of . QSS-L trains the label-blind codebook on all inputs and supports exact label deletion. QSS-E trains the codebook only on the retained schema and supports exact instance deletion for content examples. In either mode, deleting a retained schema example invokes a full rebuild. Thus QSS has a Las Vegas-style runtime guarantee: the result is always exact for the stated neighbor relation, while the randomized schema determines whether the request takes the arithmetic or rebuild path. SISA cannot exploit partition redundancy, as overlapping shards would simply require multiple partition rebuilds per deletion. The probabilistic schema–content separation does not suffer the same way. We therefore maintain independent instances, each with its own random , base model ( trained on ), and codebook. A deletion triggers the fast path for all active instances with probability ; a synchronous rebuild must occur only when all instances are invalidated, an event with probability . Every instance aggregates all of in its accumulators, so while a pair rebuilds, the remaining pairs continue serving at full accuracy. In SISA, taking a shard offline for retraining removes of the data from the ensemble; in QSS, every pair independently sees all data, so no accuracy is lost during rebuilds.

Figure 1. QSS translates Residual Quantization on embeddings to residual boosting on labels. Marker shape (◦, △, □) encodes cell assignment; intensity encodes the target (dark=high, light=low). (a) Level 1 Voronoi cells () partition the embedding space; each cell has a distinct intensity level with visible internal spread. (b) A nested Level 2 codebook subdivides each cell; the intersection regions define the co-occurrence counts stored as sum-decomposable statistics, enabling exact unlearning via simple count decrements. (c) After subtracting Level 1 cell means, all points collapse into the pooled residual space. The wide intensity spread collapses to a narrow, uniform band, visualizing that label residuals carry far less variance than the original labels, since each RQ level corrects the previous, analogous to gradient boosting [9] with quantization centroids as weak learners.
| Symbol | Meaning |
| ; | Inputs, labels; single instance, single label |
| Dataset size, embedding dimensionality, label dimensionality | |
| Frozen upstream encoder (CLIP, SBERT, or identity); distinct from RQ.encode | |
| Base model trained on (frozen) | |
| Blending weight (cross-validated); recovers | |
| Feature map: | |
| Centroids per RQ level; number of levels | |
| ; | Code matrix ; code at level |
| RQ target for point ; | |
| RQ target sum per cell | |
| Co-occurrence count matrix () | |
| ; | Materialized accumulator / count (level , cell ) |
Table 1. Notation. Superscript marks the retained subset; marks the deletable portion.
Contributions.
Schema–content separation for exact unlearning (§2): The schema–content separation proposed in this work reduces ordinary label or instance deletion to constant-time arithmetic updates, independent of and identical to rebuilding for the corresponding neighbor relation. Co-occurrence counts avoid exponential fragmentation across quantization levels (Equation (6)), leading to efficient polynomial-time re-materialization.
Redundant schemas for amortized deletion (§ 3.2): independent copies reduce the synchronous-rebuild probability to , with zero accuracy degradation. Under batch deletions of size , QSS forces a rebuild with probability , negligible for typical and .
Related work. Exact retraining methods. SISA [1] partitions data into shards and retrains the affected shard per deletion at cost. Exact -means deletion [11] and exact random forest unlearning via sufficient statistics [2] achieve -independent deletion for specific model families, but rely on fixed, single-level partitions. [22] freeze a pretrained LLM and isolate mutable state in -means clusters for exact unlearning, but require a full LLM forward pass per prediction; their clusters suffer the same codebook instability we formalize in Appendix § 7. QSS extends sufficient-statistics unlearning to a learned, multi-level quantized partition: the co-occurrence correction in RQA.MATERIALIZE (Equation (6)) is what preserves decomposability across residual levels; without it, level interactions would require joint -cell bookkeeping.
Analytic sufficient-statistic updates. Linear and ridge heads admit exact deletion by maintaining and and applying a rank-one downdate. ACU [14] and the centralized form of Quan et al. [24] develop this analytic approach for frozen representations. These methods are natural complements to QSS: analytic updates are preferable when a modest-dimensional linear head is accurate, whereas QSS stores nonlinear local residual structure in quantized cells. The schema mechanism and the choice of analytic versus quantized residual statistics are composable; Appendix D.2 gives matched comparisons and their different state/update costs.
Approximate methods. Certified removal [13], influence functions [17], Fisher scrubbing [12], and gradient ascent [20] provide varying degrees of approximation; see surveys [23, 8].
Quantization and unlearning. QUAIL [21], LUNAR [26], and QEU [27] treat quantization as a complication for unlearning, treating quantization artifacts as problems to be mitigated. QSS inverts this relationship: quantization is the architecture, and the quantized representation is what makes exact deletion tractable.
Method
Instances: Schema & Content
QSS maintains independent instances (Figure 2, top). Each instance consists of a frozen schema (base model and RQ codebook, trained on a retained subset of size ) and mutable content (accumulators aggregating all of ). The content stores only sufficient statistics

Figure 2. QSS architecture across three phases. Building (top): is split into retained (which trains the base model and the RQ codebook) and deletable ; all data is encoded and accumulated into mutable sufficient statistics (residual sums , counters , co-occurrence counts ). Prediction (bottom-left): a query is encoded through the frozen RQ levels and its cell means are summed; bold outlines trace the lookup path through embedding, codebook, and accumulators; the base model adds its prediction (+). Unlearning (bottom-right): deleting a point from decrements accumulators only. In the low-probability event that a deletion affects , the pair is invalidated (×) and must be rebuilt.
, not the data itself; at our operating point, all accumulators occupy MB even for ImageNet. The deletable portion is . Because every instance’s accumulators aggregate all of (using only to train the schema), decommissioning an instance incurs zero accuracy loss.
Within each instance, the base model and the RQ codebook are trained on ; all of is then encoded through the frozen codebook and accumulated into mutable sufficient statistics (the residual sums , counters , and co-occurrence counts ) visible at the right of the building panel. Prediction (Figure 2, bottom-left) sums the cell means along the query’s code path and adds the base model’s output:
where is cross-validated on a held-out fold along with other hyperparameters. Unlearning (Figure 2, bottom-right) decrements the affected accumulators and re-materializes; the schema (codebook, ) is untouched. If the deleted point lies in , the pair is invalidated and a replacement is needed.
Guarantee-specific constructions. The neighboring relations were defined in § 1; the construction must match the requested relation. Under label deletion, the codebook and assignments may still depend on , but the released predictor must equal one whose supervised state was built on . Under instance deletion, every model component must equal one built on . Three modes trade off these guarantees against accuracy (Table 2):
| QSS-E | QSS-L | QSS-DP | SISA | |
| Codebook | All | All | — | |
| Train | ||||
| Predict | ||||
| Unlearn from | ||||
| Unlearn from | ||||
| Label del. | Exact | Exact | -DP† | Exact |
| Instance del. | Exact | — | Empirical DP | Exact |
Table 2. QSS complexity and deletion guarantees. QSS-E, QSS-L, and QSS-DP differ in codebook training set and noise; all use the RQA data structure (Algorithm 1). When a deletion hits (probability ), and the codebook must be rebuilt.
QSS-E (instance): The codebook is trained on only. Exact label and instance deletion for points in .
QSS-L (label): The codebook is trained on all . This leads to better codebook resolution and improved model performance, but only allows for exact label deletion.
QSS-DP: QSS-L plus Gaussian noise on published cell means. Provides -label differential privacy (Proposition 3).
RQA Data Structure
Residual Quantization (RQ) [7] encodes each embedding as a sum of centroid vectors, one per level, each chosen from candidates; level quantizes the residual from levels . We treat the RQ codebook and its encoder as a frozen black box (trained via Faiss [15]); the RQA (RQ-Accumulator) data structure defined below stores sufficient statistics on top of these codes. The codebook may be trained on only (QSS-E, exact instance and label deletion) or all of (QSS-L, better resolution, exact label deletion only; Table 2).
The data structure stores three sum-decomposable quantities per code tuple (each a sum over points, so adding or removing a point costs decrements):
: base-model cost (linear probe or MLP, model-dependent). QSS-E: codebook on only (instance guarantee). QSS-L: codebook on all data (better accuracy). QSS-DP: + Gaussian noise on cell means guaranteeing -label DP (Proposition 3).
Prediction recovers per-level cell means via RQA.MATERIALIZE (Equation (6)), which subtracts earlier-level contributions using co-occurrence counts, analogous to gradient boosting [9] but avoiding exponential fragmentation across levels. For query :
Unlearning is exact: decrement and re-materialize (Figure 1). The complete RQA pseudocode appears in Algorithm 1 (Appendix § 6.§ 11.2).
Analysis
Table 2 summarizes the operating modes, their complexity, and deletion guarantees (proofs in Appendix § 6.6).
Unlearning
Proposition 1 (Exact Instance Unlearning in QSS-E). In the QSS-E method , where the schema is trained on the retained portion and the RQA accumulators are filled on all data, deleting any point via RQA.UNLEARN produces predictions bitwise identical to retraining the full system from scratch on .
Proof. Since the schema is trained on and , deleting point changes neither code assignments nor residual targets. The accumulators are additive, so RQA.UNLEARN (subtract ’s contributions) produces exactly the values from RQA.BUILD on . It remains to show that RQA.MATERIALIZE is a deterministic function of .
By definition, where . Distributing the outer sum and grouping points in cell at level by their cell at level :
with ( if ). Levels are computed sequentially () because depends on accumulators at levels . Since RQA.MATERIALIZE is thus deterministic in , the predictions after unlearning are bitwise identical to retraining from scratch on .
Exact instance deletion (no trace of the point in any model component) requires the codebook to be independent of deletable data. Refitting -means after a single-point removal can flip every code (Appendix B, [22]); QSS-E avoids this by training the codebook on only.
Remark 2 (Exact Label Unlearning in QSS-L). Proposition 1 is stated for QSS-E (codebook on ), but exact label deletion also holds in QSS-L (codebook on all ). The codebook is trained by -means on feature vectors without access to labels, so it is label-blind: labels enter only through the accumulators and . Subtracting a point’s label contributions from these accumulators and re-materializing produces predictions identical to rebuilding the supervised accumulators from scratch on with the same codebook. What QSS-L does not guarantee is instance deletion: the codebook centroids depend on the deleted point’s features, so traces of the point’s input remain in the schema (Table 2).
Proposition 3 (Label DP in QSS-DP). Adding noise to each published cell mean provides -label differential privacy with
where is the maximum residual-label change from a single point’s deletion and is the smallest occupied cell count across all levels and centroids (Equation (3); empty cells are excluded from prediction). The bound is independent of both depth and width .
Detailed proof in Appendix A.4. Each centering step in RQA.MATERIALIZE is an orthogonal projection, so the perturbation energy from a single label change is non-increasing across levels. Under zero-concentrated DP [3], the per-level privacy costs telescope: , eliminating the depth factor entirely. Note that QSS-DP provides label-DP only: the noise masks the influence of individual labels on cell means, but the codebook and code assignments may still depend on the point’s features (unless QSS-E is used). We perform empirical studies using membership inference attacks to measure residual membership signal (§ 4).
Operational guarantees
When a deletion invalidates a instance, it begins rebuilding immediately while the remaining instances continue serving.
Proposition 4 (Rebuild Scheduling). Under immediate rebuilds with instances serving during each rebuild window , and deletion requests arriving as a Poisson process with rate :
Outage probability per window: , exponentially small in .
Rebuild overhead: at most times the offline optimal, where ($5.5\timesp=3).
Proofs in Appendices A.6 and A.8. Under the eager policy, the expected inter-rebuild gap is deletions, so the expected cost per deletion is (fast-path re-materialization) plus (amortized rebuild). The offline optimal achieves gap (coupon-collector lower bound), giving the competitive ratio. Given that membership is secret, an adversary controls only the rate of deletions, not which instances are invalidated; a batch of simultaneous deletions invalidates all instances with probability ( to exceed at ). Steady-state cost rates for deployment sizing appear in Appendix A.8.
Prediction quality
Proposition 5 (Variance Decay). Within the RQ cascade, the residual variance after levels satisfies , where is the variance explained at level . If , MSE decays as .
Proof in Appendix A.3. The cascade is analogous to gradient boosting [9] with quantization centroids as weak learners. Excess risk scales as , not : each level estimates cell means independently with points (Appendix A.5).
Table 3. Architectural comparison with unlearning methods.
Remark 6 (Depth Collapse). Because residual norms shrink geometrically (Proposition 5), deeper levels add estimation noise without reducing approximation error. The practical rule is width > depth (Appendix § 6.5).
Experimental Results
Setup
We evaluate on 15 datasets with (where deletion speed is a genuine bottleneck), spanning three modalities and from 2 to 1,000 (Table 4). A frozen encoder maps inputs to -normalized embeddings: CLIP ViT-L/14 (768-d) for 5 vision tasks, all-MiniLM-L6-v2 (384-d) for 4 text tasks, and LightGBM leaf contributions (trained on ) for 6 tabular tasks. All 27 viable datasets are reported in Appendix § 8; no dataset with was excluded based on QSS performance.
| Task | -only | QSS-L | SISA | |||
| Vision (CLIP ViT-L/14) | ||||||
| MNIST | 10 | 53K | .814±.009 | .944±.003 | .921±.001 | +2.4 |
| FMNIST | 10 | 53K | .749±.015 | .825±.014 | .854±.003 | −2.9 |
| CelebA Young | 2 | 137K | .886±.002 | .893±.005 | .902±.001 | −0.9 |
| CelebA Male | 2 | 137K | .992±.000 | .993±.001 | .993±.001 | +0.0 |
| Text (all-MiniLM-L6-v2) | ||||||
| SST-2 | 2 | 51K | .785±.008 | .854±.020 | .835±.003 | +1.8 |
| AG News | 4 | 96K | .861±.003 | .899±.004 | .895±.001 | +0.4 |
| DBpedia | 14 | 473K | .952±.002 | .958±.004 | .977±.001 | −1.9 |
| Jigsaw | 2 | 1.4M | .923±.000 | .924±.001 | .927±.000 | −0.4 |
| Tabular (LightGBM leaf contributions) | ||||||
| Skin Seg. | 2 | 245K | .986±.002 | .997±.001 | .999±.000 | −0.2 |
| Airlines | 2 | 500K | .627±.004 | .640±.002 | .655±.007 | −1.5 |
| MiniBooNE | 2 | 130K | .903±.004 | .912±.004 | .943±.002 | −3.1 |
| HIGGS‡ | 2 | 11M | .728±.000 | .730±.001 | .740±.003 | −1.0 |
| KDD Cup | 17 | 494K | .996±.001 | .999±.000 | .994±.011 | +0.5 |
Table 4. Guarantee-aligned accuracy at on low- datasets (mean ± std over 5 random splits; ‡2–3 seeds). -only: base model on (floor). QSS-L: one fixed label-deletion construction per feature pipeline; modes are not selected using test accuracy. QSS-E is reported separately in Appendix § 9.§ 1. SISA: shard retraining [1]. : QSS-L − SISA accuracy (pp). High- and QSS-E results appear in Table 11 (appendix).
Data splits and operating point. We set throughout, so that 0.5% of the data is retained and 99.5% is deletable. This gives ranging from 256 (SST-2) to 41K (HIGGS). A base model (linear probe when ; one-hidden-layer MLP otherwise) is trained on and frozen. QSS corrects ’s residuals using accumulators built on all of . The blending weight and codebook hyperparameters are cross-validated on ; recovers exactly, guaranteeing QSS -only.
Baselines. We compare three baselines. -only (floor) trains the base model on alone; QSS is guaranteed to match or exceed this by construction ( fallback). SISA [1] (ceiling) partitions into shards, trains the same model architecture as on , and majority-votes predictions; unlearning retrains the affected shard at cost . We use following [1], the most favorable accuracy setting for SISA since larger reduces per-shard accuracy. Exact ridge [24] fits a ridge head using all training labels and maintains and for rank-one exact deletion. We report matched submitted-split comparisons on AG News and SST-2, the two tasks for which the submitted frozen-SBERT pipeline can be reconstructed exactly (Appendix § 9.§ 2).
Table 3 places QSS among existing methods: QSS is exact and -independent, unlike SISA, and avoids the full LLM forward pass of [22].
The Accuracy–Speed Tradeoff
The retention ratio controls the accuracy–speed tradeoff. A larger yields a stronger base model and a higher-fidelity codebook, but increases the rebuild probability. The expected per-deletion cost is
where is the fast-path accumulator update (independent of ) and is the full pipeline cost (retrain , re-extract embeddings, retrain codebook, re-encode and re-accumulate). At , the term is small even when itself is large: for HIGGS (), the expected cost is vs. SISA’s 114 s (Table 6). Figure 3 traces the tradeoff as varies from 0.5% to 5%; most low- datasets cluster near the break-even line, while high- outliers narrow their gap as increases.
Figure 3. QSS-L accuracy–speedup Pareto as varies from 0.5% to 5% on the 13 low- datasets. Both axes are relative to SISA (, ). Each trajectory traces one dataset; moving left corresponds to increasing (lower speedup, higher accuracy). Most trajectories cluster near the break-even line, trading modest accuracy for large speedups. Full version with all 15 datasets in Figure 8 (appendix).
Figure 8. QSS-L accuracy–speedup Pareto as varies from 0.5% to 5%, all 15 datasets. Both axes are relative to SISA (, ). Each trajectory traces one dataset; moving left corresponds to increasing (lower speedup, higher accuracy). Gaps on ImageNet and Covertype (high- tasks) narrow with larger . Full timing breakdown in Table 6.
Table 6: Expected unlearning latency at . (Equation 8); SISA () retrains one shard. includes retraining , re-extracting embeddings (for LGBM: leaf contributions), re-fitting LDA and codebook, re-encoding all points, and re-accumulating. Per-component RQ timings appear in Table 10. †High- limitation (§ 4.5).
| Dataset | (s) | SISA | Speedup | |||
| Jigsaw | 1.4M | 0.5% | 44 | 0.2 s | 109 s | 483× |
| CelebA Male | 137K | 0.5% | 13 | 0.1 s | 9.5 s | 132× |
| MiniBooNE | 130K | 0.5% | 30 | 0.2 s | 17.5 s | 114× |
| DBpedia | 473K | 0.5% | 29 | 0.1 s | 15.8 s | 107× |
| Covertype† | 581K | 0.5% | 850 | 4.3 s | 98.7 s | 23× |
| Airlines | 500K | 0.5% | 50 | 0.3 s | 11.0 s | 54× |
| AG News | 96K | 0.5% | 14 | 75 ms | 3.8 s | 51× |
| ImageNet† | 998K | 0.5% | 227 | 1.1 s | 52.9 s | 46× |
| MNIST | 53K | 0.5% | 13 | 68 ms | 3.1 s | 46× |
| CelebA Young | 137K | 0.5% | 17 | 88 ms | 3.6 s | 41× |
| Skin Seg. | 245K | 0.5% | 126 | 0.6 s | 12.0 s | 19× |
| FMNIST | 53K | 0.5% | 64 | 0.3 s | 2.5 s | 8× |
| HIGGS | 11M | 0.5% | 3,522 | 17.6 s | 114 s | 6× |
| KDD Cup | 494K | 0.5% | 2,381 | 11.9 s | 154 s | 6× |
| SST-2 | 51K | 0.5% | 63 | 0.3 s | 1.2 s | 4× |
Table 6.
Accuracy and Timing
Table 4 reports accuracy and expected deletion latency at on 13 low- datasets (mean over 5 random splits; full results including high- tasks in Table 11, appendix). QSS matches or exceeds -only on all datasets, confirming that cross-validated reliably extracts value from deletable data without risk.
| Dataset | QSS-E | QSS-L | Dataset | QSS-E | QSS-L |
| MNIST | 81.83±1.42 | 94.43±0.34 | FMNIST | 75.03±1.56 | 82.49±1.40 |
| CelebA Young | 89.24±0.10 | 89.34±0.52 | CelebA Male | 99.21±0.05 | 99.25±0.05 |
| SST-2 | 79.79±0.65 | 85.36±1.97 | AG News | 84.62±0.53 | 89.89±0.42 |
| DBpedia | 91.24±0.97 | 95.80±0.42 | Jigsaw | 92.03±0.05 | 92.35±0.06 |
| ImageNet | 46.24±0.31 | 66.19±1.92 | CIFAR-100 | 39.03±2.55 | 68.42±4.86 |
| Skin Seg. | 99.46±0.14 | 99.71±0.08 | Airlines | 57.80±0.17 | 64.02±0.22 |
| MiniBooNE | 86.88±0.21 | 91.24±0.37 | HIGGS | 63.52±0.05 | 72.98±0.08 |
| KDD Cup | 99.30±0.03 | 99.88±0.01 |
Table 11. Fixed-mode accuracy (%, mean ± standard deviation over five seeds) at . The required neighboring relation, not test accuracy, determines the mode.
Fixed QSS-L exceeds SISA accuracy on 4 of 13 datasets (MNIST, SST-2, AG News, and KDD Cup) and trails by pp on 7 more. The separately measured QSS-L operating points achieve 4–483× lower expected deletion cost (Figure 3 and Table 6); every latency includes the rare rebuild event.
Deletion timing. The fast path dominates: at , the term contributes s for most datasets. On Jigsaw (), QSS-L deletes in 0.2 s expected vs. SISA’s 109 s (483×). The exceptions are HIGGS and KDD Cup, where large limits the speedup to 6× (Table 6, appendix).
Aggregate analysis (Figure 7, appendix) confirms that is the primary factor: the gap clusters near zero for low- (median pp) but separates at (§ 4.5).
Figure 7. Aggregate view across all 15 datasets (, per-seed). (a) QSS-L–SISA accuracy gap by : binary and low- tasks cluster near zero; high- (ImageNet) is a clear outlier (§4.5). (b) Gap by domain: all three modalities behave similarly. (c) Gap by SISA model type (LGBM, MLP): QSS is competitive regardless of baseline architecture.
Correctness and Privacy
We verify the additive exactness mechanism empirically by deleting 100 points and comparing accumulator-subtracted predictions to rebuilt statistics. Across nine datasets spanning all three modalities, all differences are exactly 0.0: bitwise identical for the relevant fixed-schema relation. A targeted QSS-L audit on AG News obtains the same result for batches of 1, 10, 100, and 1,000 label deletions. Deleting up to 50% of ImageNet (640K points) likewise produces bitwise-identical predictions, with only 0.25 pp accuracy loss from the reduced labels (Table 7, appendix).
| 0% | 1% | 5% | 10% | 20% | 30% | 40% | 50% | |
| CelebA | 99.35 | 99.35 | 99.34 | 99.36 | 99.33 | 99.33 | 99.32 | 99.33 |
| ImageNet | 72.67 | 72.67 | 72.66 | 72.65 | 72.66 | 72.65 | 72.48 | 72.44 |
| Covertype | 75.45 | 75.39 | 75.40 | 75.38 | 75.36 | 75.33 | 75.21 | 75.14 |
| AG News | 90.08 | 90.11 | 90.05 | 90.14 | 89.95 | 89.89 | 89.89 | 89.86 |
Table 7. Accuracy retention under random deletion. Unlearn and retrain-from-scratch produce bitwise identical predictions at every deletion fraction (Proposition 1).
QSS predictions depend on cell-level aggregates (), not individual points, limiting membership leakage by construction (Figure 4). Adding (, )-label DP (Proposition 3) preserves most accuracy at (panel a). A LiRA attack [6] (64 shadow models, 1000 audit points) achieves AUC , even at (panel b; Table 8, appendix).
Figure 4. (a) -label-DP accuracy. Adult (binary) is insensitive; Covertype (7-class) and AG News (4-class) degrade gracefully. (b) LiRA membership inference on CelebA. AUC at all , including . Figure 4: Privacy validation. (a) DP noise preserves most accuracy at . (b) Even without DP, QSS leaks no membership information (64 shadow models, 1000 audit points).
| ROC AUC | TPR@FPR=0.1% | TPR@FPR=1% | |
| 1.0 | 0.515 | 0.2% | 2.2% |
| 2.0 | 0.518 | 0.8% | 1.2% |
| 4.0 | 0.531 | 0.2% | 1.4% |
| (no DP) | 0.525 | 0.0% | 0.4% |
Table 8. LiRA membership inference on QSS (CelebA Male). The attack barely outperforms random guessing at all , including (no DP noise).
Discussion and Limitations
High- gap. On ImageNet (, pp) and Covertype (, pp), QSS lags SISA at . The codebook partitions embedding space without regard to class boundaries, diluting cell-mean signal when is large. Level-0 cell purity predicts this: MNIST achieves 96.6% purity (+3.8 pp over SISA), Covertype only 63.1% (Figure 20, appendix). The gap narrows with : Covertype shrinks to pp at (Table 6).
Figure 20. UMAP projections of test-set embeddings, shaded by level-0 cell purity (fraction of each cell belonging to the majority class). Dark regions indicate pure cells (>90%); light regions indicate mixed cells. MNIST (96.6% average purity) achieves the smallest QSS-L–SISA gap (+3.8 pp); Covertype (63.1%) has the largest among low- tasks (−10.7 pp).
Rebuild cost and practical guidance. The term scales with ; for HIGGS (), this limits the speedup to 67×. On tabular datasets, accumulate-to-refill converges early (1% of for Skin Segmentation, 10% for HIGGS; Table 9, appendix). At with , QSS trails SISA by at most 3 pp while deleting 4–483× faster; SISA remains preferable when is large.
| Dataset | Saturation | Gap | Rebuild savings | |
| Skin Seg. | 245K | 1% (2.5K) | −0.02 pp | 100× |
| KDD Cup | 494K | 5% (25K) | −0.15 pp | 20× |
| HIGGS | 11M | 10% (1.1M) | −0.02 pp | 10× |
| Covertype | 581K | 10% (58K) | −0.40 pp | 10× |
| Airlines | 500K | 25% (125K) | −0.05 pp | 4× |
| MiniBooNE | 130K | 25% (33K) | −0.15 pp | 4× |
Table 9. Accumulator convergence on tabular datasets. Saturation fraction: smallest fraction of at which accuracy is within 0.15 pp of full. Subsampled rebuilds reduce the encode+accumulate cost proportionally.
Schema capacity. The submitted linear and one-hidden-layer heads are operating points, not method restrictions. A richer schema may improve difficult tasks, but a larger retained set raises both rebuild probability and rebuild cost. On Covertype, a three-layer head gains little over linear at but gains 10.74 pp at , while its training time rises from 1.29 to 14.65 seconds. Appendix § 9.5 reports the joint capacity–schema sweep and shows that the benefit is dataset-dependent.
Summary
QSS separates schema from content, reducing ordinary deletion to constant-time arithmetic independent of ; redundant schemas drive rebuild probability to with zero accuracy loss. QSS-L provides exact label deletion with the competitive accuracy reported above, while QSS-E exposes the additional cost of exact instance deletion. Unlike SISA’s pipelines, QSS is a single model with a sidecar data structure.
Acknowledgments and Disclosure of Funding
This work received no external funding. The authors declare that they have no competing interests.
Proofs
Proof of Proposition 1 (Exact Label Unlearning)
The proof appears in the main text (§ 3). We expand Step 2 here with explicit subtraction formulas.
Let . RQA.UNLEARN subtracts point ’s contributions:
These are exactly the values obtained by running RQA.BUILD on .
Materialization Lemma
The materialization recurrence (Equation (6)) and its derivation appear in the proof of Proposition 1 (§ 3).
Complexity. Each pair requires a matrix–matrix product of dimensions times , costing . Summing over all pairs gives total. The computation has sequential rounds (level depends on ); within each round, the matmuls are independent and parallelizable.
Storage. The stored state is integers (co-occurrence counts) plus floats (raw label sums) plus integers (cell counts). The materialized cache adds floats (residual accumulators for prediction). At the operating points used in our experiments (, ): Adult 1 MB, Covertype 3.5 MB, AG News 5.1 MB, CelebA 20 MB, ImageNet 51 MB. Co-occurrence counts dominate for ; label sums dominate for large (ImageNet: 31 MB of 51 MB). This storage trades static memory for eliminating retraining.
Batch unlearning. Deleting points requires count decrements followed by a single re-materialization. The per-deletion amortized cost is .
Proof of Proposition 5 (Variance Decay)
Proof. By the law of total variance:
Since and the conditional expectation is the minimum-variance predictor, . Therefore:
Unrolling the recursion from to with :
Remark 7. Because the materialized views are algebraically equivalent to sequentially accumulated residuals (Equation (6)), the variance decay properties of the cascade remain identical under the joint-count formulation.
Label Differential Privacy Analysis
Scope. This bound applies to label DP: it bounds the effect of changing a single label on the published cell means. The codebook is trained via -means on feature vectors without access to labels, so it is label-blind. This mechanism does not provide instance DP for the data vectors themselves.
Proof of Proposition 3. Under the joint-count formulation, the materialized accumulator at level depends on all earlier cell means: . When a single label changes by , define the perturbation vector where is the change in point ’s level- residual. Each centering step in RQA.MATERIALIZE is an orthogonal projection (subtract the cell mean from each entry), so .
Define the per-level sensitivity . By Cauchy–Schwarz on each cell, . Summing over cells at level :
Under zero-concentrated DP [3], adding noise to each cell mean at level provides -zCDP with . Since orthogonal projections are contractive, and
The key observation is that the energies telescope: . In fact, since , we can tighten this to , giving . Converting to -DP via yields the stated bound.
Remark 8. When the residual energy decays rapidly (empirically ), the sum is dominated by the first few levels and the effective factor is much smaller than the nominal depth.
Adversarial simulations provide strong evidence that the true bound is even tighter. We tested all code assignments exhaustively for , and ran random (50,000 trials) and greedy adversarial search (200 restarts) for , , (millions of configurations total). We measured the per-level ratio at each level independently.
Depth-independent sensitivity. Across all configurations, the maximum per-level ratio remains between 0.95 and 1.25 at every level from 1 to 12, with no upward trend. Table 5 summarizes the per-level maxima for representative configurations. This suggests a per-level bound of the form with , independent of depth. If this bound holds, the total privacy cost under the Gaussian mechanism would be , which is linear in depth and inversely proportional to .
| L1 | L2 | L4 | L6 | L8 | L10 | |||
| 50 | 4 | 6 | 1.00 | 0.95 | 1.12 | 1.20 | — | — |
| 100 | 5 | 8 | 1.00 | 0.97 | 1.09 | 1.12 | 1.16 | — |
| 200 | 8 | 10 | 1.00 | 0.97 | 1.08 | 1.09 | 1.10 | 1.10 |
| 500 | 16 | 12 | 1.00 | 0.98 | 1.01 | 1.00 | 1.02 | 0.96 |
Table 5. Maximum per-level sensitivity ratio across 30,000 random code assignments per configuration. The ratio stays flat across levels.
Figure 5 visualizes the per-level ratio across configurations: the empirical sensitivity stays flat near 1, far below both the OGMD bound , dotted and the Cauchy–Schwarz ceiling , dashed. Proving the bound rigorously (or constructing a counterexample) remains open.
Figure 5. Per-level sensitivity ratio . (a) Adversarial maximum across 20,000 random code assignments for four configurations. The ratio stays flat near 1 at all levels. (b) Comparison with theoretical bounds for , : the empirical sensitivity (solid) is far below both the naïve recurrence bound (dotted, grows linearly) and the Cauchy–Schwarz ceiling (dashed, ).
Empirically, membership inference (LiRA [6]) achieves AUC across all noise levels, consistent with the hypothesis that the cascade sensitivity is far below the bound.
Excess Risk Bound
Proposition 9 (MSE Decomposition). Let for all levels, and assume balanced clusters (). The expected MSE of the finite-sample QSS estimator decomposes as:
Under a Lipschitz condition on the target function, the approximation term is .
Proof. Decompose the error through the oracle (infinite-data) predictor . The approximation term is (Proposition 5).
For the estimation term, each level’s estimator estimates the cell mean with samples:
Summing across levels and expanding :
The estimation term scales as , not : the label-residual structure uses each level independently ( cells per level, samples each), avoiding the curse of dimensionality that would arise from joint -cell estimation.
Interpretation and codebook collapse. The bound reveals two collapse modes. Width collapse: the optimal balances approximation (decreasing in ) against estimation (increasing as ). When , cells receive too few points and the per-cell means become noisy; at the extreme, empty cells () require smoothing but cannot recover signal. Depth collapse: if preconditioning concentrates between-class variance into the first few dimensions, for later levels and those levels are wasted, adding estimation error without reducing approximation error. The practical rule is and increase only while remains appreciable.
Complexity of the QSS Method (Table 2)
Proposition 10 (QSS Training Cost). Training the full QSS method costs .
Proof. Training proceeds in two stages. Stage 1: train the base model on (), costing (model-dependent). Stage 2: build the RQA data structure. Encoding each of the points requires sequential levels; at each level, the nearest of centroids is found by computing inner products in , costing per level. Total encoding: . The scatter-add pass that fills , , and costs (each point updates target sums and co-occurrence counts). Materialization costs (Appendix A.2). Since in practice, the encoding term dominates and the total is .
Proposition 11 (QSS Prediction Cost). Predicting with the full QSS method costs per query.
Proof. Prediction (Equation 1) evaluates . The base-model inference costs . RQA.PREDICT encodes the query (, same argument as above) and sums cached cell means (). The total is .
Proposition 12 (Expected Unlearning Cost). For a uniformly random deletion, the expected cost is .
Proof. A deletion request targets a uniformly random point in . With probability , the point lies in : RQA.UNLEARN decrements counters and re-materializes in (Appendix A.2). With probability , the point lies in : and the codebook must be retrained, costing . The expectation follows by linearity.
Amortized Deletion and CTMC Analysis
Proof of Proposition 3.2. Each deletion hits instance ’s independently with probability . A synchronous rebuild occurs when all instances are invalidated. The expected number of deletions until all are hit follows the coupon collector with non-uniform probabilities; for uniform , it reduces to by a standard coupon-collector argument. Dividing the rebuild cost by this expected inter-rebuild count gives the amortized term.
CTMC steady state. Model the system as a continuous-time Markov chain on the number of active instances , with invalidation rate per active instance and repair rate per inactive instance (background rebuild). The steady-state probability of full outage (state 0) is
For and (rebuilds faster than invalidations), full outages are exponentially rare in . The optimal rebuild policy is analyzed in Appendix A.8.
Rebuild Scheduling (Proposition 4)
We analyze the non-blocking rebuild model of Proposition 4. The system maintains independent schemas. A deletion request independently invalidates each active instance with probability (since membership is secret and uniformly random). A rebuild costs in CPU, takes wall-clock time , restores all instances, and does not interrupt serving by surviving instances. At most one rebuild is in flight at a time. The eager policy starts a background rebuild whenever any instance is invalidated, if none is already in progress.
Proof of Proposition 4(i): Outage Bound. When eager triggers a rebuild, exactly instances remain active (the one just invalidated plus the in-progress rebuild). During the rebuild window , the number of arriving deletions is . For each deletion, each surviving instance is independently invalidated with probability . Conditional on , instance survives all deletions with probability , and these events are independent across instances.
Marginal survival probability. The unconditional survival probability of a single instance is:
Joint outage probability. A full outage requires all surviving instances to die. By inclusion-exclusion:
Lower bound. Since is convex for and :
Upper bound and tightness. The gap between (20) and (21) arises from the positive correlation: a large realization simultaneously increases all instances’ death probabilities. To quantify this, note that the joint survival probability of instances is:
The correction exponent satisfies . Substituting into (20) and comparing with the binomial expansion of , the multiplicative gap is:
For , , : the correction is . In the practical regime (), the lower bound (21) is therefore tight, and
For and : . At : .
Proof of Proposition 4(ii): Rebuild Overhead. We compare the number of rebuilds performed by the eager policy against the offline optimal (which knows the full deletion sequence in advance).
Eager rebuild rate. Starting from (all instances active), the next invalidation event has probability per deletion. For small , this is approximately . Under eager, every invalidation triggers a rebuild, so the expected inter-rebuild gap is:
Lower bound on any policy’s rebuild rate. Without a rebuild, the instance count can only decrease. Starting from , the expected number of deletions until all instances are invalidated is a coupon-collector problem: at state , the next death has probability , giving expected waiting time . Summing:
Any policy, including the offline optimal, must rebuild at least once every deletions on average, since without a rebuild the system inevitably reaches .
Competitive ratio. The ratio of rebuild rates is:
This bound is tight: an offline-optimal policy with instantaneous rebuilds () can wait until and rebuild without any outage, achieving inter-rebuild gap . For : ; for : .
Algorithm 1 The RQA data structure. RQ.encode is the frozen Faiss encoder; the four RQA procedures operate on target values ; in QSS, (§ 2.1).
Input: Feature map , RQ with centroids/level, levels State: , , . Cache .
procedure RQA.BUILD
▷
for to do
▷ scatter-add
end for
for to ; to do
end for
RQA.MATERIALIZE
end procedure
procedure RQA.PREDICT
return
end procedure
procedure RQA.UNLEARN
for to do
;
for to do
end for
end for
RQA.MATERIALIZE
end procedure
procedure RQA.MATERIALIZE ▷
for to do
(0 if )
end for
end procedure
Steady-state cost rate. To choose among rebuild thresholds, we generalize to the threshold- policy: trigger a rebuild when the active instance count drops to . The long-run average cost per deletion follows from renewal theory (ratio of expected cost per cycle to expected cycle length):
where is the expected number of deletions from to , and is the outage probability with instances surviving during the rebuild window.
In the regime (outage is catastrophic), the second term in the numerator dominates and (eager) minimizes (28). When is moderate, the optimal threshold balances rebuild frequency against outage risk; for small , this can be evaluated numerically.
RQA Pseudocode
Codebook Fragility: Extended Analysis
We train RQ (, ) on 162,770 CelebA CLIP embeddings, remove 100 random points (0.06%), retrain, and re-encode. Result: 100% of remaining codes change (per-level flip rate 99.8–99.9%, 3 repeats). Minimum Voronoi margin is at every level; cross-level dilution is 1.0, confirming cascades propagate at full strength.

Figure 6. Codebook instability (§B) on 2D synthetic data (, 300 points). Left: original -means centroids (+) and Voronoi boundaries. Right: removing one point (×) and retraining -means shifts centroids (arrows), flipping 30% of codes (dark points). Flips occur far from the removed point, demonstrating that the perturbation is global. In 768-d CLIP embeddings, the flip rate is 100%.
Additional Experiments
Aggregate Accuracy Patterns
Full Accuracy and Speedup
Fixed QSS-L and QSS-E accuracy for all 15 datasets appears in Table 11; the low- QSS-L/SISA comparison appears in Table 4. We do not report a best-over-guarantees aggregate.
Expected Unlearning Latency
Codebook Collapse
Accuracy Retention Under Deletion
CelebA, ImageNet, Covertype, and AG News are stable through 50% deletion (<0.3pp loss). All four datasets are bitwise identical between unlearn and retrain-from-scratch at every fraction.
Membership Inference Attack
We evaluate membership privacy via LiRA [6]: 64 shadow QSS models (each trained on a random 50% subset of CelebA), auditing 1000 target points.
Even without DP, QSS leaks no membership information: AUC . Predictions depend on cell-level aggregates (), not individual points.
Figure 10. -label-DP accuracy. Adult (binary) is insensitive; Covertype (7-class) and AG News (4-class) degrade gracefully, retaining most accuracy at .
Variance Decay and Theory Validation
Proposition 5 (Variance Decay) states that . If , MSE decays as . Proof in Appendix A.3. Excess risk scales as , not (Appendix A.5).

Figure 11. Per-level across datasets.
Figure 12. Residual norm decay across levels.
Ablations
We isolate the contribution of codebook width , depth , and LDA preconditioning. All ablations use 5 seeds (0–4) on the DNN pipeline (MNIST, CIFAR-100, AG News, Covertype) at .
Figure 13. Accuracy vs. codebook width ( fixed). Dotted lines show -only baselines. Width matters most on MNIST and Covertype at , where larger provides finer Voronoi cells that better separate classes. AG News and CIFAR-100 are flat ().
Figure 14. Accuracy vs. codebook depth ( fixed). Covertype gains pp from to ; other datasets saturate by –, consistent with the depth collapse observed in Figure 9.
Figure 9. Codebook collapse on ImageNet (unsupervised RQ). Left: width collapse (accuracy and grow with ). Right: depth collapse (accuracy plateaus as ). See Appendix § 6.§ 3 for the variance decay analysis that explains this convergence behavior.
Figure 15. Cumulative accuracy as RQ levels are added. Level 1 captures most of the QSS lift; deeper levels provide diminishing returns, confirming the variance decay prediction (Proposition 5).
Figure 16. LDA preconditioning ablation (). LDA provides a modest lift on Covertype (+1.5 pp) where discriminant directions help the unsupervised codebook align with class boundaries. Effect is negligible on AG News and SST-2 where the pretrained SBERT embeddings already separate classes well.
Hyperparameter Sensitivity and Rebuild Efficiency
The codebook parameters jointly control accuracy and unlearning speed: (Equation 8). Cross-validation selects to maximize held-out accuracy on ; here we examine the full parameter surface to characterize robustness.
Accuracy is robust to when is strong. Figure 17 sweeps and independently on two representative datasets. On MiniBooNE (tabular, -only = .912), QSS accuracy is flat across the entire range: and yield the same .913 accuracy, because the blending weight lets the strong base model dominate. On FMNIST (vision, -only = .749), QSS accuracy increases with both and : moving from to gains 1.5 pp, because the cell-mean correction contributes meaningfully when is far from the ceiling. The practical consequence is that datasets where already performs well (typically those with high-quality embeddings) can use minimal codebook parameters without sacrificing accuracy, reducing by orders of magnitude (e.g., 0.02 ms at vs. 9 ms at ).
Figure 17. QSS accuracy (left) and (right) as codebook parameters vary. Top: MiniBooNE ( sweep at ; sweep at ). Accuracy is flat; spans three orders of magnitude. Bottom: FMNIST (same sweeps). Accuracy improves with larger codebooks; we trade deletion speed for accuracy via CV.
Accumulator convergence. A full rebuild re-encodes all points and re-accumulates their labels into the joint-count tables. Since these tables are sufficient statistics (cell-level sums and counts), they converge as the per-cell sample sizes grow. We measure accuracy as a function of the fraction of encoded into accumulators (Figure 18).
Figure 18. Accuracy vs. fraction of encoded into accumulators. Tabular datasets (solid) converge rapidly; DNN datasets (dashed) require most or all of the data. The convergence rate reflects embedding geometry: well-clustered embeddings yield high cell purity and fast convergence.
On tabular datasets with well-clustered LGBM embeddings, accumulators converge rapidly: Skin Segmentation reaches full accuracy at 1% of (2.5K points), KDD Cup at 5%, HIGGS at 10%, and Airlines/MiniBooNE at 25% (Table 9). This reflects high cell purity: LGBM leaf embeddings place same-class points in tight clusters, so even a fraction of the data yields stable per-cell label distributions.
On DNN datasets (CLIP, MiniLM), embeddings are more diffuse and accumulators require the full dataset to converge. FMNIST loses 1 pp at 50% fill and 9.5 pp at 1%; SST-2 shows a similar pattern. QSS genuinely leverages all available data in this regime.
The convergence behavior has a direct practical implication for rebuild cost. The full rebuild pipeline has four stages: retrain , retrain codebook (both on only, independent of ), encode , and accumulate. Only the last two stages scale with the number of points encoded. For datasets where accumulators saturate at fraction , the encode+accumulate cost drops by while the -training and codebook-training costs remain unchanged. On HIGGS (), encoding points instead of reduces the encode+accumulate phase from to , cutting total rebuild time and increasing the expected speedup over SISA accordingly.
Experimental Details
Base model . Linear probe (logistic regression for classification, ridge regression for regression) trained on via Optuna (200 trials, TPE sampler) over learning rate (), weight decay (), epochs (), and batch size (), minimizing validation loss on a 20% stratified holdout of . When , we also evaluate a one-hidden-layer MLP (, ReLU, Adam lr, wd, bs, early stopping patience on validation loss) and report whichever yields higher validation accuracy.
Residual Quantization. Faiss [15] (version 1.7.4) ResidualQuantizer with Train_default (k-means++ initialization) and max_beam_size=1 (greedy nearest-centroid assignment), distance. Codebook hyperparameters selected by Optuna (30 trials per mode, TPE sampler) over and , with blending weight (grid of 21 values) cross-validated on the same stratified holdout as the base model, optimizing validation accuracy (classification) or Pearson (regression). All embeddings are -normalized before codebook training.
LDA preconditioning. : all discriminant directions from standard LDA (scikit-learn LinearDiscriminantAnalysis, default solver) fitted on labels and embeddings. This is analogous to Optimized Product Quantization [10], but uses label supervision from rather than reconstruction error. Feature map: (concatenation, not projection). When , (no preconditioning).
Encoders. Vision: OpenAI CLIP ViT-L/14 (openai/clip-vit-large-patch14, 768-d). Text: Sentence-Transformers sentence-transformers/all-MiniLM-L6-v2 (384-d). Standard preprocessing per encoder (CLIP: center crop; SBERT: default tokenizer, max 512 tokens).
Tabular encoder (LightGBM leaf contributions). For tabular datasets (Skin Segmentation, Adult, Covertype, California Housing), we train a LightGBM model [16] on and extract per-tree leaf indices as the embedding. Configuration: 200 trees, max depth 6, learning rate 0.1, min data in leaf 20, bagging fraction 0.8, feature fraction 0.8, num_leaves=31. Each input is mapped to a 200-d binary vector (one-hot leaf index per tree, concatenated), yielding . The LightGBM model is trained only on and frozen, satisfying the same independence requirement as the CLIP/SBERT encoders. Leaf contributions are extracted via model.predict(X, pred_leaf=True).
SISA. shards. Each shard trains the same model architecture as on . Predictions are majority-voted (classification) or averaged (regression).
Data splits. Each dataset is split into ( points selected uniformly at random, stratified by class for classification), (remainder minus test), and a held-out test set. Datasets with standard splits (ImageNet, CIFAR-100, MNIST, AG News, SST-2, DBpedia) use their official test sets; all others use a 25% random stratified test set. Results are averaged over 5 random splits (seeds 0–4); the seed controls selection, RQ -means initialization, and Optuna sampling.
Timing experiments. All timing comparisons are measured on the same GPU (NVIDIA A100), same process, median of 10 runs. SISA deletion retrains nn.Linear+SGD on affected shard with the same Optuna-selected hyperparameters. Table 10 reports the raw RQA data structure update time (the component of the expected cost in Table 6).
| Dataset | RQ (ms) | SISA (ms) | Speedup | |
| CalHousing | 21K | 3.9 | 994 | 257× |
| UTKFace | 24K | 5.7 | 68,622 | 12,096× |
| DTD | 5.6K | 6.1 | 26,105 | 4,278× |
| Adult | 45K | 8.0 | 1,188 | 148× |
| Skin Seg. | 245K | 10.9 | 1,025 | 94× |
| SST-2 | 68K | 12.0 | 1,303 | 109× |
| CIFAR-100 | 60K | 12.0 | 31,563 | 2,620× |
| MNIST | 70K | 13.0 | 21,614 | 1,661× |
| AG News | 128K | 23.2 | 4,924 | 213× |
| Covertype | 581K | 88.4 | 10,495 | 119× |
| DBpedia | 630K | 186.7 | 20,642 | 111× |
| CelebA Young | 1.3M | 389.3 | 527,271 | 1,354× |
| ImageNet | 1.3M | 429.8 | 376,799 | 877× |
Table 10. RQA data structure update latency (median of 10 runs, A100 GPU): encode the deleted point, decrement accumulators, and re-materialize prediction tables. This is the component of the expected QSS cost (Table 6).
Detailed Pipeline Flowchart

Figure 19. End-to-end QSS pipeline. A random fraction of forms the non-deletable subset , which defines the schema: encoder , base model , and the RQ codebook—all frozen before any deletion request. All of is encoded and accumulated into mutable sufficient statistics (content). To unlearn a point from (probability ): decrement accumulators in and re-materialize in —the schema is untouched. If the point is in (probability ): a full rebuild is required at cost .
Guarantee-Aligned and Analytic Comparisons
Fixed QSS-L and QSS-E results
Table 11 uses one fixed construction per guarantee rather than selecting between QSS-E and QSS-L using test accuracy. QSS-E trains its codebook on the retained schema; QSS-L uses the fixed primary label-deletion construction for each feature pipeline. QSS-L is more accurate on all 15 tasks (median difference 5.27 pp), quantifying the cost of requiring the codebook to be independent of every deletable input.
For QSS-L, we additionally deleted batches of 1, 10, 100, and 1,000 labels on AG News. In every case, the source statistics, materialized cell values, and prediction scores were bitwise identical to rebuilding from ; prediction disagreement was zero.
Exact analytic heads
Ridge regression on a fixed representation is an important exact baseline. It stores and ; deleting applies and , followed by a Sherman–Morrison downdate. We reconstructed the five submitted AG News and SST-2 splits, selected using only an internal split of each training set, and then fit the final head using all training labels.
| Dataset | Exact ridge | QSS-L | Difference | Paired |
| AG News | 89.468 | 89.894 | +0.426 pp | 0.048 |
| SST-2 | 83.709 | 85.356 | +1.647 pp | 0.121 |
Table 12. Exact ridge and fixed QSS-L on identical frozen-SBERT features and submitted splits. The QSS-L advantage on SST-2 is not statistically significant.
The Sherman–Morrison result agrees with a solve from rebuilt statistics to at most coefficient error on AG News and on SST-2. Neither family dominates computationally:
| Method | State | Ordinary deletion |
| Ridge/ACU | ||
| QSS | conservative |
Table 13. State and ordinary-deletion costs, both independent of dataset size . Here is analytic feature dimension and the number of outputs.
Orthogonal schema and correction choices
QSS combines two design decisions that need not be made together. The first is what target to model: one may fit the target directly on a fixed representation, or first fit a retained-schema predictor and model the residual . This choice determines whether the correction depends on a sampled schema. Whenever changes after a schema deletion, every residual defined relative to that copy of must be rebuilt, independently of how the residual is stored.
The second decision is how to represent the mutable correction. A linear or ridge correction stores global analytic sufficient statistics such as and , as in ACU and the centralized construction of Quan et al. [14, 24]. QSS instead stores local sums and counts indexed by a frozen quantizer. This choice determines the hypothesis class and the state/update costs, rather than whether a schema is present.
Consequently, a standalone analytic head has no sampled-schema event; a QSS predictor uses a schema-relative quantized residual; and a composed method can use a schema predictor with an analytic residual head. In the composed case, each replicated schema owns its base predictor and residual statistics, so a schema hit invalidates only that copy. Analytic heads are preferable when a modest-dimensional linear correction is expressive, while quantized statistics provide local nonlinear capacity without introducing an explicit high-dimensional feature expansion.
Larger SISA shard counts
Increasing can make an affected shard faster to retrain, but it does not remove the coupling between deletion work and data per constituent model. Table 14 holds each model architecture fixed while extending SISA through .
| Dataset | |||
| Adult | 83.30% / 6.1 ms | 83.32% / 2.2 ms | 81.91% / 1.2 ms |
| Covertype | 71.99% / 3.379 s | 71.46% / 0.160 s | 70.60% / 0.0256 s |
| SST-2 | 80.73% / 0.1947 s | 79.82% / 0.1050 s | 78.56% / 0.0035 s |
Table 14. SISA accuracy and isolated affected-shard retraining time.
Schema capacity and retained-set size
The schema head should be selected jointly with . At the intended regime, additional depth is often variance-limited: linear, one-layer, and three-layer heads obtain 81.06/75.72/78.39% on Adult, 71.17/69.53/71.82% on Covertype, and 72.40/73.47/74.46% on SST-2. Three-layer training is 8.2× the linear-head time on Covertype and 3.7× on SST-2.
More retained data can make depth useful, at the cost of a larger schema. On Covertype, the three-layer advantage over linear grows from 0.65 pp at to 5.75 pp at 2% and 10.74 pp at 5%; its training time at 5% is 14.65 s versus 0.86 s for linear. At 5%, corresponding three-seed QSS-L predictors obtain 72.90/77.20/83.83% with linear, one-layer, and three-layer schemas. The pattern is not universal: SST-2 favors three layers at 0.5%, one layer at 2%, and one/two layers are effectively tied at 5%. This is the practical scope boundary: richer schemas can improve accuracy, but increasing raises both rebuild probability and rebuild cost.
Unsupervised Quality Diagnostics
| Attribute | PR-AUC | |
| Male | 0.960 | 0.998 |
| Young | 0.532 | 0.959 |
| Attractive | 0.409 | 0.832 |
| Smiling | 0.237 | 0.887 |
| Eyeglasses | 0.210 | 0.851 |
Table 15. Without preconditioning, predicts quality.
Cell Purity Across Modalities
Figure 20 shows UMAP projections of test-set embeddings from four datasets, shaded by level-0 cell purity (the fraction of each cell’s points belonging to the majority class). MNIST (CLIP, ) achieves 96.6% average purity at level 0: the unsupervised RQ codebook already separates classes well, which explains QSS’s strong performance. At the other extreme, Covertype (, ) reaches only 63.1%. CIFAR-100 () and AG News () fall between.
Multi-level RQ drives effective purity above 99.8% on all four datasets (level-0 impurity is corrected by deeper levels), but the per-level improvement depends on the base purity: when level 0 is already high, fewer levels suffice.
NeurIPS Paper Checklist
Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
Answer: [Yes]
Justification: The abstract and introduction distinguish exact label deletion (QSS-L) from exact instance deletion (QSS-E), state the randomized rebuild event, and scope the empirical claims to the corresponding construction. Theoretical results appear in § 3 and guarantee-aligned experiments in § 4 and the appendices.
Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: § 4.6 discusses three limitations: the high- accuracy gap to SISA, codebook capacity and depth collapse, and the Jigsaw negative result. §5 discusses the rebuild cost when deletions hit , adversarial targeting of , and the linear baseline choice.
Theory assumptions and proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: Propositions 1–3 state assumptions explicitly (independence of codebook from targets, Laplace noise scale, variance-explained ratio). Full proofs are in Appendices A.1–A.3. The tighter DP bound is clearly marked as an open conjecture with empirical evidence.
Experimental result reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: Algorithm 1 specifies the data structure. § 4.1 describes all datasets, encoders, data splits, baselines, and hyperparameter selection. All datasets are publicly available.
Open access to data and code
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: Code is available at
https://github.com/atavory/rqu. All datasets used are publicly available (CelebA, ImageNet, CIFAR-100, Covertype, etc.).
Experimental setting/details
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
Answer: [Yes]
Justification: § 4.1 specifies data splits (, random selection), base model architecture (linear probe or MLP with stated dimensions), cross-validation procedure for , and SISA configuration ().
Experiment statistical significance
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [Yes]
Justification: Main results are 5-seed means over random train/test/ splits. The number of seeds is stated in the table captions.
Experiments compute resources
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [Yes]
Justification: Timing experiments report GPU type (A100) and wall-clock times in Table 2. Training and deletion costs are reported in milliseconds.
Code of ethics
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
Answer: [Yes]
Justification: The research addresses data privacy (right to deletion) and uses only publicly available datasets. No human subjects or personally identifiable data were collected.
Broader impacts
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [Yes]
Justification: §5 discusses positive impact (enabling GDPR compliance at scale) and broader impact (codebook instability affects VQ-VAE, neural codecs, and retrieval systems). The adversarial targeting risk is acknowledged.
Safeguards
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
Answer: [N/A]
Justification: The paper does not release pre-trained models, generative models, or scraped datasets. QSS is an unlearning method, not a generative system.
Licenses for existing assets
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [Yes]
Justification: All datasets and models are cited (CLIP, SBERT, Faiss, CelebA, ImageNet, etc.). All are publicly available under their respective licenses.
New assets
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [Yes]
Justification: The QSS implementation is available at https://github.com/atavory/rqu with documentation and scripts to reproduce the main experiments.
Crowdsourcing and research with human subjects
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [N/A]
Justification: No crowdsourcing or human subjects research was conducted.
Institutional review board (IRB) approvals or equivalent for research with human subjects
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [N/A]
Justification: No human subjects research was conducted.
Declaration of LLM usage
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
Answer: [N/A]
Justification: LLMs were used only for writing assistance and editorial polishing. They are not a component of the QSS method or experimental pipeline.
References
- [1]Lucas Bourtoule, Varun Chandrasekaran, Christopher A Choquette-Choo, Hengrui Jia, Adelin Travers, Baoyuan Zhang, David Lie, and Nicolas Papernot. Machine unlearning. In IEEE Symposium on Security and Privacy (SP), pages 141–159, 2021.
- [2]Jonathan Brophy and Daniel Lowd. Machine unlearning for random forests. In International Conference on Machine Learning, pages 1092–1104. PMLR, 2021.arxiv.org/abs/2009.05567
- [3]Mark Bun and Thomas Steinke. Concentrated differential privacy: Simplifications, extensions, and lower bounds. In Theory of Cryptography, pages 635–658, 2016.arxiv.org/abs/1605.02065
- [4]Zikui Cai, Yaoteng Tan, and M. Salman Asif. Targeted unlearning with single layer unlearning gradient. In International Conference on Machine Learning (ICML), 2025. arXiv:2407.11867.arxiv.org/abs/2407.11867
- [5]California Department of Justice. California consumer privacy act (CCPA), 2024. Accessed: 2024-05-22.
- [6]Nicholas Carlini, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, and Florian Tramer. Membership inference attacks from first principles. In IEEE Symposium on Security and Privacy, 2022.arxiv.org/abs/2112.03570
- [7]Yongjian Chen, Tao Guan, and Cheng Wang. Approximate nearest neighbor search by residual vector quantization. Sensors, 10(12):11259–11273, 2010.DOI
- [8]Jiali Cheng and Hadi Amiri. MU-Bench: A multitask multimodal benchmark for machine unlearning. arXiv preprint arXiv:2406.14796, 2024.arxiv.org/abs/2406.14796
- [9]Jerome H. Friedman. Greedy function approximation: A gradient boosting machine. Annals of Statistics, 29(5):1189–1232, 2001.DOI
- [10]Tiezhen Ge, Kaiming He, Qifa Ke, and Jian Sun. Optimized product quantization. In IEEE Transactions on Pattern Analysis and Machine Intelligence, volume 36, pages 744–755, 2014.DOI
- [11]Antonio Ginart, Melody Y. Guan, Gregory Valiant, and James Zou. Making AI forget you: Data deletion in machine learning. In Advances in Neural Information Processing Systems (NeurIPS), volume 32, pages 3513–3526, 2019.arxiv.org/abs/1907.05012
- [12]Aditya Golatkar, Alessandro Achille, and Stefano Soatto. Eternal sunshine of the spotless net: Selective forgetting in deep networks. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9301–9309, 2020.arxiv.org/abs/1911.04933
- [13]Chuan Guo, Tom Goldstein, Awni Y. Hannun, and Laurens van der Maaten. Certified data removal from machine learning models. In International Conference on Machine Learning (ICML), pages 3832–3842. PMLR, 2020.arxiv.org/abs/1911.03030
- [14]Yajiang Huang, Jianheng Tang, Kejia Fan, Huiping Zhuang, Anfeng Liu, Tian Wang, Yunhuai Liu, Minxiang Dong, and Houbing Herbert Song. Towards efficient and exact forgetting services in pre-trained-model-based continual learning. arXiv preprint arXiv:2505.12239, 2025.arxiv.org/abs/2505.12239
- [15]Jeff Johnson, Matthijs Douze, and Hervé Jégou. Billion-scale similarity search with GPUs. IEEE Transactions on Big Data, 7(3):535–547, 2021.
- [16]Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems, volume 30, pages 3146–3154, 2017.
- [17]Pang Wei Koh and Percy Liang. Understanding black-box predictions via influence functions. In ICML, 2017.arxiv.org/abs/1703.04730
- [18]Dianqing Liu, Yi Liu, Guoqing Jin, and Zhendong Mao. Mitigating biases in language models via bias unlearning. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 4160–4178, 2025.
- [19]Alessandro Mantelero. The eu proposal for a general data protection regulation and the roots of the ’right to be forgotten’. Computer Law & Security Review, 29(3):229–235, 2013.DOI
- [20]Odelia Melamed, Gilad Yehudai, and Gal Vardi. Provable unlearning with gradient ascent on two-layer ReLU neural networks. arXiv preprint arXiv:2510.14844, 2025.
- [21]Himanshu Mishra and Kanwal Mehreen. QUALL: Quantization aware unlearning for mitigating misinformation in LLMs. arXiv preprint arXiv:2601.15538, 2026.
- [22]Andrei Ioan Muresanu, Anvith Thudi, Michael R. Zhang, and Nicolas Papernot. Fast exact unlearning for in-context learning data for LLMs. In ICML, 2025. arXiv:2402.00751.arxiv.org/abs/2402.00751
- [23]Thanh Tam Nguyen, Thanh Trung Huynh, Zhao Ren, Phi Le Nguyen, Alan Wee-Chung Liew, Hongzhi Yin, and Quoc Viet Hung Nguyen. A survey of machine unlearning. ACM Transactions on Intelligent Systems and Technology, 16(5):108:1–108:46, 2025.arxiv.org/abs/2209.02299
- [24]Yijun Quan, Wentai Wu, and Giovanni Montana. Exact federated continual unlearning for ridge heads on frozen foundation models. arXiv preprint arXiv:2603.12977, 2026.
- [25]Stefan Schoepf, Jack Foster, and Alexandra Brintrup. Potion: Towards poison unlearning. Journal of Data-centric Machine Learning Research, 2024.
- [26]William F. Shen, Xinchi Qiu, Meghdad Kurmanji, Alex Jacob, Lorenzo Sani, Yihong Chen, Nicola Cancedda, and Nicholas D. Lane. LLM unlearning via neural activation redirection. arXiv preprint arXiv:2502.07218, 2025.arxiv.org/abs/2502.07218
- [27]Tian Zhang, Yujia Tong, Junhao Dong, Ke Xu, Yuze Wang, and Jingling Yuan. Forget by uncertainty: Orthogonal entropy unlearning for quantized neural networks. arXiv preprint arXiv:2602.00567, 2026.














