Diffusion-Driven Universal Model Inversion Attack for Face Recognition

Hanrui Wang, Shuo Wang, Chun-Shien Lu, Isao Echizen · DOI

Abstract

Modern face recognition systems often rely on facial embeddings—mathematical vectors derived from raw images—under the assumption that these representations are privacy-preserving and irreversible. This paper introduces DiffMI, a training-free, diffusion-driven model inversion (MI) attack that challenges this assumption. By leveraging Denoising Diffusion Probabilistic Models (DDPMs) and a confidence-aware optimization strategy, DiffMI reconstructs high-fidelity facial images from embeddings without requiring target-specific generator training. Experimental results demonstrate state-of-the-art success rates (up to 92.87%) against both standard and inversion-resilient recognition models.

Introduction

Face recognition technology has become ubiquitous, often marketed as secure because it stores embeddings rather than raw photographs. However, Model Inversion (MI) attacks aim to reverse this process, reconstructing the original identity from its vector representation. Existing MI attacks typically fall into two categories: training-dependent methods, which are computationally expensive and identity-limited, and training-free GAN-based attacks, which often suffer from poor identity controllability due to the "truncation trick" used to maintain image realism.

DiffMI addresses these limitations by utilizing the high-dimensional latent space of diffusion models, providing the necessary flexibility to align reconstructions with target embeddings while preserving natural image statistics.

Methodology: The DiffMI Pipeline

The DiffMI framework operates through a novel three-step process designed to maximize reconstruction fidelity and identity accuracy.

The three-stage DiffMI pipeline: (a) Preparation, (b) Top N Selection, and (c) Latent Code Manipulation.

1. Robust Latent Code Initialization

To ensure the optimization begins from a viable starting point, DiffMI filters random Gaussian noise using a dual-selection strategy. It employs D’Agostino’s $K^2$ test to verify statistical normality and an MTCNN face detector to ensure the initial noise can be decoded into a face-like structure.

2. Top-N Selection

Rather than optimizing a single random point, the system generates a pool of candidates. It then selects the top $N$ latent codes that exhibit the highest initial similarity to the target embedding, providing a "warm start" for the subsequent optimization.

3. Ranked Adversarial Manipulation

The selected codes are refined using fine-grained adversarial optimization (APGD for white-box settings or GreedyPixel for black-box). A key innovation is the Confidence-Aware Objective: optimization ceases once a statistically grounded similarity threshold ($\tau_C \approx 0.98$) is reached. This prevents "adversarial overfitting," where the reconstruction matches the embedding mathematically but loses visual realism.

Experimental Results

The researchers evaluated DiffMI using the LFW and CelebA-HQ datasets against four major recognition architectures, including FaceNet, ArcFace, and inversion-resilient models like DCTDP and PartialFace.

  • Attack Success: DiffMI achieved success rates between 84.42% and 92.87% against systems specifically designed to resist inversion.
  • Performance Gains: It outperformed the leading training-free GAN baseline (MAP$^2$V) by 4.01% to 9.82% across various metrics.
  • Cross-Model Transferability: Reconstructions optimized for one model remained highly recognizable by others, indicating that DiffMI recovers fundamental identity features rather than model-specific artifacts.
  • Human Perception: In user studies, participants correctly identified targets from reconstructions over 71% of the time.

Discussion and Conclusion

The success of DiffMI highlights a significant vulnerability in current face recognition paradigms. By replacing GANs with diffusion models, the attack bypasses the "usability-quality" trade-off that hampered previous methods. The "confidence-aware" stopping criterion further ensures that reconstructed images remain on the natural image manifold, making them viable for downstream presentation attacks.

Future research must address these vulnerabilities, potentially through fundamental architectural changes in how embeddings are generated to prevent identity leakage while maintaining recognition accuracy.

Summary updated

BibTeX
@article{wang2026diffusion,
  author = {Hanrui Wang and Shuo Wang and Chun-Shien Lu and Isao Echizen},
  title = {{Diffusion-Driven Universal Model Inversion Attack for Face Recognition}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2026},
  doi = {10.1109/tifs.2026.3684282},
}
Figure