Attribute-Preserving Face Dataset Anonymization via Latent Code Optimization

Simone Barattin, Christos Tzelepis, I. Patras, N. Sebe
2/14/2026

No official code found. Best implementation: chi0tzp/FALCO (77 stars, Apache-2.0, PyTorch, last commit 2024-08-08).

Abstract

This work addresses the problem of anonymizing the identity of faces in a dataset of images, such that the privacy of those depicted is not violated, while at the same time the dataset is useful for downstream task such as for training machine learning models. To the best of our knowledge, we are the first to explicitly address this issue and deal with two major drawbacks of the existing state-of-the-art approaches, namely that they (i) require the costly training of additional, purpose-trained neural networks, and/or (ii) fail to retain the facial attributes of the original images in the anonymized counterparts, the preservation of which is of paramount importance for their use in downstream tasks. We accordingly present a task-agnostic anonymization procedure that directly optimizes the images' latent representation in the latent space of a pretrained GAN. By optimizing the latent codes directly, we ensure both that the identity is of a desired distance away from the original (with an identity obfuscation loss), whilst preserving the facial attributes (using a novel feature-matching loss in FaRL's [48] deep feature space). We demonstrate through a series of both qualitative and quantitative experiments that our method is capable of anonymizing the identity of the images whilst-crucially-better-preserving the facial attributes. We make the code and the pretrained models publicly available at: https://github.com/chi0tzp/FALCO.

View on arXivView PDF

Code Implementations(1)

chi0tzp/FALCOCommunity100%
PyTorchApache-2.0

[CVPR 2023, top-10%] Authors official PyTorch implementation of the "Attribute-preserving Face Dataset Anonymization via Latent Code Optimization".

774C++, CudaMar 1, 20232 years agoApache-2.0
anonymizationface-anonymizationgangenerative-adversarial-networkgenerative-ai+1 more

Similar Papers

Cite this paper

@article{barattin2026attributepreserving,
  title  = {Attribute-Preserving Face Dataset Anonymization via Latent Code Optimization},
  author = {Simone Barattin and Christos Tzelepis and I. Patras and N. Sebe},
  year   = {2026},
  eprint = {2303.11296},
  archivePrefix = {arXiv},
  url    = {https://openaccess.city.ac.uk/id/eprint/31341/1/cvpr23_falco_preprint.pdf},
  journal = {CVPR 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/2303.11296.svg)](https://codeofpaper.com/paper/2303.11296)

Discussion