Sharded Model Isolation for Exact Machine Unlearning

48 concepts35 papers1 proposal

When a user invokes the "right to be forgotten" under privacy regulations like GDPR, a machine learning model trained on their data cannot simply be left as-is. Because deep networks and statistical models internalize their training sets, a user's private information remains implicitly embedded within the model's weights.

The most straightforward way to guarantee complete erasure is to delete the user's data from the training set and retrain the model from scratch. However, for modern large-scale systems, full retraining is computationally prohibitive. To solve this, researchers have explored approximate unlearning (e.g., using gradient steps to reverse-engineer data removal), but these methods often fail to provide a strict mathematical guarantee that the data's influence is entirely gone.

As surveyed by Xu et al. in Machine Unlearning: A Survey and Shaik et al. in Exploring the Landscape of Machine Unlearning: A Comprehensive Survey and Taxonomy, a more robust alternative is exact machine unlearning. Exact unlearning ensures that the post-deletion model is mathematically identical to a model that never encountered the deleted data in the first place—a property known as "zero-certified removal" Liebig.

To achieve exact unlearning without the crippling cost of full retraining, modern architectures rely on sharded model isolation.

The Core Intuition: Divide, Isolate, and Aggregate

The fundamental bottleneck of retraining is that a single data point can influence every single parameter in a globally trained network. Sharded model isolation breaks this global dependency by partitioning the training dataset into $N$ disjoint, independent subsets called shards.

Instead of training one massive model on the entire dataset, the system trains $N$ independent sub-models, each restricted to its own shard. At inference time, a central aggregation layer combines the outputs of these sub-models to produce a final prediction.

[ Full Dataset ] ──> Partition ──> [ Shard 1 ] ──> Sub-Model 1 ──┐
                                  [ Shard 2 ] ──> Sub-Model 2 ──┼─> Aggregator ──> Output
                                  [ Shard 3 ] ──> Sub-Model 3 ──┘

This architectural shift completely changes the cost of forgetting. When a user requests that their data be deleted, the system identifies the exact shard containing that user's data. Because the shards are strictly isolated, the data point has only influenced one specific sub-model. The remaining $N-1$ sub-models are completely untainted.

To unlearn the data, the system only needs to retrain the single affected sub-model on its updated shard. As noted by Roth et al. in Descent-to-Delete: Gradient-Based Methods for Machine Unlearning and Liu et al. in A Survey on Machine Unlearning: Techniques and New Emerged Privacy Risks, this reduces the computational overhead proportionally to the number of shards, often yielding 10x to 100x speedups. This strategy is highly adaptable; for instance, Gupta et al. demonstrate in Adaptive Machine Unlearning that sharded architectures remain robust even when deletion requests are adaptively triggered by users reacting to the model's outputs.

Granular Optimization via Slicing and Checkpointing

While sharding reduces the retraining workload to a fraction of the original dataset, retraining a single sub-model from scratch can still be expensive if the shard itself is large. To optimize this further, frameworks like SISA (Sharded, Isolated, Sliced, Aggregated) introduce incremental slicing within each shard.

As detailed in Privacy Adhering Machine Un-learning in NLP and by Xu et al. in Machine Unlearning: Solutions and Challenges, each shard's data is further divided into sequential slices. The sub-model is trained incrementally, slice by slice, and the system saves intermediate parameter checkpoints after completing each slice.

Shard 1 Data:  [ Slice 1 ] ───> [ Slice 2 ] ───> [ Slice 3 (Contains Target Data) ]
                     │                │                │
Checkpoints:    Checkpoint 1 ──> Checkpoint 2 ──> [Rollback Point]

When a deletion request arrives, the system does not restart the sub-model from scratch. Instead, it locates the specific slice containing the target data point, rolls back the sub-model to the last checkpoint before that slice was introduced, and resumes training from there using only the subsequent, cleaned slices.

Yan et al. demonstrate a similar mechanism in ARCANE: An Efficient Architecture for Exact Machine Unlearning, showing that saving sequential states transforms global retraining into highly localized updates. By strategically grouping users with a high probability of deletion into the final slices of a model's training history, unlearning can become nearly instantaneous.

Adapting to Complex Structures: Graphs and Trees

The challenge of sharded isolation becomes more intricate when data points are structurally interconnected, such as in graph-structured data or decision trees, where a change in one node can propagate across the entire architecture.

Graph Neural Networks

In graph neural networks (GNNs), a single node's features propagate across edges to influence neighboring nodes during message passing. To prevent a deletion request from corrupting the entire network, Chen et al. introduced GraphEraser in Graph Unlearning, which uses balanced graph partitioning to isolate subgraphs into distinct shards.

Similarly, Wang et al. proposed Inductive Graph Unlearning to confine node influence to specific submodels, while Guo et al. applied this to spatio-temporal graphs in Efficient Unlearning for Spatio-temporal Graph (Student Abstract). By retraining only the sub-model associated with the partitioned subgraph, graph unlearning avoids full network contamination. Miao et al. mirror this in Graph Memory Learning: Imitating Lifelong Remembering and Forgetting of Brain Networks, using specialized modular shards to prevent the loss of unrelated knowledge when a node is retracted.

Decision Trees and Probabilistic Networks

For non-neural architectures like decision trees, Brophy et al. developed DaRE Forests in Machine Unlearning for Random Forests. By caching data statistics at tree nodes and using strategically placed random splits, they allow surgical modifications to the tree structure, ensuring exact unlearning without full reconstruction.

In structural probabilistic models, Liebig demonstrated in Certified Data Removal in Sum-Product Networks that partitioning data into distinct hierarchical branches confines the impact of a single data point to specific sub-trees, enabling localized updates.

Scaling to Large Models via Parameter-Efficient Modules

For Large Language Models (LLMs) and large vision models, training even a single sub-model shard from scratch is prohibitively expensive. To scale exact unlearning, recent frameworks combine data sharding with Parameter-Efficient Fine-Tuning (PEFT).

Instead of partitioning the entire model architecture, the heavy base model parameters are kept completely frozen. Sharding is applied exclusively to lightweight, modular add-ons like LoRA adapters or prompt tokens.

[ Input Data ] ───> [ Frozen Base Model ] ───┬───> [ LoRA Adapter 1 (Shard 1) ] ──┐
                                             ├───> [ LoRA Adapter 2 (Shard 2) ] ──┼─> Aggregator
                                             └───> [ LoRA Adapter 3 (Shard 3) ] ──┘

For instance, in Exact and Efficient Unlearning for Large Language Model-based Recommendation, Hu et al. introduced the Adapter Partition and Aggregation (APA) framework. By training independent LoRA adapters on distinct semantic data shards, a deletion request only requires retraining a single parameter-efficient adapter.

Similarly, Xu et al. proposed LMEraser in LMEraser: Large Model Unlearning via Adaptive Prompt Tuning, which confines data influence to small, independent sets of learnable prompt tokens.

In the context of layer-based isolation, the authors of Towards Scalable Exact Machine Unlearning Using Parameter-Efficient Fine-Tuning introduced Sequence-aware Sharded Sliced Training ($S^3T$), which maps specific data slices directly to specific model layers, allowing the system to "unlearn" information simply by deactivating or adjusting the affected layers.

This modularity allows the model to adapt dynamically, matching the vision of Caso in Composable Sparse Subnetworks via Maximum-Entropy Principle, where models built from independent sparse modules facilitate seamless component removal or addition without catastrophic forgetting.

System Trade-offs: Accuracy, Aggregation, and Fairness

While sharded isolation provides an elegant solution for exact unlearning, it introduces unique system-level trade-offs that researchers must balance.

Aggregation Overhead and Accuracy

Ensembling independent sub-models can sometimes degrade performance compared to a single model trained on the joint dataset, because individual sub-models lack a holistic view of the data. To mitigate this, advanced aggregation strategies are required to optimize the collaborative output of the shards.

Examples include the error decomposition methods proposed by Li et al. in UltraRE: Enhancing RecEraser for Recommendation Unlearning via Error Decomposition, the session-based aggregation updates analyzed by Xin et al. in On the Effectiveness of Unlearning in Session-Based Recommendation, and information-theoretic coded shards introduced by Aldaghri et al. in Coded Machine Unlearning.

Furthermore, in distributed settings, Lin et al. demonstrate in Scalable Federated Unlearning via Isolated and Coded Sharding that combining isolated sharding with coded computing can reduce server storage overhead by up to 98% while preserving accuracy.

Fairness and Robustness

Splitting data into shards can inadvertently alter the data distribution within individual sub-models, creating downstream impacts on model bias. As explored by Zhang et al. in To be forgotten or to be fair: unveiling fairness implications of machine unlearning methods and benchmarked by Chen et al. in CURE4Rec: A Benchmark for Recommendation Unlearning with Deeper Influence, targeted data deletions (such as removing core vs. edge users) can shift a model's fairness profile.

Crucially, however, sharded architectures like SISA often prove more robust against these fairness distortions than naive retraining from scratch. Because the impact of the deletion is strictly contained within a single shard, the global model resists the systemic behavioral shifts that can occur during full dataset updates.

By restructuring how models ingest data, sharded isolation transforms machine unlearning from an intractable optimization problem into a manageable data-routing problem, providing a mathematically exact path toward compliance with global privacy standards.

Key Foundational Work

Coded Machine Unlearning (2020) — contributed 1 concept elements to this direction.
Making AI Forget You: Data Deletion in Machine Learning (2019) — contributed 1 concept elements to this direction.
"Amnesia" - Machine Learning Models That Can Forget User Data Very Fast (2020) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 34 papers
  2. Version 1 · 2026-10-04 · 56 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_modular_retraining_05fac7c4,
  title = {modular retraining},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/modular-retraining/rdr_05fac7c4f7c34d0486a0088b4fe7c3cc},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 2, frozen text):

@misc{lacuna_modular_retraining_05fac7c4_v2,
  title = {modular retraining},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/modular-retraining/rdr_05fac7c4f7c34d0486a0088b4fe7c3cc/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake