Human-Object Interaction Detection via Disentangled Transformer

Desen Zhou, Zhichao Liu, Jian Wang, Leshan Wang, Tao Hu, Errui Ding, Jingdong Wang

Abstract

Human-Object Interaction (HOI) detection is a fundamental computer vision task that requires identifying triplets of <human, verb, object> within an image. While Transformer-based architectures have recently advanced the state-of-the-art, they often struggle with the inherent tension between locating entities and classifying their interactions. This paper introduces the Disentangled Transformer (DisTR), a novel architecture that employs a coarse-to-fine strategy to decouple localization and classification. By utilizing specialized encoder heads and a dual-decoder structure, DisTR achieves superior performance on standard benchmarks while avoiding the common pitfalls of grouping errors and feature interference.

Introduction

Detecting how humans interact with objects is a critical step toward deep visual understanding. Unlike standard object detection, HOI detection requires a model to not only locate a person and a bicycle but also to discern the specific relationship between them—whether the person is riding, repairing, or walking the bike.

Existing Transformer-based methods typically follow one of two paradigms. Single-branch architectures attempt to predict the entire triplet from a single representation, which often leads to sub-optimal results because the visual cues for "where an object is" differ significantly from "what the action is." Conversely, parallel-branch architectures detect objects and actions independently and attempt to match them in post-processing. However, this often results in grouping errors, where a correctly identified action is incorrectly assigned to the wrong human-object pair. DisTR addresses these challenges by disentangling the feature extraction and decoding processes while maintaining a unified query-based framework.

The DisTR Architecture

The core innovation of DisTR is its "disentangled" approach, which spans both the encoder and decoder stages to optimize for specialized sub-tasks.

Disentangled Encoder

Rather than relying on a single feature map, the DisTR encoder is split into three distinct heads:

  1. Base Head: Captures general visual features.
  2. Instance Head: Focuses on object boundaries and spatial localization.
  3. Interaction Head: Concentrates on the "action zones"—the visual space between the human and the object where the interaction typically occurs.

Coarse-to-Fine Decoder

DisTR utilizes a two-stage decoding process to refine triplet predictions:

  • Base Decoder: This stage generates a "unified representation" for a potential HOI triplet, ensuring that the human, object, and action are linked from the start.
  • Disentangled Decoders: The unified representation is then branched into two specialized decoders. The Instance Decoder predicts the bounding boxes for both the human and the object simultaneously, while the Interaction Decoder focuses exclusively on classifying the verb.

To ensure these branches remain synchronized, an Attentional Fusion Block acts as a communication channel, allowing the instance stream to share spatial context with the interaction stream. This ensures the model's "gaze" for action classification is informed by the location of the participants.

Key Insights

Specialized Attention and Grouping

Visualization of the model's attention maps reveals that the Interaction Decoder naturally focuses on the space between entities, while the Instance Decoder focuses on object extremities. By disentangling these tasks, each branch can optimize its attention without interference. Furthermore, because both decoders originate from the same initial query, the human, object, and action are automatically grouped, eliminating the need for complex post-processing matching.

Feature vs. Query Decomposition

The authors discovered that starting with a unified feature and refining it (feature decomposition) is significantly more effective than starting with separate queries. This structural choice allows the model to maintain the integrity of the triplet while benefiting from specialized processing.

Experimental Results

DisTR was evaluated on the two primary HOI detection benchmarks: HICO-DET (600 triplet types) and V-COCO (29 action classes). The model achieved significant performance gains over previous state-of-the-art (SOTA) models such as QPIC and HOTR:

  • V-COCO: DisTR reached 66.2 mAP (Scenario #1), a substantial improvement over QPIC’s 58.8 mAP.
  • HICO-DET: The model achieved 31.75 mAP on the "Full" set, outperforming previous one-stage models by nearly 2 points.
  • Efficiency: Despite the specialized components, DisTR is highly efficient, introducing only approximately 7% extra FLOPs compared to standard single-branch transformers.

Conclusion and Future Work

DisTR demonstrates that disentangling localization and classification is key to advancing HOI detection. By predicting pairs of boxes simultaneously and using specialized attention heads, the model effectively eliminates grouping errors and improves classification accuracy.

Future research may address the challenges of the long-tail distribution in HOI datasets, where rare interactions remain difficult to detect. Additionally, extending the DisTR architecture to video-based HOI detection offers a promising path for capturing temporal dynamics in human actions.

Summary updated

BibTeX
@inproceedings{zhou2022human,
  author = {Desen Zhou and Zhichao Liu and Jian Wang and Leshan Wang and Tao Hu and Errui Ding and Jingdong Wang},
  title = {{Human-Object Interaction Detection via Disentangled Transformer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure