Abstract
In this paper, we consider the problem of real-time video-based facial emotion analytics, namely, facial expression recognition, prediction of valence and arousal and detection of action unit points. We propose the novel frame-level emotion recognition algorithm by extracting facial features with the single EfficientNet model pre-trained on AffectNet. As a result, our approach may be implemented even for video analytics on mobile devices. Experimental results for the large scale Aff-Wild2 database from the third Affective Behavior Analysis in-the-wild (ABAW) Competition demonstrate that our simple model is significantly better when compared to the VggFace baseline. In particular, our method is characterized by 0.15-0.2 higher performance measures for validation sets in uni-task Expression Classification, Valence-Arousal Estimation and Expression Classification. Due to simplicity, our approach may be considered as a new baseline for all four sub-challenges.
Introduction
Understanding human emotions through video, a core component of "affective computing," has diverse applications from healthcare to human-computer interaction. However, real-time deployment faces two significant hurdles: the high computational complexity of state-of-the-art ensembles and the inherent noise of "in-the-wild" video data, such as varying lighting and rapid head movements. This research addresses these challenges by proposing a lightweight, single-model architecture capable of performing four distinct tasks—Facial Expression Recognition (FER), Action Unit (AU) detection, and Valence/Arousal estimation—efficiently enough for mobile deployment without sacrificing accuracy.
Methodology
The proposed approach utilizes a multi-stage transfer learning pipeline designed for efficiency and robustness. The process begins with face recognition pre-training on the VGGFace2 dataset to learn identity-invariant features, followed by fine-tuning on AffectNet to specialize in emotional states.
As illustrated in the pipeline, the "Emotional EfficientNet" serves as a fixed feature extractor. Both high-level embeddings and initial class scores are extracted and concatenated. These combined features are then fed into simple Multi-Layer Perceptrons (MLPs) tailored for specific outputs. Finally, a temporal smoothing filter is applied over a sliding window (e.g., 15 frames) to ensure consistency across video frames.
Experimental Results
The EfficientNet-B0 variant demonstrated substantial performance gains over standard baselines on the Aff-Wild2 validation set. For Expression Recognition, the model achieved an F1-score of 0.381, nearly doubling the 0.23 baseline. Similar improvements were observed in Action Unit Detection (F1-score of 0.537 vs. 0.39) and Valence-Arousal estimation (Mean CCC of 0.463 vs. 0.24).
Key insights from the experiments include the effectiveness of feature concatenation and the significant boost provided by simple temporal smoothing. The model's efficiency allows for real-time operation on modern smartphones, providing a practical solution for mobile affective computing.
Conclusion and Future Work
This work presents a streamlined yet powerful baseline for affective computing. While highly effective, future improvements could involve more sophisticated temporal modeling using Transformers or LSTMs to better capture emotional evolution. Additionally, exploring Multi-Task Learning (MTL) to exploit correlations between different tasks remains a promising avenue for research.
Summary updated