Exploiting Explanations for Model Inversion Attacks

Xuejun Zhao, Wencan Zhang, Xiaokui Xiao, Brian Y. Lim

Abstract

While Explainable AI (XAI) is designed to foster human trust and facilitate model debugging, it simultaneously introduces a significant privacy vulnerability. This research demonstrates that saliency-based explanations act as a "privacy backdoor," substantially enhancing the efficacy of Model Inversion (MI) attacks. By leveraging the spatial information inherent in these explanations, attackers can reconstruct recognizable private images—such as faces—from model outputs. Furthermore, the study introduces a "surrogate attention transfer" technique, proving that even models that do not provide native explanations remain vulnerable to these exploits.

Introduction

The machine learning community currently faces a critical trade-off between explainability—the transparency required to understand model decision-making—and privacy—the necessity of protecting sensitive training data.

Traditional Model Inversion (MI) attacks attempt to reconstruct sensitive inputs (e.g., a specific individual's face) using only the model's final prediction (e.g., a classification label). These attacks often yield low-quality results because a single 1D prediction vector lacks sufficient spatial detail. However, many modern AI systems now provide XAI "saliency maps" that highlight specific pixels or regions influential to a decision. This paper investigates how these explanations serve as a spatial roadmap for attackers, making the reconstruction of private data significantly more accurate and visually faithful.

Methodology

To exploit the information leakage in saliency maps, the authors developed several XAI-aware inversion architectures designed to map high-level explanations back to the original input space.

XAI-Aware Architectures

  1. Multi-modal Transposed CNNs (TCNN): Rather than relying solely on a 1D prediction vector, this architecture incorporates the 2D explanation map as a secondary input to the generator, providing a structural template for reconstruction.
  2. U-Net Integration: To capture the precise "where" of the spatial information, the researchers utilized a U-Net architecture with bypass connectors. This allows the attack model to preserve fine-grained details from the saliency map throughout the upsampling process.
  3. Multi-Explanation Exploitation: The study also explored "contrastive" explanations (e.g., why a model predicted 'Angry' instead of 'Happy'). Results indicate that providing multiple explanations for a single input further compounds the privacy risk.

Surrogate Explanation Attention Transfer

Perhaps the most significant contribution is the "stealthy" surrogate attack. In scenarios where a target model is a "black box" that does not provide explanations, an attacker can train a surrogate model on a similar dataset. The attacker then trains an inversion model to first "predict" what an explanation would look like for the target's output, subsequently using that hallucinated explanation to guide the reconstruction. This demonstrates that removing XAI features is not a foolproof defense against explanation-aware attacks.

Experimental Setup

The attacks were evaluated across several domains to test robustness and identity reconstruction:

  • iCV-MEFED: Facial expressions (115 identities) simulating monitoring scenarios.
  • CelebA: Large-scale celebrity faces for identity reconstruction.
  • MNIST: Handwritten digits used as a baseline for biometric reconstruction.
  • FaceScrub & CIFAR-10: Used to test "Out-of-Distribution" (OOD) robustness, ensuring the attack remains effective even if the attacker's training data differs slightly from the target's data.

Key Insights and Results

The Power of Spatial Knowledge

The research confirms that saliency maps are not merely abstract heatmaps; they are spatially aligned with the original input. By using U-Nets, attackers can "anchor" reconstructed features—such as eyes, noses, or mouths—to the exact coordinates highlighted by the XAI method.

Quantitative and Qualitative Gains

  • Accuracy Boost: In the iCV-MEFED emotion task, XAI-aware attacks increased attack accuracy (the ability of an automated system to recognize the reconstructed face) by up to 33x compared to prediction-only baselines.
  • Visual Fidelity: Qualitatively, reconstructions evolved from blurry, generic blobs into sharp, recognizable portraits with visible individual features.
  • Surrogate Success: Even without access to target explanations, the surrogate attention transfer method improved inversion performance by up to 2.15x.

Hierarchy of Risk

Not all XAI methods are equally dangerous. The authors established a clear ranking of privacy risk based on the granularity of the explanation: Prediction only < LRP < Gradient < CAM < Gradient ⊙ Input Methods that provide finer-grained, pixel-level information (like Gradient ⊙ Input) leak significantly more data than coarser, region-based methods (like Grad-CAM).

Limitations and Future Work

While the study highlights a critical vulnerability, it notes certain limitations. The authors primarily used relatively shallow target models (3-5 layers) to maintain high-resolution saliency maps; deeper models might produce more abstract, lower-resolution maps that are harder to invert. Additionally, the scope was limited to saliency maps, leaving other XAI forms—like counterfactual explanations—for future study.

Ultimately, the paper serves as a call to action for the AI safety community. As the authors defer specific defenses to future work, they emphasize the urgent need for new privacy-preserving XAI techniques that can provide interpretability without sacrificing the anonymity of the underlying training data.

Summary updated

BibTeX
@inproceedings{zhao2021exploiting,
  author = {Xuejun Zhao and Wencan Zhang and Xiaokui Xiao and Brian Y. Lim},
  title = {{Exploiting Explanations for Model Inversion Attacks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00072},
}
Figure