Hierarchical Pyramid Diverse Attention Networks for Face Recognition

Qiangchang Wang, Tianyi Wu, He Zheng, Guodong Guo

Introduction

Face recognition (FR) in unconstrained environments remains a significant challenge due to extreme variations in pose, expression, and age. Traditional models often rely on global facial geometry, which can fail when faces are partially occluded or viewed from profile angles. This paper, presented at CVPR 2020, introduces the Hierarchical Pyramid Diverse Attention (HPDA) network. HPDA is designed to capture multi-scale local features and ensure that attention mechanisms remain non-redundant, focusing on various discriminative facial regions simultaneously.

The HPDA Framework

The HPDA architecture addresses the limitations of standard CNNs by integrating two primary innovations: Pyramid Diverse Attention (PDA) and Hierarchical Bilinear Pooling (HBP).

The HPDA architecture featuring global and local CNN branches with Hierarchical Bilinear Pooling (HBP).

1. Pyramid Diverse Attention (PDA)

To handle the scale variance of facial features, the PDA module pools feature maps into a spatial pyramid. Within each scale, multiple local branches are employed. A key contribution is the diverse learning strategy, which utilizes a divergence loss ($L_D$) to penalize similarity between attention masks. This forces different branches to focus on distinct facial parts—such as the eyes, nose, or mouth—rather than clustering around the most obvious features.

2. Hierarchical Bilinear Pooling (HBP)

Standard CNNs often lose fine-grained details in deeper layers. HPDA mitigates this by extracting features from multiple hierarchical levels. Instead of simple concatenation, the model uses bilinear pooling to facilitate cross-layer interactions. This approach captures complex relationships between low-level textures and high-level semantic information, leading to a more robust facial representation.

Experimental Setup and Results

The model was trained on large-scale datasets including VGGFace2 (3.14M images) and MS-Celeb-1M (5.8M images). Evaluation was conducted across several challenging benchmarks, including LFW, CPLFW (cross-pose), and CALFW (cross-age).

Visualization of diverse attention masks focusing on distinct facial regions like eyes, nose, and mouth.

The HPDA model demonstrates state-of-the-art performance, particularly in scenarios with high variance. On the CPLFW dataset, it achieved an accuracy of 86.07%, and on CALFW, it reached 95.90%, showcasing resilience to both pose and aging effects. Qualitative visualizations (as seen above) show that the model successfully ignores non-facial "noise" to focus on stable, discriminative facial parts.

Conclusion

HPDA provides a robust, landmark-free solution for face recognition. By enforcing diversity in attention and leveraging hierarchical feature fusion, the network achieves high accuracy across diverse and difficult datasets. While the multiple branches add some computational complexity, the gains in robustness to occlusion and pose make it a powerful tool for real-world FR applications.

Summary updated

BibTeX
@inproceedings{wang2020hierarchical,
  author = {Qiangchang Wang and Tianyi Wu and He Zheng and Guodong Guo},
  title = {{Hierarchical Pyramid Diverse Attention Networks for Face Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00835},
}
Figure