Efficient Two-Stage Detection of Human-Object Interactions with a Novel Unary-Pairwise Transformer

Recent developments in transformer models for visual data have led to significant improvements in recognition and detection tasks. In particular, using learnable queries in place of region proposals has given rise to a new class of one-stage detection models, spearheaded by the Detection Transformer (DETR). Variations on this one-stage approach have since dominated human-object interaction (HOI) detection. However, the success of such one-stage HOI detectors can largely be attributed to the representation power of transformers. We discovered that when equipped with the same transformer, their two-stage counterparts can be more performant and memory-efficient, while taking a fraction of the time to train. In this work, we propose the Unary-Pairwise Transformer, a two-stage detector that exploits unary and pairwise representations for HOIs. We observe that the unary and pairwise parts of our transformer network specialise, with the former preferentially increasing the scores of positive examples and the latter decreasing the scores of negative examples. We evaluate our method on the HICO-DET and V-COCO datasets, and significantly outperform state-of-the-art approaches. At inference time, our model with ResNet50 approaches real-time performance on a single GPU.

PDF Abstract CVPR 2022 PDF CVPR 2022 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Human-Object Interaction Detection HICO-DET UPT-R101-DC5 mAP 32.62 # 18
Time Per Frame (ms) 124 # 9
Human-Object Interaction Detection HICO-DET UPT-R101 mAP 32.31 # 20
Time Per Frame (ms) 61 # 3
Human-Object Interaction Detection HICO-DET UPT-R50 mAP 31.66 # 23
Time Per Frame (ms) 42 # 1
Human-Object Interaction Detection V-COCO UPT-R101-DC5 AP(S1) 61.3 # 10
Time Per Frame(ms) 131 # 9
AP(S2) 67.1 # 5
Human-Object Interaction Detection V-COCO UPT-R101 AP(S1) 60.7 # 11
Time Per Frame(ms) 64 # 5
AP(S2) 66.2 # 8
Human-Object Interaction Detection V-COCO UPT-R50 AP(S1) 59.0 # 12
Time Per Frame(ms) 43 # 1
AP(S2) 64.5 # 12

Methods