A Method for Non-Rigid Face Alignment via Combining Local and Holistic Matching

Yang Yang, Shaoyi Du, Zhuo ChenPLoS 2016

Abstract

We propose a method for non-rigid face alignment which only needs a single template, such as using a person's smile face to match his surprise face. First, in order to be robust to outliers caused by complex geometric deformations, a new local feature matching method called K Patch Pairs (K-PP) is proposed. Specifically, inspired by the state-of-art similarity measure used in template matching, K-PP is to find the mutual K nearest neighbors between two images. A weight matrix is then presented to balance the similarity and the number of local matching. Second, we proposed a modified Lucas-Kanade algorithm combined with local matching constraint to solve the non-rigid face alignment, so that a holistic face representation and local features can be jointly modeled in the object function. Both the flexible ability of local matching and the robust ability of holistic fitting are included in our method. Furthermore, we show that the optimization problem can be efficiently solved by the inverse compositional algorithm. Comparison results with conventional methods demonstrate our superiority in terms of both accuracy and robustness.

Introduction

Face alignment—the process of mapping pixels between a template and a target image to consistent semantic locations—is a cornerstone of computer vision. However, it faces a significant challenge in non-rigid scenarios where facial expressions change drastically. Traditional approaches often struggle with a "Goldilocks" problem: holistic methods (like standard Lucas-Kanade) are prone to local minima during large deformations, while local patch-matching methods often produce outliers that lead to inaccurate alignments.

This paper introduces a robust framework for non-rigid face alignment that requires only a single template image. By hybridizing a novel local feature matching technique called K Patch Pairs (K-PP) with a holistic Lucas-Kanade optimization, the method achieves high accuracy even when a subject's expression shifts drastically (e.g., matching a neutral face to a wide-mouthed surprise).

Methodology

The primary local innovation of this work is the K-PP method. It builds upon "Best-Buddies Pairs" (BBP), which only considers a match if two patches are each other's unique nearest neighbor. While accurate, BBP often finds too few points for complex facial deformations. K-PP relaxes this by finding the mutual K-nearest neighbors. By setting $K > 1$, the algorithm identifies more corresponding points while using a weighting matrix to prioritize the most reliable matches, effectively filtering out noise.

Modified Lucas-Kanade (LK) Framework

The authors integrate these local K-PP matches directly into a holistic LK objective function. Instead of merely minimizing pixel intensity differences, the new objective function penalizes the distance between the model's landmarks and the locations suggested by the K-PP matches. This allows the local matches to act as a "guider" for the holistic model, providing a corrective force that prevents landmarks from drifting toward incorrect features (like matching a lip corner to a nostril).

Optimization Efficiency

To maintain computational speed, the framework employs the Inverse Compositional (IC) algorithm. This allows for the pre-computation of the Hessian matrix, significantly reducing the iterative computational burden and making the system practical for real-world applications.

Experimental Evaluation

Datasets

The researchers evaluated their method using the Cohn-Kanade (CK) Facial Expression Database (263 images featuring extreme expressions) and a Self-Captured Dataset (20 images of Asian subjects) to test demographic generalization. All images were manually annotated with 80 landmarks to provide a ground-truth standard for calculating Root Mean Square Error (RMSE).

Key Insights

  • The Optimal K: The authors identified $K=4$ as the "sweet spot" for balancing the quantity of matches with the quality of the alignment.
  • Robustness to Perturbation: In tests involving 10-degree rotations and Gaussian noise, the LK+K-PP method maintained a high success rate while competing methods' performance plummeted.
  • Regional Accuracy: The method was particularly effective on the lower face (mouth and contour), where non-rigid deformations are most extreme.

Conclusion

The proposed LK+K-PP method demonstrates superior accuracy and robustness compared to standard LK and BBP-based approaches. While highly effective, the authors note that future work could improve illumination sensitivity by replacing simple pixel-based patches with more robust descriptors like HOG (Histogram of Oriented Gradients).

Summary updated

BibTeX
@inproceedings{yang2016method,
  author = {Yang Yang and Shaoyi Du and Zhuo Chen},
  title = {{A Method for Non-Rigid Face Alignment via Combining Local and Holistic Matching}},
  booktitle = {PLoS},
  year = {2016},
  doi = {10.1371/journal.pone.0159376},
}
Figure