[Paper Review] FER-former: Multi-modal Transformer for Facial Expression Recognition
FER-former proposes a multi-modal Transformer for facial expression recognition in the wild by integrating multi-granularity embeddings, a hybrid self-attention mechanism, and heterogeneous domain-steering supervision. It achieves state-of-the-art performance on RAF-DB and FERPlus, with a 91.30% accuracy on RAF-DB using phrase-based text supervision, demonstrating robustness to annotation ambiguity and improved global feature modeling.
The ever-increasing demands for intuitive interactions in Virtual Reality has triggered a boom in the realm of Facial Expression Recognition (FER). To address the limitations in existing approaches (e.g., narrow receptive fields and homogenous supervisory signals) and further cement the capacity of FER tools, a novel multifarious supervision-steering Transformer for FER in the wild is proposed in this paper. Referred as FER-former, our approach features multi-granularity embedding integration, hybrid self-attention scheme, and heterogeneous domain-steering supervision. In specific, to dig deep into the merits of the combination of features provided by prevailing CNNs and Transformers, a hybrid stem is designed to cascade two types of learning paradigms simultaneously. Wherein, a FER-specific transformer mechanism is devised to characterize conventional hard one-hot label-focusing and CLIP-based text-oriented tokens in parallel for final classification. To ease the issue of annotation ambiguity, a heterogeneous domains-steering supervision module is proposed to make image features also have text-space semantic correlations by supervising the similarity between image features and text features. On top of the collaboration of multifarious token heads, diverse global receptive fields with multi-modal semantic cues are captured, thereby delivering superb learning capability. Extensive experiments on popular benchmarks demonstrate the superiority of the proposed FER-former over the existing state-of-the-arts.
Motivation & Objective
- To address annotation ambiguity in wild facial expression recognition by leveraging multi-modal supervision from text and image features.
- To overcome the limitations of narrow receptive fields in CNNs and global context neglect in pure Transformers through a hybrid CNN-Transformer architecture.
- To improve model generalization and robustness to occlusion, pose, and illumination variations in unconstrained environments.
- To integrate multi-granularity feature representations for enhanced scale invariance and local-to-global feature learning.
- To develop a unified framework that jointly optimizes one-hot labels and CLIP-based text embeddings for more robust expression classification.
Proposed method
- A hybrid stem integrates features from a pre-trained CNN (for local, hierarchical representations) and a scratch-trained Vision Transformer (for global, long-range dependencies).
- A FER-specific transformer encoder employs a hybrid self-attention mechanism to jointly model hard one-hot labels and CLIP-based text tokens in parallel.
- Multi-granularity embedding integration (MGEI) splits image features into patches of varying resolutions (e.g., 2×2, 4×4, 6×6, 12×12) to enhance robustness to occlusion and pose variations.
- A heterogeneous domains-steering supervision module minimizes annotation ambiguity by aligning image features with text features via cosine similarity loss in a shared embedding space.
- The model uses a multi-head classification head that fuses representations from multiple token types (one-hot, text, patch-based) for final prediction.
- Text prompts are systematically evaluated in five formats (single word, phrase, active/passive sentence) to identify optimal semantic context for supervision.
Experimental results
Research questions
- RQ1How can multi-granularity feature integration improve robustness to occlusion and pose variations in wild FER?
- RQ2To what extent can CLIP-based text embeddings mitigate annotation ambiguity in facial expression recognition?
- RQ3What is the optimal text prompt format (e.g., phrase vs. sentence) for improving model generalization and accuracy?
- RQ4How does the hybrid self-attention mechanism balance local CNN features and global Transformer representations in FER?
- RQ5Can contrastive supervision between image and text features enhance model performance on real-world, ambiguous datasets?
Key findings
- FER-former achieves 91.30% accuracy on the RAF-DB dataset when using phrase-based text prompts, outperforming the baseline without text (90.45%).
- On the FERPlus dataset, the model reaches 90.96% accuracy with the (2,4,6,12) patch resolution combination, demonstrating the effectiveness of multi-granularity embedding integration.
- The phrase-based text prompt (e.g., 'a face image of {}') yields the highest performance on RAF-DB, with a 0.85% improvement over no-text supervision.
- The active sentence format ('this is a face image of {}') achieves the best performance on FERPlus, suggesting that natural language context enhances feature alignment.
- The (2,4,6,12) patch resolution combination consistently outperforms single-resolution settings on both RAF-DB and FERPlus, confirming the benefit of multi-granularity feature learning.
- The heterogeneous domains-steering supervision module significantly reduces the impact of annotation ambiguity by aligning image and text features through contrastive learning.
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.