Abstract
Human-Object Interaction (HOI) detection is a critical computer vision task that requires identifying triplets of (human, verb, object) within an image. Despite advancements, the field struggles with the long-tail distribution of interactions and the challenge of zero-shot discovery. This paper introduces DIFFUSIONHOI, a novel framework that leverages the generative power of large-scale text-to-image diffusion models to enhance HOI detection. By learning relation-centric embeddings and utilizing the diffusion model as a conditioned feature extractor, DIFFUSIONHOI achieves state-of-the-art performance on major benchmarks, including a 42.54 mAP on HICO-DET and significant improvements in zero-shot scenarios.
Introduction
Identifying "who is doing what to what"—such as a man riding a horse—requires a model to understand both individual entities and the complex spatial and semantic relationships between them. Existing HOI detection methods typically rely on discriminative vision-language models like CLIP. However, these models, trained primarily via contrastive learning, often prioritize high-level global semantics at the expense of mid-to-low-level visual cues like spatial layout, texture, and compositionality.
To address these limitations, DIFFUSIONHOI shifts the paradigm from discriminative to generative modeling. The core hypothesis is that diffusion models, by virtue of being trained to synthesize images, possess a deeper inherent understanding of spatial relations and structural composition than their purely discriminative counterparts.
Methodology
DIFFUSIONHOI is built upon three primary pillars designed to bridge the gap between generative pre-training and the specific requirements of HOI detection.
1. Inversion-Based Relation Modeling
Traditional textual inversion techniques learn embeddings for specific objects. DIFFUSIONHOI introduces relation embeddings ($R_*$). Using a cycle-consistency objective, the framework disentangles the HOI latent space into distinct relation and object components. This allows the model to capture the "essence" of an action (e.g., riding) independently of the specific object involved (e.g., horse, motorcycle, or bicycle).
2. Relation-Driven Sample Generation
To combat the long-tail distribution problem where certain interactions are rarely seen in training data, the authors use the learned $R_*$ embeddings to steer a diffusion model (such as Stable Diffusion). This enables the generation of diverse, high-quality synthetic training images for rare or unseen interactions. For instance, the model can generate a "man $R_*$ a surfboard" to augment the training set for the "riding" relation even if surfboard-riding examples are scarce.
3. Knowledge Transfer via Conditioned Extraction
Rather than employing a standard backbone like ResNet or a Vision Transformer, DIFFUSIONHOI utilizes the diffusion model's Denoising UNet as a feature extractor. By conditioning the UNet on specific relation prompts, the framework extracts visual features that are dynamically tuned to the interactions present in the image. This acts as a semantic filter, retrieving interaction-relevant cues that bridge the domain gap between general pre-training and the HOI task.
4. Online Update Strategy
The relation embeddings are not static; they are updated during the detector's training process. This ensures a mutual reinforcement loop where improved relation modeling leads to better detection, which in turn refines the embeddings.
Experimental Results
The model was evaluated on three major benchmarks: HICO-DET, V-COCO, and SWiG-HOI.
- State-of-the-Art Performance: DIFFUSIONHOI achieved 42.54 mAP on the HICO-DET Default setup, setting a new benchmark for the task.
- Zero-Shot Discovery: On the SWiG-HOI dataset, which tests the ability to recognize unseen combinations of actions and objects, the model yielded a 6.43% mAP improvement over previous state-of-the-art methods.
- Efficiency: Despite the computational intensity typically associated with diffusion models, the authors utilized acceleration techniques (including fp16 and traced UNet) to achieve an inference speed of 24.77 FPS. This makes the model competitive with traditional one-stage detectors in terms of throughput.
- Training Economy: The inversion process for 117 relations in HICO-DET requires only 5.7 hours, demonstrating significant efficiency compared to exhaustive fine-tuning strategies.
Discussion and Insights
The success of DIFFUSIONHOI underscores the value of generative priors in structural tasks. Because diffusion models must learn to place objects in realistic spatial configurations to generate coherent images, they are naturally better suited for understanding compositionality—the ability to combine known parts into new, complex scenes. By treating an interaction as a composition of a learned relation and a known object, the model excels at zero-shot tasks, understanding "holding a surfboard" by synthesizing its knowledge of "holding" from other contexts with the visual concept of a "surfboard."
Limitations
While robust, the model faces challenges in scenes featuring only partial human bodies (e.g., a single limb) or extremely chaotic environments with heavy occlusion and high crowd density. Furthermore, while 24.77 FPS is efficient for a diffusion-based approach, the computational overhead remains higher than simpler backbones, potentially limiting its use in resource-constrained edge computing environments.
Conclusion
DIFFUSIONHOI demonstrates that large-scale generative models can be effectively repurposed for discriminative tasks like HOI detection. By focusing on relation-centric inversion and conditioned feature extraction, the framework provides a powerful solution for the long-tail and zero-shot challenges inherent in understanding human-object interactions.
Summary updated