Contextually-rich human affect perception using multimodal scene information

Digbalay Bose, Rajat Hebbar, Krishna Somandepalli, Shrikanth Narayanan · DOI

Abstract

Traditional computer vision approaches to emotion recognition have historically focused on facial expressions in isolation. However, human affect is deeply rooted in context—the environment, social interactions, and specific activities a person is engaged in. This paper presents a novel framework for context-aware affect perception that integrates visual scene information with language-driven foreground descriptions. By utilizing a Multimodal Context Fusion (MCF) module, the proposed model achieves state-of-the-art results on the EMOTIC and CAER-S datasets, demonstrating that semantic descriptions of a scene can significantly improve the accuracy of emotion classification in unconstrained, real-world environments.

Introduction

In the field of computer vision, affect perception has long been "face-centric." Most models attempt to map cropped facial images to a small set of discrete labels such as "happy," "sad," or "angry." While effective in controlled laboratory settings, these models often fail in the real world where faces may be blurry, occluded, or emotionally ambiguous. For instance, a person crying might be experiencing intense grief or overwhelming joy; the distinction lies entirely in the surrounding context.

To address this, researchers at USC have developed a framework that looks beyond the face to understand the "why" behind human feelings. By considering the visual scene (the global setting), foreground interactions (what the person is doing), and social cues (who else is present), the model moves toward a more holistic understanding of human emotion.

Methodology

The Multimodal Context Fusion (MCF) Framework

The core innovation of this research is the Multimodal Context Fusion (MCF) module, which integrates three distinct streams of information to interpret affect:

  1. Visual Scene Context: This stream captures the global environment using a Vision Transformer (ViT) pretrained on the Places365 dataset. It identifies whether a person is in a hospital, a park, or a crowded stadium, providing a situational baseline for emotional expectations.
  2. Person Context: A ResNet34 backbone is employed to extract features from the person of interest, focusing on their body posture and, when available, facial features.
  3. Language-driven Foreground Context: This novel component uses a pretrained Vision-Language (VLN) model, specifically OFA, to generate a natural language description of the scene (e.g., "a woman hugging a child"). This description is then encoded using BERT to provide high-level semantic information.

Attention-Based Fusion

The MCF module does not simply concatenate these features. Instead, it employs a dual-path cross-modal attention mechanism:

  • Foreground-guided stream: The model uses the person's visual features to "query" the language-driven descriptions, identifying which parts of the text are most relevant to their state.
  • Visual-scene guided stream: The person's features query the global visual scene to extract relevant environmental cues.

This allows the model to dynamically prioritize context. If a face is obscured, the model may rely more heavily on the language description of the person's actions or the nature of the setting.

Experimental Results

Datasets

The framework was evaluated on two challenging benchmarks designed for contextual emotion recognition:

  • EMOTIC: A dataset of images in natural, unconstrained settings, annotated with 26 discrete emotion categories and three continuous dimensions (Valence, Arousal, and Dominance).
  • CAER-S: A dataset derived from television shows, emphasizing social context and interactions across 7 discrete emotion categories.

Performance Metrics

The MCF model demonstrated superior performance over existing state-of-the-art (SOTA) methods:

  • EMOTIC: The model achieved a 29.53 mean Average Precision (mAP), outperforming previous benchmarks such as Kosti et al. (27.38) and Zhang et al. (28.42).
  • CAER-S: The model reached an accuracy of 79.63%, a substantial improvement over the CAER-Net-S baseline of 73.51%.

An ablation study confirmed the value of each component. Adding visual scene information alone improved the mAP from 23.46 to 25.53. The inclusion of the language-driven context via the MCF module provided the final jump to 29.53 mAP, highlighting the importance of semantic descriptions.

Discussion: Language as a Semantic Bridge

A key insight from this work is the effectiveness of using language as an "expert" translator. While raw pixels can be difficult for a classifier to interpret in complex social scenes, a text description like "man crouching with hands on his face" provides a clear, high-level summary of behavior. This semantic bridge allows the model to resolve ambiguity; for example, identifying "excitement" in a face that might otherwise look "stressed" when the context reveals a celebratory sports environment.

Conclusion and Future Work

The MCF framework represents a significant step toward contextually-aware AI. By fusing visual and linguistic data, the model achieves a more nuanced understanding of human affect. Future research directions include incorporating geometric context (the physical distance and orientation between people) and explicit body pose modeling to further refine the understanding of social interactions. Expanding the model's application to temporal media, such as film and advertising, could also provide deeper insights into how emotional narratives evolve over time.

Summary updated

BibTeX
@inproceedings{bose2023contextually,
  author = {Digbalay Bose and Rajat Hebbar and Krishna Somandepalli and Shrikanth Narayanan},
  title = {{Contextually-rich human affect perception using multimodal scene information}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=KPZ5pjdRRO},
}
Figure