TL;DR
PSGAN++ is a versatile generative framework designed for high-fidelity makeup transfer and removal that remains robust even when faces have drastically different poses or expressions. By using "spatial-aware" makeup matrices and an attentive morphing module, it allows for precise, degree-controllable, and partial makeup application (e.g., just the lipstick) while preserving fine details like cheek blush and nose highlights.
What Problem Does This Paper Address?
Makeup transfer—applying the cosmetic style of a reference image to a source face—is a staple of modern photo-editing and "virtual try-on" apps. However, most existing models suffer from three major flaws:
- Pose/Expression Sensitivity: They usually require both faces to be frontal and neutral. If the reference is smiling and the source is looking away, the makeup "smears" or aligns incorrectly.
- Loss of Detail: Subtle but essential makeup elements, such as the highlight on the bridge of the nose or the specific gradient of blush on the cheeks, are often lost.
- Lack of Control: Most models are "all-or-nothing." Users cannot easily choose to transfer only the eye shadow or adjust the "heaviness" of the applied look.
PSGAN++ tackles these by treating makeup as a spatially-aware style that can be morphed and adapted to the geometry of any target face.
Methods
The architecture of PSGAN++ consists of several specialized sub-networks:
- Makeup Distill Network (MDNet): Instead of extracting a single global "style vector," MDNet extracts makeup information into spatial-aware makeup matrices. These matrices store style information relative to facial coordinates.
- Attentive Makeup Morphing (AMM): This is the core innovation. AMM calculates pixel-wise correspondences between the source and reference faces using facial landmarks and parsing maps. It ensures that the "blush" pixels from the reference are correctly mapped to the "cheek" pixels of the source, regardless of head rotation.
- Identity Distill Network (IDNet): Used specifically for the makeup removal task, this network embeds identity information to help the model "undo" makeup while keeping the person's underlying features intact.
- Style Transfer Network (STNet): This generator takes the morphed makeup matrices and applies them to the source image's feature maps through pixel-wise multiplication and addition.
- Makeup Detail Loss: The authors introduced a new loss function that supervises the model specifically in high-detail areas (like the nose and cheeks) using dense facial landmarks to ensure highlights and blush are preserved.
Datasets
The researchers evaluated their model on three datasets, including two new benchmarks:
- MT Dataset: A standard makeup dataset with ~3,800 images (361x361).
- MT-Wild (New): 772 images featuring diverse poses, expressions, and complex backgrounds to test "in-the-wild" robustness.
- MT-HR (New): A high-resolution dataset of 3,000 images at 512x512 resolution, the first of its kind for this specific task.
Key Insights and Ideas
- Makeup is Local, Not Global: Traditional style transfer treats an image's style as a global texture. PSGAN++ recognizes that makeup is strictly tied to facial anatomy. By using spatial matrices instead of flat vectors, the model "knows" where the lipstick ends and the skin begins.
- Morphing vs. Warping: Instead of a simple geometric warp, the AMM module uses an attention mechanism. This allows the model to selectively "attend" to semantically similar regions (e.g., the left corner of the nose) even if they are in completely different positions in the two images.
- The Power of Partial Transfer: Because the makeup is stored in spatial matrices, the authors found they could simply use binary masks to perform partial transfers (e.g., taking lipstick from Reference A and eye shadow from Reference B).
Key Results
- User Preference: In blind user studies, PSGAN++ was selected as the "best" result ~47-51% of the time, significantly outperforming previous state-of-the-art models like LADN (0.5%) and the original PSGAN (33-38%).
- Identity Preservation: Using ArcFace similarity scores, PSGAN++ achieved a score of 0.9726, proving it changes the makeup without altering the person's underlying identity.
- Robustness: Qualitative results show the model successfully transferring makeup from a profile-view reference to a frontal-view source without "ghosting" or misalignment.
- Removal Performance: The model outperformed specialized removal networks (like DRL) in face verification tasks, showing that its "de-makeup" images are highly accurate for biometric use.
Limitations and Future Work
The authors acknowledge a few remaining hurdles:
- Illumination Interference: If a reference image has strong directional lighting, the model sometimes mistakes shadows on the skin for makeup (e.g., contouring) and transfers those shadows to the source image, leading to unnatural results.
- Resolution Ceiling: While they moved the needle to 512x512, many commercial applications require 1024x1024 or higher.
- 3D Modeling: Future work may involve 3D face modeling to better separate the "makeup" layer from the "lighting" layer, further improving robustness to environmental conditions.
Summary updated