HOTR
A DETR-style transformer that predicts human-object interaction triplets as a set, pointing to detected instances.
Detection and tracking · 2,292 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 51.4M
- Operations
- 2,292
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2021
- Cited by
- 19 (as of 29 October 2026)
- Authors
- Bumsoo Kim, Junhyun Lee, Jaewoo Kang and others
- Source
- GitHub: kakaobrain/hotr
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17266
- Graph hash
- 88a32c8c2e4eaa2fe7cbf4b3c2aee732bb1e4e29398bfd6e728f1ad09479feb7
- Skeleton hash
- 78041dfe6a275e456995d5e351743b1269a6d97afdfb56024a18cce9c71c5a91
- Architecture hash
- 9ad75329f40e9ce80c3042413ac8dd3ab899c5f91acddb7c8f44620271c3c170
- Diagram SHA-256
- 0fd8897ea78a447a09f544f618aef56419c96dafb88322463cb333941bf91b09
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
HOTR detects human-object interactions (HOI): from an image it directly predicts a set of human, object and interaction triplets with a transformer encoder-decoder. Most earlier methods, the paper says, detected humans and objects first and then inferred an interaction for every pair of detections.
The design follows DETR, with a CNN backbone and a transformer encoder shared by two decoders that run in parallel. The instance decoder turns instance queries into representations for object detection, and the interaction decoder turns interaction queries into interaction representations. Instead of regressing boxes a second time, each interaction representation points to the instance representations of its human and its object through a Human Pointer and an Object Pointer (HO Pointers). An explicit interactiveness class suppresses redundant predictions for the same pair. The backbone, encoder and instance decoder are pre-trained on MS-COCO and frozen during training.
In the paper's ablation, sharing the encoder beats separate encoders by 21.3 mAP on V-COCO and 9.0 mAP on HICO-DET. The paper measures 36.3ms for the backbone and encoder, 23.8ms for the two decoders and 0.9ms for recomposition and final triplet inference. The released checkpoints use 16 interaction queries, and the repository reports 58.9 mAP on V-COCO Scenario 1 and 23.76 mAP on HICO-DET Default (Full) for them.
Key idea. HOTR predicts human-object interaction triplets as a set, with a shared transformer encoder and two parallel decoders linked by pointers, removing the hand-crafted post-processing of earlier detectors.
- HOTR
- human-object interaction detection
- HOI detection
- set prediction
- HO Pointers
- transformer encoder-decoder
- V-COCO
- HICO-DET
- interaction decoder
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{kim2021hotrendtoendhumanobjectinteraction,
title={HOTR: End-to-End Human-Object Interaction Detection with Transformers},
author={Bumsoo Kim and Junhyun Lee and Jaewoo Kang and Eun-Sol Kim and Hyunwoo J. Kim},
year={2021},
eprint={2104.13682},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2104.13682},
}