FERV39k: A Large-Scale Multi-Scene Dataset for Facial Expression Recognition in Videos

Yan Wang, Yixuan Sun, Yiwen Huang, Zhongying Liu, Shuyong Gao, Wei Zhang, Weifeng Ge, Wenqiang Zhang

TL;DR

The authors introduce FERV39k, the first large-scale, multi-scene dataset for Dynamic Facial Expression Recognition (DFER) in the wild. By providing nearly 39,000 video clips across 22 diverse real-world scenes, this work demonstrates that environmental context is crucial for recognizing expressions and sets a new, significantly more challenging benchmark for the field.

What Problem Does This Paper Address?

Facial Expression Recognition (FER) has matured significantly for static images, but video-based (dynamic) FER lags behind. Most existing DFER datasets are either recorded in controlled lab settings—which fail to capture the messiness of real-world interactions—or are too small to train modern deep learning models effectively.

Crucially, the authors argue that human expressions are context-dependent. A "happy" face during a casual talk show is visually and contextually distinct from a "happy" face at a formal business event. Current models often ignore this scene context, leading to poor performance in varied real-world applications. FERV39k aims to bridge this gap by providing a massive, scene-aware dataset.

Methods

The researchers developed a robust pipeline to build FERV39k:

  • Scene Hierarchy: They defined 4 broad scenarios—Daily Life, Weak-Interactive Shows, Strong-Interactive Activities, and Anomaly Issues—subdivided into 22 fine-grained scenes (e.g., School, Talk-Show, War).
  • 4-Stage Candidate Generation: To scale up, they used an automated workflow: downloading 6k raw videos, random segmentation into 0.5–4s clips, rule-based filtering (e.g., removing multi-face or blank clips), and refinement using a pre-trained FER detector to ensure a balanced distribution of expressions.
  • 2-Stage Annotation: To balance cost and quality, they employed 20 crowdsourced workers for initial labeling followed by 10 professional researchers for verification. They used a Weighted Winner-Take-All (WWTA) voting scheme, giving professional judgments higher weight.
Figure 3. Four important components for dataset construction. (a) Our design of 4 isolated scenarios, 22 scenes, 7 basic expressions and 26 fine-grained expressions. (b) The four-stage generation of candidate video clips in the FERV39k dataset. (c) The procedure of data annotation, statistic evaluation, professional judgement and label generation. (d) The labelling interface used in crowd sourcing platform.

Datasets

  • FERV39k (New): 38,935 video clips across 22 scenes, labeled with 7 basic expressions (Angry, Disgust, Fear, Happy, Sad, Surprise, Neutral).
  • Comparison Benchmarks: The paper compares FERV39k against standard datasets like CK+, Oulu-CASIA, AFEW, CAER, and DFEW. FERV39k is roughly triple the size of DFEW, the previous largest in-the-wild dataset.

Key Insights and Ideas

  • Context is a Complementary Signal: A major finding is that scene information significantly boosts performance. Two-stream models (processing face and scene separately) consistently outperformed single-stream models, proving that environmental context helps resolve ambiguous facial movements.
  • The Cross-Scenario Wall: Models struggle to generalize across different social contexts. There is a nearly 8% drop in accuracy when testing a model on a scenario it wasn't trained on (e.g., training on "Weak-Interactive Shows" and testing on "Strong-Interactive Activities").
  • Diminishing Returns of Sampling: Simply increasing the number of frames sampled from a video clip doesn't steadily improve performance. This suggests that DFER requires more sophisticated temporal modeling or better key-frame extraction rather than just higher sampling rates.
  • Real-World Complexity: FERV39k is significantly harder than previous datasets. Baseline models that achieved high accuracy on older benchmarks saw a ~10% performance drop on FERV39k, highlighting the challenges of long-tail distributions and varying expression intensities in the wild.
Figure 4. Statistics of our FERV39k. Left chart is the distribution of 7 expressions of video clips in different scenes, sorted by 4 scenarios and 7 different expressions. And Right chart is the distribution of 7 expression duration of video clips in different scenes, which is sorted by 4 scenarios and 5 different time duration.

Key Results

  • Top Performance: The Two-Stream VGG13-LSTM architecture achieved the highest Weighted Average Recall (WAR) of 44.54%.
  • Architecture Comparison: 2D ConvNet-LSTM models generally outperformed 3D ConvNets, likely because LSTMs are better at modeling global temporal dependencies in short clips.
  • Expression Difficulty: "Disgust" and "Fear" remain the most difficult expressions to recognize across all scenes, while "Happy" and "Neutral" are the most discriminating.
  • Scale: The final dataset contains approximately 1 million frames of cropped facial images and scene images.

Limitations and Future Work

The authors identify several hurdles for future research:

  • Subtle Spatial Semantics: Current models still struggle to capture the nuanced relationship between a face and its specific surroundings.
  • Complex Temporal Dynamics: Rapid motion, head rotations, and frequent emotional changes within a single clip remain difficult to model accurately.
  • Long Temporal Modeling: Future work should focus on longer-term context and more effective global-local feature fusion.
  • Intermediate Representations: There is a need for better feature extraction that can handle the high diversity found within a single scene category.

Summary updated

BibTeX
@misc{wang2022ferv,
  author = {Yan Wang and Yixuan Sun and Yiwen Huang and Zhongying Liu and Shuyong Gao and Wei Zhang and Weifeng Ge and Wenqiang Zhang},
  title = {{FERV39k: A Large-Scale Multi-Scene Dataset for Facial Expression Recognition in Videos}},
  year = {2022},
  eprint = {2203.09463},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.09463},
}
Figure