Abstract
Emotions play a central role in the social life of every human being, and their study, which represents a multidisciplinary subject, embraces a great variety of research fields. Especially concerning the latter, the analysis of facial expressions represents a very active research area due to its relevance to human-computer interaction applications. In such a context, Facial Expression Recognition (FER) is the task of recognizing expressions on human faces. Typically, face images are acquired by cameras that have, by nature, different characteristics, such as the output resolution. It has been already shown in the literature that Deep Learning models applied to face recognition experience a degradation in their performance when tested against multi-resolution scenarios. Since the FER task involves analyzing face images that can be acquired with heterogeneous sources, thus involving images with different quality, it is plausible to expect that resolution plays an important role in such a case too. Stemming from such a hypothesis, we prove the benefits of multi-resolution training for models tasked with recognizing facial expressions. Hence, we propose a two-step learning procedure, named MAFER, to train DCNNs to empower them to generate robust predictions across a wide range of resolutions. A relevant feature of MAFER is that it is task-agnostic, i.e., it can be used complementarily to other objective-related techniques. To assess the effectiveness of the proposed approach, we performed an extensive experimental campaign on publicly available datasets: FER-2013, RAF-DB, and OULU-Casia. For a multi-resolution context, we observe that with our approach, learning models improve upon the current SotA while reporting comparable results in fix-resolution contexts. Finally, we analyze the performance of our models and observe the higher discrimination power of deep features generated from them.
Introduction
Facial Expression Recognition (FER) has seen significant advancements in controlled environments, yet it continues to face a "lab-to-life" challenge. While models perform exceptionally on high-resolution, perfectly framed images, their performance often degrades when confronted with real-world footage from heterogeneous sources like distant security cameras or low-end mobile sensors.
Deep Convolutional Neural Networks (DCNNs) typically struggle to identify emotional cues in low-resolution inputs if they were primarily trained on high-quality data. The challenge lies in creating models that generate resolution-robust features—representations of a face that remain consistent whether the input is crystal clear or heavily pixelated. To address this, we propose MAFER (Multi-resolution Approach to Facial Expression Recognition), a training strategy designed to bridge the gap between varying image qualities.
The MAFER Methodology
MAFER is a two-step, task-agnostic training procedure that empowers DCNNs to recognize facial expressions across a massive range of image resolutions without requiring complex "teacher-student" architectures.
- Multi-resolution Pre-training: The model (a ResNet-50 with Squeeze-and-Excitation blocks) is first trained on a large-scale face dataset (Aff-Wild2). This phase utilizes Curriculum Learning, where the model is gradually introduced to lower-resolution images. Early in training, it sees mostly high-res images; as it progresses, a growing probability bound for downsampling exposes it to resolutions as low as 16 pixels. This guides the optimizer toward a more robust local minimum.
- Task-Specific Fine-tuning: Once the backbone is "resolution-aware," it is fine-tuned on specific FER datasets to learn the classification of the seven basic emotions (anger, disgust, fear, happiness, sadness, surprise, and neutral).
Experimental Setup and Datasets
The effectiveness of MAFER was evaluated using four key datasets, each presenting different resolution challenges.
- FER2013: A standard benchmark with fixed 48x48 resolution images.
- RAF-DB: A real-world affective face dataset with fixed 100x100 resolution.
- Oulu-CASIA: The primary testbed for multi-resolution performance, containing images captured at various native resolutions.
- Aff-Wild2: Utilized for the initial large-scale multi-resolution pre-training phase.
Results and Discussion
The results on the Oulu-CASIA dataset—the most representative of real-world resolution variance—were particularly striking. While previous state-of-the-art (SOTA) models reached approximately 92.89% accuracy, the MAFER-trained model achieved 98.95%.
Crucially, this gain in robustness does not sacrifice performance on high-quality images. On fixed-resolution datasets like FER2013 and RAF-DB, MAFER performed on par with or better than models specifically designed for those benchmarks. Furthermore, Content-Based Image Retrieval (CBIR) tests showed that MAFER features are far more reliable for identifying similar expressions across different image qualities, achieving a Mean Average Precision (mAP) of 79.6%, compared to just 35.4% for the base model.
Conclusion
MAFER demonstrates that resolution should be treated as a feature to be mastered rather than a bug to be fixed. By teaching models to ignore resolution-specific artifacts and focus on the underlying geometry of expressions, we can achieve significantly higher discrimination power. Future work will involve testing MAFER against other environmental degradations, such as extreme lighting or heavy motion blur, to further enhance real-world reliability.
Code Availability: The authors have made their code and model checkpoints available on GitHub.
Summary updated