TL;DR
This paper introduces DIFFCLEAN, a novel diffusion-based model that effectively removes makeup from facial images. By doing so, it significantly improves the accuracy of age estimation, particularly for minors, and enhances facial identity verification, making it a crucial tool for robust online age verification systems.
What Problem Does This Paper Address?
In today's digital world, online services increasingly rely on age verification, often through facial scans, to protect underage users. However, facial makeup presents a significant challenge, as it can alter perceived age and identity, potentially allowing minors to bypass these systems. Existing age estimation models struggle with makeup, leading to overestimation in younger individuals and underestimation in older ones. Furthermore, makeup can be intentionally used to fool automated age estimation and even facial recognition systems. This paper tackles the problem of makeup confounding accurate age estimation and identity verification, aiming to create a more reliable system for digital age assessment.
Methods
The core of DIFFCLEAN is a text-guided diffusion model adapted for makeup removal. This approach treats makeup removal as an image translation task. Here's a breakdown of the key components:
- Diffusion Model Backbone: DIFFCLEAN leverages a diffusion model architecture, known for its generative capabilities, to progressively remove noise and reconstruct a makeup-free image. It uses an improved U-Net with attention heads and BigGAN residual stacks for enhanced performance.
- Text-Guided Approach: The model utilizes text prompts like "face without makeup" and "face with makeup" within the CLIP framework. This guides the diffusion process to specifically target and remove makeup traces.
- Multi-Loss Optimization: To ensure effective makeup removal while preserving crucial facial information, DIFFCLEAN employs a combination of losses:
- CLIP-based Makeup Loss: This loss, derived from text prompts, helps detect the presence of makeup.
- Biometric Identity Loss: This loss ensures that the makeup removal process preserves the original identity of the individual, using weighted pairwise losses from a ResNet ArcFace model.
- Perceptual Loss (LPIPS): This loss, combined with an L1 loss, helps maintain the visual fidelity and perceptual quality of the image, preventing artifacts.
- Age Loss: This loss aims to restore the original age-specific cues that might have been obscured by makeup. The paper explores two options for this: a fine-tuned SSRNet age estimator and a CLIP-based age loss.
Essentially, DIFFCLEAN learns to reverse the "makeup application operator" ($M^{-1}$) to recover the clean image ($I_g$) from a makeup-laden image ($I_m$).
Datasets
The paper utilizes several datasets for training and evaluation:
- UTKFace: Used for fine-tuning the SSRNet age estimator.
- MT Dataset: Used for initial fine-tuning of the DIFFCLEAN makeup removal module.
- FFHQ (Flickr-Faces-HQ): Used for generating synthetic makeup images by applying various makeup styles using EleGANt. This dataset is also used for evaluating age estimation and identity verification.
- BeautyFace, LADN, and Makeup-Wild: These datasets are used for evaluating the real-world generalizability of DIFFCLEAN on images with actual makeup.
Key Insights and Ideas
- Makeup as a "Privacy Attack": The paper frames makeup not just as a visual alteration but as a potential "attack" vector that can compromise age verification systems, highlighting the importance of robust defenses.
- Diffusion Models for Makeup Removal: Adapting diffusion models, which excel at generative tasks, for the specific problem of makeup removal proves highly effective, outperforming traditional GAN-based methods in several aspects.
- Text Guidance is Key: The use of text prompts in conjunction with CLIP is a crucial innovation, allowing the model to precisely identify and target makeup without requiring explicit makeup masks or reference images for removal.
- Preserving Identity is Paramount: The inclusion of a biometric identity loss is vital. It ensures that while makeup is removed, the individual's identity remains intact, which is critical for verification tasks.
- Differential Impact of Makeup: The paper acknowledges that makeup affects age perception differently across age groups (overestimation in younger, underestimation in older), and their method aims to correct these specific biases.
Key Results
DIFFCLEAN demonstrates significant improvements across several metrics:
- Age Estimation:
- Improved minor vs. adult accuracy by 5.8% compared to images with makeup.
- Achieved a superior minor vs. adult age classification of 88.6% on FFHQ.
- Reduced Mean Absolute Error (MAE) by 0.85 on FFHQ.
- Face Verification:
- Improved True Match Rate (TMR) by 5.1% at FMR=0.01% with MobileFace compared to images with makeup.
- Outperformed baselines in TMR for both FaceNet and MobileFace.
- Image Quality:
- Achieved high visual quality metrics, with SSIM of 0.98 and PSNR of 35.64, indicating minimal artifacts and high fidelity retention.
- Generalizability:
- Showed robustness across digitally simulated and real-world makeup styles, including variations in pose, illumination, and accessories.
- Efficiency:
- The model is relatively fast, taking approximately 2 seconds for processing, making it suitable for real-time applications.
Limitations and Future Work
- Extreme Makeup Cases: The paper acknowledges that for very drastic or Halloween-style makeup, DIFFCLEAN can reduce the effect but not completely remove it. Future work will involve using semantic segmentation masks to guide makeup removal for extreme cases.
- Hallucinations: While generally good, the model can sometimes introduce minor hallucinations, such as lower teeth artifacts in certain scenarios.
- Adversarial Makeup Transfer: The paper notes that while DIFFCLEAN appears benign, further comprehensive analysis is needed to ensure it doesn't compromise privacy protection schemes that rely on impersonation.
- Age Group Disparities: While improving overall, there's a slight drop in accuracy for the 20-29 age group, which warrants further investigation.
The authors suggest that DIFFCLEAN can be readily deployed as a plug-in module for online age verification systems, enhancing their reliability and security.
Summary updated