Real-time Memory Efficient Large-pose Face Alignment via Deep Evolutionary Network

Bin Sun, Ming Shao, Siyu Xia, Yun FuarXiv 2019

Abstract

There is an urgent need to apply face alignment in a memory-efficient and real-time manner due to the recent explosion of face recognition applications. However, impact factors such as large pose variation and computational inefficiency, still hinder its broad implementation. To this end, we propose a computationally efficient deep evolutionary model integrated with 3D Diffusion Heap Maps (DHM). First, we introduce a sparse 3D DHM to assist the initial modeling process under extreme pose conditions. Afterward, a simple and effective CNN feature is extracted and fed to Recurrent Neural Network (RNN) for evolutionary learning. To accelerate the model, we propose an efficient network structure to accelerate the evolutionary learning process through a factorization strategy. Extensive experiments on three popular alignment databases demonstrate the advantage of the proposed models over the state-of-the-art, especially under large-pose conditions. Notably, the computational speed of our model is 6 times faster than the state-of-the-art on CPU and 14 times on GPU.

Introduction

Face alignment—the task of automatically locating key landmarks such as eyes, nose, and mouth—is a cornerstone of modern computer vision applications, including gaze detection and augmented reality. Despite its importance, two major hurdles persist: large pose variations and computational efficiency. When a face turns significantly, many landmarks become invisible, causing traditional 2D models to struggle. Furthermore, while 3D-based deep learning models handle these poses better, they are often too computationally heavy for real-time use on low-power hardware. This paper introduces a lightweight "Deep Evolutionary Network" designed to bridge this gap, achieving state-of-the-art accuracy with a model size under 1MB.

Methodology

The proposed architecture utilizes a three-pronged approach to achieve robustness and efficiency, combining sparse spatial encoding with optimized neural modules.

The proposed Deep Evolutionary Network architecture, integrating 3D DHM generation, a Fast CNN, and a Fast RNN for iterative refinement.

Sparse 3D Diffusion Heat Maps (DHM)

To provide 3D context without the massive memory overhead of traditional 68-channel heatmaps, the authors introduce a sparse 3-channel DHM representing X, Y, and Z coordinates. By applying a Gaussian diffusion process, the model captures essential local spatial relationships while remaining extremely memory-efficient.

Fast CNN and Recurrent Modules

The core of the network consists of a Fast CNN for feature extraction and a Fast RNN for evolutionary landmark refinement. Both modules are optimized using a factorization strategy. Specifically, standard convolutions are replaced with depthwise separable convolutions (depthwise and pointwise layers), a technique that drastically reduces the number of parameters and operations.

Detailed structure of the Fast CNN, highlighting the use of depthwise (dw) and pointwise (pw) convolutions to reduce computational overhead.

The Fast RNN treats face alignment as an iterative process, refining landmark positions over several steps. This evolutionary approach allows the network to correct initial guesses without the need for expensive 3D Morphable Model (3DMM) parameter calculations during inference.

Experimental Results

The model was trained on the 300W-LP dataset and evaluated on benchmarks including AFLW2000-3D and LS3D-W.

  • Computational Performance: The "Fast DHM" model achieves 80 FPS on a single-core CPU and a blistering 740 FPS on a GPU, representing a 14x speedup over previous state-of-the-art models like PRNet.
  • Memory Efficiency: With a final model size of only 976 KB, the proposed network is approximately 12.5x smaller than baseline deep learning models, making it ideal for "on-the-edge" deployment.
  • Accuracy: The model demonstrates superior performance on the AFLW2000-3D dataset, particularly in difficult large-pose categories (60° to 90° rotation), outperforming much larger models like 3DFAN and 3DDFA.

Conclusion

The Deep Evolutionary Network offers a highly efficient and robust solution for real-time face alignment under extreme poses. While challenges remain regarding extreme occlusion and potential local minima during the iterative refinement process, the proposed lightweight architecture sets a new standard for mobile-friendly facial landmark detection. Future research will explore applying the Fast Recurrent Module to other iterative regression tasks in computer vision.

Summary updated

BibTeX
@misc{sun2019real,
  author = {Bin Sun and Ming Shao and Siyu Xia and Yun Fu},
  title = {{Real-time Memory Efficient Large-pose Face Alignment via Deep Evolutionary Network}},
  year = {2019},
  eprint = {1910.11818},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.11818},
}
Figure