Spatial Priming for Detecting Human-Object Interactions

Ankan Bansal, Sai Saketh Rambhatla, Abhinav Shrivastava, Rama ChellappaarXiv 2020

Abstract

Human-Object Interaction (HOI) detection requires identifying the relationship between a person and an object. While visual features are essential, the relative spatial layout of the entities provides a powerful, often overlooked cue. This paper introduces Spatial Priming, a two-branch architecture that treats geometric information as a primary signal. By using a Layout Module to "prime" a Visual Module through lateral connections and semantic embeddings, the proposed method achieves a state-of-the-art mAP of 24.79% on the HICO-Det dataset.

Introduction

Detecting HOIs involves localizing a person and an object and correctly identifying the "predicate" (the action) connecting them—for example, distinguishing between "person riding bicycle" and "person repairing bicycle." Humans can often infer these interactions from simple silhouettes or relative positions. However, traditional models have struggled to integrate this geometric information effectively, often treating spatial maps as secondary features fused only at the final stage.

Examples of spatial layouts used as interaction patterns.

The authors argue that spatial layout is a high-quality cue that should guide visual analysis from the outset. Their approach, Spatial Priming, uses the relative positioning of bounding boxes to establish a prior distribution over possible interactions, which then informs the visual processing branch.

Methods

The proposed architecture consists of two main components: a Layout Module (L) and a Visual Module (V), connected by lateral pathways.

The Spatial Priming architecture with lateral connections.

Spatial Priming and Layout Module

The Layout Module takes "interaction patterns"—binary masks of human and object bounding boxes—along with semantic word2vec vectors of the object category. It predicts a prior probability distribution over possible interactions. This prior is used to "prime" the Visual Module's final prediction, ensuring the model considers geometric likelihoods early in the decision process.

Lateral Connections

To prevent the modules from operating in isolation, lateral connections pass features from the Visual Module (at Res-1, Res-2, and Res-3 stages) through $1 \times 1$ convolutions into the Layout Module. This integration provides the layout branch with visual context, helping it focus on relevant image regions. The authors found that adding features via these connections outperformed simple concatenation.

Visual Module and Zero-Shot Capability

The Visual Module processes the "union box" containing both entities. It combines these features with the spatial prior and RoI-pooled features from a Faster R-CNN detector. By predicting predicates for human-object pairs and utilizing semantic embeddings, the model generalizes well to unseen interactions (Zero-Shot detection), leveraging linguistic similarities between objects.

Experimental Results

The model was evaluated on the HICO-Det and V-COCO benchmarks.

  • HICO-Det: The model achieved 24.79% mAP, a 2.8% absolute improvement over previous state-of-the-art methods. Notably, the Layout Module alone (using only boxes and names) reached 18.35% mAP, demonstrating the strength of geometric baselines.
  • V-COCO: The model reached 49.2% mAProle, outperforming existing methods on this standard dataset.
  • Zero-Shot Performance: The architecture showed significant gains in detecting unseen categories, reaching 11.06% mAP.

Discussion

While Spatial Priming significantly advances HOI detection, challenges remain. The "long-tail" distribution of rare classes continues to be difficult, and the model's reliance on a frozen object detector may limit joint optimization. Furthermore, while bounding boxes provide a strong coarse layout, they do not capture fine-grained details like gaze or finger positions, which are critical for subtle interactions. Future work may explore deeper semantic integration and joint training with the object detector to further enhance performance.

Summary updated

BibTeX
@misc{bansal2020spatial,
  author = {Ankan Bansal and Sai Saketh Rambhatla and Abhinav Shrivastava and Rama Chellappa},
  title = {{Spatial Priming for Detecting Human-Object Interactions}},
  year = {2020},
  eprint = {2004.04851},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.04851},
}
Figure