TL;DR
OneHOI introduces a unified Diffusion Transformer framework that bridges the gap between generating and editing Human-Object Interactions (HOIs). By explicitly modeling verb-mediated relationships through a novel Relational Diffusion Transformer (R-DiT), it achieves state-of-the-art performance in synthesizing and modifying complex, multi-interaction scenes while maintaining strict spatial control and identity preservation.
What Problem Does This Paper Address?
In computer vision, modeling how humans interact with their environment is typically structured around HOI triplets: [person, action, object] (e.g., [person, ride, skateboard]). Despite rapid progress in image synthesis, existing generative models treat scenes as mere collections of independent objects, often failing to capture the nuanced physical contact and poses that define an interaction.
Furthermore, the field has been split into two disjoint tracks:
- HOI Generation: Synthesizing scenes from scratch using text and spatial layouts, which struggles with flexible inputs like arbitrary shapes or mixed conditions.
- HOI Editing: Modifying interactions in existing images via text prompts, which frequently suffers from identity drift, fails to decouple poses from physical contact, and cannot scale to multiple simultaneous interactions.
OneHOI addresses this fragmentation by asking a fundamental question: Can HOI generation and editing be unified within a single framework? The authors argue that joint training creates a powerful synergy—the deep structural knowledge of poses and contact points learned during generation can directly inform and improve the plausibility of image edits.
Methods
At the core of OneHOI is the Relational Diffusion Transformer (R-DiT), which adapts a standard layout-conditioned Diffusion Transformer (DiT) backbone to explicitly model interaction structures. It introduces four key components:
- Action Grounding (AG): Standard models only ground objects spatially. AG introduces action-specific semantic and spatial cues. Crucially, it defines the action region as the union of the subject and object bounding boxes, which better matches the actual attention footprint of an action.
- HOI Encoder: To prevent "role confusion" (e.g., swapping who is chasing whom in a multi-subject scene), this module injects explicit, learnable role embeddings (subject/object/action) and instance indices directly into the text token streams.
- Structured HOI Attention: This component enforces a verb-mediated attention topology via masking. It blocks direct attention between subjects and objects, forcing relational information to flow strictly through the action tokens.
- HOI RoPE (HRoPE): To prevent "cross-talk" or feature leakage between different interactions in a complex scene, HRoPE extends Rotary Position Embeddings by assigning unique positional slots to individual interaction instances.
The entire pipeline is trained using a unified strategy with modality dropout, allowing a single model to seamlessly handle layout-guided, layout-free, arbitrary-mask, and mixed-condition inputs.
Datasets
To train and evaluate OneHOI, the authors utilized a mix of existing datasets and a newly introduced benchmark:
- HOI-Edit-44K (New): A large-scale paired dataset containing 44,000 high-quality, identity-preserving HOI editing pairs. Candidates were generated using Flux.1 and filtered via automated checks using an HOI detector (PViC) for correctness and DINOv2 features for identity preservation.
- SA-1B: 35,000 sampled images used to provide object-only layout supervision.
- HICO-DET: 37,000 training images utilized to learn robust HOI generation priors.
Key Insights and Ideas
- The Synergy Effect: Training a model to both generate and edit interactions creates a bidirectional benefit. Generative priors make edits physically plausible, while editing tasks enforce stricter identity and background consistency.
- Actions as Attention Hubs: Forcing the network to communicate through the action token (rather than allowing direct subject-to-object attention) mirrors the semantic structure of language and drastically reduces awkward or physically impossible poses.
- HRoPE for Disentanglement: Treating different interaction pairs as occupying distinct "slots" in the positional embedding space effectively eliminates attribute swapping and blended interactions in multi-subject environments.
Key Results
OneHOI achieves state-of-the-art performance across all evaluated tasks:
- Layout-free HOI Editing: On the IEBench benchmark, OneHOI improved the Editability-Identity metric by 10.0% and HOI Editability by 16.0% over the strongest baselines, while significantly boosting perceptual quality metrics like ImageReward (by 189%).
- HOI Generation: OneHOI outperformed leading layout-conditioned models on the HICO-DET test set, achieving a 5.8% improvement in spatial accuracy and a 33.2% increase in ImageReward compared to the previous best method.
- Multi-HOI Editing: OneHOI establishes the first robust baseline for editing multiple interactions simultaneously within a single image, successfully preventing feature spillover between subjects.
Limitations and Future Work
While OneHOI demonstrates unprecedented control, the authors note that natural language alone remains highly ambiguous for complex multi-HOI edits, necessitating layout guidance to achieve optimal results in crowded scenes. Additionally, explicit failure modes under extreme occlusions or highly unusual, out-of-distribution interaction vocabularies were not extensively discussed in the main text and represent open avenues for future stress-testing.
Summary updated