Multi-Task Learning Framework for Emotion Recognition In-the-Wild

Tenggan Zhang, Chuanhe Liu, Xiaolong Liu, Yuchen Liu, Liyu Meng, Lei Sun, Wenqiang Jiang, Fengyuan Zhang, Jinming Zhao, Qin Jin

Introduction

Recognizing human emotion in unconstrained, "in-the-wild" video settings presents significant challenges due to variable lighting, head poses, and occlusions. Traditional systems often treat emotional indicators—Valence/Arousal (continuous measures), Expressions (categorical labels), and Action Units (muscle movements)—as isolated problems. However, these tasks are inherently correlated; for instance, specific Action Units (AUs) are the constituent components of a "Happy" expression. This paper presents a winning Multi-Task Learning (MTL) framework designed to model these dependencies and improve performance across all categories simultaneously.

Methodology

The proposed system follows a three-stage pipeline: visual feature extraction, temporal encoding, and a multi-task learning framework.

Visual Feature Extraction and Temporal Encoding

To ensure robust facial representations, the researchers utilized a diverse set of feature extractors. This included unsupervised Masked Autoencoders (MAE) pre-trained on large-scale face datasets, alongside supervised IResNet and DenseNet models trained on facial expression and identity datasets. These features are concatenated to form a comprehensive representation for each segment.

Because emotions are dynamic, the framework employs sequential encoders—specifically GRUs, LSTMs, or Transformers—to capture temporal dependencies across video frames.

Overview of the proposed system architecture, illustrating the flow from visual feature extraction to the multi-task learning framework.

Multi-Task Learning Strategies

The core innovation lies in how information is shared between tasks. The researchers evaluated three distinct strategies to optimize performance:

  1. Share Encoder (SE): A baseline where all tasks share a single temporal encoder.
  2. Share Bottom of Encoder (SBE): Tasks share low-level temporal layers (capturing universal movements) but utilize task-specific "top" layers.
  3. Share Bottom of Encoder with Hidden States Feedback (SBE-HSF): The most advanced approach, where hidden states from a "source" task (e.g., AU detection) are fed into the encoder of a "target" task (e.g., expression classification) to leverage high-level dependencies.
Comparison of the three multi-task learning frameworks: (a) Share Encoder, (b) Share Bottom of Encoder, and (c) Share Bottom of Encoder with Hidden States Feedback.

Key Results and Insights

The framework secured first place in the MTL Challenge of the 4th Affective Behavior Analysis in-the-wild (ABAW) competition. Key findings include:

  • Task Dependency: Feeding information between tasks (e.g., AU data into Arousal estimation) significantly boosted accuracy, validating the HSF approach.
  • Feature Diversity: Combining unsupervised and supervised features provided a more resilient representation than any single method.
  • Ensemble Performance: Utilizing an ensemble of different temporal encoders (Transformers, LSTMs, GRUs) with 6-fold cross-validation further enhanced results, improving the Valence-CCC metric from approximately 0.67 to 0.71.

Conclusion

By explicitly modeling the relationships between different emotional tasks through a feedback-driven MTL framework, this research demonstrates a significant advancement in robust emotion recognition. Future work will focus on optimizing the computational complexity of the ensemble and automating the discovery of optimal task-dependency directions.

Summary updated

BibTeX
@inproceedings{zhang2022multi,
  author = {Tenggan Zhang and Chuanhe Liu and Xiaolong Liu and Yuchen Liu and Liyu Meng and Lei Sun and Wenqiang Jiang and Fengyuan Zhang and Jinming Zhao and Qin Jin},
  title = {{Multi-Task Learning Framework for Emotion Recognition In-the-Wild}},
  booktitle = {Workshops @ ECCV},
  year = {2022},
  doi = {10.1007/978-3-031-25075-0\_11},
}
Figure