Papers › HIH: Towards More Accurate Face Alignment via Heatmap in Heatmap

HIH: Towards More Accurate Face Alignment via Heatmap in Heatmap

7 Apr 2021arXiv:2104.03100archive 2025-07-28

Xing Lan, Qinghao Hu, Qiang Chen, Jian Xue, Jian Cheng

Heatmap-based regression overcomes the lack of spatial and contextual information of direct coordinate regression, and has revolutionized the task of face alignment. Yet it suffers from quantization errors caused by neglecting subpixel coordinates in image resizing and network downsampling. In this paper, we first quantitatively analyze the quantization error on benchmarks, which accounts for more than 1/3 of the whole prediction errors for state-of-the-art methods. To tackle this problem, we propose a novel Heatmap In Heatmap(HIH) representation and a coordinate soft-classification (CSC) method, which are seamlessly integrated into the classic hourglass network. The HIH representation utilizes nested heatmaps to jointly represent the coordinate label: one heatmap called integer heatmap stands for the integer coordinate, and the other heatmap named decimal heatmap represents the subpixel coordinate. The range of a decimal heatmap makes up one pixel in the corresponding integer heatmap. Besides, we transfer the offset regression problem to an interval classification task, and CSC regards the confidence of the pixel as the probability of the interval. Meanwhile, CSC applying the distribution loss leverage the soft labels generated from the Gaussian distribution function to guide the offset heatmap training, which makes it easier to learn the distribution of coordinate offsets. Extensive experiments on challenging benchmark datasets demonstrate that our HIH can achieve state-of-the-art results. In particular, our HIH reaches 4.08 NME (Normalized Mean Error) on WFLW, and 3.21 on COFW, which exceeds previous methods by a significant margin.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

starhiking/HeatmapInHeatmap officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Face Alignmentregression

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Face Alignment 300W HIH NME_inter-ocular (%, Challenge) 4.89 #12 of 48 Archive leaderboard report
Face Alignment 300W HIH NME_inter-ocular (%, Common) 2.65 #12 of 48 Archive leaderboard report
Face Alignment 300W HIH NME_inter-ocular (%, Full) 3.09 #12 of 48 Archive leaderboard report
Face Alignment COFW HIH NME (inter-ocular) 3.21% #7 of 28 Archive leaderboard report
Face Alignment WFLW HIH AUC@10 (inter-ocular) 60.5 #7 of 36 Archive leaderboard report
Face Alignment WFLW HIH FR@10 (inter-ocular) 2.60 #7 of 36 Archive leaderboard report
Face Alignment WFLW HIH NME (inter-ocular) 4.08 #7 of 36 Archive leaderboard report
Face Alignment WFW (Extra Data) HIH AUC@10 (inter-ocular) 60.50 #4 of 11 Archive leaderboard report
Face Alignment WFW (Extra Data) HIH FR@10 (inter-ocular) 2.60 #4 of 11 Archive leaderboard report
Face Alignment WFW (Extra Data) HIH NME (inter-ocular) 4.08 #4 of 11 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Heatmap

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections