QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information

Masato Tamura, Hiroki Ohashi, Tomoaki Yoshinaga
3/9/2021
cs.CVcs.LG
transformer-attention

Official code: hitachi-rd-cv/qpic (144 stars, Python, Apache-2.0, last commit 2022-07-20).

Abstract

We propose a simple, intuitive yet powerful method for human-object interaction (HOI) detection. HOIs are so diverse in spatial distribution in an image that existing CNN-based methods face the following three major drawbacks; they cannot leverage image-wide features due to CNN's locality, they rely on a manually defined location-of-interest for the feature aggregation, which sometimes does not cover contextually important regions, and they cannot help but mix up the features for multiple HOI instances if they are located closely.

Show full abstract

To overcome these drawbacks, we propose a transformer-based feature extractor, in which an attention mechanism and query-based detection play key roles. The attention mechanism is effective in aggregating contextually important information image-wide, while the queries, which we design in such a way that each query captures at most one human-object pair, can avoid mixing up the features from multiple instances. This transformer-based feature extractor produces so effective embeddings that the subsequent detection heads may be fairly simple and intuitive. The extensive analysis reveals that the proposed method successfully extracts contextually important features, and thus outperforms existing methods by large margins (5.37 mAP on HICO-DET, and 5.7 mAP on V-COCO). The source codes are available at $\href{https://github.com/hitachi-rd-cv/qpic}{\text{this https URL}}$.

View on arXivView PDF

Code Implementations(1)

hitachi-rd-cv/qpicOfficial100%
Apache-2.0

Repo for CVPR2021 paper "QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information"

14437PythonMar 9, 20214 years agoApache-2.0
cocohico-det-traininghuman-object-interactioninteraction-detection

Similar Papers

Cite this paper

@article{tamura2021qpic,
  title  = {QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information},
  author = {Masato Tamura and Hiroki Ohashi and Tomoaki Yoshinaga},
  year   = {2021},
  eprint = {2103.05399},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.05399}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.05399.svg)](https://codeofpaper.com/paper/2103.05399)

Discussion