Contextual Heterogeneous Graph Network for Human-Object Interaction Detection

Hai Wang, Wei-Shi Zheng, Yingbiao Ling

Abstract

Human-Object Interaction (HOI) detection is a critical task in computer vision that requires identifying relationships between people and objects. This paper introduces a Contextual Heterogeneous Graph Network designed to address the limitations of previous homogeneous graph models. By distinguishing between human and object nodes and explicitly modeling intra-class and inter-class relationships through an attention-based message-passing mechanism, the proposed framework captures both local interactions and global scene context. The model achieves state-of-the-art performance on the V-COCO and HICO-DET benchmarks, demonstrating the importance of hierarchical scene modeling.

Introduction: The Challenge of Relationship Reasoning

While deep learning has significantly advanced individual object detection, reasoning about the interactions between entities—such as "a person riding a bicycle"—remains a complex challenge. Previous graph-based approaches often treated humans and objects as identical node types in a homogeneous graph. This oversight ignores the inherent hierarchy of a scene where humans act as subjects and objects serve as targets. Furthermore, these models frequently failed to leverage "global context," such as how the actions of one person might inform the likely actions of another in the same environment.

Proposed Method: Heterogeneous Graph Framework

The authors propose a heterogeneous graph architecture tailored to the distinct roles of entities within a scene.

1. Heterogeneous Nodes and Contextual Relationships

The graph consists of two distinct sets of nodes: Subject nodes (representing humans) and Object nodes. This separation allows the model to apply different propagation functions based on the nature of the relationship.

Overview of the Contextual Heterogeneous Graph Network showing intra-class and inter-class relationships.

The framework models two primary types of context:

  • Intra-class Context: Messages are passed between nodes of the same type (e.g., human-to-human). This captures shared appearance or pose cues. For instance, multiple people in similar poses on a boat provide a collective prior that reinforces the "rowing" label for each individual.
  • Inter-class Context: Messages are passed between humans and objects to determine interactiveness, filtering out non-interacting pairs even when they are spatially close.

2. Graph Attention and Iterative Reasoning

Not all neighboring nodes contribute equally to an entity's state. The model employs a graph attention mechanism to weigh messages. Intra-class weights are determined by feature similarity, while inter-class weights focus on the likelihood of interaction.

The iterative message passing and embedding update process for HOI prediction.

As shown in the iterative process, node embeddings are updated over multiple iterations. This allows information to propagate throughout the entire scene, refining the representations before a final joint classifier predicts the interaction labels for each human-object pair.

Key Insights and Results

The core innovation lies in recognizing that subordination matters: the relationship between two humans is qualitatively different from that between a human and a tool. By modeling them separately, the network prevents feature "muddying." Additionally, using similarity as a proxy for action allows the model to leverage group behavior as a strong prior.

Performance Benchmarks

The proposed method achieved state-of-the-art (SOTA) results at the time of publication:

  • V-COCO: Reached 52.7 mAP, a significant improvement over the homogeneous GPNN model (44.0 mAP).
  • HICO-DET: Achieved 17.57 mAP in the "Default Full" setting, outperforming earlier graph models like GPNN (13.11 mAP).
  • Ablation Studies: Removing the graph attention mechanism led to a ~3 mAP drop on V-COCO, confirming that selective message passing is vital for filtering scene noise.

Limitations and Future Work

Despite its success, the model faces challenges regarding computational complexity, as the fully connected graph grows quadratically with the number of entities. Furthermore, the system remains dependent on the accuracy of the initial object detector (e.g., Faster R-CNN); if an object is missed initially, the graph cannot reason about it. Future research may involve incorporating fine-grained details like human pose or body part locations to further enhance the intra-class context.

Summary updated

BibTeX
@inproceedings{wang2020contextual,
  author = {Hai Wang and Wei-Shi Zheng and Yingbiao Ling},
  title = {{Contextual Heterogeneous Graph Network for Human-Object Interaction Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58520-4\_15},
}
Figure