Adaptive Wing Loss for Robust Face Alignment via Heatmap Regression
Xinyao Wang, Liefeng Bo, Fuxin Li
Abstract
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 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers35
- Fake it till you make it: face analysis in the wild using synthetic data aloneErroll Wood, Tadas Baltrusaitis, Charlie Hewitt, Sebastian Dziadzio et al.ICCV 2021 · 331 citations
- General Facial Representation Learning in a Visual-Linguistic MannerYinglin Zheng, Hao Yang, Ting Zhang, Jianmin Bao et al.CVPR 2022 · 161 citations
- ADNet: Leveraging Error-Bias Towards Normal Direction in Face AlignmentYangyu Huang, Hao Yang, Chong Li, Jongyoo Kim et al.ICCV 2021 · 63 citations
- Sparse Local Patch Transformer for Robust Face Alignment and Landmarks Inherent Relation LearningJiahao Xia, Weiwei Qu, Wenjian Huang, Jianguo Zhang et al.CVPR 2022 · 50 citations
- DAD-3DHeads: A Large-scale Dense, Accurate and Diverse Dataset for 3D Head Alignment from a Single ImageTetiana Martyniuk, Orest Kupyn, Yana Kurlyak, Igor Krashenyi et al.CVPR 2022 · 49 citations
Related papers
- PropagationNet: Propagate Points to Curve to Learn Structure InformationXiehe Huang, Weihong Deng, Haifeng Shen, Xiubao Zhang et al.CVPR 2020
- PossLoss: A Reliable and Sensitive Facial Landmark Detection Loss FunctionQikui ZhuICCV 2025 · 1 citation
- ATF: Towards Robust Face Alignment via Leveraging Similarity and Diversity across Different DatasetsXing Lan, Qinghao Hu, Fangzhou Xiong, Cong Leng et al.ACM MM 2020 · 5 citations
- STAR Loss: Reducing Semantic Ambiguity in Facial Landmark DetectionZhenglin Zhou, Huaxia Li, Hong Liu, Nanyang Wang et al.CVPR 2023
- Heatmap Regression without Soft-Argmax for Facial Landmark DetectionChiao-An Yang, Raymond A. YehICCV 2025 · 3 citations
