Privacy-Aware Lifelong Learning

Ozan Ozdenizci, Elmar Rueckert, Robert Legenstein

Introduction

Machine learning models are increasingly expected to learn continuously from a stream of data while simultaneously adhering to strict privacy regulations like the GDPR's "right to be forgotten." This creates a fundamental conflict: lifelong learning aims to retain knowledge over time, while unlearning requires the complete removal of specific information. Traditional lifelong learning methods often discard historical data to save memory, making retraining from scratch—the gold standard for unlearning—impossible. This paper introduces Privacy-Aware Lifelong Learning (PALL), a method designed to achieve exact unlearning and zero catastrophic forgetting within a single, memory-efficient model.

Methodology: Sparse Subnetworks and Selective Repair

PALL addresses the tension between knowledge retention and data deletion through a hybrid architecture-based and rehearsal-based approach.

Task-Specific Subnetworks

Instead of utilizing the entire network for every task, PALL identifies a sparse subset of parameters (a binary mask) for each new task. Once a task is learned, its associated parameters are frozen to prevent catastrophic forgetting.

Knowledge Transfer and Unlearning

To maintain efficiency, new tasks can "read" from the frozen weights of previous tasks, enabling forward knowledge transfer. When an unlearning request for a specific task arrives, PALL surgically resets the parameters unique to that task's mask.

The PALL framework: sequentially learning tasks using sparse subnetworks and unlearning a task by resetting its specific parameters.

Episodic Memory for Repair

Resetting shared weights can degrade the performance of subsequent tasks that relied on them. To mitigate this, PALL maintains a minimal episodic memory buffer. Following an unlearning event, the model undergoes a brief "repair" phase using this buffer to restore performance on dependent tasks, typically requiring retraining of only 1% to 4% of the model's parameters.

Experimental Results

The authors evaluated PALL on sequential versions of CIFAR10, CIFAR100, and TinyImageNet. The results demonstrate that PALL successfully balances privacy and performance.

Performance comparison of PALL against baseline lifelong learning methods across three benchmarks.

Key Findings:

  • Exact Unlearning: As shown in the results table, PALL achieves "Exact" unlearning ($A_u$), meaning the model's performance on forgotten tasks is reduced to random-chance levels, providing a mathematical guarantee of privacy.
  • Zero Forgetting: By freezing task-specific weights, PALL maintains a forgetting metric ($\mathcal{F}_l$) of 0.0 for all retained tasks.
  • Competitive Accuracy: PALL matches or exceeds the accuracy ($A_l$) of independent model baselines by leveraging knowledge transfer, despite the constraints of a shared architecture.
  • Memory Efficiency: PALL is significantly more scalable than training separate models. For a 100-task sequence on TinyImageNet, it is up to 12x more memory-efficient than the independent baseline.

Discussion and Future Work

PALL demonstrates that architectural isolation via subnetworks is a powerful tool for privacy-preserving AI. By physically separating task knowledge, the model can surgically remove data without the need for full retraining.

Current limitations include a reliance on Task-IDs at inference time and the "coarse" nature of unlearning entire tasks rather than individual samples. Future research will explore combining PALL with differential privacy to enable sample-level deletion and extending the framework to domains like Natural Language Processing.

Summary updated

BibTeX
@inproceedings{ozdenizci2025privacy,
  author = {Ozan Ozdenizci and Elmar Rueckert and Robert Legenstein},
  title = {{Privacy-Aware Lifelong Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=UstOpZCESc},
}
Figure