Label-Only Model Inversion Attacks via Knowledge Transfer

Ngoc-Bao Nguyen, Keshigeyan Chandrasegaran, Milad Abdollahzadeh, Ngai-man Cheung

Introduction

Model Inversion (MI) attacks represent a significant privacy threat to machine learning systems. In these attacks, an adversary attempts to reconstruct sensitive training data—such as private facial images—by querying a trained model. While previous research has successfully demonstrated MI attacks in white-box settings (where model weights are known) and black-box settings (where confidence scores are available), the most realistic scenario remains the most challenging: the Label-Only setting. In this environment, the attacker only receives the final predicted class label without any associated probability scores.

This paper introduces LOKT (Label-Only Knowledge Transfer), a novel framework that overcomes the information scarcity of label-only settings by transforming the problem into a white-box attack through a surrogate model. By leveraging a new generative training paradigm, LOKT achieves state-of-the-art reconstruction accuracy while requiring significantly fewer queries than previous methods.

The Label-Only Challenge

Most existing MI attacks rely on gradient information or detailed confidence scores to guide the reconstruction process. In a label-only setup, the feedback from the target model is discrete and sparse, making optimization in high-dimensional image space extremely difficult. Previous attempts to solve this, such as BREPMI, relied on complex search algorithms that often struggled with convergence or produced blurry, low-fidelity results. LOKT sidesteps these issues by focusing on "decision knowledge transfer" rather than direct optimization against the target model.

Proposed Methodology: LOKT

The LOKT framework operates in two distinct stages: knowledge distillation via a specialized GAN and a subsequent white-box attack.

1. Knowledge Transfer via T-ACGAN

The core innovation of LOKT is the Target model-assisted ACGAN (T-ACGAN). The goal is to build a transparent "surrogate model" ($S$) that mimics the decision boundaries of the opaque target model ($T$).

In a standard Auxiliary Classifier GAN (ACGAN), a generator creates images based on fixed labels. In the T-ACGAN framework, the generator produces synthetic images, which are then passed to the target model $T$. The target model provides a "pseudo-label" for these images. The surrogate model $S$ is then trained to predict these pseudo-labels. This process effectively distills the internal logic and classification patterns of the target model into the surrogate, creating a high-fidelity "stunt double."

2. White-box Attack on the Surrogate

Once the surrogate model $S$ is trained, the attacker has full access to its weights and gradients. LOKT then applies state-of-the-art white-box MI techniques (such as PLGMI) to the surrogate. Because the surrogate has successfully captured the target's decision boundaries, the images reconstructed from the surrogate are highly representative of the private data used to train the original target model.

Theoretical Foundation

The success of LOKT is supported by two key observations:

  • Property P1 (The Proxy Effect): The authors demonstrate that high-likelihood samples for the surrogate model $S$ are statistically likely to be high-likelihood samples for the target model $T$. This justifies the use of $S$ as a proxy for $T$.
  • Easy Patterns First: Drawing on deep learning theory, the authors observe that surrogate models tend to learn the "easy" or most salient identity patterns of the target model first. This ensures that the surrogate captures the core features necessary for recognizable facial reconstruction early in the training process.

Experimental Evaluation

The researchers evaluated LOKT using standard facial recognition benchmarks, including CelebA, FaceScrub, and PubFig83. To test the attack's robustness to distribution shifts, they also utilized the FFHQ dataset.

Key Findings

  • Superior Accuracy: LOKT outperformed the previous state-of-the-art (BREPMI) by approximately 20% on the CelebA benchmark. Across all datasets, it consistently improved reconstruction accuracy by over 15%.
  • Visual Fidelity: Reconstructed images showed striking similarity to the original private training samples, maintaining sharp features where previous label-only methods produced unrecognizable results.
  • Query Efficiency: By performing the heavy optimization offline against the surrogate model, LOKT reduced the number of queries required to the victim model by approximately 30%.
  • Defense Resilience: The attack remained effective even when the target models were protected by specialized MI defenses like BiDO and MID, which are designed to minimize information leakage.

Conclusion and Future Work

LOKT demonstrates that label-only protection is not a sufficient defense against Model Inversion. By casting the black-box problem as a white-box surrogate attack, LOKT exposes vulnerabilities in even the most restricted model APIs. While the current method requires a public dataset in a similar domain (e.g., face images to attack a face model), future research may explore domain-agnostic attacks or multimodal inversion (e.g., combining text and image data). These findings underscore the need for more robust privacy-preserving machine learning techniques that go beyond simply hiding confidence scores.

Summary updated

BibTeX
@inproceedings{nguyen2023label,
  author = {Ngoc-Bao Nguyen and Keshigeyan Chandrasegaran and Milad Abdollahzadeh and Ngai-man Cheung},
  title = {{Label-Only Model Inversion Attacks via Knowledge Transfer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=NuoIThPPag},
}
Figure