[Paper Review] Super-realtime facial landmark detection and shape fitting by deep regression of shape model parameters
This paper proposes a super-realtime facial landmark detection method that uses a deep neural network to directly regress shape model parameters from a PCA-based statistical shape model, bypassing iterative optimization. By integrating the PCA layer into the network for end-to-end differentiable training, the method achieves 410 FPS on a single GPU while maintaining high accuracy across diverse datasets including RGB, thermal, and medical images.
We present a method for highly efficient landmark detection that combines deep convolutional neural networks with well established model-based fitting algorithms. Motivated by established model-based fitting methods such as active shapes, we use a PCA of the landmark positions to allow generative modeling of facial landmarks. Instead of computing the model parameters using iterative optimization, the PCA is included in a deep neural network using a novel layer type. The network predicts model parameters in a single forward pass, thereby allowing facial landmark detection at several hundreds of frames per second. Our architecture allows direct end-to-end training of a model-based landmark detection method and shows that deep neural networks can be used to reliably predict model parameters directly without the need for an iterative optimization. The method is evaluated on different datasets for facial landmark detection and medical image segmentation. PyTorch code is freely available at https://github.com/justusschock/shapenet
Motivation & Objective
- To enable super-realtime facial landmark detection with high precision and robustness across diverse imaging modalities.
- To overcome the computational bottleneck of iterative model-based fitting methods like Active Shape Models by replacing optimization with direct deep regression.
- To integrate the PCA-based shape model into a differentiable neural network layer for end-to-end training and faster inference.
- To generalize the method beyond face detection to other shape fitting tasks in medical imaging and non-visual modalities such as thermal imaging.
- To reduce reliance on iterative refinement by learning shape parameter prediction directly from input images using a lightweight, fully convolutional architecture.
Proposed method
- The method uses a lightweight, fully convolutional neural network for feature extraction, avoiding fully connected layers to reduce parameters and increase speed.
- A novel differentiable PCA layer computes the final landmark positions as a linear combination of shape eigenvectors weighted by predicted parameters, enabling end-to-end backpropagation.
- Global transformation parameters (translation, scale, rotation) are predicted separately and applied to the canonical shape to align it with the image coordinate system.
- Spatially separated convolutions are used along both image axes to further reduce parameter count and maintain high efficiency.
- The network is trained end-to-end using a differentiable loss function that minimizes normalized point-to-point error between predicted and ground-truth landmarks.
- The architecture is applied uniformly across datasets, with only the number of shape parameters and input preprocessing adjusted per modality.
Experimental results
Research questions
- RQ1Can deep regression of shape model parameters replace iterative optimization in model-based landmark fitting while maintaining or improving accuracy?
- RQ2To what extent can a differentiable PCA layer integrated into a deep neural network enable end-to-end training and super-realtime inference?
- RQ3How does the method generalize across diverse imaging modalities such as RGB, thermal, and medical images with varying contrast, resolution, and appearance?
- RQ4What is the performance of the method in terms of speed and accuracy on benchmark datasets like 300W, thermal face, cat, JSRT, and PROMISE12?
- RQ5Does the inclusion of global transformation parameters improve robustness to head pose and image scale variations without increasing model complexity?
Key findings
- The method achieves 410 FPS on a GeForce RTX 2080 Ti using half-precision inference, with consistent speed regardless of the number of shape parameters.
- On the 300W dataset, the method achieves a normalized point-to-point error of 0.0126 on the outdoor set and 0.0108 on the indoor set, demonstrating high accuracy under unconstrained conditions.
- On the thermal face dataset, the method achieves a normalized error of 0.0102, outperforming its performance on the more challenging RGB datasets, likely due to controlled imaging conditions.
- On the cat dataset, which features high variance in pose and breed, the method achieves a normalized error of 0.0211, demonstrating robustness to small landmark counts and high visual variation.
- On the JSRT lung radiograph dataset, the method achieves a normalized error of 0.0238 with only 25 shape parameters, showing effectiveness on low-contrast, small-dataset medical imaging.
- On the PROMISE12 prostate MRI dataset, the method achieves a normalized error of 0.0281 in 2D slices, confirming applicability to 3D medical structures with low shape variance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.