[Paper Review] End-to-End Human Object Interaction Detection with HOI Transformer
This paper proposes HOI Transformer, an end-to-end method for human-object interaction detection using a transformer-based encoder-decoder architecture that directly predicts (human, object, interaction) triplets in parallel. By introducing a quintuple matching loss and leveraging global context through self-attention, it achieves state-of-the-art performance with 26.61% AP on HICO-DET and 52.9% AP_{role} on V-COCO, outperforming prior methods while eliminating hand-designed components and complex post-processing.
We propose HOI Transformer to tackle human object interaction (HOI) detection in an end-to-end manner. Current approaches either decouple HOI task into separated stages of object detection and interaction classification or introduce surrogate interaction problem. In contrast, our method, named HOI Transformer, streamlines the HOI pipeline by eliminating the need for many hand-designed components. HOI Transformer reasons about the relations of objects and humans from global image context and directly predicts HOI instances in parallel. A quintuple matching loss is introduced to force HOI predictions in a unified way. Our method is conceptually much simpler and demonstrates improved accuracy. Without bells and whistles, HOI Transformer achieves $26.61\% $ $ AP $ on HICO-DET and $52.9\%$ $AP_{role}$ on V-COCO, surpassing previous methods with the advantage of being much simpler. We hope our approach will serve as a simple and effective alternative for HOI tasks. Code is available at https://github.com/bbepoch/HoiTransformer .
Motivation & Objective
- To address the limitations of two-stage and surrogate-based HOI detection methods that rely on separate object detection and interaction classification stages.
- To eliminate the need for hand-designed components such as human-object proposal generation and complex post-processing matching strategies.
- To model long-range dependencies between humans and objects using self-attention mechanisms in a unified, end-to-end framework.
- To improve interaction detection accuracy by jointly optimizing human, object, and interaction prediction through a unified loss function.
- To demonstrate that a simpler, attention-based architecture can outperform more complex, multi-stage pipelines in HOI detection.
Proposed method
- A transformer encoder-decoder architecture is used, where a CNN backbone extracts image features, and the encoder generates a global memory feature representing the entire image context.
- The decoder attends to the global memory and HOI queries to generate output embeddings for each predicted HOI triplet (human, object, interaction).
- A multi-layer perceptron head decodes the embeddings into bounding boxes, class labels, and interaction categories.
- A quintuple matching loss is introduced to supervise the prediction of full HOI instances by matching predicted and ground-truth triplets in a one-to-one manner during training.
- The model uses parallel decoding during inference, allowing simultaneous output of multiple HOI instances without iterative matching.
- The attention maps from the decoder are visualized to analyze how the model focuses on relevant human and object regions for interaction reasoning.
Experimental results
Research questions
- RQ1Can an end-to-end transformer-based architecture outperform two-stage or surrogate-based methods in human-object interaction detection?
- RQ2Does a unified loss function for full HOI triplets improve performance compared to decoupled or surrogate supervision?
- RQ3Can self-attention mechanisms effectively model long-range dependencies between humans and objects without relying on handcrafted proposals?
- RQ4How well does the model generalize to out-of-distribution scenarios with rare or high-density interaction patterns?
- RQ5To what extent does the model’s attention mechanism capture discriminative features for different interaction categories?
Key findings
- HOI Transformer achieves 26.61% AP on the HICO-DET benchmark, surpassing previous state-of-the-art methods without using additional features or complex post-processing.
- On the V-COCO benchmark, it attains 52.9% AP_{role}, demonstrating strong performance on interaction role prediction.
- The model generalizes well to out-of-distribution test cases, such as images with six 'drink with bottle' interactions, which are rare in training data.
- Visualizations of decoder attention maps show that the model reasons about interactions using global image context, attending to both human and object regions simultaneously.
- The model can distinguish between different interaction categories even when they share similar spatial layouts, indicating effective feature learning.
- The absence of post-processing matching and auxiliary components like human pose or part features does not compromise performance, highlighting the model's self-sufficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.