A Novel Self-Distillation Architecture to Defeat Membership Inference Attacks

Xinyu Tang, Saeed Mahloujifar, Liwei Song, Virat Shejwalkar, Milad Nasr, Amir Houmansadr, Prateek MittalPRIML @ NeurIPS 2021

TL;DR

This paper introduces SELENA, a novel self-distillation framework designed to defend against membership inference attacks (MIAs) that threaten the privacy of machine learning models. SELENA combines a unique ensemble architecture (Split-AI) with a self-distillation process to achieve strong privacy guarantees while maintaining high model utility, outperforming existing defenses.

What Problem Does This Paper Address?

Machine learning models, while powerful, can inadvertently memorize sensitive information from their training data. Membership Inference Attacks (MIAs) exploit this memorization by attempting to determine if a specific data point was part of the model's training set. This poses a significant privacy risk, as it could reveal sensitive information, such as a patient's presence in a hospital's training data. Existing defenses often fall into two categories: provable privacy (like Differential Privacy) which can significantly degrade model accuracy, or empirical defenses that offer less robust protection against sophisticated attacks. This paper addresses the challenge of achieving both strong privacy against a wide range of MIAs and high model utility, particularly in scenarios where public datasets are unavailable for training privacy-preserving models.

Methods

SELENA is built upon two core components:

  • Split-AI: This is a novel ensemble architecture. Instead of training a single model, Split-AI trains multiple "sub-models" on different, randomly selected subsets of the training data. During inference, for any given input, Split-AI only uses the sub-models that were not trained on that specific input. The intuition is that sub-models not exposed to a particular data point will behave similarly whether that point was in the original training set or not, thus obscuring membership information. The authors provide a formal proof that Split-AI defends against direct, single-query MIAs.
  • Self-Distillation: To overcome the limitations of Split-AI against more advanced adaptive attacks and reduce inference overhead, a second component is introduced. This component uses the outputs (soft labels) from the Split-AI ensemble on the exact same training dataset to train a new, single model. This "self-distillation" process leverages the privacy-preserving properties learned by Split-AI and consolidates them into a single, more efficient model, while also mitigating the vulnerabilities of Split-AI to adaptive attacks.

Datasets

The authors evaluated SELENA on three widely used benchmark datasets for membership inference attacks:

  • CIFAR100: A dataset of 32x32 color images across 100 classes.
  • Purchase100: A dataset derived from shopping records, featuring binary features indicating product purchases, clustered into 100 classes representing purchase styles.
  • Texas100: A dataset containing information from hospital discharge records, used for classifying procedures.

Key Insights and Ideas

  • Inducing Similar Behavior is Key: The core idea behind SELENA is to make the model's behavior indistinguishable for training members and non-members. Split-AI achieves this by ensuring that any prediction for a data point is made by models that did not see that data point during training.
  • Self-Distillation for Robustness and Efficiency: While Split-AI provides a strong defense against simpler attacks, it's vulnerable to adaptive attacks. Self-distillation acts as a crucial second layer, distilling the privacy learned by Split-AI into a single model that is more robust to these advanced threats and also more efficient for inference.
  • No Reliance on Public Data: A significant advantage of SELENA is that it does not require external public datasets for its privacy-preserving training, making it applicable in privacy-sensitive domains like healthcare.
  • Trade-off Management: The paper demonstrates that SELENA achieves a better trade-off between membership privacy and model utility compared to existing methods, particularly when compared to defenses that rely on differential privacy or adversarial regularization.

Key Results

  • SELENA significantly reduces membership inference attack accuracy across various attack types (direct single-query, label-only, and adaptive attacks).
  • On Purchase100, SELENA achieves a best attack accuracy of 54.3%, compared to MemGuard at 65.8% and AdvReg at 57.4%.
  • On Texas100, SELENA achieves a best attack accuracy of 55.1%, compared to MemGuard at 64.7% and AdvReg at 60.5%.
  • On CIFAR100, SELENA achieves a best attack accuracy of 58.3%, compared to MemGuard at 69.9% and AdvReg at 59.0%.
  • The test accuracy drop for SELENA is minimal (at most 3.9%), indicating high model utility. This is in contrast to DP-SGD, which can incur much larger utility drops (13.2% - 27.5%).
  • SELENA effectively reduces the generalization gap, a measure related to overfitting and privacy leakage, by a significant factor compared to undefended models and adversarial regularization.

Limitations and Future Work

  • Theoretical Guarantees for Adaptive Attacks: While SELENA is empirically shown to be robust against adaptive attacks, the paper notes that the theoretical analysis primarily covers direct single-query attacks. Extending these provable guarantees to more complex, multi-query, or adaptive attacks remains an open area.
  • Dataset Sensitivity: The authors acknowledge that for certain highly specific datasets (e.g., where two distinct data points are almost identical but have different labels), SELENA might not offer provable privacy against multi-query attacks. However, they argue this scenario is unlikely in real-world applications.
  • Future Work: The authors suggest exploring theoretical analysis for multi-query attacks on datasets satisfying specific assumptions and investigating the application of SELENA in more complex scenarios. They also highlight that the training cost of SELENA, while higher than a single model, is becoming more acceptable with advancements in GPU technology and can be mitigated by parallelization.

Summary updated

BibTeX
@inproceedings{tang2021novel,
  author = {Xinyu Tang and Saeed Mahloujifar and Liwei Song and Virat Shejwalkar and Milad Nasr and Amir Houmansadr and Prateek Mittal},
  title = {{A Novel Self-Distillation Architecture to Defeat Membership Inference Attacks}},
  booktitle = {PRIML @ NeurIPS},
  year = {2021},
  url = {https://openreview.net/forum?id=eKkpcdSA52W},
}
Figure