Abstract
Neural networks suffer from "catastrophic forgetting" when sequentially trained on new tasks, posing a significant challenge for institutions bound by privacy regulations that require the deletion of historical data. This paper introduces Differentially Private Variational Generative Experience Replay (DP-VGER), a framework that utilizes differentially private GANs to generate synthetic versions of deleted data. This approach allows models to retain knowledge of past tasks while adhering to strict $(\epsilon, \delta)$-differential privacy guarantees.
Introduction
In many real-world applications, machine learning models must be trained continually as new data arrives. However, neural networks are notoriously prone to catastrophic forgetting—they rapidly lose the ability to perform old tasks when trained on new ones. The standard solution, experience replay, involves maintaining a buffer of old data. However, legal and ethical frameworks such as GDPR and HIPAA often mandate that sensitive personal data be deleted after its initial use. This creates a conflict between the need for model continuity and the requirement for data privacy.
Methodology
DP-VGER addresses this conflict through a dual-memory continual learning system based on Variational Inference (VI). While standard VI approaches for continual learning use the previous task's posterior as the current task's prior, this causes privacy costs to accumulate over time. DP-VGER instead adopts a "likelihood-focused" approach:
- Generative Replay: The model approximates the log-likelihood of past (deleted) datasets using a Generative Adversarial Network (GAN) trained on the data before its removal.
- Differential Privacy (DP): The GAN is trained using a
dp-GANframework, which employs gradient clipping and Gaussian noise to provide mathematical guarantees against data leakage. - Public Data Anchoring: To stabilize the noisy training process of DP-GANs, the authors utilize a small fraction (1%) of the dataset as "public" data. This anchor is used to pre-train the model and establish gradient clipping bounds.
Experimental Results
The framework was evaluated on the Split MNIST benchmark, involving five sequential tasks. The authors employed a challenging single-output-head configuration for all tasks to test the limits of the model's memory.
As illustrated in the figure above, DP-VGER successfully mitigates catastrophic forgetting. Key observations include:
- Superiority over VCL: Standard Variational Continual Learning (VCL only, black line) shows a drastic decline in accuracy as tasks progress. DP-VGER maintains significantly higher performance across the sequence.
- Utility of Private Data: DP-VGER configurations with 1% public data (blue and green lines) consistently outperform the "Public only" baseline (yellow line). This proves that the DP-GAN successfully extracts and transfers useful knowledge from the private data beyond what is available in the small public sample.
- The Public Data Dependency: Without the 1% public data anchor (cyan line), the performance of the differentially private GAN degrades significantly, even with a more relaxed privacy budget ($\epsilon=5$).
Discussion and Limitations
While DP-VGER demonstrates that synthetic data can effectively prevent forgetting under privacy constraints, it remains reliant on a small amount of public data for stability. Without this anchor, the noise required for differential privacy severely impacts the quality of the generated data, causing performance to plummet. Future research is needed to develop more robust DP generative models that can function effectively without public data proxies.
Summary updated