A Recurrent Encoder-Decoder Network for Sequential Face Alignment

Xi Peng, Rogério Schmidt Feris, Xiaoyu Wang, Dimitris N. Metaxas

Abstract

This paper introduces a unified deep learning framework for facial landmark tracking in video sequences. The proposed Recurrent Encoder-Decoder Network (REDN) leverages "dual recurrence": spatial recurrence for iterative coarse-to-fine alignment and temporal recurrence via Long Short-Term Memory (LSTM) modules for consistency across frames. A key innovation is the supervised disentangling of identity from pose and expression within the network's bottleneck. Experimental results on challenging benchmarks like 300-VW demonstrate state-of-the-art accuracy, robustness to extreme poses, and real-time performance (30ms per frame).

Introduction

Face alignment—the task of identifying specific landmark points such as the corners of eyes and the mouth—is a fundamental component of many computer vision systems. While performance on static images has reached high levels of maturity, video-based alignment remains a significant challenge. Most existing methods treat video frames as independent images, ignoring temporal context, or rely on memory-intensive "cascaded" models where multiple separate networks are stacked to refine predictions. These approaches often struggle with "in-the-wild" conditions, including sudden movements, extreme head rotations, and heavy occlusions.

Proposed Method: Recurrent Encoder-Decoder Network

The authors propose a novel architecture that combines spatial and temporal recurrence within a single encoder-decoder framework. This design aims to achieve high accuracy while maintaining a low memory footprint suitable for real-time applications.

Dual Recurrence Architecture

The core of the system is a VGG-16-based encoder ($f_{ENC}$) that compresses an image into a low-dimensional feature space, and a symmetrical decoder ($f_{DENC}$) that projects these features back into 2D "response maps" ($\mathcal{M}$) for each landmark.

Overview of the Recurrent Encoder-Decoder Network architecture showing spatial ($f_{sRNN}$) and temporal ($f_{tRNN}$) recurrence paths, along with feature disentangling.
  1. Spatial Recurrent Learning ($f_{sRNN}$): Instead of stacking multiple networks, the model feeds the output response maps back into the input for iterative refinement. This allows the model to learn a joint refinement strategy using shared parameters, significantly reducing memory usage compared to traditional cascaded models.
  2. Temporal Recurrent Learning ($f_{tRNN}$): An LSTM module is applied to the temporal features to maintain stability across video frames, allowing the model to "remember" motion patterns even during momentary occlusions.

Feature Decoupling and Disentangling

A critical aspect of the methodology is the supervised disentangling of features in the network's bottleneck. The features are split into an Identity Code ($C_{id}$), representing time-invariant factors, and a Pose/Expression Code ($C_{pe}$), representing frame-to-frame changes. To enforce this separation, a Face Recognition Loss is applied to the identity code during training. This decoupling ensures that the temporal modeling performed by the LSTM is focused purely on motion, leading to greater stability.

Experimental Results

The model was evaluated on several challenging image and video datasets, including AFLW, LFW, and the 300-VW (300 Videos in the Wild) benchmark. The authors manually labeled identities for video datasets to facilitate the supervised disentangling task.

Qualitative results of the proposed model on various challenging face images, showing the generated response maps and final predicted landmarks.

Key findings from the evaluation include:

  • State-of-the-Art Performance: The model outperformed existing methods like SDM and CFAN on the 300-VW benchmark.
  • Robustness to Pose: On faces with large yaw angles ($45^\circ$ to $90^\circ$), spatial recurrence provided a 23.3% improvement in accuracy over a single-pass approach.
  • Efficiency: By using shared weights for spatial recurrence, the model requires only 29.6 MB of memory—roughly 1/3 of the memory needed for a traditional 3-step cascaded model.
  • Real-Time Speed: The system processes frames at approximately 30ms each on a Tesla K40 GPU, making it viable for real-time deployment.

Conclusion

The Recurrent Encoder-Decoder Network provides a robust and efficient solution for sequential face alignment. By integrating spatial and temporal recurrence and explicitly disentangling identity from motion, the framework achieves superior stability in challenging video scenarios. Future work may explore more complex constrained shape models to further improve the handling of spatial dependencies between landmarks and generalize the framework to other localization tasks like human pose estimation.

Summary updated

BibTeX
@inproceedings{peng2016recurrent,
  author = {Xi Peng and Rogério Schmidt Feris and Xiaoyu Wang and Dimitris N. Metaxas},
  title = {{A Recurrent Encoder-Decoder Network for Sequential Face Alignment}},
  booktitle = {European Conference on Computer Vision},
  year = {2016},
  doi = {10.1007/978-3-319-46448-0\_3},
}
Figure