TL;DR
Refaçade introduces a novel framework for object retexturing in both images and videos, allowing users to seamlessly transfer local textures from a reference image onto a target object. By decoupling structure and texture through a distilled, 3D-mesh-trained "texture remover" and a spatial-disrupting "jigsaw permutation" strategy, the model achieves precise appearance transfer without altering the target's geometry or leaking the reference's shape.
What Problem Does This Paper Address?
While diffusion models have revolutionized image and video editing, Object Retexturing—swapping the surface pattern, color, or material of a specific object while keeping its shape and surroundings intact—remains a significant challenge.
Standard approaches typically rely on tools like ControlNet, feeding it structural cues (like Canny edges or depth maps) from the source video alongside a reference texture image. However, this setup suffers from two major flaws:
- Texture Leakage from the Source: Traditional control signals aren't truly texture-free; edge and depth maps still retain surface gradients, material boundaries, and color transitions that prevent a clean texture wipe.
- Structural Leakage from the Reference: When a model looks at a reference texture image, it inadvertently copies the reference object's global geometric layout (shape, pose, and size), leading to unwanted deformations of the target object.
Refaçade addresses these limitations by completely disentangling texture from structure on both the source and reference sides.
Methods
The Refaçade framework relies on two core decoupling strategies integrated into a flow-matching diffusion architecture:
1. The Texture Remover
To eliminate the source object's original appearance without the massive computational overhead of real-time 3D reconstruction, the authors trained a dedicated 2D video diffusion model to act as a Texture Remover. This model maps textured video frames directly to texture-free, uniform gray representations. To make it practical for inference, they distilled the model using Distribution Matching Distillation (DMD2), reducing the required denoising steps from 50 down to just 3.
2. Jigsaw Permutation
To prevent the model from copying the global shape of the reference object, Refaçade introduces a Jigsaw Permutation strategy during training. The foreground of the reference image is chopped into square patches (ranging from $16 \times 16$ pixels up to the maximum inscribed rectangle), randomly shuffled, and flipped. This destroys the global layout while preserving local texture statistics, forcing the model to learn what the texture looks like rather than where it sits spatially.
Datasets
The authors leveraged a mix of synthetic and real-world datasets to train the different components of their system:
- Texture Remover Dataset: Built by extracting 72K distinct object meshes using Hunyuan3D from both real-world and synthetic images. They rendered these meshes twice—once with full textures and once with a uniform gray Lambertian material—under diverse camera trajectories and lighting conditions, yielding 576K paired videos.
- Refaçade Large-Scale Pretraining (Stage 1): A massive blend of a filtered subset of WebVid-10M (1.8M videos), 900K synthetic videos generated via SelfForcing, and 800K synthetic images from Stable Diffusion 3.5 Large.
- High-Quality Finetuning (Stage 2): 180K real-world videos from the Pexels dataset.
- Evaluation Benchmarks: Image-level testing was conducted on the high-resolution UHRSD dataset (988 images) paired with reference images from Flux Kontext. Video-level testing used a disjoint set of 50 videos from Pexels.
Key Insights and Ideas
- Edges are Not Enough: A key realization is that classic geometric conditions (Canny, HED, Depth) act as anchors for the old texture. A truly untextured, 3D-mesh-like gray rendering is required to give the diffusion model the freedom to paint a new texture convincingly.
- Shuffling Enforces Local Attention: By breaking global macro-structures via jigsaw shuffling, the cross-attention layers in the DiT (Diffusion Transformer) blocks are structurally blocked from mapping spatial coordinates from reference to target. They are forced to treat the reference as a style palette.
Key Results
Refaçade was evaluated against strong baselines, including specialized inpainting models (Flux-Fill, BrushNet, ZeST) and general-purpose video editors (AnyV2V, Flatten, TokenFlow).
- Background Preservation: On the UHRSD image dataset, Refaçade achieved a background PSNR of 36.20 and an SSIM of 0.8987, drastically outperforming baseline models like ZeST (PSNR 29.55) and BrushNet (PSNR 23.82).
- Texture Fidelity: It scored the highest foreground DINO score (0.4516) and DreamSim score (0.8184) on images, showing superior texture similarity to the reference.
- Temporal Consistency: On videos, Refaçade maintained strong temporal stability, achieving an optical flow warping error (EWarp) of 1.4248, outperforming most general video editing frameworks while delivering vastly superior texturing quality.
- Human & LLM Evaluation: In automated evaluations using GPT-5 and Gemini-2.5, as well as human user studies, Refaçade consistently ranked first, capturing up to 89.44% of user preference votes in Stage 2.
Limitations and Future Work
While the paper demonstrates robust results, the authors noted a trade-off inherent to the patch size chosen for the Jigsaw Permutation:
- Very small patches (e.g., 2%) can weaken the alignment of complex, large-scale texture patterns.
- Large patches (50-100%) improve temporal stability but risk re-introducing geometric leakage from the reference image.
Future work will likely target adaptive patch sizing or alternative structural masking methods to optimize this trade-off for highly structured textures (like checkerboards or text).
Summary updated