Human-to-Human Interaction Detection

Zhenhua Wang, Kaining Ying, Jiajun Meng, Jifeng NingICONIP 2023 · DOI

Introduction

Understanding human-to-human interactions in complex video streams is a cornerstone of modern computer vision, with critical applications in public security, surveillance, and social robotics. Traditionally, this field—referred to as Human Interaction Understanding (HIU)—has been limited by several factors. Most existing models are trained on choreographed, lab-setting videos where a single pair of actors performs a distinct action against a clean background. Furthermore, these systems typically rely on a disjointed two-stage pipeline: first detecting individuals and then attempting to recognize their interactions in a separate step. This approach often fails in real-world environments, such as crowded squares or parks, where multiple groups interact simultaneously amidst heavy clutter.

To address these limitations, we introduce the task of Human-to-Human Interaction Detection (HID). Unlike traditional methods, HID aims to detect subjects, recognize person-wise actions, and group individuals according to their interactive relations within a single, unified model. To support this task, we present the AVA-Interaction (AVA-I) benchmark and a novel end-to-end architecture called SaMFormer.

The AVA-Interaction (AVA-I) Benchmark

Existing datasets like BIT or UT-Interaction often lack the complexity required for real-world deployment. To bridge this gap, we established AVA-I, a large-scale benchmark built upon the popular AVA dataset (derived from YouTube and television episodes).

AVA-I represents a significant leap in scale and complexity:

  • Scale: It contains 85,254 annotated frames and 86,338 interactive groups.
  • Complexity: The dataset includes 17 interaction categories, ranging from physical contact (e.g., hug, kiss, high-five) to non-contact social cues (e.g., watch, listen to).
  • Real-World Dynamics: Each frame can include up to four concurrent interactive groups, reflecting the density of social interactions in public spaces.

SaMFormer: A Split-and-Merging Transformer

To tackle the HID task, we propose SaMFormer (Split-and-Merging Transformer), a one-stage framework designed to process spatial and semantic social cues jointly. The architecture consists of three primary components:

1. Visual Feature Extractor

The model utilizes a 3D CNN backbone (SlowFast architecture) paired with a Transformer encoder. This setup extracts rich spatio-temporal features from video clips, capturing both the movement and the context of the scene.

2. The Split Stage

SaMFormer employs two parallel sets of learnable vectors, known as queries, to decode information from the visual features:

  • Instance Queries: These focus on identifying individual people and their specific actions.
  • Group Queries: These are designed to detect the boundaries and locations of interactive clusters (ICs).

3. The Merging Stage

The final stage reconstructs the relationships between detected individuals and groups by blending two types of information:

  • Spatial Merging: This uses an "Intersection-over-Foreground" (IoF) metric to determine if a person’s bounding box physically resides within a group’s detected area.
  • Semantic Merging: A dedicated semantic decoder analyzes the compatibility of actions. For instance, if one person is "talking" and another is "listening," the model recognizes a semantic link that justifies grouping them together, even if they are not the closest individuals spatially.

Key Insights and Results

A core finding of our research is the necessity of balancing spatial and semantic cues. Relying solely on spatial proximity can lead to "false groupings" of strangers standing near each other, while relying solely on semantics might group people performing similar actions on opposite sides of a frame. SaMFormer uses a blending parameter ($\alpha$) to optimize this balance.

In extensive experiments on the AVA-I benchmark, SaMFormer demonstrated superior performance:

  • Accuracy: It achieved a 74.05 $AP^G$ (Group Average Precision), significantly outperforming established one-stage models like QPIC (63.74) and CDN (63.81).
  • Efficiency: By predicting people and groups simultaneously, SaMFormer avoids the "cascading error" problem inherent in two-stage models, where a failure in the initial detection stage renders interaction recognition impossible.
  • Generalization: When evaluated on simpler datasets like BIT and UT-Interaction, SaMFormer maintained its lead, proving its robustness across various video styles and qualities.

Conclusion and Future Work

SaMFormer and the AVA-I benchmark provide a new foundation for the study of social interactions in computer vision. By moving toward a unified, one-stage detection and grouping model, we can better capture the nuances of human behavior in the wild.

While the current model is highly effective, challenges remain regarding heavy occlusions and highly ambiguous social cues. Future research will focus on extending temporal modeling to resolve these ambiguities by looking further across the time domain and exploring scenarios where individuals may belong to multiple, overlapping social circles.

Summary updated

BibTeX
@inproceedings{wang2023human,
  author = {Zhenhua Wang and Kaining Ying and Jiajun Meng and Jifeng Ning},
  title = {{Human-to-Human Interaction Detection}},
  booktitle = {ICONIP},
  year = {2023},
  doi = {10.1007/978-981-99-8070-3\_10},
}
Figure