Skip to main content
QUICK REVIEW

[Paper Review] How Does Data Augmentation Affect Privacy in Machine Learning?

Dahua Yu, Huishuai Zhang|arXiv (Cornell University)|Jul 21, 2020
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This paper challenges the assumption that data augmentation reduces privacy risks in machine learning by demonstrating that membership inference (MI) attacks can be significantly more effective when targeting models trained with augmented data. The authors propose a novel set classification approach that treats augmented data instances as a set, using permutation-invariant features and threshold-based or neural network classifiers, achieving a 70.1% MI success rate on CIFAR-10—surpassing previous state-of-the-art even on models trained without augmentation.

ABSTRACT

It is observed in the literature that data augmentation can significantly mitigate membership inference (MI) attack. However, in this work, we challenge this observation by proposing new MI attacks to utilize the information of augmented data. MI attack is widely used to measure the model's information leakage of the training set. We establish the optimal membership inference when the model is trained with augmented data, which inspires us to formulate the MI attack as a set classification problem, i.e., classifying a set of augmented instances instead of a single data point, and design input permutation invariant features. Empirically, we demonstrate that the proposed approach universally outperforms original methods when the model is trained with data augmentation. Even further, we show that the proposed approach can achieve higher MI attack success rates on models trained with some data augmentation than the existing methods on models trained without data augmentation. Notably, we achieve a 70.1% MI attack success rate on CIFAR10 against a wide residual network while the previous best approach only attains 61.9%. This suggests the privacy risk of models trained with data augmentation could be largely underestimated.

Motivation & Objective

  • To re-evaluate the widely held belief that data augmentation mitigates membership inference (MI) attacks in machine learning models.
  • To formalize optimal membership inference under data augmentation from a Bayesian perspective, showing that the set of augmented instances should be used rather than individual samples.
  • To design practical MI attack algorithms that outperform existing methods when models are trained with data augmentation.
  • To empirically demonstrate that models trained with data augmentation can be more vulnerable to MI attacks than models trained without it.
  • To provide theoretical bounds on MI success rates using group differential privacy, showing that privacy guarantees do not improve with increased augmentation.

Proposed method

  • Formulate membership inference as a set classification problem, where the input is a set of loss values from augmented versions of a given data point.
  • Propose a threshold-based method that uses the average loss across augmented instances as a decision statistic, inspired by the theoretical optimal inference.
  • Design a neural network classifier with permutation-invariant features to process sets of augmented loss values, ensuring invariance to the order of inputs.
  • Derive theoretical bounds on optimal membership inference using Bayesian posterior probabilities and group differential privacy.
  • Establish that the upper bound on membership inference success rate remains unchanged under $\frac{\epsilon}{k}$-differential privacy when $k$ augmented versions exist, contradicting prior assumptions of improved privacy with augmentation.
  • Use loss values as the primary input signal, as they are shown to be more effective than logits for MI attacks in prior work (Sablayrolles et al., 2019).

Experimental results

Research questions

  • RQ1Does data augmentation truly reduce the risk of membership inference attacks, or does it inadvertently increase it by introducing new attack surface?
  • RQ2What is the optimal membership inference strategy when models are trained on augmented data, and how does it differ from single-instance inference?
  • RQ3Can a set-based membership inference approach outperform existing methods on models trained with data augmentation?
  • RQ4How does group differential privacy relate to the theoretical upper bound of membership inference success rates in the presence of data augmentation?
  • RQ5Can membership inference success rates on models trained with data augmentation exceed those on models trained without it?

Key findings

  • The proposed set-based membership inference attack achieves a 70.1% success rate on a wide residual network trained on CIFAR-10 with over 95% test accuracy, significantly outperforming the previous state-of-the-art of 61.9%.
  • The new attack methods universally outperform existing MI algorithms when applied to models trained with data augmentation.
  • Even models trained without data augmentation are outperformed by the proposed method when applied to models trained with data augmentation, indicating that data augmentation may not reduce privacy risk as previously believed.
  • Theoretical analysis shows that the upper bound on membership inference success rate remains $\sigma(\epsilon + \log(q/(1-q)))$ under $\frac{\epsilon}{k}$-differential privacy, regardless of the number of augmentations $k$, contradicting prior assumptions of improved privacy with larger $k$.
  • The use of permutation-invariant features in the neural network classifier is critical for performance, as it ensures robustness to the order of augmented instances.
  • The study reveals that data augmentation can amplify privacy leakage rather than mitigate it, suggesting that current privacy evaluation practices may be fundamentally flawed.

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.