TL;DR
This paper introduces the Differentially Private Lottery Ticket Mechanism (DPLTM), a novel approach that combines the lottery ticket hypothesis with differential privacy. DPLTM significantly improves the privacy-utility trade-off in training neural networks by identifying and training smaller, high-performing subnetworks (tickets) in a privacy-preserving manner, leading to faster convergence and better accuracy.
What Problem Does This Paper Address?
Training neural networks on sensitive data, such as medical records, raises significant privacy concerns. While differential privacy (DP) offers a robust framework for protecting individual data, existing DP training methods, like Differentially Private Stochastic Gradient Descent (DPSGD), often suffer from a poor privacy-utility trade-off. This means that achieving strong privacy guarantees typically leads to a substantial degradation in model performance. A key reason for this is that DP methods often add noise to gradients, and this noise has a more pronounced effect on larger models with more parameters, leading to "clipping impact" and diminished utility, especially when tight privacy is required. The paper aims to bridge this gap by leveraging the lottery ticket hypothesis, which suggests that dense neural networks contain smaller subnetworks that can be trained in isolation to achieve comparable performance to the full network. The challenge is to adapt this hypothesis to a differentially private setting, ensuring the entire process, from ticket selection to training, is privacy-preserving.
Methods
The proposed Differentially Private Lottery Ticket Mechanism (DPLTM) is an end-to-end differentially private extension of the lottery ticket hypothesis, operating in three phases:
- Phase 1: Generating Lottery Tickets (Non-Private): This phase uses the standard, non-private lottery ticket mechanism. A neural network is trained, then a percentage of its weights (those with the smallest magnitude) are pruned. This process is repeated iteratively to generate multiple "tickets" – smaller subnetworks with a reduced number of parameters. For each ticket, its mask, initial parameters, and performance (accuracy on a test set) are stored.
- Phase 2: Selecting a Winning Ticket (Differentially Private): This is the core privacy-preserving step. The authors employ the Exponential Mechanism (EM) to select a winning ticket from the generated candidates. To balance the trade-off between model utility (accuracy) and model size (number of parameters), they introduce a custom score function: $S(C, A) = A \times (1 - \nu C)$, where $A$ is the accuracy, $C$ is the proportion of remaining parameters, and $\nu$ is a constant that controls the emphasis on parameter reduction. A higher score indicates a more desirable ticket. The EM uses this score function to sample a ticket with a probability proportional to the exponentiated score, ensuring differential privacy with budget $\epsilon_1$.
- Phase 3: Training the Winning Ticket (Differentially Private): The selected winning ticket is then trained using a differentially private approach. This is achieved by adapting the Differentially Private Stochastic Gradient Descent (DPSGD) method. However, because the winning ticket is already a significantly smaller subnetwork, the impact of gradient perturbation and noise addition is considerably reduced, leading to better utility compared to applying DPSGD to the full network. The privacy budget for this phase is $\epsilon_2$.
The overall privacy guarantee for DPLTM is the composition of the privacy budgets from Phase 2 and Phase 3, resulting in $(\epsilon_1 + \epsilon_2, \delta)$ differential privacy.
Datasets
The paper evaluates DPLTM on five publicly available datasets:
- MNIST
- HAR (Human Activity Recognition)
- Fashion-MNIST
- Kuzushiji-MNIST
- ISOLET
The authors note that for datasets without a predefined train/test split, an 80/20 split is used.
Key Insights and Ideas
- Bridging Lottery Tickets and Differential Privacy: The core innovation is the seamless integration of the lottery ticket hypothesis into a differentially private training framework. This allows for the benefits of smaller, efficient subnetworks to be realized while maintaining strong privacy guarantees.
- Custom Score Function for Ticket Selection: The introduction of a score function that balances accuracy and parameter count is crucial. This function allows the Exponential Mechanism to intelligently select "good" tickets, rather than relying on random chance, which is vital for achieving the improved privacy-utility trade-off.
- Reduced Noise Impact: By training smaller subnetworks, DPLTM inherently reduces the impact of the noise added for differential privacy. This is because the "clipping impact" on gradients is less severe for smaller models, leading to better utility.
- Faster Convergence and Early Stopping: The reduced noise and smaller model size lead to faster convergence. This enables early stopping, allowing for a reduction in the total privacy budget consumed while still achieving high accuracy.
- Ticket Transferability: The paper demonstrates that winning tickets identified through DPLTM can be transferred across datasets, domains, and architectures, suggesting potential for pre-training tickets on public data to reduce privacy costs on sensitive datasets.
Key Results
- Significant Utility Improvement: DPLTM consistently outperforms DPSGD across all tested datasets and privacy budgets, achieving an average improvement of 14% in accuracy. This gap widens as the privacy budget becomes tighter.
- Faster Convergence: DPLTM converges significantly faster than DPSGD, as evidenced by accuracy plots over epochs. This allows for early stopping, potentially saving privacy budget.
- Ticket Transferability: Winning tickets generated using DPLTM can be transferred to similar architectures and even different domains, maintaining performance advantages over DPSGD, especially under tight privacy constraints.
- Custom Score Function Advantage: Using the custom score function for winning ticket selection yields significantly better accuracy compared to randomly sampling a ticket, highlighting the effectiveness of the selection mechanism. For example, on MNIST with a tight privacy budget ($\epsilon=0.2$), DPLTM achieves 0.84 accuracy with a winning ticket versus 0.79 with a random ticket.
Limitations and Future Work
- Privacy Budget Split: The paper acknowledges that deciding on the optimal split of the privacy budget between ticket selection ($\epsilon_1$) and ticket training ($\epsilon_2$) is an important consideration. They advocate for dedicating a larger portion to training.
- Ticket Transfer Across Dissimilar Architectures: While ticket transfer is shown to be feasible, performance is noted to be worse when transferring across significantly different architectures or domains, with some "signal" lost.
- Future Work: The authors suggest focusing on:
- Detailed study of DPLTM for differentially private "transfer-learning."
- Further improving utility guarantees with extensions to other models, such as Generative Adversarial Networks (GANs).
Summary updated