Spatio-attentive Graphs for Human-Object Interaction Detection

Frederic Z. Zhang, Dylan Campbell, Stephen Gould

Introduction

Detecting Human-Object Interactions (HOI) is a sophisticated computer vision task that requires identifying triplets of (subject, predicate, object)—for instance, "person riding bicycle." While standard approaches often utilize a two-step pipeline—detecting instances with a model like Faster R-CNN followed by Graph Neural Network (GNN) reasoning—they frequently suffer from "salience bias." This occurs when prominent objects in a scene dominate the feature space, leading the model to hallucinate interactions that do not exist. This paper introduces Spatially Conditioned Graphs, a novel GNN architecture that leverages physical distance and orientation to ensure more accurate message passing.

The Challenge: Salience Bias

In a traditional GNN, nodes (representing humans or objects) typically broadcast identical messages to all neighbors. This lack of directionality means a highly salient object, such as a large truck in the background, might influence the features of every person in the image equally, regardless of their actual proximity or interaction. The authors argue that for effective HOI detection, the spatial relationship—where an object is relative to a person—is as critical as its visual appearance.

Visualization of detected instances and adjacency matrices showing the mitigation of salience bias through spatial conditioning.

As shown in the adjacency matrices above, without spatial conditioning, the model's attention is often captured by a few dominant objects (seen as vertical bars in the middle row). By incorporating spatial constraints, the model "cleans" these matrices (bottom row), focusing only on physically plausible interaction pairs.

Methodology: Spatially Conditioned Graphs

The core innovation of this work is the Multi-Branch Fusion (MBF) module, which implements spatial conditioning through a bipartite graph structure.

  1. Anisotropic Messaging: Unlike standard "broadcast" GNNs, this model employs direction-dependent messaging. Messages from objects to humans are conditioned on relative spatial encodings, including bounding box coordinates, Intersection over Union (IoU), and relative offsets.
  2. Three-Stage Conditioning: Spatial information is integrated throughout the pipeline:
  3. Adjacency Computation: Determining the likelihood of interaction between pairs.
  4. Message Conditioning: Modifying the content of information passed based on relative location.
  5. Feature Refinement: Fusing spatial and appearance data for final classification.
  6. Multi-Branch Fusion (MBF): To manage high-dimensional data fusion without a prohibitive increase in parameters, the MBF module processes information in lower-dimensional subspaces before aggregation.

Key Results

The proposed method demonstrates significant performance improvements across major HOI benchmarks:

  • HICO-DET: The model achieved 31.33 mAP (mean Average Precision) using fine-tuned detections, outperforming previous state-of-the-art methods like IDN (26.29 mAP).
  • V-COCO: It set a new benchmark with 54.2 mAP.
  • Oracle Performance: When provided with ground-truth ("Oracle") detections, performance reached 51.53 mAP on HICO-DET, highlighting the architecture's ability to effectively exploit high-quality spatial data.

Discussion and Future Directions

A key insight from the study is that as object detectors improve, the relative importance of coarse appearance features decreases, while the value of precise spatial information increases. Additionally, incorporating global scene context via an extra MBF branch further enhances performance.

However, challenges remain in crowded scenes where small, tightly clustered bounding boxes make interaction "ownership" difficult to assign. Furthermore, the reliance on 2D bounding boxes can lead to depth ambiguity. Future work may involve incorporating 3D depth information to resolve these spatial conflicts and improving the initial encoding for very small objects.

Summary updated

BibTeX
@inproceedings{zhang2021spatio,
  author = {Frederic Z. Zhang and Dylan Campbell and Stephen Gould},
  title = {{Spatio-attentive Graphs for Human-Object Interaction Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01307},
}
Figure