Skip to main content
QUICK REVIEW

[Paper Review] MemGuard: Defending against Black-Box Membership Inference Attacks via Adversarial Examples

Jinyuan Jia, Ahmed Salem|arXiv (Cornell University)|Sep 23, 2019
Adversarial Robustness in Machine LearningComputer Science34 citations
TL;DR

MemGuard defends against black-box membership inference attacks by adding carefully crafted adversarial noise to confidence score vectors, with formal utility-loss guarantees and two-phase optimization. It does not require retraining the target classifier and improves privacy-utility tradeoffs over prior defenses.

ABSTRACT

In a membership inference attack, an attacker aims to infer whether a data sample is in a target classifier's training dataset or not. Specifically, given a black-box access to the target classifier, the attacker trains a binary classifier, which takes a data sample's confidence score vector predicted by the target classifier as an input and predicts the data sample to be a member or non-member of the target classifier's training dataset. Membership inference attacks pose severe privacy and security threats to the training dataset. Most existing defenses leverage differential privacy when training the target classifier or regularize the training process of the target classifier. These defenses suffer from two key limitations: 1) they do not have formal utility-loss guarantees of the confidence score vectors, and 2) they achieve suboptimal privacy-utility tradeoffs. In this work, we propose MemGuard, the first defense with formal utility-loss guarantees against black-box membership inference attacks. Instead of tampering the training process of the target classifier, MemGuard adds noise to each confidence score vector predicted by the target classifier. Our key observation is that attacker uses a classifier to predict member or non-member and classifier is vulnerable to adversarial examples. Based on the observation, we propose to add a carefully crafted noise vector to a confidence score vector to turn it into an adversarial example that misleads the attacker's classifier. Our experimental results on three datasets show that MemGuard can effectively defend against membership inference attacks and achieve better privacy-utility tradeoffs than existing defenses. Our work is the first one to show that adversarial examples can be used as defensive mechanisms to defend against membership inference attacks.

Motivation & Objective

  • Motivate the threat of membership inference attacks on black-box classifiers and the privacy risks to training datasets.
  • Propose MemGuard, a defense that adds noise to confidence scores with formal utility-loss guarantees.
  • Provide a two-phase method to craft and apply noise while preserving label integrity.
  • Show that MemGuard yields better privacy-utility tradeoffs than prior defenses on real-world datasets.

Proposed method

  • MemGuard adds a noise vector to the predicted confidence score vector without retraining the target classifier.
  • Phase I crafts a noise vector that turns the confidence vector into an adversarial example that drives the defender’s own classifier to random guessing, using a noise vector r that minimizes distortion with constraints.
  • Phase II applies the noise vector with a probability chosen to bound the expected distortion under an epsilon budget while maintaining the correct predicted label.
  • The approach uses an optimization framework with goals: minimize the attacker’s inference accuracy and bound utility loss measured by L1 distortion while preserving valid probability distributions.
  • The defense relies on the transferability of adversarial examples to affect black-box attackers without knowing the exact attack classifier.

Experimental results

Research questions

  • RQ1Can MemGuard provide formal utility-loss guarantees while defending against black-box membership inference attacks?
  • RQ2How can adversarial examples be crafted to respect confidence score utility constraints and preserve the predicted label?
  • RQ3Does applying MemGuard improve privacy-utility tradeoffs compared to existing defenses on real-world data?
  • RQ4Is the defense effective when the attacker uses black-box membership inference attacks and possibly adversarially trained attackers?

Key findings

  • MemGuard achieves effective defense against state-of-the-art black-box membership inference attacks.
  • With larger allowed noise, MemGuard reduces attacker inference accuracy more than existing defenses for the same average distortion.
  • MemGuard provides better privacy-utility tradeoffs than prior defenses on the tested datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.