RegFormer: Transferable Relational Grounding for Efficient Weakly-Supervised Human-Object Interaction Detection

Jihwan Park, Chanhyeong Yang, Jinyoung Park, Taehoon Song, Hyunwoo J. Kim

TL;DR

RegFormer (Relational Grounding Transformer) is a lightweight, highly efficient module that unifies image-level and instance-level reasoning for weakly-supervised Human-Object Interaction (HOI) detection. By leveraging spatially grounded signals and an explicit interactiveness gating mechanism during image-level training, it seamlessly transfers to instance-level detection at inference time without any additional training. This approach achieves up to a 128x inference speedup and significantly reduces false positives compared to prior architectures.

What Problem Does This Paper Address?

Human-Object Interaction (HOI) detection aims to localize humans and objects in a scene and identify the interactions between them as triplets (e.g., ⟨human, ride, horse⟩). While fully supervised models require expensive, exhaustive annotations of bounding boxes and interaction labels for every pair, weakly-supervised HOI detection scales much better by training solely on image-level labels.

However, at inference time, weakly-supervised models must rely on an external object detector to propose candidate human and object boxes. This creates two major bottlenecks:

  1. Computational Overhead: Standard pipelines repeatedly crop union regions for every possible human-object pair and pass them through a heavy backbone, causing inference times to skyrocket as the number of objects grows.
  2. High False Positive Rates: Models frequently misclassify non-interactive pairs (e.g., associating a random bystander with a horse being ridden by someone else) due to a lack of localized spatial guidance during training.

Methods

RegFormer addresses these challenges by introducing a sequential decoding framework (Human-Object pair $\rightarrow$ Interaction class) that processes all pairs efficiently in a single backbone forward pass.

Overall framework of RegFormer

Key components include:

  • Pairwise Instance Encoder: Instead of relying on purely text-driven queries, RegFormer computes patch-level similarity between visual feature maps and text embeddings. This generates spatially grounded pairwise queries that capture where humans and objects are likely to interact.
  • Interactiveness-Aware Learning: To suppress spurious feature activations, the authors introduce an explicit "gating" mechanism. It computes an interactiveness score by combining pair-specific local cues with a masked global context to filter out non-interactive combinations.
  • Zero-Shot Transfer to Detection: At inference time, region-aware masks derived from an off-the-shelf object detector are applied directly to the patch importance and interactiveness layers. This constrains the model's attention to specific instance boundaries without requiring any retraining or fine-tuning.

Datasets

The model was trained and evaluated on two widely used HOI detection benchmarks:

  • HICO-DET: A challenging, long-tailed dataset consisting of 80 object categories and 117 interaction categories across 600 valid HOI triplets.
  • V-COCO (Visual Semantic Role Labeling): A subset of MS-COCO containing 80 object categories and 29 interaction categories.

Key Insights and Ideas

  • Implicit Spatial Grounding: By forcing the model to weight image patches based on text-to-visual alignment during image-level training, the network implicitly learns to localize interactions. This eliminates the need for explicit box supervision during training.
  • Global vs. Local Interactiveness: A key "aha moment" is that local semantic alignment alone can cause false positives in dense scenes. Incorporating a masked global interactiveness term helps the model understand scene-level context, successfully correcting inflated local scores for non-interactive pairs.
Visualization of interactiveness score
  • Detector-Agnostic Design: Because RegFormer does not ingest detector proposals during its training phase, it remains completely decoupled from the detector architecture. It can be dynamically paired with any modern detector (e.g., Faster R-CNN, DETR, H-DETR) at inference time.

Key Results

  • Inference Efficiency: As the number of instance pairs scales up to 200, RegFormer maintains a nearly flat inference time, running up to 128x faster than the ML-Decoder baseline.
Efficiency and prediction comparison
  • HICO-DET Performance: RegFormer achieved 32.90 mAP (using a DINO-B backbone), outperforming the previous state-of-the-art weakly supervised method by a wide margin and delivering performance competitive with fully supervised models. It performed exceptionally well on rare classes, where fully supervised models typically struggle due to data scarcity.
  • V-COCO Performance: RegFormer established a new state-of-the-art for weakly-supervised models on V-COCO, achieving 57.5 $AP_{role2}$ when paired with a DETR detector.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{park2026regformer,
  author = {Jihwan Park and Chanhyeong Yang and Jinyoung Park and Taehoon Song and Hyunwoo J. Kim},
  title = {{RegFormer: Transferable Relational Grounding for Efficient Weakly-Supervised Human-Object Interaction Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=7buHA03pNM},
}
Figure