Abstract
As the demand for large-scale computer vision datasets grows, protecting individual privacy has become a critical challenge. Traditional de-identification (de-ID) methods, such as blurring or pixelation, often destroy the underlying data utility required for training models on facial expressions or emotions. This paper introduces a novel de-ID pipeline centered on a Facial Attribute Transfer Model (FATM). By treating facial expressions and poses as a transferable "style," the FATM swaps a subject's identity with a donor's while preserving original attributes. Our method achieves high visual quality (SSIM > 0.96) and significantly reduces re-identification accuracy (from 97.6% to 16.5% on LFW), offering a robust solution for privacy-preserving data collection.
Introduction
The rapid advancement of computer vision relies heavily on massive datasets of real-world images and videos. However, privacy regulations and ethical standards necessitate the protection of identities within these datasets. Traditional "destructive" methods like blurring are not only ineffective against modern AI-based "parrot attacks" but also render data useless for tasks requiring fine-grained facial analysis. While Generative Adversarial Networks (GANs) offer a potential alternative, they often suffer from high training requirements, visual artifacts, and temporal instability in video. We propose a more efficient and stable approach using identity-neutral attribute transfer.
Methodology
The proposed system follows a three-stage pipeline: preprocessing, core attribute transfer, and post-processing.
Preprocessing
The initial stage ensures the input data is normalized for the transfer model. The system detects the face, extracts key landmarks (eyes, nose, mouth), and performs an affine transformation to align the face to a standard frontal orientation.
The Facial Attribute Transfer Model (FATM)
The core of our approach is an Encoder-Decoder architecture inspired by image style transfer.
- Encoder: Maps the aligned face into an "identity-neutral representation." This numerical code captures the "style" of the face—its specific expression, head tilt, and lighting conditions—while discarding identity-specific features.
- Decoder: Trained on a specific "donor" subject, the decoder takes the identity-neutral code and reconstructs the face using the donor’s unique features. This ensures the output maintains the donor's identity consistently.
Post-processing
To integrate the synthesized face back into the original image naturally, we employ a post-processing sequence. A custom mask is created based on the convex hull of facial landmarks. The synthesized face is then warped back to the original pose and blended using adaptive Gaussian smoothing to eliminate visible seams.
Experimental Results
We evaluated the FATM on the LFW (Labeled Faces in the Wild) and PIPA (People in Photo Album) datasets.
Privacy and Utility
Using a ResNet-34 based Dlib model for face verification, we observed a dramatic drop in identification accuracy on the LFW dataset, from 97.6% to 16.5%, confirming the effectiveness of the identity swap. Simultaneously, the Structural Similarity Index (SSIM) remained exceptionally high (0.97 on LFW and 0.96 on PIPA), indicating that the original facial expressions and poses were preserved with minimal distortion.
Efficiency and Stability
The FATM is highly data-efficient, requiring only ~500 images per donor subject for training, compared to the tens of thousands often needed for GANs. Furthermore, the system processes faces at a rate of 0.24 seconds per frame, making it suitable for large-scale video de-identification. The use of a fixed donor decoder also provides superior temporal stability, preventing the "flickering" artifacts common in purely generative methods.
Discussion and Limitations
While the FATM provides a significant leap in de-identification technology, challenges remain. Recognition algorithms can sometimes still identify individuals based on non-facial cues like head shape, hair, or silhouette—a phenomenon we term "identity leakage." Additionally, extreme head poses and physical occlusions (e.g., hands or glasses) can occasionally lead to blending artifacts. Future work will focus on improving robustness to these edge cases and increasing the diversity of synthesized outputs.
Conclusion
By decoupling facial identity from attributes like expression and pose, the FATM provides a powerful tool for privacy-preserving research. It allows for the creation of high-quality, de-identified datasets that remain fully functional for training the next generation of computer vision models.
Summary updated