Face Alignment Using K-Cluster Regression Forests With Weighted Splitting

Marek Kowalski, Jacek Naruniec

Face alignment—the task of pinpointing facial landmarks like the corners of eyes or the tip of the nose—is a cornerstone of modern computer vision. While we’ve become quite good at it for front-facing photos, performance often degrades when faces are tilted or partially turned. In this paper, Marek Kowalski and Jacek Naruniec introduce a more robust pipeline that combines a smarter regression forest with a 3D-aware initialization step to achieve state-of-the-art results.

TL;DR

The authors propose a face alignment pipeline that uses K-cluster Regression Forests with Weighted Splitting (KRFWS) and a novel 3D Affine Pose Regression (3D-APR). By accounting for out-of-plane head rotation during initialization and prioritizing "high-impact" samples during tree training, they achieved a 20% accuracy improvement over standard methods on challenging datasets.

What Problem Does This Paper Address?

Most face alignment methods rely on Cascaded Shape Regression (CSR). This process starts with an initial guess (usually a mean face shape placed inside a detected bounding box) and iteratively refines it.

However, this approach faces two major hurdles:

  1. Poor Initialization: If the face is rotated (e.g., looking to the side), a 2D mean face is a terrible starting point. Standard 2D affine transforms can't fix "out-of-plane" rotations like yaw and pitch.
  2. Sub-optimal Splitting: Regression forests typically use simple classifiers to split data at each node. If a sample is misclassified during training, it can significantly increase the overall error (Sum of Squared Errors), yet standard forests treat all samples as equally important during the split.

Methods

The authors introduce two key innovations to solve these problems:

1. K-cluster Regression Forests with Weighted Splitting (KRFWS)

Building on K-cluster Regression Forests (KRF), the authors added a weighting scheme. In KRF, the target space is divided into $K$ clusters, and an SVM classifier learns to send samples to the correct child node.

  • The Innovation: KRFWS assigns higher weights to samples that are far from the cluster boundary. Why? Because if a sample far from the boundary is misclassified, it has a massive negative impact on the Sum of Squared Errors (SSE). By forcing the SVM to focus on these high-impact samples, the resulting trees are more accurate and efficient.

2. 3D Affine Pose Regression (3D-APR)

Standard initialization (APR) uses 2D transforms to adjust the scale and rotation of the face.

  • The Innovation: 3D-APR fits an average 3D face shape to the initial estimate. It estimates 3D rotation parameters (yaw, pitch, roll) and then projects that 3D shape back into 2D. This allows the system to compensate for head turns that 2D methods simply cannot model.

Datasets

The researchers evaluated their work on two primary benchmarks:

  • 300-W Dataset: A standard for face alignment, consisting of several subsets: AFW, HELEN, LFPW, and the notoriously difficult IBUG dataset (which contains faces with extreme poses and expressions).
  • Pointing’04 Dataset: Used specifically to test head pose estimation, containing images of 15 subjects with varying pitch and yaw.

Key Insights and Ideas

  • Not All Errors are Equal: The "aha moment" for KRFWS is realizing that misclassifying a sample near the decision boundary is "cheap" in terms of error, while misclassifying an outlier is "expensive." Weighting the classifier accordingly makes the forest much more robust.
  • 3D is Essential for 2D Tasks: Even though the final output is 2D landmarks, using a 3D model for initialization provides a massive head start, especially for the "challenging" subsets of data where faces are not looking directly at the camera.
  • Efficiency Gains: Surprisingly, KRFWS is actually faster to train than standard KRF in MATLAB. Because the splits are more effective, the trees reach their stopping criteria (minimum samples per node) more quickly.

Key Results

  • Initialization Accuracy: The proposed Combined APR (CAPR) reduced the error of standard Linear APR by 35% on the full 300-W dataset.
  • Face Alignment Performance: On the challenging IBUG dataset, the full pipeline (CAPR + KRFWS LBF) showed a 20% improvement over the standard Local Binary Features (LBF) method.
  • Head Pose Estimation: KRFWS outperformed the baseline KRF and Adaptive KRF (AKRF) on the Pointing’04 dataset, proving the weighting scheme's general utility beyond just face alignment.

Limitations and Future Work

The authors note that while they used $K=2$ (binary splits) for most experiments based on prior literature, they plan to investigate whether different values of $K$ (multi-way splits) could further improve performance. Additionally, while the 3D-APR is effective, it relies on an "average" 3D face shape; future iterations might benefit from more personalized or flexible 3D models.

Summary updated

BibTeX
@article{kowalski2016face,
  author = {Marek Kowalski and Jacek Naruniec},
  title = {{Face Alignment Using K-Cluster Regression Forests With Weighted Splitting}},
  journal = {IEEE Signal Processing Letters},
  year = {2016},
  url = {https://openreview.net/forum?id=2b9mMs1V6I},
}

Loading related content...

Figure