[Paper Review] HIH: Towards More Accurate Face Alignment via Heatmap in Heatmap
This paper proposes HIH, a novel heatmap-in-heatmap representation that jointly models integer and subpixel coordinates via two nested heatmaps—integer and decimal—to reduce quantization error in face alignment. By reformulating subpixel regression as interval classification with a distribution-aware soft loss, HIH achieves state-of-the-art performance, reaching 4.08 NME on WFLW and 3.21 on COFW.
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.
Motivation & Objective
- To quantify the impact of quantization error on state-of-the-art face alignment methods.
- To address the precision loss caused by subpixel coordinate drop during network downsampling.
- To propose a learnable, end-to-end solution that jointly models integer and subpixel coordinates.
- To improve subpixel estimation by transforming regression into interval classification with soft labels.
- To achieve state-of-the-art accuracy in face alignment without relying on post-processing or manual design.
Proposed method
- HIH uses a dual heatmap representation: an integer heatmap for the nearest pixel and a decimal heatmap for subpixel offsets within that pixel.
- The decimal heatmap is spatially aligned to one pixel of the integer heatmap and encodes the relative position within that pixel as a probability distribution.
- Coordinate soft-classification (CSC) treats each grid in the decimal heatmap as a discrete interval category, with confidence representing the probability of that interval.
- A distribution loss is applied using soft labels derived from a Gaussian function, enabling better optimization of subpixel offset predictions.
- The method is seamlessly integrated into the hourglass network architecture, maintaining compatibility with standard heatmap-based training.
- The final landmark prediction combines the integer coordinate from the peak of the integer heatmap and the subpixel offset from the decimal heatmap’s probability distribution.
Experimental results
Research questions
- RQ1How significant is the quantization error introduced by downsampling in state-of-the-art face alignment models?
- RQ2Can a nested heatmap representation improve subpixel accuracy beyond standard heatmap regression?
- RQ3Does transforming subpixel regression into interval classification with soft labels lead to better generalization and precision?
- RQ4How does the proposed HIH method compare to existing offset-based or soft-argmax approaches in terms of accuracy and end-to-end learnability?
- RQ5Can the proposed method achieve state-of-the-art performance without relying on post-processing or manual design?
Key findings
- Quantization error accounts for over one-third of the total prediction error in state-of-the-art face alignment methods, with NME contributions of 1.285 on WFLW and 1.111 on 300W under standard 256×256 to 64×64 downsampling.
- HIH achieves a new state-of-the-art result of 4.08 NME on the WFLW benchmark, significantly outperforming previous methods.
- On the COFW dataset, HIH achieves 3.21 NME, marking a substantial improvement over prior approaches.
- The ablation study confirms that the combination of HIH representation and coordinate soft-classification loss yields the most significant accuracy gains.
- HIH outperforms established baselines such as DARK, HRNet, and SLPT, especially in low-resolution heatmap settings where quantization effects are most severe.
- The method demonstrates robustness across diverse benchmarks, including WFLW, COFW, and 300W, confirming its generalization capability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.