RAF-AU Database: In-the-Wild Facial Expressions with Subjective Emotion Judgement and Objective AU Annotations

Wenjing Yan, Shan Li, Chengtao Que, JiQuan Pei, Weihong Deng

Abstract

Much of the work on automatic facial expression recognition relies on databases containing a certain number of emotion classes and their exaggerated facial configurations (generally six prototypical facial expressions), based on Ekman's Basic Emotion Theory. However, recent studies have revealed that facial expressions in our human life can be blended with multiple basic emotions. And the emotion labels for these in-the-wild facial expressions cannot easily be annotated solely on pre-defined AU patterns. How to analyze the action units for such complex expressions is still an open question. To address this issue, we develop a RAF-AU database that employs a sign-based (i.e., AUs) and judgement-based (i.e., perceived emotion) approach to annotating blended facial expressions in the wild. We first reviewed the annotation methods in existing databases and identified crowdsourcing as a promising strategy for labeling in-the-wild facial expressions. Then, RAF-AU was finely annotated by experienced coders, on which we also conducted a preliminary investigation of which key AUs contribute most to a perceived emotion, and the relationship between AUs and facial expressions. Finally, we provided a baseline for AU recognition in RAF-AU using popular features and multi-label learning methods.

Introduction: The Challenge of In-the-Wild Expressions

Traditional facial expression recognition (FER) systems are typically trained on datasets featuring actors performing exaggerated, prototypical expressions in controlled laboratory settings. These expressions are often mapped to Ekman's six basic emotions using the Facial Action Coding System (FACS). However, real-world ("in-the-wild") expressions are significantly more complex. They are frequently subtle, blended, and influenced by external factors like lighting, head pose, and individual facial morphology.

In such naturalistic settings, a rigid mapping from Action Units (AUs) to specific emotion labels often fails. There is a critical need for datasets that bridge the gap between objective physical movements (AUs) and the subjective emotional states perceived by human observers.

The RAF-AU Dataset

To address this gap, the researchers introduced the RAF-AU (Real-world Affective Faces - Action Unit) database. This dataset extends the existing RAF-ML dataset, comprising 4,601 in-the-wild facial images.

What sets RAF-AU apart is its dual-labeling approach:

  1. Subjective Labels: Crowdsourced perceived emotion labels that reflect how everyday observers interpret the expressions.
  2. Objective Labels: Rigorous AU annotations provided by two experienced FACS experts. These experts coded 26 different AUs and noted facial asymmetries (left/right/top/bottom).
Examples of Action Unit (AU) annotations in the RAF-AU database.

The coding process involved independent annotation followed by arbitration to resolve disagreements—a common occurrence due to the inherent ambiguity of naturalistic faces, such as distinguishing transient muscle movements from permanent wrinkles.

Methodology and Baselines

The authors framed AU detection as a multi-label classification problem. They evaluated traditional hand-crafted features, such as Histogram of Oriented Gradients (HOG) and Local Binary Patterns (LBP) paired with Support Vector Machines (SVMs), against deep learning models.

A specialized AU-CNN (multi-label Convolutional Neural Network) was developed, optimized with a multi-label cross-entropy loss function to predict the 13 most frequent AUs.

Key Insights

  • Facial Asymmetry: The study found a higher frequency of left-only AUs (232) compared to right-only AUs (163), supporting psychological theories that the left side of the face is often more expressive of emotion.
  • AU-to-Emotion Mapping: Linear transformations revealed which AUs most strongly influence human perception. For instance, AU12 (Lip Corner Puller) is a primary driver for "Happiness," while AU4 (Brow Lowerer) strongly signals "Sadness."
  • The "Null" Face Phenomenon: Interestingly, 253 images were perceived as emotional by the crowd despite having no codable AUs. This suggests that human perception relies on additional cues like gaze, head pose, and static facial features.

Results

The expert inter-coder reliability reached 0.6376, reflecting the difficulty of annotating non-posed data. The custom AU-CNN outperformed all baseline models, achieving an average AUC-ROC of 88.73% and an average F1 score of 65.95% across the top 13 AUs. Performance was strongest on frequent AUs (e.g., AU25: Lips part, 92.14% F1) but dropped significantly for rarer ones (e.g., AU17: Chin Raiser, 25.64% F1), highlighting the challenge of long-tail data distributions.

Conclusion and Future Directions

The RAF-AU database provides a realistic foundation for training AI to understand the nuances of human emotion. While class imbalance and the lack of neutral baseline photos remain challenges, this work opens new avenues for studying the relationship between physical facial movements and subjective perception across different contexts and cultures. Future research will focus on improving detection for infrequent AUs and exploring cross-cultural emotional interpretations.

Summary updated

Abstract

Much of the work on automatic facial expression recognition relies on databases containing a certain number of emotion classes and their exaggerated facial configurations (generally six prototypical facial expressions), based on Ekman's Basic Emotion Theory. However, recent studies have revealed that facial expressions in our human life can be blended with multiple basic emotions. And the emotion labels for these in-the-wild facial expressions cannot easily be annotated solely on pre-defined AU patterns. How to analyze the action units for such complex expressions is still an open question. To address this issue, we develop a RAF-AU database that employs a sign-based (i.e., AUs) and judgement-based (i.e., perceived emotion) approach to annotating blended facial expressions in the wild. We first reviewed the annotation methods in existing databases and identified crowdsourcing as a promising strategy for labeling in-the-wild facial expressions. Then, RAF-AU was finely annotated by experienced coders, on which we also conducted a preliminary investigation of which key AUs contribute most to a perceived emotion, and the relationship between AUs and facial expressions. Finally, we provided a baseline for AU recognition in RAF-AU using popular features and multi-label learning methods.
BibTeX
@inproceedings{yan2020raf,
  author = {Wenjing Yan and Shan Li and Chengtao Que and JiQuan Pei and Weihong Deng},
  title = {{RAF-AU Database: In-the-Wild Facial Expressions with Subjective Emotion Judgement and Objective AU Annotations}},
  booktitle = {ACCV},
  year = {2020},
  url = {https://openreview.net/forum?id=nZWhn9PG5ep},
}
Figure