Face Reconstruction from Face Embeddings using Adapter to a Face Foundation Model

Hatef Otroshi-Shahreza, Anjith George, Sébastien Marcel

Introduction

Modern face recognition systems typically store facial data as mathematical "embeddings"—high-dimensional vectors representing unique facial features—rather than raw images. Historically, these templates were considered secure because inverting them to reconstruct a recognizable face was computationally intensive and often yielded poor results. However, the emergence of large-scale Face Foundation Models (FFMs) has fundamentally altered this security landscape. This paper introduces a highly efficient "Face Adapter" that demonstrates how leaked embeddings can be converted back into high-quality, photorealistic images in seconds.

Methodology

The proposed attack leverages the generative power of Arc2Face, a foundation model pre-trained on 42 million images (WebFace42M) to generate faces from specific embedding types. The core innovation is the Face Adapter, a simple linear mapping layer that bridges the gap between a "victim" model's embedding space and the space understood by the foundation model.

Blackbox Training

To train the adapter, an attacker only requires blackbox access to the target recognition system. By passing a generic dataset (such as the 70,000 images in FFHQ) through both the victim model and the foundation model's encoder, the linear adapter learns to minimize the Mean Square Error (MSE) between the two resulting vectors. Once trained, any embedding leaked from the victim system can be passed through the adapter and into a Stable Diffusion-based UNet generator to produce a 512x512 resolution face.

Key Insights

  • The Accuracy Vulnerability Paradox: Research reveals that more accurate face recognition models are actually more susceptible to reconstruction attacks. Because high-performing models capture more granular identity information, the adapter can extract more precise details for the generator.
  • Efficiency and Simplicity: Unlike previous methods requiring complex neural architectures or iterative optimization, this approach proves that a single linear layer is sufficient. Training takes approximately 6 seconds on an RTX 3090 for 10,000 images.
  • Transferability: Reconstructed images are often "transferable," meaning a face reconstructed from System A's embeddings can potentially bypass System B, even if the two systems use different architectures.

Key Results

The method achieved a Success Attack Rate (SAR) of nearly 100% on the MOBIO dataset for state-of-the-art models like ArcFace and ElasticFace at a False Match Rate of $10^{-3}$. Beyond statistical success, the visual quality of the reconstructions is significantly higher than previous "ghostly" artifacts, producing clear matches to the original subjects.

Comparison between original faces and their reconstructions using the Face Adapter, showing high identity preservation and photorealism.

Limitations and Future Work

While identity preservation is high, the model occasionally struggles with "soft" attributes like exact age or ethnicity if they are not strongly encoded in the victim's embedding. Furthermore, reconstruction quality can degrade when dealing with extreme facial expressions or sharp side-profile angles. These findings underscore a critical need for advanced template protection mechanisms, such as homomorphic encryption or cancelable biometrics, to prevent embeddings from being stored in reversible formats.

Conclusion

This research demonstrates that the security of face templates can no longer rely on the perceived difficulty of inversion. By utilizing adapters with pre-trained foundation models, high-fidelity face reconstruction has become a low-cost, high-speed threat to biometric privacy.

Summary updated

BibTeX
@inproceedings{otroshishahreza2025face,
  author = {Hatef Otroshi-Shahreza and Anjith George and Sébastien Marcel},
  title = {{Face Reconstruction from Face Embeddings using Adapter to a Face Foundation Model}},
  booktitle = {Workshops @ CVPR},
  year = {2025},
}
Figure