概念代数(基于分数的)文本控制生成模型
Concept Algebra for (Score-Based) Text-Controlled Generative Models
AI总结:
本文提出概念代数方法,通过将概念编码为表示子空间,利用代数操作操纵基于分数的文本控制生成模型(如Stable Diffusion)中的概念表达。
摘要:
本文关注文本引导生成模型中学习表示的结构,重点研究基于分数的模型。此类模型的一个关键特性是能够以“解耦”的方式组合不同概念。这表明这些模型具有以“解耦”方式编码概念的内部表示。在此,我们聚焦于概念被编码为某个表示空间的子空间这一思想。我们形式化了这一含义,展示了表示的自然选择,并开发了一种简单方法来识别与给定概念相对应的表示部分。特别是,这使我们能够通过对表示进行代数操作来操纵模型所表达的概念。我们使用Stable Diffusion的示例演示了这一想法。代码见https://github.com/zihao12/concept-algebra-code。
英文摘要:
This paper concerns the structure of learned representations in text-guided generative models, focusing on score-based models. A key property of such models is that they can compose disparate concepts in a `disentangled' manner. This suggests these models have internal representations that encode concepts in a `disentangled' manner. Here, we focus on the idea that concepts are encoded as subspaces of some representation space. We formalize what this means, show there's a natural choice for the representation, and develop a simple method for identifying the part of the representation corresponding to a given concept. In particular, this allows us to manipulate the concepts expressed by the model through algebraic manipulation of the representation. We demonstrate the idea with examples using Stable Diffusion. Code in https://github.com/zihao12/concept-algebra-code
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。