ML-Doctor: Holistic Risk Assessment of Inference Attacks Against Machine Learning Models

Yugeng Liu, Rui Wen, Xinlei He, Ahmed Salem, Zhikun Zhang +4 more
2/4/2021
cs.CRcs.AIcs.LG

Official code: liuyugeng/ML-Doctor (93 stars, Python, Apache-2.0, last commit 2024-08-14).

Abstract

Inference attacks against Machine Learning (ML) models allow adversaries to learn sensitive information about training data, model parameters, etc. While researchers have studied, in depth, several kinds of attacks, they have done so in isolation.

Show full abstract

As a result, we lack a comprehensive picture of the risks caused by the attacks, e.g., the different scenarios they can be applied to, the common factors that influence their performance, the relationship among them, or the effectiveness of possible defenses. In this paper, we fill this gap by presenting a first-of-its-kind holistic risk assessment of different inference attacks against machine learning models. We concentrate on four attacks -- namely, membership inference, model inversion, attribute inference, and model stealing -- and establish a threat model taxonomy. Our extensive experimental evaluation, run on five model architectures and four image datasets, shows that the complexity of the training dataset plays an important role with respect to the attack's performance, while the effectiveness of model stealing and membership inference attacks are negatively correlated. We also show that defenses like DP-SGD and Knowledge Distillation can only mitigate some of the inference attacks. Our analysis relies on a modular re-usable software, ML-Doctor, which enables ML model owners to assess the risks of deploying their models, and equally serves as a benchmark tool for researchers and practitioners.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for ML Doctor

9324PythonAug 17, 20212 years agoApache-2.0
attribute-inference-attackdifferential-privacyknowledge-distillationmachine-learningmembership-inference-attack+2 more

Similar Papers

Cite this paper

@article{liu2021mldoctor,
  title  = {ML-Doctor: Holistic Risk Assessment of Inference Attacks Against Machine Learning Models},
  author = {Yugeng Liu and Rui Wen and Xinlei He and Ahmed Salem and Zhikun Zhang and Michael Backes and Emiliano De Cristofaro and Mario Fritz and Yang Zhang},
  year   = {2021},
  eprint = {2102.02551},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.02551}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.02551.svg)](https://codeofpaper.com/paper/2102.02551)

Discussion