CFA-Net: Controllable Face Anonymization Network with Identity Representation Manipulation

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 through "de-identification" has become a critical challenge. Traditional methods like blurring or pixelation are effective at hiding identity but destroy "data utility" — making the images useless for downstream tasks like emotion recognition, gaze tracking, or action detection. Existing deep-learning approaches often struggle with a lack of control, producing single, stereotyped versions of a face, or suffering from identity leakage and visual artifacts.

CFA-Net is a novel face anonymization framework that addresses these issues by disentangling a person's identity from their other facial attributes (like pose and expression). By mapping identity to a controllable spherical latent space, the system can generate a diverse range of "virtual" identities while precisely tuning the degree of anonymization to bypass recognition systems without sacrificing image quality.

Methodology

The core of CFA-Net is a generative model designed for identity disentanglement. The architecture consists of several key components:

  • Dual-Branch Encoder: The encoder splits the input face into two distinct latent representations: a content code ($z_{con}$) representing pose, lighting, and expression, and an identity code ($z_{id}$).
  • Spherical Identity Space: The identity branch projects vectors onto a unit hypersphere. This geometric constraint makes manipulation intuitive: the "distance" between two identities is simply the angle $\theta$ between their vectors.
  • Controllable Manipulation: To anonymize, the model keeps the content code fixed and samples a new identity vector $z_{anony}$ in the neighborhood of the original $z_{id}$. By setting a threshold angle $\theta$, the user can ensure the new face is different enough to fool a recognizer but similar enough to maintain aesthetic consistency.
Controllable face anonymization results showing original faces (left) and diverse anonymized versions (right).
  • Advanced Loss Functions: The model utilizes a Local Patch Loss to ensure fine-grained details remain identical to the original, and an Identity Smoothing Loss to ensure smooth, realistic transitions in the generated face. The decoder, inspired by StyleGAN2, uses weight demodulation to fuse content and identity features into high-resolution outputs.

Experimental Results

The authors evaluated CFA-Net using four major benchmarks: CelebA, LFW (Labeled Faces in the Wild), CelebA-HQ, and FaceForensics++.

CFA-Net outperformed existing state-of-the-art (SOTA) models like CIAGAN and Live Face De-identification across several metrics:

  • Anonymization Success: On the LFW benchmark, CFA-Net achieved a True Positive Rate (TPR) of only 0.010 (at a 0.001 False Acceptance Rate). This indicates that face recognition systems were almost entirely unable to link the anonymized face back to the original person, significantly outperforming previous SOTA models (~0.038).
  • Image Quality: The model achieved a lower Fréchet Inception Distance (FID) of 2.193 (compared to 2.663 for competitors), indicating higher realism.
  • Attribute Preservation: Quantitative tests showed that CFA-Net retains nearly 100% of non-identity attributes (such as "Male", "Smiling", or "Wearing Hat"), ensuring the data remains useful for other AI research.
  • Video Stability: The method demonstrated excellent temporal consistency in videos, avoiding the flickering common in frame-by-frame GAN applications.

Conclusion

CFA-Net provides a robust solution for controllable, high-fidelity anonymization. By generating "virtual" identities that do not exist in training databases, it mitigates the ethical risks of identity theft while preserving the utility of facial data for computer vision tasks. Future work may focus on improving performance under extreme occlusions and providing more semantic control over the anonymous face's appearance, such as age or gender adjustments.

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{ma2021cfa,
  author = {Tianxiang Ma and Dongze Li and Wei Wang and Jing Dong},
  title = {{CFA-Net: Controllable Face Anonymization Network with Identity Representation Manipulation}},
  year = {2021},
  eprint = {2105.11137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.11137},
}
Figure