ImagineAgent: What if Agents Could Imagine? Reinforcing Open-Vocabulary HOI Comprehension through Generation

Zhenlong Yuan, Yue Wang, Dapeng Zhang, Kejin Cui, Rui Chen, Jing Tang, Lei Sun, Hongwei Yu, Chengxuan Qian, Xiangxiang Chu, Shuo Li, Yuyin ZhouNeurIPS 2026

TL;DR

When you see a cropped photo of a hand holding a frying pan, your brain effortlessly fills in the missing chef. Multimodal AI models usually can't do this—they get tripped up by awkward angles, missing context, and their own text-biased hallucinations. ImagineAgent turns a static vision-language model into an active investigator that uses reinforcement learning and image-generation tools to literally imagine what lies outside the frame, shattering records in open-vocabulary interaction detection with just a third of the usual training data.

What Problem Does This Paper Address?

Teaching machines to look at an image and understand who is doing what to whom—formally known as Human-Object Interaction (HOI) detection—is foundational for robotics and assistive tech. Doing this in an "open-vocabulary" setting (OV-HOI), where the model must recognize interactions it has never been explicitly trained on, is the real holy grail.

Multimodal Large Language Models (MLLMs) seem perfect for this, given their vast world knowledge. Yet, when put to the test, they stumble over three very relatable hurdles:

  1. The Perceptual-Cognitive Gap: They spot all the people and objects just fine, but fail to connect the dots, bizarrely linking a batter to a catcher’s glove across the field.
  2. Cross-Modal Hallucination: Leaning too hard on text-based statistical priors rather than their "eyes," they might see a person swinging a long object near a chain-link fence and confidently declare it a "tennis racket" instead of a baseball bat.
  3. Occlusion-Induced Ambiguity: Real-world photos are messy and cropped. When parts of a person or object are hidden, MLLMs guess blindly instead of reasoning about what's missing.
Figure 1: Three limitations in OV-HOI tasks. Given (a) an original image, MLLMs may suffer from (b) perceptual-cognitive gap, where they perceive individual entities but fail to form a coherent understanding, leading to flawed cognition (e.g., linking Person 1 to Helmet 2 and Glove they are not wearing). Another critical issue is (c) cross-modal hallucination, where models generate plausible- sounding but visually unsupported interactions by over-relying on textual priors (e.g., mistaking a baseball bat for a tennis racket). Finally, (d) occlusion-induced ambiguity arises when key visual information is missing, causing the model fail to detect entities and their connections.

Methods

Instead of expecting an MLLM (specifically, Qwen3-VL-8B) to nail the answer in a single glance, the authors reframe visual understanding as a two-round, interactive investigation.

Overview of the ImagineAgent architecture, combining a multimodal toolset, two-round perception-to-cognition reasoning, and two-stage training.
  • Round 1 (Perception & Tool Selection): The agent surveys the scene, lists all humans and objects, maps out plausible pairs, and asks itself: Where am I confused? If something is blurry, occluded, or semantically fuzzy, it calls a tool from its Multimodal Tool Library. It can crop in on tiny details, query an online RAG system (Qwen API) for scene and action explanations, or fire up a generative diffusion model (BAGEL) to outpaint the borders or transform the viewpoint—effectively reconstructing hidden reality.
  • Round 2 (Cognition & Augmentation): Armed with zoomed-in crops, dictionary definitions, or newly "imagined" views of the scene, the agent systematically evaluates its candidate pairs to output final <human, object, action> triplets.

To train this agentic workflow, the authors use a two-stage recipe:

  1. Supervised Fine-Tuning (SFT): A "cold-start" phase that teaches the model the structured syntax of mapping perceptions to cognitive pairs and calling tools.
  2. Agentic Reinforcement Learning (RL): Using standard Group Relative Policy Optimization (GRPO), the agent practices via trial-and-error rollouts. What’s novel here is the composite reward function: it uses the Hungarian algorithm and CLIP embeddings to score the exact F1 accuracy of predicted triplets, while simultaneously rewarding clean formatting and efficient tool use (you only get the tool bonus if the tool actually helped you get a right answer!).

Datasets

  • hicodet-6K (New!): Standard datasets only give static labels, not the thought process. The authors used a massive 32B-parameter model to explore the HICO-DET training set, filtering trajectories with an expert validator model (Qwen-VL-Max) to curate ~6,000 pristine Chain-of-Thought (CoT) reasoning chains for SFT (plus 8,000 trajectories for RL).
  • HICO-DET & SWIG-HOI: Standard benchmarks used for zero-shot/open-vocabulary evaluation, containing hundreds of actions and objects, including thousands of unseen combinations.

Key Insights and Ideas

  • Pure RL hits a "lazy agent" wall: Inspired by DeepSeek-R1-Zero, the authors initially tried training their agent with pure RL from scratch. Surprisingly, the model progressively stopped using tools! Because generative/cropped images looked slightly different from its pretraining data, the raw model treated tool outputs as distribution noise. The SFT "cold start" on hicodet-6K was the essential glue needed to make RL work.
  • Imagination beats memorization: Using a generative model as a "world model" during visual detection is a clever inversion of the usual pipeline. Outpainting a cropped arm into a full chef tossing broccoli gives the detector the exact visual anchor it needs to deduce "cooking" rather than "throwing."
  • Speed vs. Perfection in Imagination: Swapping in heavyweight image generators like FLUX.1 Kontext bumped accuracy slightly (+0.47% mAP), but the lighter BAGEL model hit the sweet spot between imagination quality and inference speed.

Key Results

ImagineAgent doesn't just nudge the needle; it leaps over prior open-vocabulary methods—despite using only ~36.7% of the training data:

  • On HICO-DET: Achieved 36.76% Full mAP, a massive +13.64% mAP jump over the previous open-vocabulary state-of-the-art (INP-CC at 23.12%), and 37.85% mAP on Unseen interactions (more than doubling INP-CC's 17.38%). It even beat zero-shot models that rely on pre-trained COCO object detectors.
  • On SWIG-HOI: Reached 20.84% Full mAP (beating INP-CC by +4.10%), showing particular muscle on Rare (21.16%) and Unseen (14.70%) long-tail interactions.

Limitations and Future Work

Generative models are notorious daydreamers—when asked to outpaint a scene, they can hallucinate objects that shouldn't be there. The authors note they had to append strict prompt instructions to govern how the agent trusts synthesized images, and that heavier, more accurate generative models carry a steep computational cost. Looking ahead, they plan to expand this multimodal toolset and bring imagination-driven reasoning to broader, even messier visual tasks.

Summary updated

Abstract

Multimodal Large Language Models have shown promising capabilities in bridging visual and textual reasoning, yet their reasoning capabilities in Open-Vocabulary Human-Object Interaction (OV-HOI) are limited by cross-modal hallucinations and limited viewpoints of images. To address this, we propose ImagineAgent, an agentic framework that integrates cognitive mapping, tool-augmented reinforcement learning (RL), and generative world modeling for robust OV-HOI understanding. Specifically, we first propose an innovative CoT dataset named hicodet-6K for supervised fine-tuning (SFT), which effectively bridges the perception-to-cognition gap by structuring perceived entities into interaction pairs for comprehensive predictions. Subsequently, we develop a multimodal tool library integrating online retrieval, image cropping, and generative modeling, enabling the agent to dynamically augment reasoning with domain-specific tools to resolve visual-semantic ambiguities and hallucinations during inference. Moreover, we incorporate a generative model to reconstruct alternative viewpoints, enabling the agent to “imagine” under limited viewpoints. Finally, we propose a composite reward mechanism to jointly optimize prediction accuracy and tool efficiency. Evaluations on both SWIG-HOI and HICO-DET datasets demonstrate that our method achieves state-of-the-art performance while requiring merely 36.7% of the training data compared to existing methods, validating our robustness, empirical effectiveness and efficiency.
BibTeX
@inproceedings{yuan2026imagineagent,
  author = {Zhenlong Yuan and Yue Wang and Dapeng Zhang and Kejin Cui and Rui Chen and Jing Tang and Lei Sun and Hongwei Yu and Chengxuan Qian and Xiangxiang Chu and Shuo Li and Yuyin Zhou},
  title = {{ImagineAgent: What if Agents Could Imagine? Reinforcing Open-Vocabulary HOI Comprehension through Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=GHb5Ym3aMu},
}
Figure