Recursive Spatial Transformer (ReST) for Alignment-Free Face Recognition

Wanglong Wu, Meina Kan, Xin Liu, Yi Yang, Shiguang Shan, Xilin Chen

Introduction

Traditional face recognition systems rely on a rigid, multi-stage pipeline. Typically, a face is first detected, then aligned to a "canonical" template using facial landmarks (like eyes and nose), and finally passed to a Convolutional Neural Network (CNN) for identification.

Standard face recognition pipeline involving detection, alignment, and identification.

This paper argues that this decoupled approach is suboptimal. Pre-aligning every face to a generic template discards unique geometric information that could aid identification. Furthermore, the alignment step is task-agnostic; it doesn't know what specific features the recognition network needs. To solve this, the authors introduce the Recursive Spatial Transformer (ReST), an end-to-end module that learns to align and recognize faces simultaneously.

The ReST Architecture

The ReST module builds upon the Spatial Transformer Network (STN) but introduces three primary innovations to handle the complexities of real-world facial imagery:

1. Recursion (ReST)

Instead of attempting a single-shot alignment, the ReST module applies transformations iteratively. Each recursion takes the output of the previous step and refines the transformation. This "coarse-to-fine" approach allows the model to progressively unwarp faces with extreme poses or rotations that a single transformation might fail to correct.

Comparison of detected faces vs. progressive unwarping through 1-4 recursions of ReST compared to a standard ST-Net.

2. Hierarchy (HiReST)

To address non-rigid facial variations like expressions (smiles, scowls), the authors proposed HiReST. While initial layers handle global alignment (scaling and rotation), subsequent layers focus on local regions. This hierarchical structure allows the model to independently model different facial parts, providing a more nuanced alignment than global affine transformations alone.

3. Computational Efficiency

To mitigate the cost of recursive passes, "Fast ReST" shares early convolutional layers between the alignment and recognition tasks. Additionally, transformations are applied directly to feature maps in the early stages rather than raw pixels, keeping the computational overhead to approximately 1.23x that of a standard AlexNet.

Experimental Results

The model was evaluated on major benchmarks including CASIA-WebFace (training), Labeled Faces in the Wild (LFW), and YouTube Faces (YTF).

Key performance metrics include:

  • Verification Accuracy: On LFW, the HiReST-9+ model achieved 99.03% accuracy.
  • Open-Set Identification: The model reached 80.9% (at FAR=1%), outperforming traditional two-step pipelines using the same backbone architecture.
  • Optimal Depth: Performance was found to peak at 4 recursions, after which the marginal gains in alignment accuracy diminished.

Discussion and Future Work

By making alignment a learned, task-driven component of the backpropagation process, ReST preserves the geometric nuances of individual faces while ensuring the alignment specifically serves the goal of identification.

However, the current implementation is limited to affine transformations (scaling, rotation, shearing). While the hierarchical approach mitigates this, it cannot perfectly model highly complex non-linear warping. Future research may explore integrating more complex non-linear transformation modeling and testing the ReST module with more modern architectures like ResNet or Vision Transformers.

Summary updated

BibTeX
@inproceedings{wu2017recursive,
  author = {Wanglong Wu and Meina Kan and Xin Liu and Yi Yang and Shiguang Shan and Xilin Chen},
  title = {{Recursive Spatial Transformer (ReST) for Alignment-Free Face Recognition}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.407},
}
Figure