Model Inversion Robustness: Can Transfer Learning Help?

Sy-Tuyen Ho, Koh Jun Hao, Keshigeyan Chandrasegaran, Ngoc-Bao Nguyen, Ngai-Man Cheung

Abstract

Recent advancements in Model Inversion (MI) attacks have made it increasingly difficult to protect sensitive training data from reconstruction. Traditional defenses often rely on complex regularization techniques that significantly degrade model utility. This paper explores a simpler, more effective alternative: Transfer Learning-based Defense against Model Inversion (TL-DMI). By freezing early model layers and fine-tuning only the final layers on private data, researchers achieve state-of-the-art privacy protection with minimal impact on accuracy. This "less is more" approach effectively blocks the adversary's reconstruction tools while preserving the model's classification performance.

Introduction

Machine learning models are known to "leak" information about their training sets. In a Model Inversion (MI) attack, an adversary with access to a trained classifier—such as a face recognition system—attempts to reconstruct the private images used during the training phase. Modern attacks have become alarmingly effective, with some achieving over 90% accuracy in reconstructing recognizable faces from model weights and outputs.

Existing defenses against these attacks typically rely on "dependency minimization" regularization. These methods attempt to force the model to forget the relationship between the input data and its internal representations. However, this strategy is in direct conflict with the model's primary objective: learning to classify inputs accurately. Consequently, current defenses often suffer from a massive "utility drop," rendering the models less effective for their intended purposes. This paper investigates whether the standard Transfer Learning framework can provide a more robust and efficient defense.

Methodology: TL-DMI

The researchers propose TL-DMI (Transfer Learning-based Defense against Model Inversion). Rather than employing complex mathematical regularizers, TL-DMI leverages the standard two-stage Transfer Learning framework to create a privacy barrier:

  1. Pre-training: The entire model is trained on a large, non-sensitive public dataset (e.g., ImageNet or FFHQ).
  2. Fine-tuning (The Defense): When transitioning to the sensitive private dataset, the early and middle layers of the network are frozen. Only the final layers (the "head") are updated with private data.

Theoretical Justification: Fisher Information

To justify this approach, the authors conducted a Fisher Information (FI) analysis to measure which layers are most critical for different tasks. They discovered a striking "vulnerability gap": early layers are essential for the reconstruction process used in MI attacks, as they capture low-level features like edges and textures. Conversely, the final layers are more important for the actual classification task. By keeping the early layers "clean" of private data, the defense effectively prevents the model from encoding the specific identity-driven features that attackers exploit.

Experimental Setup

The study was comprehensive, testing across 20 different attack setups and 9 different architectures.

  • Private Datasets: CelebA, FaceScrub, VGGFace2, Stanford Dogs, and Stanford Cars.
  • Public/Pre-training Datasets: ImageNet1K, MS-CelebA-1M, and FFHQ.
  • Evaluation Benchmarks: The defense was tested against 7 state-of-the-art MI attacks, including GMI, KEDMI, and high-resolution attacks like PPA and MIRROR.

Key Results and Discussion

The effectiveness of the defense was measured using a metric called $Δ$, representing the ratio of the drop in attack accuracy to the drop in natural accuracy. A higher $Δ$ indicates a more successful defense with minimal utility loss.

Superior Trade-offs

In a ResNet-18 setup, TL-DMI reduced attack accuracy from 88.46% to 22.36%, while incurring only a ~3% loss in natural accuracy. This resulted in a $Δ$ of 21.32, significantly outperforming the previous state-of-the-art defense, BiDO, which achieved a $Δ$ of only 4.12.

Restoring Utility

Interestingly, TL-DMI was found to be complementary to existing defenses. When combined with other methods, it actually helped restore accuracy. For example, applying TL-DMI to a BiDO-protected model improved its accuracy by 1.8% while simultaneously increasing its robustness against attacks.

The "Simplicity" Advantage

Unlike previous defenses that require intensive hyperparameter grid searches, TL-DMI is remarkably simple to implement. The primary decision for the practitioner is selecting the layer at which to stop fine-tuning. This "freezing" mechanism acts as a more stable and robust barrier than mathematical loss functions, which can be difficult to optimize.

Conclusion and Future Work

TL-DMI demonstrates that preventing a model from seeing private data in its early layers is a highly effective way to mitigate Model Inversion risks. Qualitative evidence supports this, showing that reconstructions from TL-DMI models are blurry and lack identifying features compared to the clear images produced from undefended models.

While highly effective for image classification and face recognition, future work is needed to extend these findings to other domains, such as object detection. Additionally, while Fisher Information provides a strong heuristic, further research into automated layer selection could help practitioners perfectly balance the privacy-utility trade-off for diverse architectures.

Summary updated

BibTeX
@inproceedings{ho2024model,
  author = {Sy-Tuyen Ho and Koh Jun Hao and Keshigeyan Chandrasegaran and Ngoc-Bao Nguyen and Ngai-Man Cheung},
  title = {{Model Inversion Robustness: Can Transfer Learning Help?}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure