Feature Pyramid Network for Multi-task Affective Analysis

Ruian He, Zhen Xing, Weimin Tan, Bo YanarXiv 2021

Abstract

Automated affective analysis is a complex multi-task problem involving the prediction of valence-arousal (VA), categorical expressions (EXPR), and facial action units (AU). This paper introduces F3R, a unified framework that leverages a Feature Pyramid Network (FPN) to extract hierarchical facial features and a teacher-student training strategy to overcome the challenge of incomplete labels in real-world datasets. Our approach significantly outperforms official baselines on the Aff-Wild2 benchmark, demonstrating the efficacy of multi-scale feature fusion and pseudo-labeling for robust emotion recognition.

Introduction

Affective analysis typically categorizes human emotion into three distinct but interrelated attributes: dimensional measures (Valence-Arousal), categorical labels (Expressions), and localized muscle movements (Action Units). These attributes are inherently hierarchical; for instance, specific AUs combine to form global expressions. However, training a unified model is difficult because real-world datasets like Aff-Wild2 are often sparse, with many images missing labels for one or more tasks. This paper addresses these challenges through architectural innovation and a semi-supervised training regime.

Methodology

The proposed F3R model introduces two primary technical innovations:

1. Feature Pyramid Network (FPN) Backbone

Unlike standard flat backbones, the FPN extracts features at multiple scales, from low-level textures to high-level semantic concepts. By applying top-down feature fusion and concatenating features from four distinct layers, the model can simultaneously utilize low-level information for localized tasks (like AU detection) and high-level information for global tasks (like VA estimation).

2. Teacher-Student Training Strategy

To handle missing labels, the authors employ a semi-supervised approach. Three specialized "teacher" models are first trained independently on VA, EXPR, and AU tasks. A single multi-task "student" model is then trained using a combination of ground-truth labels and "soft labels" (predictions) provided by the teachers for missing data. This ensures the student learns from a complete label set for every training sample.

Key Insights: Hierarchical Feature Preference

A critical finding of this research is the task-specific preference for different feature scales. Visualization of the model's feature selection reveals that the Valence-Arousal task relies more heavily on lower-level features (Layer 1), whereas Action Unit detection depends on high-level features from the final layers. This empirical evidence supports the use of a multi-scale FPN architecture over single-scale alternatives for multi-task affective analysis.

Figure 4: Percentage of feature usage across different layers for VA, EXPR, and AU tasks.

Experimental Results

The F3R model was evaluated against the official ABAW2 competition baselines and standard architectures like ResNet and MobileNet. As shown in the results table, the F3R model using "Multi" data (teacher-generated labels) consistently achieved the highest performance across all metrics.

  • Valence-Arousal: Achieved a mean CCC of 0.36, a significant jump from the 0.22 baseline.
  • Expression: Reached an F1 score of 0.47, compared to the 0.36 baseline.
  • Action Units: Achieved an F1 score of 0.64, more than doubling the baseline performance of 0.31.
Figure 5: Performance comparison of the F3R model against baselines and standard architectures across different data settings.

Conclusion and Future Work

By integrating hierarchical feature extraction with a robust pseudo-labeling strategy, the F3R framework establishes a new state-of-the-art for multi-task affective analysis in-the-wild. Future research will focus on improving robustness against side-view faces and occlusions, as well as incorporating explicit facial priors, such as landmark locations, to further refine the model's understanding of facial geometry.

Summary updated

BibTeX
@misc{he2021feature,
  author = {Ruian He and Zhen Xing and Weimin Tan and Bo Yan},
  title = {{Feature Pyramid Network for Multi-task Affective Analysis}},
  year = {2021},
  eprint = {2107.03670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.03670},
}
Figure