Facial Expression Learning (FEL) is a critical task in computer vision with applications ranging from human-computer interaction to mental health monitoring. However, real-world FEL faces significant challenges: inconsistent lighting, varying poses, and the inherent ambiguity of human emotions. These factors lead to "noisy" datasets where labels are often subjective or inaccurate.
To address these issues, the ARBEx framework introduces a robust approach that combines global context modeling with a novel reliability balancing mechanism designed to handle uncertainty head-on.
The ARBEx Architecture
The ARBEx framework is designed to overcome the limitations of traditional Convolutional Neural Networks (CNNs), such as restricted receptive fields and difficulty in handling inter-class similarities. The architecture consists of two primary components: a Window-Based Cross-Attention Vision Transformer (ViT) and a Reliability Balancing module.
1. Window-Based Cross-Attention ViT
Unlike standard ViTs, ARBEx utilizes a multi-level feature extraction strategy. It processes images through Low-Level (LFE), High-Level (HFE), and Multi-Level Feature Integration (MFI) stages. A window-based attention mechanism allows the model to capture fine-grained facial landmarks while maintaining a global understanding of the face, effectively addressing the "global information" challenge.
2. Reliability Balancing: The Core Innovation
The standout feature of ARBEx is its ability to correct uncertain predictions. When the model generates a "primary prediction," it may be unreliable due to input ambiguity. The Reliability Balancing module stabilizes these outputs through two parallel paths:
- Anchor Label Correction: The model learns $K$ "anchor points" (prototypes) for each emotion in the embedding space. By calculating the geometric distance between an input's embedding and these anchors, the model can "rescue" predictions that fall into ambiguous regions.
- Attentive Correction: A multi-head self-attention layer identifies the most salient features within the embedding to further refine the classification.
The final output is a weighted average of these corrections, modulated by a confidence value derived from the primary prediction's normalized entropy.
Specialized Loss Functions
To optimize the embedding space for reliability balancing, ARBEx employs a combination of loss functions:
- Anchor Loss ($\mathcal{L}_a$): Ensures that anchors for different emotion classes remain distinct and well-separated.
- Center Loss ($\mathcal{L}_c$): Pulls sample embeddings closer to their corresponding class anchors, promoting intra-class compactness.
- Classification Loss ($\mathcal{L}_{cls}$): Standard cross-entropy loss to ensure the final corrected distribution aligns with ground truth labels.
Experimental Results and Datasets
The researchers evaluated ARBEx on five diverse datasets: Aff-Wild2, RAF-DB, JAFFE, FERG-DB, and FER+. These datasets encompass a wide range of real-world conditions, including "in-the-wild" video frames and stylized characters.
ARBEx achieved state-of-the-art (SOTA) performance across the board:
- Aff-Wild2: Reached 72.48% accuracy, a significant improvement over previous benchmarks like POSTER++.
- RAF-DB: Achieved 92.47% accuracy, demonstrating robustness to diverse demographic attributes.
- FERG-DB: Attained a near-perfect 98.18% accuracy on stylized data.
Visualizations using t-SNE confirmed that ARBEx produces tighter, more discriminative clusters in the feature space compared to existing models, validating the effectiveness of the anchor-based balancing strategy.
Conclusion
ARBEx represents a significant step forward in robust facial expression recognition. By treating the embedding space geometrically and incorporating a reliability-driven correction mechanism, it effectively mitigates the impact of label noise and visual ambiguity. While the added complexity of multiple anchors requires careful tuning, the performance gains across diverse datasets establish ARBEx as a powerful framework for real-world affective computing.
Summary updated