[Paper Review] Pose-adaptive Hierarchical Attention Network for Facial Expression Recognition
This paper proposes PhaNet, a pose-adaptive hierarchical attention network that jointly recognizes facial expressions and head poses in unconstrained, multi-view settings. By leveraging hierarchical pixel and scale attention mechanisms, it adaptively selects pose-invariant, expression-discriminative regions and uses dynamically weighted multi-task learning to optimize end-to-end training, achieving state-of-the-art performance with 84.92% average accuracy on multi-view datasets and 31.25% on in-the-wild SFEW.
Multi-view facial expression recognition (FER) is a challenging task because the appearance of an expression varies in poses. To alleviate the influences of poses, recent methods either perform pose normalization or learn separate FER classifiers for each pose. However, these methods usually have two stages and rely on good performance of pose estimators. Different from existing methods, we propose a pose-adaptive hierarchical attention network (PhaNet) that can jointly recognize the facial expressions and poses in unconstrained environment. Specifically, PhaNet discovers the most relevant regions to the facial expression by an attention mechanism in hierarchical scales, and the most informative scales are then selected to learn the pose-invariant and expression-discriminative representations. PhaNet is end-to-end trainable by minimizing the hierarchical attention losses, the FER loss and pose loss with dynamically learned loss weights. We validate the effectiveness of the proposed PhaNet on three multi-view datasets (BU-3DFE, Multi-pie, and KDEF) and two in-the-wild FER datasets (AffectNet and SFEW). Extensive experiments demonstrate that our framework outperforms the state-of-the-arts under both within-dataset and cross-dataset settings, achieving the average accuracies of 84.92\%, 93.53\%, 88.5\%, 54.82\% and 31.25\% respectively.
Motivation & Objective
- Address the challenge of pose variation in multi-view facial expression recognition (FER), which degrades performance in unconstrained environments.
- Overcome limitations of two-stage methods that rely on pose estimators by proposing an end-to-end trainable framework.
- Improve robustness and generalization by jointly learning expression and pose representations using hierarchical attention.
- Enable effective cross-dataset FER without retraining, particularly on in-the-wild datasets with high domain shift.
- Develop a dynamic multi-task learning scheme that adaptively balances expression and pose learning via learnable loss weights.
Proposed method
- Introduces hierarchical pixel attention learning (HPAL) using two cascaded weakly-supervised pixel attention networks to detect expression-relevant regions at multiple scales.
- Employs joint scale attention learning (SAL) to select the most informative scales based on their contribution to pose-invariant and expression-discriminative representation learning.
- Applies a dynamically constrained multi-task learning (DCML) framework that minimizes hierarchical attention loss, FER loss, and pose loss with adaptive, symmetrical loss weights.
- Uses a constraint factor in the loss weighting mechanism to prevent gradient vanishing and stabilize training, especially for the expression task.
- Trains the entire network end-to-end using a multi-loss objective that combines attention, expression, and pose supervision.
- Leverages human visual system intuition—focusing on local features when global features are occluded or deformed—by modeling hierarchical feature abstraction.
Experimental results
Research questions
- RQ1Can a single deep network jointly learn pose-invariant and expression-discriminative representations without requiring pose normalization or separate classifiers per pose?
- RQ2How effective is hierarchical attention in identifying the most relevant facial regions for expression recognition under pose variations?
- RQ3Does dynamically weighted multi-task learning improve convergence and performance compared to fixed or unweighted loss combinations?
- RQ4To what extent can a model trained on constrained multi-view datasets generalize to in-the-wild, unconstrained datasets with no domain adaptation?
- RQ5Can the proposed attention mechanism reduce reliance on accurate pose estimators while maintaining high FER accuracy?
Key findings
- PhaNet achieves 84.92% average accuracy on the BU-3DFE, Multi-Pie, and KDEF multi-view datasets, outperforming state-of-the-art methods under both within-dataset and cross-dataset settings.
- On the in-the-wild SFEW dataset, PhaNet achieves 31.25% accuracy without any retraining, surpassing GAN-based (26.58%) and DenseNet-based (26.16%) methods.
- Ablation studies show that combining hierarchical attention loss with pose and expression losses yields the highest performance (84.92% on BU-3DFE), confirming the effectiveness of the multi-loss design.
- The inclusion of the constraint factor in dynamic loss weighting prevents gradient vanishing and stabilizes training, particularly for the expression task, which otherwise suffers from gradient disappearance.
- The dynamic loss weights evolve during training: expression weight increases from low initial values to ~0.6, while pose weight decreases to ~0.4, reflecting task-specific contribution and improving convergence.
- Pose estimation accuracy reaches 100% on BU-3DFE, demonstrating the robustness of the joint learning framework in identifying head pose even under challenging conditions.
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.