HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks

Zhen-Hua Feng; Josef Kittler; Muhammad Awais; Patrik Huber; Xiao-Jun Wu

Wing Loss for Robust Facial Landmark Localisation with Convolutional Neural Networks

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.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
face-alignment-on-300wWing
NME_inter-pupil (%, Challenge): 7.18
NME_inter-pupil (%, Common): 3.27
NME_inter-pupil (%, Full): 4.04
face-alignment-on-aflw-19Wing
AUC_box@0.07 (%, Full): 53.5
NME_box (%, Full): 3.56
NME_diag (%, Full): 1.65
face-alignment-on-cofwWing (Feng et al., 2018)
NME (inter-ocular): 5.07
face-alignment-on-wflwWing
AUC@10 (inter-ocular): 55.4
FR@10 (inter-ocular): 6.00
NME (inter-ocular): 5.11

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp