TL;DR
Spatially Conditioned Diffusion (SCD) simplifies human animation by framing it as an inpainting task within a single, unified denoising network. By using a novel causal feature interaction mechanism, it eliminates the "domain gap" common in multi-network approaches, achieving superior appearance consistency for both video generation and virtual try-on.
What Problem Does This Paper Address?
Generating a video of a specific person in a new pose (human animation) or putting a specific garment on a model (virtual try-on) requires extreme "appearance consistency." You don't just want a person who looks similar; you need the exact same identity, fabric textures, and even fine-grained details like logos or text.
Current state-of-the-art methods typically use a dual-network architecture: one "Reference-Net" to extract features from the source image and a primary "Denoising U-Net" to generate the target. The authors argue this creates an inconsistent domain gap. Because the features for the reference and the target are processed by separate (even if identical) paths, they don't reside in the same feature manifold. This often leads to the loss of fine details and unstable generation when poses become challenging.
Methods
The core philosophy of SCD is to keep everything in one house. The authors treat the problem as a spatially-conditioned inpainting task.
- Spatial Concatenation: Instead of using a separate network, the reference image latents are concatenated with the noisy target latents along the spatial axis. This forces the model to treat the reference and target as parts of a single, harmonious image.
- Causal Feature Interaction: To prevent the noise from the target generation process from "polluting" the clean reference features, the authors introduce a causal mask in the self-attention layers. Reference features can only attend to themselves, while target features can query information from both the reference and the target.
- Unified Manifold: By using the same U-Net weights for both extraction and generation, the features naturally align. The target image "queries" appearance characteristics from the reference image through the shared self-attention mechanism.
- Two-Stage Implementation: For practical efficiency, the process is split. First, the reference image passes through the U-Net to extract intermediate features. Then, the target is generated by conditioning on these pre-extracted features. This maintains the unified manifold while saving computation.
Datasets
The authors trained their models on a mix of public and self-collected data:
- TikTok Dataset: 350 single-person dance videos.
- UBCFashion: 600 fashion-centric videos.
- Self-Collected Data: Approximately 3,500 additional dance videos to improve generalization.
- VITON-HD: Used specifically for the virtual try-on experiments, containing ~11,600 image pairs.
Key Insights and Ideas
- Inpainting as a Prior: The authors realized that pre-trained diffusion models (like Stable Diffusion) are already excellent at zero-shot inpainting and outpainting. By framing pose transfer as an inpainting task, they leverage the model's inherent drive to create "harmonious" content between adjacent spatial regions.
- Attention is the Key: Through ablation studies, the authors found that convolutional layers are too localized to handle the warping required for pose transfer. The self-attention layers are the primary drivers of consistency, as they can globally map reference features to target poses.
- Reference Pose Injection: Beyond just the image, injecting the pose of the reference person into the network helps the model align the two feature sets more accurately within the shared manifold.
Key Results
SCD achieves highly competitive results, particularly in preserving fine-grained details that trip up other models.
- Quantitative: On the TikTok test set, SCD-V (the video model) achieved an SSIM of 0.731 and a PSNR of 18.81, outperforming popular baselines like AnimateAnyone (SSIM 0.718) and MagicAnimate (SSIM 0.714).
- Qualitative: As seen in Figure 5, SCD is significantly better at maintaining complex textures and logos on clothing compared to DisCo or MagicAnimate, which often blur or hallucinate these details.
- Versatility: The same architecture excels at virtual try-on, perfectly transferring text and logos from a flat garment image onto a human model.
Limitations and Future Work
While robust, the authors note a few remaining hurdles:
- Complex Backgrounds: If the background is highly intricate, the model may struggle to maintain it perfectly during large foreground motions.
- Extreme Poses: Very large deviations from the reference pose can still lead to identity "drift" or artifacts in unseen regions.
- The "Hands and Faces" Problem: Like most current diffusion models, SCD still occasionally struggles to generate perfect human extremities.
The authors suggest that moving to more powerful base models, such as Stable Diffusion 3 or Stable Video Diffusion, could further resolve these issues and improve overall robustness.
Summary updated