Abstract
Face Alignment is an active computer vision domain that consists in localizing a number of facial landmarks that vary across datasets. State-of-the-art face alignment methods either consist in end-to-end regression, or in refining the shape in a cascaded manner, starting from an initial guess. In this paper, we introduce DeCaFA, an end-to-end deep convolutional cascade architecture for face alignment. DeCaFA uses fully-convolutional stages to keep full spatial resolution throughout the cascade. Between each cascade stage, DeCaFA uses multiple chained transfer layers with spatial softmax to produce landmark-wise attention maps for each of several landmark alignment tasks. Weighted intermediate supervision, as well as efficient feature fusion between the stages allow to learn to progressively refine the attention maps in an end-to-end manner. We show experimentally that DeCaFA significantly outperforms existing approaches on 300W, CelebA and WFLW databases. In addition, we show that DeCaFA can learn fine alignment with reasonable accuracy from very few images using coarsely annotated data.
Introduction
Face alignment—the precise localization of facial landmarks like eyes, nose, and mouth—is a foundational step for facial analysis. However, real-world "in the wild" variability in pose, expression, and occlusion remains a significant challenge. Furthermore, the field suffers from data heterogeneity, where different datasets use inconsistent landmark markups (e.g., 5 vs. 68 vs. 98 points). Traditional cascaded regression methods offer robustness but often lack the representational depth of modern neural networks, while many deep learning models sacrifice spatial resolution by regressing coordinates from compressed feature vectors.
Methodology: The DeCaFA Architecture
The Deep Convolutional Cascade for Face Alignment (DeCaFA) addresses these issues by combining the strengths of cascading with a fully-convolutional architecture.
Fully-Convolutional Cascade
DeCaFA consists of $S$ stages, each utilizing a U-Net backbone. This design ensures that spatial resolution is preserved throughout the network, which is vital for precise landmark localization. Unlike older cascades where each step was a separate model, DeCaFA is a single, differentiable graph.
Landmark-wise Attention and Chained Transfer
Each stage generates heatmaps, or attention maps, for every landmark. A differentiable soft-argmax layer converts these maps into coordinates, enabling end-to-end training. To handle multiple markups, DeCaFA employs chained transfer layers. Tasks are ordered by complexity (e.g., 98 points $\rightarrow$ 68 points $\rightarrow$ 5 points), allowing the model to share features across different landmark definitions and leverage coarse data as weak supervision for fine alignment.
Feature Fusion and Supervision
Between stages, a fusion mechanism combines the original image, the image masked by current landmark estimates (providing local context), and feature embeddings from the previous stage (providing global context). The model is trained with weighted intermediate supervision, where later stages receive higher loss weights, naturally inducing a coarse-to-fine refinement process.
Key Insights: Progressive Refinement
A core strength of DeCaFA is its ability to progressively sharpen its predictions. By using the predicted attention maps to "mask" or focus the input for subsequent stages, the model effectively "zooms in" on relevant facial features.
This synergy between different markups is a significant finding. The authors demonstrate that training on coarse data (like CelebA's 5 points) significantly boosts the performance of models targeting fine markups (like WFLW's 98 points). This "who can do more can do less" approach allows the network to treat coarse data as a form of weak supervision.
Experimental Results
DeCaFA achieves state-of-the-art (SOTA) performance across several major benchmarks:
- 300W: Achieved a Mean Error (ME) of 3.39% on the full set, surpassing models like LAB and DAN-MENPO.
- WFLW: Achieved an ME of 4.62%, showing high robustness to occlusions and illumination changes compared to Wing Loss (5.11%).
- CelebA: Set a new SOTA with a 2.10% mean error.
- Data Efficiency: Remarkably, DeCaFA trained on just 3% of 300W data (supplemented by coarse CelebA data) outperformed several older models trained on the full 100% of the 300W dataset.
Conclusion
DeCaFA introduces a powerful end-to-end framework for face alignment that excels in handling diverse datasets and challenging real-world conditions. By maintaining spatial resolution and utilizing chained transfer layers, it effectively bridges the gap between different landmark markups. Future work may involve explicitly modeling head pose and occlusion or extending this cascaded attention mechanism to other domains like human pose estimation.
Summary updated