Uncertain Facial Expression Recognition via Multi-Task Assisted Correction

Yang Liu, Xingming Zhang, Janne Kauttonen, Guoying ZhaoIEEE Trans. Multimedia 2022

TL;DR

This paper introduces MTAC, a novel framework for facial expression recognition (FER) that tackles the pervasive issue of uncertain labels in large-scale datasets. By employing multi-task learning with auxiliary branches for Valence-Arousal (VA) estimation and Action Unit (AU) detection, MTAC effectively suppresses uncertain samples and corrects mislabeled data, leading to significant performance improvements.

What Problem Does This Paper Address?

Facial expression recognition (FER) models have achieved impressive accuracy, largely due to the availability of large, labeled datasets. However, real-world datasets, often scraped from the internet, suffer from two main sources of uncertainty:

  1. Subjective Annotation: Crowdsourced annotations can be inconsistent and ambiguous, especially for subtle or complex expressions.
  2. Intrinsic Confusion: Discrete emotion labels (e.g., happy, sad) struggle to capture the nuanced and continuous nature of human emotions, leading to inherent ambiguity.

These uncertain labels can severely degrade the robustness and performance of FER models, causing them to overfit to noisy data or learn incorrect features. Existing methods often treat all uncertainty uniformly or rely on general noise-handling techniques, failing to address the specific challenges of FER.

Methods

MTAC tackles uncertainty through a multi-task framework with three core components:

  1. Target Branch (FER): This branch focuses on the primary FER task. It incorporates an "Uncertainty Measurement" module that uses a self-attention mechanism to estimate a confidence score for each sample. This score is then used to weight the Cross-Entropy loss, effectively down-weighting uncertain samples during training.
  2. Auxiliary VA Estimation Branch: This branch aims to mitigate "intrinsic confusion" by predicting continuous Valence-Arousal (VA) values. By jointly training with the target branch, it helps the model learn more robust features that capture the continuous spectrum of emotions. It also uses a class-oriented weighting strategy to address category imbalance.
  3. Auxiliary AU Detection Branch: This branch addresses "subjective annotation" uncertainty by leveraging Action Unit (AU) detection. It constructs a data-driven AU graph to capture semantic relationships between AUs. This graph is then used to generate semantic representations, which are employed in a relabeling strategy. For highly uncertain samples, it compares their semantic representation to a dynamically updated memory template of category centers. If a sample is semantically closer to a different category, it is relabeled. This relabeling is constrained by feature-level similarity to avoid introducing new errors.

The entire framework is end-to-end, and the auxiliary branches can be used individually or collaboratively, without adding computational overhead during testing.

Datasets

The paper evaluates MTAC on three large-scale, in-the-wild facial expression datasets:

  • RAF-DB: A dataset with six basic emotions and neutral, collected in unconstrained environments.
  • AffectNet: A large dataset with millions of expression images, used for both discrete emotion and VA estimation. The paper also uses a "real noisy data" subset (AffectNet_Auto) derived from automatically labeled samples to test robustness against naturally occurring uncertainties.
  • AffWild2: An audiovisual dataset that provides annotations for FER, VA estimation, and AU detection, making it suitable for multi-task evaluation.

For datasets lacking AU labels (RAF-DB and AffectNet), pseudo AU labels were generated using Openface 2.0.

Key Insights and Ideas

  • Decomposing Uncertainty: The paper effectively distinguishes between subjective annotation uncertainty and intrinsic confusion, proposing tailored solutions for each.
  • Multi-Task Synergy: Combining discrete FER with continuous VA estimation and AU detection creates a powerful synergy, where each task complements the others to improve overall robustness.
  • Data-Driven AU Graphs: Using a data-driven approach to construct AU graphs allows the model to learn nuanced relationships between AUs, which is crucial for semantic representation and relabeling.
  • Constrained Relabeling: The relabeling strategy, guided by feature-level similarity and a memory template, is a key innovation that prevents the introduction of new errors by ensuring relabeled samples are genuinely closer to the new category.
  • Adaptive Uncertainty Handling: The confidence score from the target branch dynamically adjusts the learning process, while the relabeling actively corrects problematic samples.

Key Results

  • MTAC significantly outperforms baseline methods and state-of-the-art approaches on RAF-DB, AffectNet, and AffWild2 datasets, particularly when dealing with synthetic and real-world uncertainties.
  • The complete MTAC framework, utilizing all three branches, achieves the best performance across all datasets.
  • Ablation studies demonstrate the effectiveness of each individual branch (target, VA, AU) and the class-oriented weighting strategy.
  • The proposed method shows superior performance compared to other uncertainty-handling methods, especially as the proportion of uncertain samples increases.
  • In multi-task evaluations, MTAC achieves competitive CCC scores for VA estimation and the best results for discrete emotion classification.

Limitations and Future Work

  • AU Label Generation: For datasets without pre-existing AU labels, pseudo labels were generated using Openface 2.0. While this is a common practice, the accuracy of these pseudo labels can still influence performance.
  • Computational Cost: While the auxiliary branches don't add inference burden, the multi-task training can be computationally intensive.
  • Future Directions: The authors suggest exploring other auxiliary tasks like landmark detection and face recognition. They also propose extending MTAC for unsupervised annotation generation and pre-training universal encoders for facial expressions, as well as addressing uncertainty in other data modalities.

Summary updated

BibTeX
@article{liu2022uncertain,
  author = {Yang Liu and Xingming Zhang and Janne Kauttonen and Guoying Zhao},
  title = {{Uncertain Facial Expression Recognition via Multi-Task Assisted Correction}},
  journal = {IEEE Trans. Multimedia},
  year = {2022},
}
Figure