[Paper Review] QAHOI: Query-Based Anchors for Human-Object Interaction Detection
QAHOI proposes a query-based transformer framework for one-stage human-object interaction (HOI) detection that leverages multi-scale feature extraction and learnable query embeddings to localize and classify HOI instances with high accuracy. It achieves state-of-the-art performance on HICO-DET by using a transformer-based backbone and query-based anchors that flexibly attend to human-object pairs across varying spatial scales and distances.
Human-object interaction (HOI) detection as a downstream of object detection tasks requires localizing pairs of humans and objects and extracting the semantic relationships between humans and objects from an image. Recently, one-stage approaches have become a new trend for this task due to their high efficiency. However, these approaches focus on detecting possible interaction points or filtering human-object pairs, ignoring the variability in the location and size of different objects at spatial scales. To address this problem, we propose a transformer-based method, QAHOI (Query-Based Anchors for Human-Object Interaction detection), which leverages a multi-scale architecture to extract features from different spatial scales and uses query-based anchors to predict all the elements of an HOI instance. We further investigate that a powerful backbone significantly increases accuracy for QAHOI, and QAHOI with a transformer-based backbone outperforms recent state-of-the-art methods by large margins on the HICO-DET benchmark. The source code is available at $\href{https://github.com/cjw2021/QAHOI}{ ext{this https URL}}$.
Motivation & Objective
- To address the limitations of existing one-stage HOI detection methods in handling spatial variability and scale diversity in human-object interactions.
- To improve feature extraction for distant or small-scale human-object pairs by leveraging multi-scale feature maps and self-attention mechanisms.
- To develop a flexible, query-based detection head that can localize and classify HOI instances independently of spatial position.
- To demonstrate that a strong transformer-based backbone significantly enhances detection accuracy in HOI tasks.
- To establish a strong one-stage baseline for HOI detection that is trainable from scratch and compatible with modern object detection paradigms.
Proposed method
- QAHOI employs a hierarchical transformer-based backbone to extract multi-scale features from different spatial resolutions.
- It uses a transformer encoder to attend to these multi-scale features and generate contextually rich visual representations.
- A learnable query-based decoder generates HOI embeddings, where each query corresponds to a potential HOI instance.
- The interaction head predicts bounding boxes, object classes, and action classes directly from the query embeddings.
- The model uses query-based anchors that are not fixed to interaction points, enabling flexible localization across diverse spatial configurations.
- The method is trained end-to-end with a standard HOI detection loss, and can be fine-tuned with powerful backbones like Swin-Large or Deformable DETR.

Experimental results
Research questions
- RQ1Can a query-based transformer framework improve the detection of human-object interactions across diverse spatial scales and distances?
- RQ2How does multi-scale feature extraction enhance the detection of small or distant human-object pairs in HOI detection?
- RQ3To what extent does the choice of backbone architecture affect the performance of a one-stage HOI detector?
- RQ4Can a query-based detection head outperform interaction-point-based methods in capturing long-range and ambiguous human-object relationships?
- RQ5Does a pure transformer-based backbone with self-attention provide a significant advantage over CNN-based backbones in HOI detection?
Key findings
- QAHOI with a Swin-Large backbone achieves state-of-the-art performance on the HICO-DET benchmark, outperforming recent SOTA methods.
- On small-scale HOI instances (first three bins), QAHOI with a transformer backbone outperforms QPIC using ResNet-101, especially in the smallest bin.
- QAHOI with ResNet-50 fine-tuned from Deformable DETR achieves comparable results to QPIC with ResNet-101 on small instances.
- QAHOI maintains strong performance on long-distance HOI instances (center distance < 0.3× image size), where performance typically degrades in other methods.
- The query-based anchors show flexibility in localization, detecting HOI instances even when the anchor is not centered on the human-object pair.
- The method achieves high accuracy without relying on interaction point supervision, demonstrating the effectiveness of query-based representation for HOI detection.

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.