Deep Face Feature for Face Alignment and Reconstruction

Boyi Jiang, Juyong Zhang, Bailin Deng, Yudong Guo, Ligang Liu

Abstract

In this paper, we present a deep learning based image feature extraction method designed specifically for face images. To train the feature extraction model, we construct a large scale photo-realistic face image dataset with ground-truth correspondence between multi-view face images, which are synthesized from real photographs via an inverse rendering procedure. The deep face feature (DFF) is trained using correspondence between face images rendered from different views. Using the trained DFF model, we can extract a feature vector for each pixel of a face image, which distinguishes different facial regions and is shown to be more effective than general-purpose feature descriptors for face-related tasks such as matching and alignment. Based on the DFF, we develop a robust face alignment method, which iteratively updates landmarks, pose and 3D shape. Extensive experiments demonstrate that our method can achieve state-of-the-art results for face alignment under highly unconstrained face images.

Introduction

Face alignment—the task of identifying specific landmarks like eye corners or nose tips—is a cornerstone of facial recognition and 3D reconstruction. However, traditional methods struggle with "in-the-wild" images, particularly those with large pose variations (e.g., profile views). The core issue is that standard descriptors like SIFT are "face-blind"; they look at local pixel gradients without understanding the global structure of a face. When a face turns, landmarks disappear or look entirely different, causing these general descriptors to fail. This research introduces Deep Face Feature (DFF), a specialized image descriptor that "knows" it's looking at a face and can identify the same anatomical point regardless of lighting, expression, or camera angle.

Methodology

Data Synthesis

Since real-world images with perfect 3D ground truth are rare, an inverse rendering procedure was used to "lift" 4,308 real photos into 3D. From these, 80,000 photo-realistic images were synthesized with varying poses and expressions, providing a massive dataset with pixel-perfect 3D correspondences.

DFF Training

The authors designed a CNN architecture, illustrated in Figure 1, to extract a 32-dimensional feature vector for every pixel.

The U-Net style CNN architecture used for extracting Deep Face Features (DFF).

To train this network, a random segmentation loss was employed. By dividing a 3D face model into 500 small patches, the network was tasked with classifying pixels into these patches. This forces the network to assign similar "signatures" to pixels representing the same anatomical part of the face across different images, ensuring anatomical consistency.

Iterative Alignment

Using the extracted DFFs, a cascaded regression algorithm was developed. It starts with a mean face and iteratively updates the 3D pose, shape, and landmark positions. Because DFFs are globally aware, the algorithm can accurately estimate the positions of occluded landmarks, such as the hidden eye in a profile view.

Iterative face alignment process showing landmark estimation and pose projection.

Experimental Evaluation

The method was evaluated on several challenging datasets, including AFLW (for large-pose alignment), AFLW2000-3D (for 3D face alignment accuracy), and 300W (for medium-pose performance).

On the AFLW dataset (21 points), the DFF-based method achieved a Normalized Mean Error (NME) of 3.68% for small poses and 5.78% for large poses, significantly outperforming previous methods like RCPR and 3DDFA. In the most difficult category (60° to 90° yaw), the method showed a dramatic improvement over SIFT-based regression. Furthermore, the entire pipeline runs in less than 35ms on a modern GPU, making it suitable for real-time applications.

Discussion

The primary advantage of DFF is its anatomical consistency. By training the network to recognize where on the face a pixel belongs in 3D space, the descriptor becomes invariant to lighting and viewpoint. Unlike local descriptors like SIFT, the DFF extractor considers the entire image, allowing it to distinguish between similar-looking local patches (e.g., left vs. right nostril). While the method is constrained by the 3D Morphable Model (3DMM) and a slight domain gap between synthetic and real data, it sets a new state-of-the-art for "in-the-wild" face alignment.

Conclusion

This paper demonstrates that specialized face features are essential for robust alignment in extreme poses. Future work may extend DFFs to tasks like emotion detection, high-fidelity neural rendering, or face recognition.

Reference: Jiang, B., Zhang, J., Deng, B., Guo, Y., & Liu, L. (2018). Deep Face Feature for Face Alignment. arXiv:1708.02721v2.

Summary updated

BibTeX
@misc{jiang2017deep,
  author = {Boyi Jiang and Juyong Zhang and Bailin Deng and Yudong Guo and Ligang Liu},
  title = {{Deep Face Feature for Face Alignment and Reconstruction}},
  year = {2017},
  eprint = {1708.02721},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.02721},
}
Figure