Template Inversion Attack against Face Recognition Systems using 3D Face Reconstruction

Hatef Otroshi-Shahreza, Sébastien Marcel
2/14/2026

No confident code implementation found for this paper.

Abstract

Face recognition systems are increasingly being used in different applications. In such systems, some features (also known as embeddings or templates) are extracted from each face image. Then, the extracted templates are stored in the system’s database during the enrollment stage and are later used for recognition. In this paper, we focus on template inversion attacks against face recognition systems and introduce a novel method (dubbed GaFaR) to reconstruct 3D face from facial templates. To this end, we use a geometry-aware generator network based on generative neural radiance fields (GNeRF), and learn a mapping from facial templates to the intermediate latent space of the generator network. We train our network with a semi-supervised learning approach using real and synthetic images simul taneously. For the real training data, we use a Generative Adversarial Network (GAN) based framework to learn the distribution of the latent space. For the synthetic training data, where we have the true latent code, we directly train in the latent space of the generator network. In addition, during the inference stage, we also propose optimization on the camera parameters to generate face images to improve the success attack rate (up to 17.14% in our experiments). We evaluate the performance of our method in the whitebox and blackbox attacks against state-of-the-art face recognition models on the LFW and MOBIO datasets. To our knowledge, this paper is the first work on 3D face reconstruction from facial templates. The project page is available at: https://www.idiap.ch/paper/gafar

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{otroshishahreza2026template,
  title  = {Template Inversion Attack against Face Recognition Systems using 3D Face Reconstruction},
  author = {Hatef Otroshi-Shahreza and Sébastien Marcel},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01801},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01801},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/62ae1790445189808c436a4beb9e78fd53ef1eb1.svg)](https://codeofpaper.com/paper/62ae1790445189808c436a4beb9e78fd53ef1eb1)

Discussion