Random Erasing vs. Model Inversion: A Promising Defense or a False Hope?
About
Model Inversion (MI) attacks pose a significant privacy threat by reconstructing private training data from machine learning models. While existing defenses primarily concentrate on model-centric approaches, the impact of data on MI robustness remains largely unexplored. In this work, we explore Random Erasing (RE), a technique traditionally used for improving model generalization under occlusion, and uncover its surprising effectiveness as a defense against MI attacks. Specifically, our novel feature space analysis shows that models trained with RE-images introduce a significant discrepancy between the features of MI-reconstructed images and those of the private data. At the same time, features of private images remain distinct from other classes and well-separated from different classification regions. These effects collectively degrade MI reconstruction quality and attack accuracy while maintaining reasonable natural accuracy. Furthermore, we explore two critical properties of RE including Partial Erasure and Random Location. Partial Erasure prevents the model from observing entire objects during training. We find this has a significant impact on MI, which aims to reconstruct the entire objects. Random Location of erasure plays a crucial role in achieving a strong privacy-utility trade-off. Our findings highlight RE as a simple yet effective defense mechanism that can be easily integrated with existing privacy-preserving techniques. Extensive experiments across 37 setups demonstrate that our method achieves state-of-the-art (SOTA) performance in the privacy-utility trade-off. The results consistently demonstrate the superiority of our defense over existing methods across different MI attacks, network architectures, and attack configurations. For the first time, we achieve a significant degradation in attack accuracy without a decrease in utility for some configurations.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Model Inversion Defense | CelebA 64x64 | Accuracy85.74 | 41 | |
| PPA Model Inversion Attack | FaceScrub 224x224 Dpriv = Facescrub, Dpub = FFHQ (test) | Accuracy98.02 | 27 | |
| Model Inversion Defense | CelebA 64x64 (test) | Accuracy79.85 | 24 | |
| Model Inversion Defense | Facescrub 224x224 (test) | Accuracy98.46 | 21 | |
| Model Inversion Attack | CelebA | Attack Acc43.07 | 18 | |
| Model Inversion Attack | CelebA 64x64 | Accuracy87.94 | 12 | |
| Model Inversion Attack | Facescrub | Attack Accuracy15.97 | 10 | |
| Model Inversion Attack | FaceScrub (private) and FFHQ (public) 64x64 resolution (test) | Attack Accuracy84.91 | 7 | |
| Model Inversion Attack Defense | Facescrub | Accuracy97.9 | 6 | |
| Model Inversion Defense Evaluation | CelebA first 150 classes (test) | Count of User-Selected Similar Samples108 | 4 |