Face Image Reconstruction from Deep Templates

Guangcan Mai, Kai Cao, Pong C. Yuen, Anil K. JainarXiv 2017 · DOI

Abstract

State-of-the-art face recognition systems are based on deep convolutional neural networks. Therefore, it is imperative to determine to what extent face templates derived from deep networks can be inverted to obtain the original face image. In this paper, we study the vulnerabilities of a state-of-the-art face recognition system based on template reconstruction attack. We propose a neighborly de-convolutional neural network (NbNet) to reconstruct face images from their deep templates. In our experiments, we assumed that no knowledge about the target subject and the deep network are available. To train the NbNet reconstruction models, we augmented two benchmark face datasets (VGG-Face and Multi-PIE) with a large collection of images synthesized using a face generator. The proposed reconstruction was evaluated using type-I and type-II attacks. Given the images reconstructed from NbNets, we show that for verification, we achieve TAR of 95.20% (58.05%) on LFW under type-I (type-II) attacks @ FAR of 0.1%. Besides, 96.58% (92.84%) of the images reconstruction from templates of partition fa (fb) can be identified from partition fa in color FERET. Our study demonstrates the need to secure deep templates in face recognition systems.

Introduction

Modern face recognition relies on deep convolutional neural networks (CNNs) to transform a face image into a compact mathematical vector called a "template" or "embedding." Because these templates are highly abstracted, many assumed they were effectively "one-way" functions—impossible to reverse-engineer into the original face. This paper addresses the problem of template invertibility: if a database of these templates is leaked in a "black-box" scenario, can an attacker reconstruct a face well enough to impersonate the victim? This is a critical security gap, as biometric templates, unlike passwords, cannot be easily changed if compromised.

Overview of the face recognition system and potential template reconstruction attack vectors.

Methodology

The authors propose a specialized architecture called Neighborly De-convolutional Neural Network (NbNet) to perform the reconstruction. Key technical components include:

  • NbBlocks (Neighborly De-convolutional Blocks): Standard de-convolution (upsampling) often produces noisy or repetitive features. NbBlocks mitigate this by learning from "neighboring" channels within the same layer to refine details and reduce redundancy.
  • Data Augmentation via DCGAN: Training a reconstruction model requires millions of face-template pairs. To avoid the cost of collecting a massive new dataset, the authors used a DCGAN to generate synthetic face images. They then extracted templates from these "fake" faces to create a massive training set for the NbNet.
  • Hybrid Loss Functions: The model was trained using both Pixel Difference (MAE) to get the basic structure right and Perceptual Loss (using features from a pre-trained VGG-19) to ensure the reconstructed face looks realistic and retains the person's identity.

The models were trained on VGG-Face (1.94M images) and Multi-PIE (150K images), significantly augmented by the DCGAN-generated synthetic faces. Evaluation was conducted on LFW, FRGC v2.0, and Color FERET.

Key Results

The results demonstrate a significant vulnerability in current systems. The authors assume a realistic "Black-Box" threat model where the attacker has no knowledge of the target subject or the internal weights of the recognition system.

  • Verification Success (LFW): Under a "Type-I" attack (matching the reconstruction against the original image), the NbNet achieved a 95.20% True Accept Rate (TAR) at a 0.1% False Accept Rate. Even in a "Type-II" attack (matching against a different photo of the same person), it achieved a 58.05% TAR.
  • Identification Success (FERET): Reconstructed images achieved high identification accuracy. Specifically, 96.58% (92.84%) of the images reconstructed from templates of partition fa (fb) were correctly identified from partition fa in the color FERET dataset.
  • Efficiency: Once trained, the NbNet can reconstruct a face in just 0.47 milliseconds on a standard GPU, making it viable for large-scale automated attacks.
Example of a face image reconstructed from a deep template using NbNet.

Discussion and Conclusion

While the attack is potent, several hurdles remain for attackers. Systems that store templates in "Secure Enclaves" or "TrustZones" are much harder to attack because the templates never leave the protected hardware. Furthermore, strong "liveness detection" (detecting 3D masks or 2D prints) remains a primary defense against presenting reconstructed images to a camera.

Future work includes developing template protection schemes that inject user-specific randomness into the embedding process, making the templates "cancelable." The authors also plan to study "cross-system" attacks, where a template from one vendor's system is used to attack another's. Overall, this study demonstrates the urgent need to secure deep templates in face recognition systems.

Summary updated

BibTeX
@misc{mai2017face,
  author = {Guangcan Mai and Kai Cao and Pong C. Yuen and Anil K. Jain},
  title = {{Face Image Reconstruction from Deep Templates}},
  year = {2017},
  eprint = {1703.00832},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.00832},
}
Figure