arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.17064cs.CVcs.AIcs.LG
收藏

通过识别语义方向实现 T2I 模型中的连续、特定主体属性控制

Continuous, Subject-Specific Attribute Control in T2I Models by Identifying Semantic Directions

LMU Munich(慕尼黑大学);TU Munich(慕尼黑工业大学);ENS Paris-Saclay(巴黎萨克雷高等师范学院)

Stefan Andreas Baumann, Felix Krause, Michael Neumayr, Nick Stracke, Melvin Sevi, Vincent Tao Hu, Björn Ommer

AI总结:

本文发现 CLIP 文本嵌入中的 token 级语义方向可用于 T2I 扩散模型,并提出无需优化与基于学习的两种识别方法,实现对单个主体多属性的连续、细粒度控制。

摘要:

文本到图像(T2I)扩散模型的最新进展显著提升了生成图像的质量。然而,对单个主体(尤其是刻画这些主体的属性)提供高效控制,仍然是一项关键挑战。尽管现有方法已经引入了调节属性表达的机制,但它们通常只能提供此类修改的详细、对象特定定位,或者提供全面的细粒度、细微属性控制。目前没有方法能够同时提供两者,因此在图像生成中尝试实现精确、连续且特定主体的属性调节时存在空白。在本工作中,我们证明常用 CLIP 文本嵌入中存在 token 级方向,这些方向能够对 T2I 模型中的高级属性进行细粒度、特定主体的控制。我们介绍了两种识别这些方向的方法:一种简单且无需优化的技术,以及一种利用 T2I 模型更具体地表征语义概念的基于学习的方法。我们的方法允许增强 prompt 文本输入,从而能够同时对单个主体的多个属性进行细粒度控制,而无需对扩散模型本身进行任何修改。该方法提供了一种统一解决方案,填补了全局控制与局部控制之间的空白,并在文本引导的图像生成中提供了具有竞争力的灵活性和精确性。项目页面:https://compvis.github.io/attribute-control。代码可在 https://github.com/CompVis/attribute-control 获取。

英文摘要:

Recent advances in text-to-image (T2I) diffusion models have significantly improved the quality of generated images. However, providing efficient control over individual subjects, particularly the attributes characterizing them, remains a key challenge. While existing methods have introduced mechanisms to modulate attribute expression, they typically provide either detailed, object-specific localization of such a modification or full-scale fine-grained, nuanced control of attributes. No current approach offers both simultaneously, resulting in a gap when trying to achieve precise continuous and subject-specific attribute modulation in image generation. In this work, we demonstrate that token-level directions exist within commonly used CLIP text embeddings that enable fine-grained, subject-specific control of high-level attributes in T2I models. We introduce two methods to identify these directions: a simple, optimization-free technique and a learning-based approach that utilizes the T2I model to characterize semantic concepts more specifically. Our methods allow the augmentation of the prompt text input, enabling fine-grained control over multiple attributes of individual subjects simultaneously, without requiring any modifications to the diffusion model itself. This approach offers a unified solution that fills the gap between global and localized control, providing competitive flexibility and precision in text-guided image generation. Project page: https://compvis.github.io/attribute-control. Code is available at https://github.com/CompVis/attribute-control.

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

↑