Exploring Structure-aware Transformer over Interaction Proposals for Human-Object Interaction Detection

Yong Zhang, Yingwei Pan, Ting Yao, Rui Huang, Tao Mei, Chang Wen Chen

Abstract

Human-Object Interaction (HOI) detection is a fundamental task in computer vision that requires identifying triplets of <human, object, interaction>. While recent advancements have moved toward end-to-end Transformer-based architectures, these models often struggle to capture the complex semantic and spatial structures inherent in human activities. This paper introduces STIP (Structure-aware Transformer over Interaction Proposals), a novel framework that replaces randomly initialized parametric queries with grounded interaction proposals. By explicitly modeling inter-interaction semantic relationships and intra-interaction spatial layouts, STIP achieves state-of-the-art performance on major benchmarks while maintaining competitive inference speeds.

Introduction

The goal of HOI detection is to provide a comprehensive understanding of how humans interact with their environment. Recent "one-stage" methods, inspired by the DEtection TRansformer (DETR), utilize learnable parametric queries to directly predict interactions. However, these queries are often randomly initialized and maintain a dynamic correspondence to the actual interactions in an image. This "black box" approach makes it difficult for the model to learn and exploit structural priors.

Specifically, standard Transformers often overlook two critical types of structure:

  1. Inter-interaction structure: The semantic dependencies between different interactions in a scene (e.g., a person wearing a glove is likely to be holding a bat).
  2. Intra-interaction structure: The local spatial layout and geometric relationship between the human and the object within a single interaction pair.

Methodology

STIP addresses these limitations by decomposing HOI detection into a two-phase process: proposal generation and structure-aware refinement.

Interaction Proposal Network (IPN)

Unlike traditional Transformer-based detectors that use abstract queries, STIP employs an Interaction Proposal Network. Using an off-the-shelf detector, the IPN identifies all humans and objects within an image. These are paired to form potential interactions, which are then ranked by an "interactiveness" score. The top-$K$ pairs are used as non-parametric interaction queries. Because these queries are grounded in actual detected bounding boxes, they provide a stable, "static" starting point for the model to perform relational reasoning.

Structure-aware Transformer

The core of the STIP framework is a modified Transformer designed to exploit the relationships between proposals:

  • Structure-aware Self-attention: To model inter-interaction structure, the framework constructs an interaction-centric graph. Relationships between any two proposals are classified into six categories (e.g., "same-human," "same-object," or "disjunctive"). These semantic labels are embedded and used to bias the self-attention mechanism, allowing the model to leverage common-sense links across the entire scene.
  • Structure-aware Cross-attention: To capture intra-interaction structure, the model identifies five spatial zones for each proposal: background, human, object, union, and intersection. These "layout flags" guide the cross-attention mechanism, helping the model focus its visual processing on the most discriminative pixels for a specific human-object pair.

Experimental Results

The authors evaluated STIP on two gold-standard HOI benchmarks: V-COCO and HICO-DET.

Performance

STIP demonstrated significant improvements over previous state-of-the-art methods:

  • V-COCO: The model achieved 66.0 $AP_{role}$, a substantial increase over the previous leading one-stage method, QPIC (58.8).
  • HICO-DET: STIP reached 32.22 mAP under the default setting, outperforming other prominent Transformer-based models such as HOTR and AS-Net.

Efficiency

Despite its two-phase architecture, STIP remains highly efficient. The model processes images at approximately 73.9ms on a single GPU. This speed is comparable to simpler one-stage detectors, proving that explicit structural modeling does not necessarily come at the cost of computational overhead.

Discussion and Conclusion

The success of STIP highlights the importance of grounding Transformer queries in physical proposals. By providing the model with semantic and spatial priors, STIP bypasses the difficult task of learning these structures from scratch.

However, the framework's reliance on an initial object detector presents a limitation: if the detector fails to identify a small or occluded object, the IPN cannot generate the corresponding interaction proposal. Future work may explore extending this structure-aware philosophy to the temporal domain in video-based HOI detection, where the evolution of interactions over time provides further structural information. While these advancements offer great potential for fields like sports analysis and autonomous systems, the authors emphasize the need for ethical deployment regarding privacy and surveillance.

Summary updated

BibTeX
@inproceedings{zhang2022exploring,
  author = {Yong Zhang and Yingwei Pan and Ting Yao and Rui Huang and Tao Mei and Chang Wen Chen},
  title = {{Exploring Structure-aware Transformer over Interaction Proposals for Human-Object Interaction Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure