Pairwise Emotional Relationship Recognition in Drama Videos: Dataset and Benchmark

Xun Gao, Yin Zhao, Jie Zhang, Longjun Cai

Abstract

Researchers from Alibaba Group have introduced a new computer vision task: Pairwise Emotional Relationship Recognition (PERR), which identifies the emotional bond between two interacting characters in a video. To support this, they released ERATO, a massive multi-modal dataset of over 31,000 drama clips, and a novel Synchronous Modal-Temporal Attention (SMTA) model that fuses visual, audio, and textual cues to outperform standard benchmarks.

Introduction

While AI has become adept at recognizing a single person's facial expression (FER) or the overall "vibe" of a crowd (GER), it often struggles to understand the nuanced emotional relationship between two specific people. For example, a woman might look sad because she is ill, but the relationship in the scene is actually "intimate" because a man is comforting her.

Existing datasets for social relation detection often focus on static labels (like "colleagues" or "couple") rather than the dynamic emotional state of an interaction. Furthermore, many emotion datasets lack multi-modal information—specifically subtitles—which are crucial for understanding the context of a conversation in dramas or movies. The authors aim to bridge this gap by defining PERR as a task that requires a holistic understanding of behavior, dialogue, and even background music.

Multi-modal source information in a drama clip, including audio, video frames with character bounding boxes, and subtitles.

Methodology: Synchronous Modal-Temporal Attention (SMTA)

The authors propose a baseline framework called Synchronous Modal-Temporal Attention (SMTA). Standard multi-modal models often fuse different data streams (video, audio, text) either too early or too late, often ignoring how these modalities interact over time. SMTA is designed as a stackable unit that extends a Long Short-Term Memory (LSTM) cell.

  1. Multi-Modal Input: It takes in five streams: person-wise visual features (facial expressions/postures), background visual features, audio, and subtitle text.
  2. Synchronous Fusion: Unlike standard LSTMs that just sum inputs, the SMTA unit uses an attention mechanism (such as a Transformer encoder or Dot-product attention) to weigh the importance of each modality at every timestep, conditioned on the previous temporal context.
  3. Two-Stage Fusion: The model first fuses modalities at each time step, then uses a second temporal fusion layer to capture the evolution of the relationship across the entire video clip.

The ERATO Dataset

The paper introduces the ERATO (Emotional RelAtionship of inTeractiOn) dataset, which is "interaction-centric," meaning clips are manually curated to focus on two-person interactions. This includes multi-shot sequences where characters may not always be on screen at the same time.

  • Scale: 31,182 video clips totaling approximately 203 hours.
  • Source: Extracted from 487 dramas and movies across 8 genres (e.g., crime, romance, sci-fi).
  • Annotations: Each clip is labeled with two scales: Coarse (Positive, Neutral, Negative) and Fine-grained (Intimate, Mild, Neutral, Tense, Hostile).
Examples of interaction sequences from the ERATO dataset, highlighting the complexity of multi-shot scenes and character appearances.

Key Insights and Results

The SMTA-Transformer model achieved the best results across all benchmarks, with a 5-category Micro-F1 of 66.55% and a 3-category Micro-F1 of 70.05%. SMTA outperformed a standard LSTM baseline by roughly 4-5% across most metrics.

  • The "Pair" Matters: Focusing specifically on the features of the two interacting characters (person-wise features) is significantly more effective than looking at the scene as a whole. Removing these features caused a 5.17% drop in Macro-F1 scores.
  • Modality Importance: Person-wise visual features were most critical, followed by textual dialogues, then audio, and finally background visuals.
  • Temporal Context: Using temporal information early in the fusion stage (via SMTA) improved performance by about 1% compared to models that only applied attention to the modalities in isolation.
  • Category Gains: The attention mechanism provided massive boosts for the "hard" categories. For example, the F1-score for the "Intimate" category increased by 73.9% compared to the baseline without attention.

Limitations and Future Work

The authors highlight "bad cases" where the model fails due to implicit clues like sarcasm or dialogue that contradicts the visual atmosphere. Additionally, the real-world imbalance of the dataset (e.g., "Neutral" at ~59% vs "Intimate" at ~4%) remains a challenge. Future work could involve more explicitly modeling the sequence of interactions and improving dialogue-visual matching in multi-shot videos.

Summary updated

BibTeX
@inproceedings{gao2021pairwise,
  author = {Xun Gao and Yin Zhao and Jie Zhang and Longjun Cai},
  title = {{Pairwise Emotional Relationship Recognition in Drama Videos: Dataset and Benchmark}},
  booktitle = {ACM Multimedia},
  year = {2021},
  doi = {10.1145/3474085.3475493},
}
Figure