TL;DR
This paper provides the first comprehensive benchmark of 11 modern semi-supervised learning (SSL) methods for Facial Expression Recognition (FER). The authors demonstrate that while FixMatch excels with clean, in-distribution data, ReMixMatch is the most robust choice for realistic "in-the-wild" scenarios involving out-of-distribution or unconstrained unlabeled data.
What Problem Does This Paper Address?
Facial Expression Recognition (FER) is vital for everything from healthcare monitoring to intelligent vehicle safety. However, training deep learning models for FER typically requires massive amounts of human-labeled data, which is expensive and time-consuming to produce.
Semi-supervised learning (SSL) offers a solution by allowing models to learn from a tiny sliver of labeled data combined with a mountain of unlabeled images. While SSL has exploded in general computer vision, its effectiveness in FER—especially when the unlabeled data doesn't perfectly match the labeled set—remained largely unexplored. The authors categorize these "messy" data scenarios into three types:
- In-Distribution (ID): Unlabeled data comes from the same source as labeled data.
- Out-of-Distribution (OOD): Same expression classes, but from a different dataset/source.
- Unconstrained: Data from a different source that may contain images not belonging to any of the target expression classes (e.g., random face images).
Methods
The study benchmarks 11 prominent SSL algorithms, ranging from early consistency-based models to modern hybrid approaches:
- Consistency Regularization: Pi-model, Mean Teacher, VAT, and UDA. These force the model to give similar predictions for different "views" (augmentations) of the same image.
- Entropy Minimization: Pseudo-label. This encourages the model to be "confident" in its predictions on unlabeled data.
- Hybrid Methods: MixMatch, ReMixMatch, FixMatch, FlexMatch, CoMatch, and CCSSL. These combine multiple strategies, often using "hard" augmentations (like extreme crops or color jitters) to challenge the model.
The authors specifically highlight the role of hard augmentations (via RandAugment) and distribution alignment as key components that help models generalize better in FER tasks.
Datasets
The evaluation uses a diverse mix of six datasets:
- Primary FER: FER13, RAF-DB, and AffectNet (the "big three" of expression research).
- Unconstrained Source: CelebA (a large dataset of celebrity faces used here as unlabeled, non-expression-specific data).
- Lab-Controlled: KDEF and DDCF (used to test performance on very small, high-quality datasets).
Key Insights and Ideas
- The "Unconstrained" Advantage: One of the most surprising findings is that "unconstrained" data—random face images without specific expression labels—is nearly as effective as carefully curated OOD data. This is a huge win for practicality; it means researchers can scrape any face images from the web to improve their FER models.
- No One-Size-Fits-All: FixMatch is the state-of-the-art for clean, in-distribution data. However, its performance craters when the data gets messy. In those cases, ReMixMatch’s use of distribution alignment makes it significantly more stable.
- SSL is Always Better: Regardless of the data scenario (ID, OOD, or Unconstrained), SSL consistently outperformed purely supervised learning using the same amount of labeled data.
- The Importance of $\lambda$: In "wild" data scenarios, the weight of the unsupervised loss ($\lambda$) becomes much more critical. Increasing this factor often led to better performance, suggesting the model needs to rely more on the underlying structure of the unlabeled data when the labels are scarce or distributions shift.
Key Results
- In-Distribution: FixMatch achieved an average accuracy of 53.41% across all settings, outperforming the next best method (MixMatch) by over 5%.
- Out-of-Distribution: ReMixMatch took the lead with 54.73% average accuracy, significantly beating FixMatch, which struggled with the distribution shift.
- Unconstrained: ReMixMatch again proved superior, reaching 46.47% average accuracy.
- Efficiency: On the FER13 dataset, using just 250 labels per class with SSL reached within 2.16% of the performance of a model trained on the entire labeled dataset (28,000 images).
Limitations and Future Work
The authors acknowledge that this study focuses primarily on static images and macro-expressions (large, obvious facial movements). Real-world emotional cues are often dynamic (video-based) or involve micro-expressions (subtle, fleeting movements). Future work should extend these SSL benchmarks to video datasets and explore how these methods handle the inherent biases often found in large-scale, unconstrained face datasets.
Summary updated