Skip to main content
QUICK REVIEW

[Paper Review] Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks

Zhenhua Feng, Josef Kittler|arXiv (Cornell University)|Nov 17, 2017
Face recognition and analysisComputer Science36 citations
TL;DR

This paper proposes Wing loss, a novel piecewise loss function that enhances deep CNN training for facial landmark localization by amplifying the impact of small and medium errors. It achieves state-of-the-art accuracy on 300W and AFLW benchmarks, reducing error by up to 20% compared to prior methods, and introduces pose-based data balancing and a two-stage framework for improved robustness and performance.

ABSTRACT

We present a new loss function, namely Wing loss, for robust facial landmark localisation with Convolutional Neural Networks (CNNs). We first compare and analyse different loss functions including L2, L1 and smooth L1. The analysis of these loss functions suggests that, for the training of a CNN-based localisation model, more attention should be paid to small and medium range errors. To this end, we design a piece-wise loss function. The new loss amplifies the impact of errors from the interval (-w, w) by switching from L1 loss to a modified logarithm function. To address the problem of under-representation of samples with large out-of-plane head rotations in the training set, we propose a simple but effective boosting strategy, referred to as pose-based data balancing. In particular, we deal with the data imbalance problem by duplicating the minority training samples and perturbing them by injecting random image rotation, bounding box translation and other data augmentation approaches. Last, the proposed approach is extended to create a two-stage framework for robust facial landmark localisation. The experimental results obtained on AFLW and 300W demonstrate the merits of the Wing loss function, and prove the superiority of the proposed method over the state-of-the-art approaches.

Motivation & Objective

  • To address the limitations of standard loss functions like L2 in deep CNN-based facial landmark localization.
  • To improve training stability and accuracy by focusing on small and medium regression errors, which are critical for robust localization.
  • To mitigate data imbalance in training sets, especially for faces with large out-of-plane rotations.
  • To develop a two-stage framework that enhances localization accuracy through iterative refinement.
  • To demonstrate the generalizability of Wing loss across diverse CNN architectures and benchmark datasets.

Proposed method

  • Proposes Wing loss, a piecewise loss function that transitions from L1 to a modified logarithmic function within a defined interval (-w, w) to emphasize small and medium errors.
  • Designs a pose-based data balancing strategy that duplicates and augments minority samples (e.g., large head rotations) via random image rotation and bounding box translation.
  • Employs a two-stage cascaded regression framework where the first stage predicts coarse landmarks and the second refines them using feature maps from the first stage.
  • Uses standard CNN architectures (e.g., CNN-6/7, ResNet-50) fine-tuned with Wing loss on AFLW and 300W datasets.
  • Applies data augmentation techniques including random rotation and translation to improve generalization on challenging poses.
  • Validates the loss function across multiple network architectures and benchmarks to assess robustness and scalability.

Experimental results

Research questions

  • RQ1How do common loss functions (L1, L2, smooth L1) compare in performance for CNN-based facial landmark localization?
  • RQ2Can a new loss function be designed to better emphasize small and medium regression errors, improving localization accuracy?
  • RQ3How does data imbalance—especially for large out-of-plane head rotations—affect model performance, and can it be effectively mitigated?
  • RQ4Can a two-stage framework further boost performance beyond single-stage models using Wing loss?
  • RQ5Does Wing loss generalize across different deep network architectures, including deeper models like ResNet-50?

Key findings

  • Wing loss reduces the mean normalized error (NME) on the 300W dataset to 3.60% (×10⁻²), outperforming the previous state-of-the-art RAR method by nearly 20%.
  • On AFLW-Full, Wing loss with ResNet-50 achieves an NME of 1.47% (×10⁻²), a 10% improvement over the CNN-6/7 baseline.
  • The proposed pose-based data balancing strategy significantly improves performance on challenging poses, particularly for large out-of-plane rotations.
  • The two-stage framework achieves higher accuracy than single-stage models, demonstrating the benefit of iterative refinement.
  • The CNN-6/7 model with Wing loss runs at 170 fps on GPU, outperforming most DNN-based methods in speed while maintaining high accuracy.
  • ResNet-50 with Wing loss achieves superior performance across all loss functions tested, confirming its effectiveness in deep networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.