Abstract
Malicious adversaries can attack machine learning models to infer sensitive information or damage the system by launching a series of evasion attacks. Although various work addresses privacy and security concerns, they focus on individual defenses, but in practice, models may undergo simultaneous attacks. This study explores the combination of adversarial training and differentially private training to defend against simultaneous attacks. While differentially-private adversarial training, as presented in DP-Adv, outperforms the other state-of-the-art methods in performance, it lacks formal privacy guarantees and empirical validation. Thus, in this work, we benchmark the performance of this technique using a membership inference attack and empirically show that the resulting approach is as private as non-robust private models. This work also highlights the need to explore privacy guarantees in dynamic training paradigms.
Introduction
Machine learning models are increasingly vulnerable to two distinct yet often overlapping threats: privacy leaks and adversarial evasion. Privacy attacks, such as Membership Inference Attacks (MIA), aim to determine if a specific individual's data was part of a model's training set. Evasion attacks involve crafting "adversarial examples"—inputs with imperceptible perturbations designed to trick a model into misclassification.
Defending against both simultaneously is difficult because techniques for one often compromise the other. Differential Privacy (DP) introduces noise that can increase sensitivity to adversarial perturbations, while Adversarial Training (AT) can lead to overfitting on robust features, inadvertently increasing privacy leakage. This paper provides an empirical "stress test" for DP-Adv, an algorithm designed to bridge this gap.
Methodology
The authors evaluate DP-Adv, which integrates two primary defense mechanisms:
- Adversarial Pre-processing: During each training epoch, "clean" training images are replaced with adversarial versions generated using the Projected Gradient Descent (PGD) method.
- Differentially Private SGD (DPSGD): The model updates are performed using DPSGD, which includes gradient clipping and the addition of Gaussian noise to ensure differential privacy.
The evaluation focuses on the model's resistance to a "shadow model" based Membership Inference Attack across three datasets: MNIST, Fashion-MNIST (FMNIST), and CIFAR10.
Empirical Results
The core finding of this study is that DP-Adv successfully protects training data privacy, even when subjected to adversarial training.
Privacy and Robustness Trade-offs
On the CIFAR10 dataset, the Membership Inference Attack (MIA) accuracy for DP-Adv remained at approximately 50%, which is equivalent to a random guess. This indicates that the attack failed to extract meaningful private information. In contrast, models trained solely with adversarial training (without DP) were highly vulnerable, reaching MIA accuracies as high as 77%.
While DP-Adv provides strong privacy, it does incur a "robustness tax." For CIFAR10, the test accuracy was 43.08% and adversarial accuracy was 24.37%. The added DP noise "blurs" the decision boundaries that adversarial training attempts to sharpen, leading to lower utility compared to non-private robust models.
Group Privacy and Class-wise Stability
A significant concern with DP-Adv was whether the use of non-private optimizers to generate adversarial samples might leak information about groups of data. The authors investigated class-wise MIA accuracy and found it remained stable between 50% and 52% across all classes in CIFAR10. This suggests that adversarial samples do not facilitate group-level leakage.
Discussion and Insights
The empirical success of DP-Adv can be attributed to the post-processing property of Differential Privacy: if the training process is DP, subsequent pre-processing steps should not theoretically break privacy. Furthermore, the "dynamic training paradigm" of DP-Adv—where new adversarial samples are generated every epoch—prevents the model from seeing the exact same data twice, mitigating the overfitting that MIA typically exploits.
Conclusion
This work demonstrates that DP-Adv is as private as standard non-robust private models while offering a necessary layer of security against evasion attacks. However, the utility gap on complex datasets remains a challenge. Future research should focus on reducing the utility loss associated with privacy noise and developing formal mathematical frameworks for dynamic training paradigms where data effectively changes at every iteration.
Summary updated