Context-Aware Emotion Recognition Networks

Jiyoung Lee, Seungryong Kim, Sunok Kim, Jungin Park, Kwanghoon SohnICCV 2019

Abstract

Traditional techniques for emotion recognition have focused on the facial expression analysis only, thus providing limited ability to encode context that comprehensively represents the emotional responses. We present deep networks for context-aware emotion recognition, called CAER-Net, that exploit not only human facial expression but also context information in a joint and boosting manner. The key idea is to hide human faces in a visual scene and seek other contexts based on an attention mechanism. Our networks consist of two sub-networks, including two-stream encoding networks to separately extract the features of face and context regions, and adaptive fusion networks to fuse such features in an adaptive fashion. We also introduce a novel benchmark for context-aware emotion recognition, called CAER, that is appropriate than existing benchmarks both qualitatively and quantitatively. On several benchmarks, CAER-Net proves the effect of context for emotion recognition.

Introduction

While facial expressions are a primary signal for human emotion, they are often insufficient in isolation. In real-world "untrimmed" videos, a "surprised" face can be indistinguishable from a "fearful" one without environmental cues. Humans naturally resolve this ambiguity by observing surroundings, actions, and social interactions. However, most existing emotion recognition models are "context-blind," trained on datasets of tightly cropped faces. CAER-Net bridges this gap by treating environmental context as a first-class citizen in the recognition process.

Methodology: The CAER-Net Architecture

The core of the proposed framework is a two-stream architecture designed to exploit both facial and contextual cues simultaneously.

  1. Two-Stream Encoding Networks:
  2. Face Stream: Utilizes a 3D-CNN to extract spatiotemporal features from cropped facial sequences, capturing the dynamics of expression over time.
  3. Context Stream: This stream processes the original video but with the facial regions masked. By hiding the face, the network is forced to identify discriminative clues in the background, such as body language or the presence of other people.
  4. Attention Inference Module: Integrated within the context stream, this module learns to localize salient environmental regions without explicit supervision.
  5. Adaptive Fusion Network: Rather than simple concatenation, CAER-Net employs an adaptive fusion layer. It learns dynamic weights ($\lambda_F$ for face and $\lambda_C$ for context) to balance the streams based on the input's clarity and ambiguity.
The CAER-Net architecture featuring two-stream encoding and adaptive fusion.

The CAER Benchmark

To support this research, the authors introduced the CAER (Context-Aware Emotion Recognition) dataset. It is a large-scale benchmark containing 13,201 video clips (~1.1 million frames) sourced from 79 different TV shows. It covers six basic emotion categories plus a neutral state. A static version, CAER-S, consisting of 70,000 still images, was also released for image-based tasks.

Experimental Results and Insights

CAER-Net achieved a state-of-the-art accuracy of 77.04% on the CAER dataset, significantly outperforming standard baselines like ResNet (57.33%) and C3D (66.38%).

A key insight from the study is the "Power of Hiding." Masking the face in the context stream prevents the model from redundant learning and forces it to understand the relationship between the environment and the emotion. Qualitative analysis shows that context is particularly vital for resolving ambiguity in emotions like "Happy" and "Neutral," where facial expressions may appear similar.

Examples of adaptive fusion weights ($\lambda_F$ for face, $\lambda_C$ for context) across different emotional states.

As shown in the figure above, the model dynamically adjusts its reliance. For a clear "Happy" expression, the face weight ($\lambda_F$) is high (0.91). Conversely, in a "Sad" scene where the face is obscured or less expressive, the context weight ($\lambda_C$) dominates (up to 0.87).

Conclusion

CAER-Net demonstrates that environmental context is a powerful, often overlooked component of emotion recognition. By leveraging a two-stream approach with adaptive fusion, the model achieves superior performance on complex, real-world data. Future work includes integrating more sophisticated face-encoding architectures and exploring advanced ensemble methods for "in-the-wild" challenges.

Summary updated

BibTeX
@inproceedings{lee2019context,
  author = {Jiyoung Lee and Seungryong Kim and Sunok Kim and Jungin Park and Kwanghoon Sohn},
  title = {{Context-Aware Emotion Recognition Networks}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=5hh25Vd24g2},
}
Figure