Face Anonymization by Manipulating Decoupled Identity Representation

Tianxiang Ma, Dongze Li, Wei Wang, Jing Dong

Abstract

De-identification of face data has drawn increasing attention in recent years. It is important to protect people's identities meanwhile keeping the utility of the data in many computer vision tasks. We propose a Controllable Face Anonymization Network (CFA-Net), a novel approach that can anonymize the identity of given faces in images and videos, based on a generator that can disentangle face identity from other image contents. We reach the goal of controllable face anonymization through manipulating identity vectors in the generator's identity representation space. Various anonymized faces deriving from an original face can be generated through our method and maintain high similarity to the original image contents. Quantitative and qualitative results demonstrate our method's superiority over literature models on visual quality and anonymization validity.

Introduction

As facial recognition technology becomes ubiquitous, protecting privacy in image and video datasets is critical. However, traditional anonymization—like blurring or pixelation—destroys "data utility," making the images useless for training models in action recognition or emotion detection.

Existing AI-based methods often suffer from two flaws: they are "stereotyped" (producing only one fixed anonymous version of a face) or they lack "controllability" (the user cannot decide how much to change the face). Furthermore, some methods rely on "face swapping" with real people, which creates a new privacy risk for the source identity. CFA-Net aims to solve these by creating a framework that is effective, realistic, and highly adjustable.

Methodology: The CFA-Net Framework

The core of CFA-Net is an Encoder-Decoder architecture designed for Identity Disentanglement. The process involves several key steps:

  1. Disentangled Representation: The encoder splits an input face into two distinct latent codes: a content vector ($z_{con}$) (capturing pose, lighting, and expression) and an identity vector ($z_{id}$) (capturing the unique features of the person).
  2. The Identity Hypersphere: The identity vector is projected onto a unit hypersphere. This makes "identity distance" measurable by the angle between vectors.
  3. Controllable Manipulation: To anonymize a face, the system keeps the content vector $z_{con}$ exactly the same but samples a new identity vector $z_{anony}$ at a specific angular distance ($ heta$) from the original. This allows users to precisely control the "strength" of the anonymization.
Figure 4: Qualitative results of CFA-Net showing original faces (left column) and multiple anonymized variations (subsequent columns) that preserve pose and expression.

To ensure high-quality results, the model is trained using a suite of losses, including Content Loss for structural integrity, Identity Consistency Loss (using ArcFace) to ensure the identity branch is accurate, and Adversarial Loss to maintain visual realism.

Experimental Results

The authors evaluated CFA-Net across several standard benchmarks, including CelebA, LFW (Labeled Faces in the Wild), and FaceForensics++.

Key Performance Metrics

  • Anonymization Success: On the LFW benchmark, CFA-Net achieved a True Positive Rate (TPR) of only 0.010–0.012 (at a 0.001 False Acceptance Rate), outperforming previous models like CIAGAN (0.019–0.038).
  • Image Quality: It achieved a significantly better FID score (2.193) compared to CIAGAN (2.663), indicating much higher visual realism.
  • Attribute Preservation: Quantitative tests showed that attributes like "Smiling," "Wearing Hat," and gender were preserved at a higher rate than competing methods, proving the "content" remains intact.
  • Video Stability: Results on FaceForensics++ demonstrated excellent temporal consistency, with the new identity remaining stable across moving frames without flickering artifacts.

Discussion and Insights

CFA-Net introduces the concept of Virtual Identities. Unlike face-swapping, which moves Identity A to Identity B, CFA-Net generates identities that do not exist in the training database. This eliminates the risk of "identity leakage" where an anonymized face accidentally looks like another real person.

Furthermore, because the identity space is continuous, the system is Threshold-Aware. It can be tuned to be "just enough" to bypass a specific recognition system's threshold, minimizing unnecessary distortion to the image while maximizing privacy.

Conclusion

CFA-Net provides a robust solution for privacy-preserving data utility. While highly effective, future work will focus on improving performance under extreme occlusions or sharp profile views and increasing the diversity of generated virtual identities. This approach paves the way for safer use of facial data in large-scale computer vision research.

Summary updated

Abstract

De-identification of face data has drawn increasing attention in recent years. It is important to protect people's identities meanwhile keeping the utility of the data in many computer vision tasks. We propose a Controllable Face Anonymization Network (CFA-Net), a novel approach that can anonymize the identity of given faces in images and videos, based on a generator that can disentangle face identity from other image contents. We reach the goal of controllable face anonymization through manipulating identity vectors in the generator's identity representation space. Various anonymized faces deriving from an original face can be generated through our method and maintain high similarity to the original image contents. Quantitative and qualitative results demonstrate our method's superiority over literature models on visual quality and anonymization validity.
BibTeX
@misc{ma2021face,
  author = {Tianxiang Ma and Dongze Li and Wei Wang and Jing Dong},
  title = {{Face Anonymization by Manipulating Decoupled Identity Representation}},
  year = {2021},
  eprint = {2105.11137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.11137},
}
Figure