Spatially Conditioned Graphs for Detecting Human-Object Interactions

Frederic Z. Zhang, Dylan Campbell, Stephen Gould

Abstract

Detecting Human-Object Interactions (HOIs) is a critical task in visual scene understanding, typically modeled as a graph problem where humans and objects are nodes. However, standard Graphical Neural Networks (GNNs) often suffer from "salient object dominance," where prominent objects attract attention from all human nodes regardless of actual interaction. This paper introduces Spatially Conditioned Graphs, which utilize a Multi-Branch Fusion (MBF) module to create anisotropic message passing. By conditioning messages on the relative spatial relationships between nodes, the model effectively filters out non-interactive pairs, achieving state-of-the-art results on HICO-DET and V-COCO benchmarks.

The Challenge: Salient Object Dominance

The goal of HOI detection is to identify triplets such as (human, riding, bicycle). While GNNs are a natural fit for this relational task, traditional "isotropic" message passing—where a node broadcasts the same information to all neighbors—leads to significant confusion in crowded scenes. In a scene with multiple bicycles, a human node might receive identical "bicycle" signals from every instance, making it difficult to distinguish the specific bike being ridden from nearby distractors.

Figure 2: (a) An image with detected human and object instances. (b) Adjacency matrices computed with appearance features only, showing how all humans (1-4) are incorrectly drawn to the most salient bike (6).

Spatially Conditioned Message Passing

To address the broadcast problem, the authors propose making the graph "anisotropic" through spatial conditioning. The core of this approach is the Multi-Branch Fusion (MBF) module, which integrates handcrafted spatial features—such as bounding box coordinates, relative distances, and Intersection over Union (IoU)—directly into the message-passing process.

Unlike models that rely solely on appearance features, Spatially Conditioned Graphs ensure that the message sent from an object to a human depends on their relative geometry. This allows the model to suppress "distractor" objects that may be visually prominent but are spatially disconnected from the human.

Figure 5: Adjacency matrix refined with spatial conditioning. By incorporating geometric context, the model correctly identifies specific human-object pairs (e.g., human 2 with bike 6, human 3 with bike 5) instead of broadcasting to all nodes.

Key Results and Insights

The proposed model was evaluated on the HICO-DET and V-COCO datasets, demonstrating substantial improvements over previous state-of-the-art methods:

  • Benchmark Performance: On HICO-DET, the model achieved an mAP of 31.33% using fine-tuned detections, a significant increase from the previous best of approximately 26%. On V-COCO, it reached 54.2% mAP.
  • The Importance of Spatial Context: A key finding is that as object detection quality improves, the relative importance of spatial information grows. With "oracle" (perfect) bounding boxes, the model's performance on HICO-DET jumps to 51.53% mAP, suggesting that the architecture scales effectively with better backbones.
  • Consistency Across Stages: The authors found that applying spatial conditioning throughout the GNN—from adjacency computation to message passing and feature refinement—is crucial for optimal performance.

Conclusion

Spatially Conditioned Graphs represent a significant step forward in HOI detection by breaking the symmetry of standard GNNs. By tailoring information flow based on the geometric context of the scene, the model overcomes the limitations of appearance-only methods. Future work may involve incorporating 3D depth information to further resolve spatial ambiguities and integrating broader environmental context to improve detection in complex, cluttered scenes.

Summary updated

BibTeX
@inproceedings{zhang2021spatially,
  author = {Frederic Z. Zhang and Dylan Campbell and Stephen Gould},
  title = {{Spatially Conditioned Graphs for Detecting Human-Object Interactions}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01307},
}
Figure