Introduction
Facial Expression Recognition (FER) systems have traditionally operated under a "closed-set" assumption, where models are trained to categorize expressions into a fixed set of basic emotions—typically the seven categories of Happy, Sad, Angry, Fear, Disgust, Surprise, and Neutral. However, real-world human expressions are far more complex, often manifesting as compound emotions (e.g., "happily surprised") or subtle variations that do not fit neatly into these predefined buckets.
When a standard closed-set model encounters these "unknown" expressions, it often exhibits overconfidence, erroneously forcing them into one of the known categories. While Open-Set Recognition (OSR) is a well-studied problem in general object recognition, it faces unique challenges in the context of FER.
The Challenge: Small Inter-Class Distance
The primary difficulty in FER-based open-set recognition stems from the inherent similarity of human faces. In general datasets like CIFAR-10, different classes (e.g., "dog" vs. "car") have large inter-class distances in the feature space, making outliers easier to detect. In contrast, facial expressions share the same underlying facial structure, leading to very small inter-class distances.
Because open-set samples (unknown expressions) look remarkably similar to close-set samples (known expressions), traditional OSR methods that rely on finding spatial outliers often fail, resulting in performance that can be as low as random guessing.
Methodology: Reframing OSR as Noisy Label Detection
To overcome the limitations of spatial outlier detection, this research proposes reframing the open-set problem as a noisy label detection task. The core insight is that because facial expressions are so similar, an unknown expression assigned a pseudo-label by a closed-set model will exhibit "symmetric noise"—its labels will be scattered across all known classes rather than clustering near a single neighbor.
The Proposed Framework
The authors introduce a multi-stage pipeline designed to identify these "noisy" open-set samples:
- Pseudo-Labeling: A pre-trained closed-set model assigns initial labels to a dataset containing both known and unknown expressions.
- Cycle Training & Peer-Teaching: Two FER models ($f_1$ and $f_2$) are trained simultaneously. Using a peer-teaching strategy, each model identifies "clean" samples (low-loss samples) to guide the training of its counterpart.
- Attention Map Consistency: To prevent the models from overfitting to the "noise" of unknown expressions, a consistency loss is applied to the models' attention maps. This ensures the model focuses on stable facial features even under perturbations like flipping or partial erasing.
By the end of training, open-set samples naturally result in significantly higher classification losses than known samples, allowing them to be effectively filtered out.
Evaluation and Results
The method was evaluated on major FER benchmarks, including RAF-DB, FERPlus, and AffectNet. The results demonstrate a substantial leap in performance over existing state-of-the-art (SOTA) methods. On the RAF-DB dataset, the proposed approach achieved an AUROC of 0.91, a massive improvement over the baseline's 0.50. Furthermore, it outperformed recent high-performing OSR methods like DIAS and PROSER by over 20% in AUROC.
The model's ability to identify compound expressions as "unknown" marks a significant step toward more nuanced and reliable emotional AI.
Conclusion
By turning the inherent similarity of human faces—traditionally a weakness—into a tool for symmetric noise detection, this work provides a robust solution for Open-Set Facial Expression Recognition. While the current offline training pipeline involves computational overhead, the significant gains in detection accuracy pave the way for more sophisticated affective computing systems capable of operating in unconstrained, real-world environments.
Summary updated