[Paper Review] POSTER: A Pyramid Cross-Fusion Transformer Network for Facial Expression Recognition
This paper proposes POSTER, a two-stream pyramid cross-fusion transformer network that jointly leverages facial landmark and image features via a transformer-based cross-fusion mechanism to address inter-class similarity, intra-class discrepancy, and scale sensitivity in facial expression recognition. The method achieves state-of-the-art performance, attaining 92.05% accuracy on RAF-DB and 67.31% on AffectNet 7-class, with improved robustness through attention-guided feature interaction and multi-scale feature pyramids.
Facial expression recognition (FER) is an important task in computer vision, having practical applications in areas such as human-computer interaction, education, healthcare, and online monitoring. In this challenging FER task, there are three key issues especially prevalent: inter-class similarity, intra-class discrepancy, and scale sensitivity. While existing works typically address some of these issues, none have fully addressed all three challenges in a unified framework. In this paper, we propose a two-stream Pyramid crOss-fuSion TransformER network (POSTER), that aims to holistically solve all three issues. Specifically, we design a transformer-based cross-fusion method that enables effective collaboration of facial landmark features and image features to maximize proper attention to salient facial regions. Furthermore, POSTER employs a pyramid structure to promote scale invariance. Extensive experimental results demonstrate that our POSTER achieves new state-of-the-art results on RAF-DB (92.05%), FERPlus (91.62%), as well as AffectNet 7 class (67.31%) and 8 class (63.34%). The code is available at https://github.com/zczcwh/POSTER.
Motivation & Objective
- To address the three major challenges in facial expression recognition: inter-class similarity, intra-class discrepancy, and scale sensitivity.
- To unify the handling of these challenges within a single deep learning framework, which existing methods have not fully achieved.
- To leverage facial landmarks as sparse, salient region guides to improve attention to subtle expression cues.
- To integrate a feature pyramid structure to enhance scale invariance across varying image resolutions.
- To develop a cross-fusion transformer mechanism that enables global, bidirectional attention between image and landmark features.
Proposed method
- POSTER employs a two-stream architecture with an image stream using a ResNet-50 backbone and a landmark stream using MobileFaceNet to extract features.
- A novel cross-fusion transformer block is introduced, where queries from one stream attend to keys and values from the other, enabling bidirectional feature interaction.
- The cross-fusion mechanism uses Q, K, V projections from both image and landmark features, with Q from one stream and K, V from the other, to allow global correlation and context-aware feature refinement.
- The network incorporates a feature pyramid structure to extract multi-scale features, enhancing robustness to scale variations in input images.
- The final classification head uses features from the fused representation, with the entire network trained end-to-end on standard FER benchmarks.
- Three variants—POSTER-T, POSTER-S, and POSTER—are implemented with increasing depth (4, 6, and 8 cross-fusion blocks) to balance performance and efficiency.
Experimental results
Research questions
- RQ1Can a unified deep learning framework effectively address inter-class similarity, intra-class discrepancy, and scale sensitivity in facial expression recognition?
- RQ2How does cross-attention between image and landmark features improve model robustness to subtle expression differences?
- RQ3To what extent does the integration of a feature pyramid improve scale invariance in FER models?
- RQ4Does the proposed cross-fusion transformer mechanism outperform simple concatenation or early fusion of landmark and image features?
- RQ5What is the trade-off between model complexity and performance when varying the number of cross-fusion transformer blocks?
Key findings
- POSTER achieves a new state-of-the-art accuracy of 92.05% on the RAF-DB dataset, surpassing previous methods.
- On AffectNet with 7 classes, POSTER attains 67.31% accuracy, a significant improvement over prior SOTA methods.
- The confusion matrices show that POSTER reduces misclassification rates and improves diagonal accuracy across all expression categories, indicating reduced intra-class discrepancy.
- The cross-fusion mechanism with swapped Q and K/V projections (Q from image, K/V from landmarks) yields the best performance, confirming the importance of attention direction.
- POSTER-T, despite having fewer parameters (52.2M) and similar FLOPs to DMUE, outperforms it by 2.55% on RAF-DB and 4.19% on AffectNet.
- The full POSTER model with 8 cross-fusion blocks achieves the highest accuracy, demonstrating that deeper fusion improves performance within a reasonable computational budget.
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.