Abstract
This paper introduces two innovative frameworks, Emotion Multi-Model Aggregation (EMMA) and Masked Co-Training for EXpression (Masked CoTEX), designed for multi-task affective behavior analysis. By leveraging facial structural priors through self-supervised pretraining with Masked Auto-Encoders (MAE) on unlabeled face datasets, the proposed methods effectively address data scarcity and generalization challenges. The approach achieved significant success in the ABAW4 competition, securing 2nd place in the Multi-Task Learning challenge and 4th place in the Learning from Synthetic Data challenge.
Introduction
Affective behavior analysis—encompassing facial expression recognition (EXPR), action unit (AU) detection, and valence-arousal (VA) regression—is a cornerstone of modern human-computer interaction. However, the field faces two primary hurdles: the high cost of manual annotation for millions of images and the difficulty of generalizing models to "in-the-wild" scenarios. This research addresses these challenges by exploring a central question: Can we use the massive amount of unlabeled face data available online to learn a "facial prior" that improves performance on downstream emotional tasks?
Methods
1. Facial Prior via Masked Auto-Encoder (MAE)
The foundation of the proposed approach is the use of a Vision Transformer (ViT) pretrained via the Masked Auto-Encoder (MAE) method on the CelebA dataset. Unlike models pretrained on generic objects (e.g., ImageNet), this model learns the intrinsic structural relationships of facial components—such as the eyes, nose, and mouth—through a reconstruction task. This domain-specific pretraining provides a superior starting point for emotion-related tasks.
2. EMMA (Emotion Multi-Model Aggregation)
For the Multi-Task Learning (MTL) challenge, the authors developed EMMA. This framework utilizes a dual-branch architecture to capture diverse features:
- Branch A: Employs the MAE-pretrained ViT to extract features specifically for AU and EXPR tasks.
- Branch B: Utilizes a CNN (DAN architecture) pretrained on the AffectNet benchmark to incorporate additional expression-specific knowledge.
A key innovation in EMMA is the strategy for VA regression. Recognizing that VA tasks are highly prone to overfitting, the authors used the prediction scores (logits) from the EXPR and AU tasks as the input features for the VA regressor. This "information bottleneck" provides a condensed, stable representation that is less susceptible to noise than high-dimensional latent vectors.
3. Masked CoTEX (Co-Training for EXpression)
To address the Learning from Synthetic Data (LSD) challenge, the authors proposed Masked CoTEX. This framework employs two parallel MAE-pretrained ViTs. During training, random patches of the face are masked in each branch (often up to 75% or more) to create distinct "views" of the same image. The model is regularized using Jensen-Shannon (JS) divergence to ensure consistency between the predictions of these sparse views, effectively preventing the model from relying on local artifacts.
Key Insights
- Domain-Specific Pretraining Wins: MAE pretraining on face images significantly outperformed ImageNet pretraining. By learning facial geometry in a self-supervised manner, the model develops a robust initialization far more relevant to emotion recognition than generic object features.
- Feature Purity for VA: Using task-specific scores (AU/EXPR) as inputs for VA regression acts as a form of information bottleneck. This forces the model to use high-level, semantically meaningful features, mitigating the risk of memorizing noise in the training images.
- The Power of Sparse Information: In the CoTEX framework, the discovery that masking up to 75% or 90% of image patches improved accuracy was pivotal. High sparsity forces the Vision Transformer to infer the global state of the face from minimal cues, enhancing its ability to generalize.
Results and Conclusion
The proposed methods were highly competitive in the ABAW4 Challenge:
- MTL Challenge: The team secured 2nd place with a best overall score of 119.45. Ablation studies showed the MAE-pretrained ViT achieved a validation score of 123.29, compared to 104.92 for an ImageNet-pretrained baseline.
- LSD Challenge: They reached 4th place with an F1 score of 34.83. Increasing the mask ratio from 0% to 75% in the CoTEX framework improved the F1 score from 64.67 to 70.68.
While the current work focuses on static images, future research could incorporate temporal information from video sequences. Additionally, scaling pretraining to even larger and more diverse facial datasets holds promise for further pushing the boundaries of affective behavior analysis.
Summary updated