TL;DR
GenHOI is a lightweight augmentation for pretrained video diffusion models that enables realistic and identity-preserving hand-object interaction (HOI) video synthesis. By introducing a novel "Head-Sliding" positional embedding and a two-level spatial attention gate, it ensures that reference objects maintain consistent appearance across long video sequences without degrading background realism.
What Problem Does This Paper Address?
Synthesizing videos of humans interacting with objects (e.g., holding a specific product, manipulating a tool) is a major hurdle in digital human animation. Existing approaches fall into two camps, both with significant drawbacks:
- Dedicated HOI reenactment models: These are typically trained on narrow, in-domain datasets and fail to generalize to complex, real-world ("in-the-wild") scenarios.
- All-in-one video editing models: While robust due to large-scale internet pretraining, they struggle to maintain the visual identity (color, texture, logos) of the object across frames, often leading to shape-shifting or fading objects.
The core challenge is injecting reference-object information into a generative video model such that the object remains visually consistent over time (temporal balance) and blends naturally only within the interaction zone (spatial selectivity).
Methods
GenHOI introduces a lightweight plug-and-play module (adding only 157M parameters to a 16.5B base model) built on top of a Diffusion Transformer (DiT) architecture. It consists of three main components:
- HOI Condition Unit (HCU): Instead of adding complex network branches, HCU reformulates the task as a first-frame-conditioned video inpainting problem. It masks out the interaction region in the latent space, providing background context while forcing the model to focus its generative capacity on the hand-object zone.
- Head-Sliding RoPE (Rotary Positional Embedding): Standard 3D positional embeddings suffer from temporal decay—meaning a reference image's influence naturally weakens in later frames. To combat this, Head-Sliding RoPE assigns head-specific temporal offsets to the reference tokens. By "sliding" the frame index across different attention heads, the model effectively averages the object's influence evenly across the entire video duration.
- Spatial Attention Gate: To prevent the reference object's features from bleeding into and corrupting the background, the authors design a two-level gate:
- Hard Mask Gate (HMG): A binary mask that strictly restricts attention, allowing information to flow from reference tokens only to the HOI regions.
- Soft Flow Gate (SFG): A token-wise gating mechanism that dynamically scales the attention weights based on content relevance.
The overall architecture is illustrated below:
Datasets
The model was trained on a dataset of approximately 19,000 videos. For evaluation, the authors utilized the AnchorCrafter dataset, creating a specialized benchmark subset called AnchorCrafter_HOI. This subset contains 50 videos for self-reenactment (reconstructing the original object) and 50 videos for cross-reenactment (swapping the original object with a completely novel target object, such as replacing a book with a mug).
Key Insights and Ideas
- The Geometry of Attention Decay: The authors identified that the mathematical formulation of standard RoPE inherently penalizes long temporal distances. By treating the reference image as a moving target across attention heads rather than a static "frame -1", they successfully bypassed this decay.
- Pasting vs. Interacting: Simple bounding-box conditioning ("ref-in-bbox") causes the model to act like a copy-paste tool, leading to floating objects and unnatural hand positions. Separating the object injection into the attention layers (via GenHOI) allows the model to reason about physical contact and occlusion.
Key Results
GenHOI was evaluated against state-of-the-art video editing and animation models, including VACE and MimicMotion, demonstrating substantial improvements in both short (81 frames) and long (401 frames) video generation.
- Object Consistency: In short-video self-reenactment, GenHOI achieved a PSNR of 31.71 dB and an FVD of 67.95, significantly outperforming the closest competitor, VACE (28.60 dB PSNR / 211.2 FVD).
- Long-Video Stability: The advantage became even more pronounced in long videos (401 frames), where GenHOI maintained a low FVD of 42.17, while VACE degraded to 195.9.
- User Preference: In a user study evaluating video quality and reference fidelity, GenHOI scored 4.64/5 for reference fidelity, compared to VACE's 2.79/5.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated