InstructHOI: Context-Aware Instruction for Multi-Modal Reasoning in Human-Object Interaction Detection

Jinguo Luo, Weihong Ren, Quanlong Zheng, Yanhao Zhang, Zhenlong Yuan, Zhiyong Wang, Haonan Lu, Honghai LiuNeurIPS 2025

TL;DR

InstructHOI moves beyond simple prompt-based knowledge transfer by teaching Large Foundation Models (LFMs) to reason about how humans and objects interact. By fusing fine-grained visual context (spatial and appearance) directly into linguistic instructions and training on a new 140K-pair reasoning dataset, the framework achieves state-of-the-art performance in both supervised and zero-shot Human-Object Interaction (HOI) detection.

What Problem Does This Paper Address?

Human-Object Interaction (HOI) detection is the task of identifying triplets in an image: <human, action, object>. While identifying a "person" and a "bicycle" is relatively easy for modern AI, recognizing the specific interaction—is the person riding the bike, repairing it, or just standing next to it?—remains a significant challenge, especially in "open-world" scenarios where the model encounters unseen combinations.

Comparison of traditional knowledge transfer versus InstructHOI's context-aware reasoning.

Current state-of-the-art methods typically use Large Foundation Models (LFMs) like CLIP as "knowledge banks," using static text prompts (e.g., "a photo of a person riding a bike") to extract features. However, the authors argue that these methods fail to exploit the reasoning capabilities of LFMs. Static prompts are often too generic and ignore the specific spatial relationships and visual nuances of a particular human-object pair in a complex scene.

Methods

The authors introduce InstructHOI, which treats HOI detection as a multi-modal reasoning task guided by context-aware instructions. The architecture consists of two main branches: a visual interaction decoder and a multi-modal reasoning branch.

Architecture of InstructHOI featuring the Context-Aware Instruction Generator and Interest Token Selector.

Key innovations include:

  1. HOI-Domain Fine-tuning: The researchers adapted a pretrained LFM (InternVL2) using LoRA (Low-Rank Adaptation). To bridge the gap between general knowledge and HOI-specific reasoning, they curated a high-quality dataset of 140K interaction-reasoning image-text pairs.
  2. Context-aware Instruction Generator (CIG): Instead of using simple text instructions, CIG mines "visual interactive context." It extracts appearance features and spatial metadata (like IoU and relative distance) for a specific human-object pair and projects them into the LFM's linguistic space. This creates a "multi-modal instruction" that tells the model exactly which part of the image to reason about.
  3. Interest Token Selector (ITS): To make reasoning efficient and accurate, ITS adaptively filters image tokens. It uses the context-aware instructions to identify and prioritize the most relevant "interaction regions" (e.g., the hands for "holding" or the legs for "kicking"), reorganizing the token sequence for the LFM.

Datasets

The study utilizes several standard and one newly aggregated dataset:

  • HICO-DET: A benchmark for HOI detection with 600 interaction categories.
  • V-COCO: A smaller, common benchmark for human-centric interaction.
  • 140K Interaction-Reasoning Dataset: A new dataset created by the authors by aggregating five existing image-only HOI datasets and transforming their one-hot labels into "Question & Answer" reasoning conversations (e.g., Q: Reason the interaction... A: Human is sitting on and riding a bike).

Key Insights and Ideas

  • Reasoning > Retrieval: Traditional LFM-based HOI detectors treat the model as a lookup table for features. InstructHOI treats the model as a "thinker" that can evaluate spatial and appearance clues to disambiguate complex actions.
  • Visual Context as "Language": By projecting spatial coordinates and instance features into the same embedding space as words, the model can "read" the geometry of the scene as part of its instruction.
  • Adaptive Focus: The Interest Token Selector (ITS) proves that "less is more." By filtering out irrelevant background tokens and focusing on the human-object interface, the model's reasoning becomes more robust against cluttered environments.

Key Results

InstructHOI sets a new high-water mark for the field:

  • Supervised SOTA: On HICO-DET, it achieved 47.68 mAP (Default Full), outperforming the previous best (RLIPv2) by 2.59 points—a relative improvement of 5.74%.
  • Zero-Shot Excellence: In the "Unseen Object" setting on HICO-DET, it reached 39.92 mAP, significantly better than prior methods like CMMP. This demonstrates the model's ability to generalize its reasoning to objects it hasn't seen in specific interaction contexts before.
  • V-COCO Performance: It achieved 72.4 AP (Scenario 1), surpassing other LFM-based methods like SICHOI (71.1 AP).

Limitations and Future Work

While the paper demonstrates significant gains, some limitations are noted:

  • Computational Overhead: Even with LoRA, using a Large Foundation Model as a backbone is more computationally expensive than traditional CNN or small Transformer-based detectors.
  • Detector Dependency: The system still relies on an off-the-shelf object detector (DETR) to propose human-object pairs. Errors in the initial detection phase can propagate through the reasoning branch.
  • Future Directions: The authors suggest exploring even more complex "chain-of-thought" instructions and further optimizing the token selection process to reduce the inference footprint.

Summary updated

BibTeX
@inproceedings{luo2025instructhoi,
  author = {Jinguo Luo and Weihong Ren and Quanlong Zheng and Yanhao Zhang and Zhenlong Yuan and Zhiyong Wang and Haonan Lu and Honghai LIU},
  title = {{InstructHOI: Context-Aware Instruction for Multi-Modal Reasoning in Human-Object Interaction Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=WjYvHSjXrP},
}
Figure