TL;DR
This paper exposes a critical privacy vulnerability in classification models: the output label space itself can act as a data-leaking side-channel, especially in continual learning settings where new classes are added over time. To fix this, the authors introduce a formal framework for task-wise differential privacy in continual learning and propose two robust solutions—privately releasing labels via noisy thresholding or utilizing a data-independent public prior label space.
What Problem Does This Paper Address?
Differential Privacy (DP) is excellent at ensuring machine learning models don't memorize sensitive training data through their weights. However, models don't exist in a vacuum; they are part of larger systems with input preprocessing, model filtering, and post-processing pipelines. This paper identifies a subtle but potentially catastrophic privacy side-channel: the output label space (the set of classes a model is configured to predict).
In Continual Learning (CL), models learn from a sequential stream of tasks over time, frequently encountering new classes. If a system naively expands its output label space whenever a new class appears in the sensitive training data, an attacker can instantly deduce the presence of that unique label (and thus, a specific individual's data) just by observing what classes the model is capable of predicting. Prior work in DP-CL completely overlooked this side-channel, assuming a fixed or magically known label space, which completely invalidates formal DP guarantees.
Methods
The authors formalize Task-wise Differential Privacy for continual learning to properly reason about privacy when data arrives sequentially. They then propose two main strategies to eliminate the label space side-channel:
- Privately Released Labels ($\text{S}_{\text{learned}}$): This method treats label selection as a private partition problem. It uses an optimal DP mechanism (noisy thresholding with a truncated symmetric geometric distribution) to decide whether a class has enough samples to be safely included in the output space. This requires splitting the privacy budget ($\epsilon$) between label selection and model training.
- Data-Independent Public Labels ($\text{S}_{\text{prior}}$): This method completely decouples the output space from the sensitive dataset by using a large, pre-defined public label set (e.g., all ImageNet classes). Sensitive labels that don't match the public set are either remapped using known hierarchical relationships or dropped entirely.
To evaluate these strategies on challenging benchmarks, the authors adapt two pre-trained model architectures to the DP-CL setting:
- Cosine Similarity Classifier: Uses a frozen pre-trained model as a feature extractor and accumulates class-specific feature vectors under DP using the Gaussian mechanism.
- Parameter-Efficient Fine-Tuning (PEFT) Ensemble: Fine-tunes task-specific models using DP-SGD with FiLM (Feature Modulation) adapters, keeping the backbone frozen to maximize utility under tight privacy constraints.
Datasets
The methods were evaluated using standard continual learning setups:
- Split-CIFAR-100: The standard CIFAR-100 dataset split into 10 sequential tasks, each containing 10 classes.
- Split-ImageNet-R: A collection of 30,000 images containing various artistic renditions of 200 ImageNet classes, split into 10 tasks with 20 classes each. This introduces realistic class imbalances and domain shift challenges.
- 5-Dataset: A benchmark concatenating five distinct datasets (MNIST, SVHN, notMNIST, FashionMNIST, and CIFAR-10) as 5 separate tasks to test performance under massive domain shifts.
Key Insights and Ideas
- The Naive Approach is Catastrophic: Simply adding a class label to a model's architecture when it appears in a dataset yields a 100% successful worst-case privacy attack accuracy, completely breaking DP guarantees even if the weights themselves are perfectly private.
- The Privacy Budget Split Trade-off: When using the $\text{S}_{\text{learned}}$ mechanism, spending too little budget on label release means small classes get dropped and can't be learned. Spending too much budget leaves too little for training the weights, introducing excessive noise.
- Public Prior Spaces Scale Well: Counterintuitively, artificially inflating the public label space up to $1000\times$ its original size does not significantly degrade model utility, making $\text{S}_{\text{prior}}$ an incredibly robust choice if a reasonable public label set is available.
- Architecture Matters Under Blurriness: In realistic "blurry" CL settings (where classes reappear across different tasks), the Cosine Classifier is invariant to how data is split across tasks, whereas the PEFT Ensemble suffers because it has less data per task to reliably fine-tune parameters under DP-SGD.
Key Results
- Outperforming Prior Work: Both the Cosine Classifier and PEFT Ensemble consistently achieved higher final accuracy than previous DP-CL baselines (e.g., Desai et al., 2021) across Split-CIFAR-100 and Split-ImageNet-R, despite operating under a much stricter and safer privacy model that doesn't store non-DP memory buffers.
- High Accuracy under Strict Privacy: On Split-CIFAR-100 with a strict privacy budget of $\epsilon = 1$, the proposed PEFT Ensemble achieved a median final accuracy of 79.0% using the private label release method, matching the performance of an unprotected label oracle baseline.
- Robustness to Large Label Spaces: Using a public label space ($\text{S}_{\text{prior}}$) that was $1000\times$ larger than the base dataset resulted in virtually no drop in final accuracy compared to a smaller $10\times$ space, proving that massive data-independent label spaces are practically viable.
Limitations and Future Work
- Synthetic Data Omission: The authors explicitly chose not to explore generative DP synthetic data methods to mitigate forgetting, leaving this as an open avenue for future integration.
- Heuristic Budget Splitting: While the paper provides empirical guidance for splitting the privacy budget between label selection and weight training (suggesting a 10% allocation for label release), a rigorous theoretical analysis to find the mathematically optimal split remains future work.
- Remapping Dependencies: The $\text{S}_{\text{prior}}$ method relies on knowing label relationships (like hierarchies) to remap unmatched classes effectively; without this prior knowledge, dropping unmatched classes can harm utility.
Summary updated