TL;DR
HairWeaver is a novel few-shot learning framework that animates a single human image with highly realistic, physics-grounded hair dynamics driven by a motion sequence. By utilizing a clever two-stage "sim-to-real" training strategy with temporary, discardable LoRA modules, it successfully transfers complex hair physics from synthetic computer graphics (CG) data to a photorealistic video diffusion transformer without inheriting any synthetic visual artifacts.
What Problem Does This Paper Address?
While recent image-to-video diffusion models have made massive strides in animating human figures from a single reference image, they suffer from a glaring flaw: they fundamentally struggle with "secondary dynamics," most notably hair. Most state-of-the-art models treat hair as a static texture mapped to a moving head or generate fluid-like, physically impossible hair movements that ruin the illusion of realism.
Simulating realistic hair physics is a solved problem in traditional Computer Graphics (CG), but CG renders lack photorealism and are expensive to produce. The core bottleneck is a data problem: there is a severe lack of high-fidelity, real-world datasets that contain both photorealistic human appearances and diverse, perfectly labeled, physically accurate hair motion. HairWeaver bridges this gap by learning physics from synthetic data and applying it directly to real-world images.
Methods
HairWeaver builds upon a pre-trained Video Diffusion Transformer (DiT) backbone (specifically, LTX-Video) and introduces a two-stage simulation-to-real physics transfer strategy using two lightweight, specialized Low-Rank Adaptation (LoRA) modules:
- Stage 1: Style-Alignment-LoRA Pre-training: The authors first train a temporary Style-Alignment-LoRA ($\phi_D$) on a synthetic CG dataset using a standard Image-to-Video objective. This adapts the photorealistic DiT backbone to the non-photorealistic visual domain of the CG simulator.
- Stage 2: Motion-Context-LoRA Training: With the backbone and the Style-Alignment-LoRA frozen, the authors introduce and train a Motion-Context-LoRA ($\phi_P$) alongside a trainable Pose Encoder. This stage focuses entirely on mapping explicit motion conditions to the video output.
Dual-Pathway Motion Conditioning
To handle different types of motion, the Motion-Context-LoRA processes inputs via two distinct pathways:
- Body Motion Pathway: Body pose conditions (camera-space normal maps and facial landmarks) are processed by a Pose Encoder and injected via element-wise addition to the noisy latents, acting as a structural guide.
- Hair Motion Pathway: Hair motion is captured using a dense, per-pixel UVW map (which tracks scalp texture coordinates and strand arc-lengths). This high-fidelity signal is encoded via a frozen VAE and concatenated along the sequence length dimension as additional attention context, allowing the DiT's self-attention layers to directly model intricate hair deformations.
The Inference Trick: Crucially, during inference, the Style-Alignment-LoRA is discarded entirely. The model runs using only the original photorealistic DiT backbone and the trained Motion-Context-LoRA. This allows the framework to leverage the precise physics learned from the CG data while rendering the final video using the foundation model's high-quality, photorealistic priors.
Datasets
- Synthetic Hair Motion Dataset: A newly curated dataset consisting of 83 minutes of synthetic videos (1,500 videos, 100 frames each at 30 FPS) generated using a physics-based CG simulator and rendered via Blender Cycles. It features 1.5K digital human assets with geometric hair strands, providing ground-truth UVW maps and body normal maps.
- Self-Collected Hair Motion Test-Set: 10 randomly selected synthetic videos featuring unique human subjects not seen during training.
- NeRSemble Test-Set: 30 photorealistic human videos used to test real-world generalization. Because UVW maps are unavailable for real videos, the authors demonstrate HairWeaver's flexibility by fine-tuning it using simple alpha maps for hair and DensePose for body conditions.
Key Insights and Ideas
- Decoupling Style from Physics: The most significant "aha moment" is the realization that domain gaps can be bypassed by using a temporary adapter. By training the motion adapter inside a frozen, CG-aligned feature space and then removing the style alignment at inference, the model sheds synthetic artifacts while retaining the underlying physics.
- Asymmetric Conditioning: The authors discovered that structural body pose and chaotic hair flow shouldn't be treated the same way. Additive injection works best for rigid body structures, whereas cross-attention context concatenation is required to capture the non-rigid, fine-grained flow of individual hair strands.
- Data Efficiency: Despite being trained on only ~1k synthetic videos, the framework generalizes remarkably well to real-world, in-the-wild photorealistic images.
Key Results
HairWeaver was evaluated against several state-of-the-art baselines, including Wan2.2, LTX-Video, and UniAnimate-DiT.
- Quantitative Performance: On the self-collected hair motion test-set, HairWeaver significantly outperformed all baselines in the hair region, achieving a Peak Signal-to-Noise Ratio (PSNR) of 37.63 (vs. the next best at 35.41) and a Content-Debiased Fréchet Video Distance (cd-FVD) of 434.16 (vs. the next best at 463.25), indicating superior temporal consistency and motion realism.
- User Preference: In a forced-choice user study with 30 participants evaluating realism and identity preservation, HairWeaver achieved a dominant 49.9% preference rate, vastly outperforming the closest baseline (Wan2.2-Animate at 16.4%).
- Efficiency: HairWeaver boasts an average inference time of just 62 seconds per video, making it significantly faster than specialized animation baselines like UniAnimate-DiT (870 seconds) and Wan2.2-Animate (312 seconds).
Limitations and Future Work
Despite its strengths, HairWeaver exhibits a few limitations:
- Extreme Pose Deviations: The model's performance degrades if there are extreme scale changes (e.g., dramatic camera zooming) between the reference image and the driving motion sequence.
- Anatomical Details: Like many contemporary video diffusion models, it occasionally struggles to consistently render complex secondary details like realistic hands.
- Backbone Dependency: The overall generation quality remains bounded by the capabilities of the underlying foundation model (LTX-Video).
The authors suggest that future iterations could overcome these challenges by incorporating more diverse training data and scaling up to more advanced video diffusion backbones.
Summary updated