arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2411.08196cs.CV

扩散Transformer中潜在空间解耦实现精确的零样本语义编辑

Latent Space Disentanglement in Diffusion Transformers Enables Precise Zero-shot Semantic Editing

University of Michigan(密歇根大学)

Zitao Shuai, Chenwei Wu, Zhengxu Tang, Bowen Song, Liyue Shen

AI总结:

本文揭示DiT潜在空间具有语义解耦特性,提出EIM框架和HSDS方法实现零样本细粒度图像编辑,并构建新基准验证有效性。

摘要:

扩散Transformer(DiTs)近期在文本引导图像生成中取得了显著成功。在图像编辑中,DiTs将文本和图像输入投影到联合潜在空间,并从中解码合成新图像。然而,多模态信息如何共同形成这一联合空间,以及它们如何引导合成图像的语义,仍有待深入探索。本文研究了DiT模型的潜在空间,并揭示了两个关键特性:首先,DiT的潜在空间具有内在的语义解耦性,不同语义属性可通过特定编辑方向控制。其次,一致的语义编辑需利用整个联合潜在空间,因为单独的编码图像或文本均无法提供足够的语义信息。我们证明这些编辑方向可直接从文本提示中获取,无需额外训练或掩码标注即可实现精确语义控制。基于上述发现,我们提出一种简单有效的Encode-Identify-Manipulate(EIM)框架用于零样本细粒度图像编辑。具体而言,我们首先对给定源图像及其描述文本提示进行编码,以获得联合潜在嵌入。随后,利用我们提出的Hessian Score Distillation Sampling(HSDS)方法,识别控制特定目标属性同时保留其他图像特征的编辑方向。这些方向由文本提示引导并用于操纵潜在嵌入。此外,我们提出一种新指标来量化扩散模型潜在空间的解耦程度。在我们新构建的基准数据集上的大量实验结果与分析,验证了DiT的解耦特性及EIM框架的有效性。

英文摘要:

Diffusion Transformers (DiTs) have recently achieved remarkable success in text-guided image generation. In image editing, DiTs project text and image inputs to a joint latent space, from which they decode and synthesize new images. However, it remains largely unexplored how multimodal information collectively forms this joint space and how they guide the semantics of the synthesized images. In this paper, we investigate the latent space of DiT models and uncover two key properties: First, DiT's latent space is inherently semantically disentangled, where different semantic attributes can be controlled by specific editing directions. Second, consistent semantic editing requires utilizing the entire joint latent space, as neither encoded image nor text alone contains enough semantic information. We show that these editing directions can be obtained directly from text prompts, enabling precise semantic control without additional training or mask annotations. Based on these insights, we propose a simple yet effective Encode-Identify-Manipulate (EIM) framework for zero-shot fine-grained image editing. Specifically, we first encode both the given source image and the text prompt that describes the image, to obtain the joint latent embedding. Then, using our proposed Hessian Score Distillation Sampling (HSDS) method, we identify editing directions that control specific target attributes while preserving other image features. These directions are guided by text prompts and used to manipulate the latent embeddings. Moreover, we propose a new metric to quantify the disentanglement degree of the latent space of diffusion models. Extensive experiment results on our new curated benchmark dataset and analysis demonstrate DiT's disentanglement properties and effectiveness of the EIM framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑