Boosting Model Inversion Attacks With Adversarial Examples

Shuai Zhou, Tianqing Zhu, Dayong Ye, Xin Yu, Wanlei Zhou

TL;DR

This paper tackles the problem of low "attack accuracy" in model inversion attacks, where reconstructed data is hard for other models to classify. They propose a novel training paradigm for learning-based inversion attacks that uses a regularized loss function and adversarial augmentation to significantly boost the accuracy of reconstructed data, making them more useful for downstream malicious tasks.

What Problem Does This Paper Address?

Machine learning models are increasingly offered as services (MLaaS), raising privacy concerns. Model inversion attacks aim to reconstruct the original training data from these models, potentially exposing sensitive information. While various model inversion techniques exist, learning-based methods, which are more practical (black-box access), often suffer from low "attack accuracy." This means the reconstructed data, while visually similar to the original, is poorly classified by machine learning models, limiting its utility for further attacks like bypassing facial recognition. The authors argue that this low attack accuracy has led to an underestimation of the threat posed by these attacks. They investigate why this low accuracy occurs and propose a method to overcome it.

Methods

The authors propose a new training paradigm for learning-based model inversion attacks, focusing on two key components:

  1. Regularized Loss Function (Semantic Loss): Traditional methods often use Mean Squared Error (MSE) to minimize pixel-wise differences. The authors argue this overlooks crucial "class-related parts" (semantic information) of the data. They introduce a "semantic loss" (Ls) that penalizes misclassifications of the reconstructed data. This is achieved by training a "shadow model" that mimics the target model and using cross-entropy loss between the shadow model's predictions on reconstructed data and the original labels. This combined loss (Lr + λLs) encourages the inversion model to reconstruct data that is both pixel-wise similar and semantically meaningful for classification.
  2. Adversarial Augmentation: To further emphasize class-related parts and increase data diversity, they inject adversarial examples into the training data. These adversarial examples are generated using a black-box attack (SimBA) adapted with a novel "k-pseudo-label" mechanism to handle out-of-distribution data. The key idea is that adversarial perturbations tend to target class-related features, and by training with these perturbed examples and their corresponding (incorrect) adversarial labels, the inversion model learns to better capture these critical features.

Datasets

The authors conducted experiments on two standard datasets:

  • MNIST: A dataset of handwritten digits. They split it into two parts: digits 0-4 as private data for the target model and digits 5-9 as public data for training the inversion and shadow models.
  • FaceScrub: A dataset of celebrity faces. They used photos of 100 people for the private data and another 100 people for the public data.

Key Insights and Ideas

  • Low Attack Accuracy is a Feature, Not a Bug (of the Attack): The authors convincingly argue that the low classification accuracy of reconstructed data in prior learning-based attacks is due to an underdeveloped loss function that prioritizes class-redundant information over class-related semantic features.
  • Semantic Information is Key for Usable Reconstructions: Simply making reconstructed images look similar to originals isn't enough. For these reconstructions to be useful for downstream tasks (like bypassing facial recognition), they need to be correctly classified by other models.
  • Adversarial Examples as Privacy Probes: This work uniquely leverages adversarial examples not just for security attacks but also for understanding and enhancing privacy attacks like model inversion. The way adversarial perturbations affect class-related features is exploited.
  • The Power of Pseudo-Labels for OOD Data: Generating adversarial examples for out-of-distribution data is challenging due to the lack of true labels. The proposed "k-pseudo-label" mechanism provides a practical way to guide adversarial generation in such scenarios.
  • Defense Implications: The work highlights that defenses against model inversion might need to consider not just visual similarity but also the semantic interpretability of reconstructed data.

Key Results

  • Significant Boost in Attack Accuracy: The proposed method consistently and significantly improves the attack accuracy of reconstructed data compared to the baseline (Yang et al. [10]). For instance, on FaceScrub with a 4-layer CNN target model and VGG-11 evaluation model, their method achieved 31.8% attack accuracy, a substantial increase from the baseline's 12.4%.
  • Improved Reconstruction Quality: Visualizations (Fig. 8) and Class Activation Maps (CAMs) (Fig. 9) show that their method reconstructs images that better capture class-related features, leading to more accurate classifications.
  • Effectiveness Across Architectures: The method demonstrates generalizability across different target and evaluation model architectures (Table 2).
  • Robustness to Adversarial Training: While adversarial training can improve the robustness of target models, the proposed attack still achieves competitive attack accuracy, suggesting a need for more sophisticated defenses.

Limitations and Future Work

  • Training Time: The adversarial augmentation process requires generating adversarial examples, which increases the training time for the inversion model. However, the inference time remains comparable to the baseline.
  • Query Budget: Generating adversarial examples, especially for black-box models, can be query-intensive. The authors explore using a shadow model to reduce queries, but acknowledge that direct querying of the target model yields better adversarial examples.
  • More Complex Scenarios: The current work focuses on scenarios where the target task and attack task are the same. The authors suggest that for more complex scenarios (e.g., target model predicts emotion, attack aims to steal identity), the semantic loss could be modified to incorporate multi-task learning.
  • Defense Efficacy: While they show their attack can bypass some defenses, they acknowledge that further investigation into defenses against their specific adversarial augmentation technique is needed, particularly concerning the trade-off between robustness and privacy leakage.

Summary updated

BibTeX
@article{zhou2024boosting,
  author = {Shuai Zhou and Tianqing Zhu and Dayong Ye and Xin Yu and Wanlei Zhou},
  title = {{Boosting Model Inversion Attacks With Adversarial Examples}},
  journal = {IEEE Trans. Dependable Secur. Comput.},
  year = {2024},
  doi = {10.1109/tdsc.2023.3285015},
}
Figure