Dynamic Attention-Controlled Cascaded Shape Regression Exploiting Training Data Augmentation and Fuzzy-Set Sample Weighting

Zhen-Hua Feng, Josef Kittler, William J. Christmas, Patrik Huber, Xiaojun Wu

TL;DR

This paper introduces DAC-CSR, a novel cascaded shape regression architecture for robust facial landmark detection in unconstrained images. It tackles the challenge of extreme pose and appearance variations by employing a dynamic attention mechanism, fuzzy sample weighting for training, and a 2D-based data augmentation technique for generating out-of-plane poses.

What Problem Does This Paper Address?

Facial landmark detection (FLD), the process of identifying key points on a face (like eye corners, nose tip, etc.), is a crucial preprocessing step for many computer vision tasks, including face recognition and expression analysis. While FLD has seen significant progress for constrained images (e.g., frontal faces with neutral expressions), it remains a challenging problem for unconstrained scenarios. These unconstrained images often feature extreme variations in pose (e.g., profile views), illumination, expression, and partial occlusions. Existing state-of-the-art methods, particularly those based on Cascaded Shape Regression (CSR), are starting to saturate in performance when faced with these extreme variations. The authors identify three main limitations of current CSR approaches: limited modeling capacity, sensitivity to initial face bounding box accuracy, and insufficient training data for diverse scenarios. This paper aims to overcome these limitations to achieve more robust FLD.

Methods

The proposed DAC-CSR architecture is a three-stage cascaded system:

  1. Face Bounding Box Refinement: This initial stage focuses on improving the accuracy of the initial face bounding box. This is crucial because subsequent stages are sensitive to the quality of this initial estimate.
  2. General CSR: A standard cascaded shape regression is applied to refine the facial landmarks based on the improved bounding box. This stage uses a general regressor to provide an initial landmark estimate.
  3. Attention-Controlled CSR: This is the core innovation. It employs multiple "domain-specific" CSRs, each trained to handle specific types of facial variations or "domains." An online dynamic model selection mechanism selects the most appropriate domain-specific CSR at each step of the regression to further refine the landmarks.

Key novelties within DAC-CSR include:

  • Fault-Tolerant Mechanism with Fuzzy Sample Weighting: Instead of training each domain-specific regressor on its own subset of data, DAC-CSR trains them using all training samples. However, the influence of each sample is weighted using a fuzzy membership function. This allows each domain-specific regressor to learn from a broader range of data, making it more robust even if the wrong domain is selected during testing. An annealing schedule sharpens these weights over successive stages.
  • Dynamic Domain Selection: During testing, the system dynamically selects the domain-specific CSR at each regression step, based on the current shape estimate. This allows for continuous refinement and adaptation to the specific characteristics of the input face.
  • 2D Profile Face Generation: To address the lack of training data for extreme poses, the authors propose a novel and efficient 2D-based method for generating synthetic faces with out-of-plane rotations. This method uses a PCA-based shape model and affine warping to create realistic profile views without requiring expensive 3D scans.
  • Context-Aware Feature Extraction: The method combines dense local features from the entire face region with sparse shape-related local features around landmarks, providing a richer representation for regression.

Datasets

The paper evaluates its method on two challenging datasets:

  • Annotated Facial Landmarks in the Wild (AFLW) [24]: This dataset contains unconstrained faces with significant pose variations (up to ±90°). The authors use both the "AFLW-full" and "AFLW-frontal" protocols.
  • Caltech Occluded Faces in the Wild (COFW) [4]: This dataset features unconstrained faces with major occlusions.

The authors also describe their data augmentation strategy, which involves generating synthetic faces using their 2D profile face generator.

Key Insights and Ideas

  • The importance of robust initialization: The paper highlights that improving the initial face bounding box is a critical first step that significantly benefits subsequent landmark detection.
  • Leveraging all data for domain-specific training: Training domain-specific models on all data with fuzzy weighting is a clever way to build more generalized and fault-tolerant regressors, mitigating the risk of poor performance if a domain is misclassified.
  • Dynamic adaptation is key for unconstrained faces: The online, step-by-step domain selection allows the model to adapt its strategy as the landmark estimation progresses, which is essential for handling complex variations.
  • Efficient data augmentation for extreme poses: The 2D-based profile face generation offers a practical and cost-effective way to significantly expand training data for challenging poses, which is a major bottleneck in FLD.

Key Results

The DAC-CSR architecture demonstrates state-of-the-art performance on the challenging AFLW dataset, achieving the best normalized average error on both full and frontal test sets. On the COFW dataset, it also achieves competitive results, outperforming many existing methods and showing comparable accuracy to cutting-edge deep-learning approaches. Notably, the DAC-CSR achieves a speed of up to 10 FPS on an Intel i7-4790 CPU, which is faster than some GPU-accelerated methods. The self-evaluation shows that the combination of the DAC-CSR architecture and the 2D-based data augmentation method yields the best results.

Limitations and Future Work

The authors acknowledge that the current bottleneck for unconstrained FLD is not necessarily speed, as some methods can achieve very high frame rates. The primary focus of their work is on robustness. They suggest that future work could explore combining their DAC-CSR architecture and data augmentation techniques with deep-neural-network-based approaches for even further improvements.

Summary updated

Abstract

We present a new Cascaded Shape Regression (CSR) architecture, namely Dynamic Attention-Controlled CSR (DAC-CSR), for robust facial landmark detection on unconstrained faces. Our DAC-CSR divides facial landmark detection into three cascaded sub-tasks: face bounding box refinement, general CSR and attention-controlled CSR. The first two stages refine initial face bounding boxes and output intermediate facial landmarks. Then, an online dynamic model selection method is used to choose appropriate domain-specific CSRs for further landmark refinement. The key innovation of our DAC-CSR is the fault-tolerant mechanism, using fuzzy set sample weighting, for attention-controlled domain-specific model training. Moreover, we advocate data augmentation with a simple but effective 2D profile face generator, and context-aware feature extraction for better facial feature representation. Experimental results obtained on challenging datasets demonstrate the merits of our DAC-CSR over the state-of-the-art methods.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
AFLWOur DAC-CSRaverage error, normalised by face size2.27%Facial Landmark Localization · split: test
Source quote
L363: Our DAC-CSR │ 2.27% │ \textbf{1.81{}%}
AFLWCCLaverage error, normalised by face size2.72%Facial Landmark Localization · split: test
Source quote
L362: CCL~\cite{zhu2016unconstrained} │ 2.72% │ 2.17%
AFLWOur DAC-CSRaverage error, normalised by face size1.81%Facial Landmark Localization · split: test
Source quote
L363: Our DAC-CSR │ 2.27% │ \textbf{1.81{}%}
AFLWCCLaverage error, normalised by face size2.17%Facial Landmark Localization · split: test
Source quote
L362: CCL~\cite{zhu2016unconstrained} │ 2.72% │ 2.17%
COFWOur DAC-CSRerror on 29 landmarks, normalised by the inter-ocular distance6.03%Face Alignment · split: test
Source quote
L399: Our DAC-CSR │ 6.03% │ 4.73% │ 10
COFWRARerror on 29 landmarks, normalised by the inter-ocular distance6.03%Face Alignment
Source quote
L398: RAR~\cite{Xiao2016} │ 6.03% │ 4.14% │ 4 (GPU)
BibTeX
@inproceedings{feng2017dynamic,
  author = {Zhen-Hua Feng and Josef Kittler and William J. Christmas and Patrik Huber and Xiaojun Wu},
  title = {{Dynamic Attention-Controlled Cascaded Shape Regression Exploiting Training Data Augmentation and Fuzzy-Set Sample Weighting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.392},
}
Figure