Deep contextual attention for human-object interaction detection

Tiancai Wang, Rao Muhammad Anwer, Muhammad Haris Khan, Fahad Khan, Yanwei Pang, Ling Shao, Jorma Laaksonen · DOI

Abstract

Human-Object Interaction (HOI) detection is a critical task in visual understanding, requiring the identification of triplets in the form of <human, action, object>. Traditional methods often rely on the visual appearance of isolated human and object bounding boxes, neglecting the rich contextual information available in the surrounding scene. This paper proposes a contextual attention framework that adaptively highlights relevant image regions to enrich instance features. By integrating global and local context, the model achieves state-of-the-art performance on major benchmarks, including a significant 9.4% relative improvement on HICO-DET.

Introduction

The core challenge of HOI detection lies in disambiguating subtle actions that appear similar when viewed in isolation. For instance, "holding an apple" and "cutting an apple" may look nearly identical if only the hand and the apple are considered. The presence of a knife (local context) or the setting of a kitchen (global context) provides the necessary cues for correct classification. Most existing detectors follow a sequential pipeline: detect instances, then classify interactions. This "box-only" approach frequently fails in complex scenes where spatial relationships and environmental priors are essential.

Methodology

The proposed architecture utilizes a multi-stream approach (Human, Object, and Pairwise) enhanced by two primary innovations:

1. Context-Aware Appearance Features

To capture information beyond the immediate bounding box, the model employs a Context Aggregation block. This block uses large-kernel convolutions to expand the effective receptive field, allowing the model to incorporate features from the surrounding area. Simultaneously, Local Encoding via PSRoIAlign ensures that spatial sensitivity within the boxes is preserved.

2. Contextual Attention Module

The model adaptively selects relevant global context through an instance-conditioned attention mechanism. By using instance-specific features to query the global feature map, the module generates an attention map that emphasizes regions critical to the specific interaction. This refined feature set is then processed through spatial and channel-wise refinement blocks to suppress background noise.

Key Insights and Qualitative Analysis

The integration of context serves as a powerful disambiguator. Global context helps filter out semantically impossible actions based on the scene, while local context identifies fine-grained movements.

Qualitative comparison between the proposed contextual attention approach and the GPNN baseline.

As shown in the figure above, the proposed method effectively handles common failure modes of baseline models:

  • Mis-Grouping: Correctly associating humans with the objects they are interacting with (e.g., identifying the correct driver in a car).
  • Incorrect Class: Distinguishing between similar actions (e.g., "driving" vs "jumping" a boat) by leveraging the proximity of other relevant cues and scene priors.

Experimental Results

The framework was evaluated on three major datasets: V-COCO, HICO-DET, and HCVRD.

  • V-COCO: The model achieved 47.3 $mAP_{role}$, a notable improvement over the previous state-of-the-art (iCAN at 45.3).
  • HICO-DET: In the "Default Full" setting, the model reached 16.24 mAP, representing a 9.4% relative gain over previous published results.
  • Generalization: Performance gains were consistent across various backbones, including VGG-16, ResNet-50, and ResNet-101, demonstrating the robustness of the contextual modules.

Conclusion

This research highlights the indispensable role of context in Human-Object Interaction detection. By moving beyond local appearance and implementing an adaptive contextual attention mechanism, the proposed model sets a new standard for HOI benchmarks. Future work may explore integrating explicit structural knowledge or external semantic bases to further enhance scene understanding.

Summary updated

BibTeX
@misc{wang2019deep,
  author = {Tiancai Wang and Rao Muhammad Anwer and Muhammad Haris Khan and Fahad Khan and Yanwei Pang and Ling Shao and Jorma Laaksonen},
  title = {{Deep contextual attention for human-object interaction detection}},
  year = {2019},
  eprint = {1910.07721},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.07721},
}
Figure