Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Adaptive Wing Loss for Robust Face Alignment via Heatmap Regression

About

Heatmap regression with a deep network has become one of the mainstream approaches to localize facial landmarks. However, the loss function for heatmap regression is rarely studied. In this paper, we analyze the ideal loss function properties for heatmap regression in face alignment problems. Then we propose a novel loss function, named Adaptive Wing loss, that is able to adapt its shape to different types of ground truth heatmap pixels. This adaptability penalizes loss more on foreground pixels while less on background pixels. To address the imbalance between foreground and background pixels, we also propose Weighted Loss Map, which assigns high weights on foreground and difficult background pixels to help training process focus more on pixels that are crucial to landmark localization. To further improve face alignment accuracy, we introduce boundary prediction and CoordConv with boundary coordinates. Extensive experiments on different benchmarks, including COFW, 300W and WFLW, show our approach outperforms the state-of-the-art by a significant margin on various evaluation metrics. Besides, the Adaptive Wing loss also helps other heatmap regression tasks. Code will be made publicly available at https://github.com/protossw512/AdaptiveWingLoss.

Xinyao Wang, Liefeng Bo, Li Fuxin• 2019

Related benchmarks

TaskDatasetResultRank
Facial Landmark Detection300-W (Common)
NME0.0272
180
Facial Landmark Detection300-W (Fullset)
Mean Error (%)3.07
174
Facial Landmark Detection300W (Challenging)
NME4.52
159
Face AlignmentWFLW (test)
NME (%) (Testset)4.02
144
Facial Landmark DetectionWFLW (test)
Mean Error (ME) - All4.36
122
Human Pose EstimationLSP (test)
Head Accuracy96.3
102
Facial Landmark DetectionCOFW (test)
NME0.0494
93
Face Alignment300W (Challenging)
NME4.52
93
Face Alignment300W Common
NME2.72
90
Face Alignment300W Fullset (test)
NME3.07
82
Showing 10 of 53 rows

Other info

Code

Follow for update