MAFW: A Large-scale, Multi-modal, Compound Affective Database for Dynamic Facial Expression Recognition in the Wild

Yuanyuan Liu, Wei Dai, Chuanxu Feng, Wenbin Wang, Guanghao Yin, Jiabei Zeng, Shiguang Shan

Introduction

Facial Expression Recognition (FER) is a critical component of affective computing, yet traditional datasets often fail to capture the complexity of human emotion as expressed in daily life. Most existing benchmarks are limited by "monotonous" labels—relying on Paul Ekman’s six basic emotions (happiness, sadness, fear, surprise, disgust, anger)—and are typically recorded in controlled laboratory settings. Real-world emotions are frequently blended or "compound" (e.g., a mix of anger and helplessness) and are expressed through multiple modalities, including speech and situational context.

A dynamic, "in-the-wild" expression from the MAFW dataset showing intense emotion.

To address these limitations, this research introduces MAFW, the first large-scale, "in-the-wild" database for dynamic FER that integrates multi-modal data (video, audio, and text) with compound emotion labels. By providing a benchmark as complex as real human behavior, the authors aim to advance the state of affective AI.

The MAFW Database

The MAFW database consists of 10,045 video clips collected from diverse real-world sources such as movies, TV shows, and internet videos. To ensure high-quality annotation, the authors employed 11 trained annotators and utilized an Expectation Maximization (EM) algorithm to filter out unreliable or highly subjective labels. The resulting dataset features 11 single-label and 32 multi-label (compound) emotion categories.

An example of a real-world scenario in the MAFW database, capturing emotion during a phone call.

A unique feature of MAFW is the inclusion of bilingual (English and Chinese) descriptive captions for each clip. This allows the dataset to support tasks beyond simple classification, such as video emotional captioning, where models must describe the context and nuance of the emotional state (e.g., "A woman looks nervously at her feet...").

The T-ESFL Model

Alongside the database, the authors propose Transformer-based Expression Snippet Feature Learning (T-ESFL). This model is specifically designed to capture the subtle, fleeting facial movements essential for recognizing compound emotions.

The T-ESFL architecture employs Snippet Decomposition, breaking videos into smaller temporal segments to model relationships both within and across snippets. A key innovation is the Snippet Order Shuffling and Reconstruction (SOSR) task. This self-supervised "temporal jigsaw puzzle" forces the model to reorder shuffled snippets, training the Transformer to be highly sensitive to the millisecond-long muscle movements that distinguish genuine expressions from subtle variations.

Results and Key Insights

The T-ESFL model was evaluated against several state-of-the-art methods across various benchmarks, yielding several key insights:

  • Superior Uni-modal Performance: On the 11-class single expression task, T-ESFL achieved a Weighted Average Recall (WAR) of 48.18%, outperforming commercial-grade emotion classifiers.
  • Multi-modal Synergy: Integrating audio and text modalities led to a 3.26% increase in WAR compared to video-only models, confirming that emotion is a multi-sensory phenomenon.
  • Compound Emotion Recognition: In the challenging 43-class compound task, the model achieved a WAR of 34.35% and an AUC of 75.63%, setting a new standard for complex affect recognition.

Conclusion

MAFW represents a significant advancement in affective computing by providing a multi-modal, compound-label benchmark that reflects the messiness of real-world human behavior. While the authors acknowledge that "in-the-wild" data is inherently influenced by its media sources, the database provides a robust foundation for future work in zero-shot learning and automated emotional captioning.

Reference: Liu, Y., et al. (2022). "MAFW: A Large-scale, Multi-modal, Compound Affective Database for Dynamic Facial Expression Recognition in the Wild." Proceedings of the 30th ACM International Conference on Multimedia (MM ’22). https://doi.org/10.1145/3503161.3548190

Summary updated

BibTeX
@inproceedings{liu2022mafw,
  author = {Yuanyuan Liu and Wei Dai and Chuanxu Feng and Wenbin Wang and Guanghao Yin and Jiabei Zeng and Shiguang Shan},
  title = {{MAFW: A Large-scale, Multi-modal, Compound Affective Database for Dynamic Facial Expression Recognition in the Wild}},
  booktitle = {ACM Multimedia},
  year = {2022},
  url = {https://openreview.net/forum?id=XtqvevL_eHv},
}

Loading related content...

Figure