Abstract
Model inversion (MI) attacks traditionally require access to model weights or detailed confidence scores to reconstruct sensitive training data. This paper presents the first label-only model inversion attack, demonstrating that an adversary can reconstruct recognizable training images using only the final predicted class label. By probing the target model with noisy auxiliary data, the proposed method recovers hidden confidence information to drive a reconstruction engine.
Introduction
Model Inversion (MI) is a privacy-shattering technique where an attacker recreates data used to train a machine learning model. Traditionally, these attacks are categorized as white-box (access to internal weights) or black-box (access to confidence scores). To mitigate these risks, many model owners adopt a "label-only" policy, returning only the final classification. This research challenges the assumption that labels alone are insufficient for complex data reconstruction, showing that even this minimal output leaks significant private information.
Methodology
The attack utilizes a multi-step pipeline to bridge the gap between a discrete label and a high-dimensional image reconstruction.
The process involves five key steps:
- Error Rate Testing: The attacker queries the target model with auxiliary images perturbed by varying levels of Gaussian noise to calculate a classification error rate ($\mu$).
- Distance Estimation: Using the Gaussian Isoperimetric Inequality, the error rate is transformed into a geometric distance ($d$) from the data point to the model’s decision boundary.
- Shadow Model Training: A linear regression "shadow" model is trained on auxiliary data to mimic the target model's local decision behavior.
- Vector Recovery: Combining the estimated distance ($d$) and shadow model weights, the attacker calculates a synthetic confidence score for the target class, distributing remaining probability uniformly to create a "recovered" confidence vector.
- Attack Model Training: A transposed CNN is trained to map these recovered vectors back into reconstructed images.
Experimental Results
The attack was evaluated on standard benchmarks including FaceScrub, CelebA, MNIST, and CIFAR10. Even with limited auxiliary data (e.g., 1% of MNIST), the attack successfully reconstructed recognizable features.
Key findings include:
- Performance Parity: The label-only attack achieves reconstruction quality nearly identical to score-based attacks that have access to full confidence vectors.
- Recognizability: On the FaceScrub dataset, recognizable faces were reconstructed using as few as 20 auxiliary samples per class.
- Robustness: Performance remained stable regardless of the target model's prediction size (number of classes).
- Defense Effectiveness: A proposed defense of randomly flipping output labels with a small probability (e.g., $p=0.05$) was found to significantly blur reconstructions, making specific features much harder to identify.
Discussion and Conclusion
The core insight of this work is that a model’s "mistakes" under noise provide a high-fidelity signal. By probing the decision boundary, the authors effectively "decompress" a label back into a usable probability vector. While the attack captures "representative" features rather than every specific detail, the resulting images are easily identifiable. While the attack struggled with the high background redundancy of CIFAR10, it establishes a new baseline for privacy risks in label-only machine learning APIs. Future work will explore more complex datasets and non-image classifiers.
Summary updated