Introduction
Facial Expression Learning (FEL) is a cornerstone of human-computer interaction, yet it remains a significant challenge for artificial intelligence. While humans effortlessly distinguish between a mischievous smirk and a genuine smile, computers frequently struggle with intra-class disparity (the same emotion appearing differently across individuals) and inter-class similarity (distinct emotions, such as surprise and fear, sharing nearly identical facial muscle movements).
Beyond these technical hurdles, FEL is plagued by "dirty data." Most real-world datasets are heavily imbalanced—often dominated by "happy" or "neutral" samples while lacking "disgust" or "contempt"—and frequently contain mislabeled or biased samples. Current models often overfit to dominant classes or fail to capture the subtle geometric nuances required for reliable real-world predictions. To address these issues, this paper introduces GReFEL (Geometry-Aware Reliable Facial Expression Learning), a framework designed to handle bias and imbalance through structural priors and self-correction.
Methodology
GReFEL employs a multi-stage approach to refine how a model perceives and classifies emotions, moving beyond raw pixel analysis to a more structural understanding of the face.
1. Multi-Scale Feature Extraction
The architecture utilizes a window-based cross-attention Vision Transformer (ViT). By processing images at low (local details), mid, and high (global context) levels, the model captures a spectrum of features ranging from subtle lip tremors to overall head orientation.
2. Geometry-Aware Adaptive Anchors
The core innovation of GReFEL is the use of learnable "geometric anchors" in the embedding space. These anchors correspond to specific facial landmarks. By calculating the distance between an input image's features and these anchors, the model gains a structural understanding of how a face moves to express an emotion, rather than relying solely on texture.
3. Reliability Balancing Module (RBM)
To combat overconfidence in erroneous predictions, the RBM calculates a confidence score based on normalized entropy. If the model is uncertain, it utilizes a weighted average of the primary prediction and a "corrected" prediction derived from the geometric anchors and multi-head self-attention. This allows the model to "second-guess" itself when faced with ambiguous or noisy data.
4. Triple Loss Strategy
Training is guided by three distinct loss functions:
- Class Distribution Loss: Ensures standard classification accuracy.
- Anchor Loss: Maximizes the distance between different emotion anchors to make them more distinct.
- Center Loss: Ensures embeddings of the same emotion cluster tightly around their respective anchors.
Experimental Results
GReFEL was rigorously tested on six major FEL datasets, including "in-the-wild" benchmarks like AffectNet and Aff-Wild2. The model consistently outperformed state-of-the-art (SOTA) models such as POSTER++ and TransFER:
- AffectNet: Achieved 68.02% accuracy, a significant improvement over the previous SOTA of 63.76%.
- Aff-Wild2: Reached 72.48% accuracy, outperforming the baseline by over 3%.
- Robustness to Noise: In ablation studies, GReFEL maintained high performance even with 10% label noise, validating the effectiveness of the RBM.
- Minority Class Performance: The integration of the RBM saw F1 scores on Aff-Wild2 jump from 0.632 to 0.731, indicating significantly better performance on underrepresented emotion classes.
Conclusion and Future Work
GReFEL demonstrates that explicitly modeling facial geometry and incorporating a self-correction mechanism can significantly mitigate the effects of data bias and class ambiguity. By using geometry as a prior, the model achieves a more stable and structural understanding of human expression.
While highly effective for static images, the authors note that facial expressions are inherently temporal. Future research will focus on extending this geometry-aware approach to video-based FEL, where movement between frames provides additional context. Additionally, optimizing the computational efficiency of the Vision Transformer backbone for real-time performance on edge devices remains a key goal for practical deployment.
Summary updated