Abstract
Deep Neural Networks (DNNs) are increasingly deployed via Machine Learning as a Service (MLaaS), raising significant privacy concerns regarding sensitive training data and model intellectual property. This survey provides a comprehensive taxonomy of the "ML privacy game," categorizing adversarial inference attacks—membership, property, inversion, and extraction—alongside defensive strategies like differential privacy, watermarking, and cryptographic techniques. We analyze the trade-offs between model utility and privacy, highlighting the current state of the art and future research directions.
Introduction: The MLaaS Privacy Dilemma
The computational demands of Deep Neural Networks have popularized Machine Learning as a Service (MLaaS), where users outsource training and inference to cloud providers. While convenient, this paradigm exposes sensitive datasets (e.g., medical or financial records) and valuable models to potential exploitation. This survey systematically reviews how privacy is compromised and protected across the three core phases of the DNN lifecycle: data manipulation, training, and prediction.
The ML Privacy Game: Taxonomy of Attacks and Defenses
The interaction between adversaries and protectors in the DNN ecosystem can be viewed as a "privacy game." The survey categorizes this field into two opposing forces: attackers seeking to infer information and defenders attempting to mitigate these leaks.
Adversarial Tactics
- Membership Inference (MInf): Determining if a specific record was part of the training set. Even black-box access can yield precision over 60% and recall near 100%.
- Property Inference (PInf): Deducing statistical traits of the training set (e.g., the percentage of participants with a specific trait).
- Model Inversion (MInv): Reconstructing training samples or representative data from model outputs.
- Model Extraction (MExt): "Stealing" model functionality or parameters. Research shows "knockoff" models can be created for as little as $30 in API costs.
Defensive Pillars
- Differential Privacy (DP): Masking individual contributions via mathematical noise added to gradients or data.
- Adversarial Machine Learning (AML): Using min-max games to train models that are inherently robust against inference.
- Watermarking: Embedding hidden signatures into parameters to prove ownership, remaining detectable even after pruning or fine-tuning.
- Cryptographic Techniques: Utilizing Homomorphic Encryption (HE) and Secure Multi-Party Computation (MPC). Breakthroughs like QUOTIENT have shown these can be up to 5500x faster than previous implementations.
Key Insights and Trade-offs
A central finding is the Utility-Privacy Trade-off: stronger defenses often degrade model accuracy. Furthermore, overfitting is a primary vulnerability; models that memorize training data are far more susceptible to membership inference. The survey also highlights the distinction between active and passive attacks, particularly in collaborative learning where malicious participants can "poison" models to leak information.
Results and Future Challenges
While efficiency in defense is improving, several "frontier" challenges remain:
- Explainability vs. Privacy: Providing model interpretations often inadvertently leaks training data details.
- Scalability: Most research currently focuses on shallow networks; scaling defenses to massive architectures is an open problem.
- Robustness Conflict: Training for adversarial robustness (against misclassification) can sometimes increase vulnerability to privacy attacks.
Future work must focus on "safe transparency" and balancing the inherent tensions between model interpretability, robustness, and privacy.
Summary updated