Abstract
Generating realistic Human-Object Interactions (HOI) remains a significant challenge for state-of-the-art text-to-image diffusion models. Common issues include dataset bias, where models default to frequent actions (e.g., riding a bike) instead of requested ones (e.g., carrying a bike), and poor spatial reasoning. We present ReCorD (Reasoning and Correcting Diffusion), a training-free framework that integrates Visual Language Models (VLMs) to reason about and correct HOI generation. By utilizing intransitive prompts and VLM-guided layout refinement, ReCorD achieves superior semantic fidelity and physical plausibility across multiple benchmarks.
Introduction
While models like SDXL and DALL-E 3 excel at general scene synthesis, they often fail when tasked with specific, complex interactions between humans and objects. These failures typically stem from two sources. First, dataset bias causes models to hallucinate common poses; for instance, a prompt for "carrying a bike" often results in an image of someone riding it because riding is far more prevalent in training data. Second, spatial nuance is difficult to capture; models struggle to place objects accurately relative to the human body without manual layout guidance (like bounding boxes).
The ReCorD Framework
ReCorD addresses these challenges through a three-stage, training-free pipeline that requires no fine-tuning of the underlying diffusion model.
1. Coarse Candidate Generation ($M_g$)
To mitigate dataset bias, ReCorD first generates a set of candidate human poses using intransitive prompts. Instead of prompting for the full interaction (e.g., "a man carrying a bike"), the model is prompted with just the verb and subject (e.g., "a man carrying"). This prevents the object's strong associations from overriding the desired human posture, allowing the model to explore a more diverse range of anatomically relevant poses.
2. Interaction-Aware Reasoning ($M_r$)
In the second stage, a Visual Language Model (VLM), such as GPT-4V, acts as a reasoning agent. It performs two tasks:
- Pose Selection: It reviews the coarse candidates and selects the one that best fits the intended action.
- Layout Reasoning: It identifies the precise spatial coordinates where the object should be placed relative to the selected human pose. Unlike LLMs that guess coordinates from text, the VLM uses the actual visual information of the generated human to determine the optimal object placement.
3. Interaction Correcting ($M_c$)
The final stage refines the image by integrating the object into the scene. ReCorD employs a novel inverse attention mask to prevent the human and object attention maps from overlapping in ways that cause visual artifacts or "bleeding." Spatial constraints are then applied to "nudge" the object into the VLM-suggested position while maintaining the integrity of the chosen human pose.
Evaluation and Results
The framework was evaluated using prompts from the HICO-DET, VCOCO, and T2I-CompBench datasets. ReCorD consistently outperformed baselines like SDXL and layout-guided models (e.g., BoxDiff) in several key areas:
- Semantic Fidelity: ReCorD achieved significantly higher Verb CLIP-Scores, indicating that the generated images accurately reflected the specific action described in the prompt.
- HOI Accuracy: On the HICO-DET benchmark, images generated by ReCorD were more easily recognized by independent HOI classifiers compared to those from standard diffusion models.
- Qualitative Quality: Visual inspections confirm that ReCorD produces more physically grounded interactions, avoiding common errors like floating objects or limbs clipping through furniture.
Discussion and Limitations
ReCorD demonstrates the power of using VLMs as "spatial reasoners" rather than just text processors. By being training-free, it is highly accessible and compatible with various pre-trained models. However, the multi-stage process introduces higher latency, taking approximately 40-60 seconds per image. Furthermore, the system's success is tied to the VLM's reasoning capabilities; errors in pose selection or layout suggestion by the VLM will propagate to the final output.
Future work may focus on optimizing the pipeline for speed and extending the reasoning framework to handle more complex scenes involving multiple people or a wider variety of objects.
Summary updated