[论文解读] Diffusion-based Image Translation using Disentangled Style and Content Representation
DiffuseIT 引入了一种基于扩散模型的图像翻译方法,使用 ViT 派生的损失和 CLIP 引导来解耦风格和内容,使文本和图像引导的翻译在保持内容的同时成为可能。它在文本和图像引导任务中对比基线实现了先进的结果。
Diffusion-based image translation guided by semantic texts or a single target image has enabled flexible style transfer which is not limited to the specific domains. Unfortunately, due to the stochastic nature of diffusion models, it is often difficult to maintain the original content of the image during the reverse diffusion. To address this, here we present a novel diffusion-based unsupervised image translation method using disentangled style and content representation. Specifically, inspired by the splicing Vision Transformer, we extract intermediate keys of multihead self attention layer from ViT model and used them as the content preservation loss. Then, an image guided style transfer is performed by matching the [CLS] classification token from the denoised samples and target image, whereas additional CLIP loss is used for the text-driven style transfer. To further accelerate the semantic change during the reverse diffusion, we also propose a novel semantic divergence loss and resampling strategy. Our experimental results show that the proposed method outperforms state-of-the-art baseline models in both text-guided and image-guided translation tasks.
研究动机与目标
- 激发并解决在基于扩散的翻译中在保持输入内容的同时改变语义风格的挑战。
- 提出一个由 ViT 派生特征和 CLIP 损失引导的解耦的内容-风格表示框架。
- 在 DDPM 采样过程中引入流形约束优化,以在没有显式成对目标的情况下控制语义变化。
提出的方法
- 使用中间 ViT 注意力键作为内容保持信号,通过自相似和补丁对比损失。
- 通过基于 CLIP 的损失引导风格迁移,包括面向输入的方向性 CLIP 损失和集成的 CLIP 嵌入。
- 施加基于 [CLS] token 的语义/风格损失,以使目标域语义与扩散输出对齐。
- 引入基于语义偏差的加速项和重采样策略,以加速反向扩散。
- 将生成表述为一个总的逆问题损失 ell_total,包含内容、风格和正则化项(ell_rng)。
实验结果
研究问题
- RQ1如何引导扩散模型在改变语义内容的同时保持输入图像的结构?
- RQ2能否有效地将 ViT 派生的内容和风格表示解耦,以引导文本和图像驱动的翻译?
- RQ3将 CLIP 基于引导与流形约束采样结合,是否能提高基于扩散的翻译的质量和可控性?
- RQ4哪些策略(例如语义偏差损失、重采样)在不损害内容的前提下加速反向扩散中的语义变化?
主要发现
- 在文本引导的翻译上,Animals 与 Landscapes 的 SFID、CSFID 和 LPIPS 指标上均优于最先进基线。
- 在图像引导的翻译中,在风格、真实感和内容方面优于基线,同时保持源结构。
- 显示出强烈的定性结果,具有高感知质量并与提示语的语义对齐正确。
- 表明基于 ViT 的结构损失加上基于 CLIP 的风格损失可实现鲁棒、领域通用的翻译,无需成对目标。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。