Fine-grained Appearance Transfer with Diffusion Models

Yuteng Ye, Guanwen Li, Hang Zhou, Jiale Cai, Junqing Yu, Yawei Luo, Zikai Song, Qilong Xing, Youjia Zhang, Wei YangarXiv 2023 · DOI

Introduction

Appearance transfer aims to transpose the visual aesthetics—texture, color, and style—of a target image onto a source object while maintaining the source's structural integrity. While diffusion models have revolutionized image-to-image translation, achieving fine-grained control without distorting the underlying geometry remains a significant challenge. This paper presents a zero-shot framework that leverages the internal representations of diffusion models to achieve high-fidelity appearance transfer across diverse domains.

The Challenge of Appearance Transfer

Existing methods for image translation often struggle with the trade-off between appearance fidelity and structural preservation. Text-based guidance is frequently too coarse to capture intricate textures, while feature-based methods can lead to structural "hallucinations" or blurry outputs. The goal is to ensure that when a specific pattern (like a husky's fur) is applied to a different animal (like a cat), the resulting image retains the exact pose and silhouette of the original cat.

Methodology: Navigating the $x_0$ Space

The proposed framework introduces three key innovations:

  1. Operating in the $x_0$ Space: Unlike traditional methods that manipulate noisy latents ($x_t$), this approach focuses on the predicted clean image ($x_0$) at each denoising step. The authors observe that $x_0$ contains rich structural and semantic information much earlier in the diffusion process.
  2. Semantic Correspondence with DIFT: To map features from the target to the source, the model uses Diffusion Features (DIFT). This ensures that semantic parts (e.g., an eye or an ear) are correctly aligned even if the objects differ in scale or orientation.
  3. Latent Deviation: This is the core mechanism for blending. Instead of a hard swap, the method "deviates" the latent trajectory by linearly combining source latents with transferred features. This creates a smooth transition that respects the original structure while adopting the new appearance.

Experimental Results

The authors evaluated their method on a curated dataset of 400 synthetic and 100 real-world image pairs. Compared to state-of-the-art baselines like SplicingViT and InstructPix2Pix, this approach demonstrated superior performance in both quantitative metrics (CLIP score of 0.301) and human preference studies.

Figure 5: A comprehensive overview of appearance transfer results across different categories, including clothing, accessories, and animal species. The insets show the target appearance source.

The framework is highly efficient, requiring approximately 3 minutes per image on a V100 GPU, and operates entirely zero-shot, meaning no fine-tuning is required for new image pairs.

Conclusion and Future Work

By treating diffusion as a guided trajectory in the $x_0$ space, the authors have developed a robust method for fine-grained appearance transfer. While the model currently faces challenges with extreme viewpoint differences and very small objects, it sets a new standard for structural preservation in image editing. Future work will explore extending this control to more complex structural modifications and broader image translation tasks.

Summary updated

BibTeX
@misc{ye2023fine,
  author = {Yuteng Ye and Guanwen Li and Hang Zhou and Jiale Cai and Junqing Yu and Yawei Luo and Zikai Song and Qilong Xing and Youjia Zhang and Wei Yang},
  title = {{Fine-grained Appearance Transfer with Diffusion Models}},
  year = {2023},
  eprint = {2311.16513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.16513},
}
Figure