Multiple Transfer Learning and Multi-label Balanced Training Strategies for Facial AU Detection In the Wild

Sijie Ji, Kai Wang, Xiaojiang Peng, Jianfei Yang, Zhaoyang Zeng, Yu Qiao

Abstract

Detecting facial Action Units (AUs) in unconstrained "in the wild" environments is a significant challenge due to image heterogeneity and severe data imbalance. This paper presents a robust detection pipeline that won the 2020 EmotiNet Challenge. The approach integrates multiple transfer learning streams—one focused on facial landmarks and another on emotional expressions—with multi-label resampling and adaptive soft thresholding. Experimental results on the EmotioNet dataset demonstrate that this multi-pronged strategy effectively mitigates class imbalance, achieving a final accuracy of 90.13% and an F1-score of 44.10%.

Introduction

Facial Action Units (AUs), based on the Facial Action Coding System (FACS), are the atomic movements of facial muscles that constitute complex expressions. While deep learning has excelled at AU detection in controlled settings, real-world "in the wild" images introduce complications such as varying illumination, head poses, and low resolutions. Furthermore, the natural distribution of AUs is highly imbalanced; most AUs occur infrequently, causing standard models to become biased toward negative predictions. This work addresses these issues through a comprehensive pipeline designed for the EmotiNet Challenge.

Methodology

The proposed system follows a four-stage architecture designed to extract robust features and handle data skewness.

  1. Pre-processing and Alignment: To minimize noise from irrelevant backgrounds and normalize facial geometry, the researchers utilized Multi-task Cascaded Convolutional Neural Networks (MTCNN) for face detection and alignment.
  2. Dual-Stream Transfer Learning: Rather than training from scratch, the model employs two ResNet-152 backbones. The first stream is pre-trained on the MS-Celeb-1M dataset to capture fine-grained facial structural features. The second stream is pre-trained on AffectNet to learn the correlations between muscle movements and global emotional states. Features from both streams are fused to provide a holistic representation of the face.
  3. Multi-label Balancing: To combat the "rare AU" problem, the team implemented Multi-Label Resampling Over-Sampling (MLROS) and utilized a Weighted Binary Cross Entropy loss function. This ensures that the model places higher importance on correctly identifying infrequent AUs.
  4. Adaptive Soft Thresholding: Standard classifiers typically use a fixed 0.5 probability threshold. This system optimizes a unique "soft" threshold for each of the 23 AUs during the validation phase, maximizing the F1-score for each specific muscle movement.
Figure 1: The proposed facial AU detection pipeline, featuring dual-stream feature extraction and adaptive balancing.

Experimental Results

The effectiveness of the proposed components was evaluated through an ablation study on the EmotioNet validation set. The baseline model using only face recognition features achieved an F1-score of 0.384. Integrating emotion-specific features raised this to 0.494. The addition of face alignment and multi-label balancing further improved the performance, culminating in a validation F1-score of 0.552.

Table 1: Ablation results showing the impact of feature fusion, alignment, and balancing on model performance.

In the final challenge test phase, the system achieved an accuracy of 90.13% and an F1-score of 44.10%. The discrepancy between accuracy and F1-score underscores the difficulty of the task, as high accuracy can often be a byproduct of the dataset's inherent imbalance.

Conclusion

This research demonstrates that combining specialized transfer learning tasks with targeted data balancing and threshold optimization is a powerful strategy for AU detection in the wild. While the system shows strong performance, future improvements could focus on handling the noise present in large-scale, automatically labeled datasets, which currently limits the upper bound of model precision.

Summary updated

BibTeX
@inproceedings{ji2020multiple,
  author = {Sijie Ji and Kai Wang and Xiaojiang Peng and Jianfei Yang and Zhaoyang Zeng and Yu Qiao},
  title = {{Multiple Transfer Learning and Multi-label Balanced Training Strategies for Facial AU Detection In the Wild}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00215},
}
Figure