Learning deep representation from coarse to fine for face alignment

Zhiwen Shao, Shouhong Ding, Yiru Zhao, Qinchuan Zhang, Lizhuang MaarXiv 2016

Abstract

In this paper, we propose a novel face alignment method that trains a deep convolutional network from coarse to fine. It divides given landmarks into a principal subset and an elaborate subset. We firstly keep a large weight for the principal subset to make our network primarily predict their locations while slightly taking the elaborate subset into account. Next, the weight of the principal subset is gradually decreased until two subsets have equivalent weights. This process contributes to learning a good initial model and searching the optimal model smoothly to avoid missing fairly good intermediate models in subsequent procedures. On the challenging COFW dataset, our method achieves 6.33% mean error with a reduction of 21.37% compared with the best previous result.

Introduction

Face alignment—the task of automatically identifying the locations of facial landmarks like eyes, nose, and mouth—is a critical preprocessing step for facial recognition and emotion analysis. While deep learning has significantly improved this field, traditional methods often struggle with "in-the-wild" images featuring extreme poses or heavy occlusions. Furthermore, directly training a network to predict dozens of landmarks simultaneously can lead to sub-optimal models, as the network may struggle to balance global face structure with fine-grained details.

This paper introduces a Coarse-to-Fine Training (CFT) algorithm that uses a single deep convolutional network (DCNN) to locate facial landmarks. By initially prioritizing a "principal subset" of key landmarks and gradually increasing the importance of more detailed points, the model achieves state-of-the-art robustness, particularly in cases of severe occlusion.

Methodology

The core of the CFT approach is a dynamic training strategy implemented within a DCNN architecture consisting of eight convolutional layers and multi-level supervision.

Landmark Partitioning

The authors divide facial landmarks into two distinct groups to facilitate hierarchical learning:

  • Principal Subset: 12 key points defining the basic face shape (corners of the eyes, nose tip, mouth corners, and chin tip).
  • Elaborate Subset: The remaining landmarks providing fine detail.
Landmark partitioning into principal (red) and elaborate (green) subsets.

Weighted Loss Function

The network is trained using a dynamic loss function: $E = \lambda E_b + (1 - \lambda) E_r$, where $E_b$ represents the error of the principal subset and $E_r$ represents the elaborate subset. Early in training, $\lambda$ is set high (near 1.0), forcing the network to focus on the global face geometry. As training progresses, $\lambda$ is gradually decreased until it reaches 0.5, where both subsets are weighted equally. This "smooth search" prevents the model from getting stuck in poor local minima early in training.

The progression of landmark localization during coarse-to-fine training as the weighting parameter $\lambda$ decreases.

Multi-Level Supervision

To ensure gradients flow effectively through the deep architecture, the authors add auxiliary supervisory signals to each of the four max-pooling layers. This ensures that intermediate layers learn meaningful features relevant to the final alignment task.

Evaluation and Results

The model was evaluated on three standard benchmark datasets: Helen (dense annotations), 300-W (extreme poses), and COFW (heavy occlusion).

  • Superiority over Direct Training: Compared to "Direct Training" (DT) where all landmarks are weighted equally from the start, CFT reduced mean error by 8.65% on Helen and 6.22% on COFW.
  • State-of-the-Art on COFW: On the occlusion-heavy COFW dataset, the method achieved a 6.33% mean error, representing a 21.37% improvement over the previous best result (TCDCN).
  • Efficiency: The model processes an image in 65 ms on a standard CPU (Intel Core i7-4790). While slower than some specialized real-time models, it remains efficient for near-real-time applications.

Conclusion

The Coarse-to-Fine Training strategy demonstrates that mimicking human perception—identifying the "big picture" before the details—leads to more robust deep representations for face alignment. By focusing on stable landmarks first, the network develops a stronger internal representation of face geometry, making it resilient to occlusions. Future work may focus on reducing computational complexity to match the speed of lighter cascaded models and integrating face detection more tightly with the alignment process.

Summary updated

BibTeX
@misc{shao2016learning,
  author = {Zhiwen Shao and Shouhong Ding and Yiru Zhao and Qinchuan Zhang and Lizhuang Ma},
  title = {{Learning deep representation from coarse to fine for face alignment}},
  year = {2016},
  eprint = {1608.00207},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.00207},
}
Figure