arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.16056cs.CV
收藏

MagicMix:具有扩散模型的语义混合

MagicMix: Semantic Mixing with Diffusion Models

ByteDance Inc.(字节跳动公司)

Jun Hao Liew, Hanshu Yan, Daquan Zhou, Jiashi Feng

摘要:

你有没有想象过一个像柯基犬的咖啡机或一只像老虎的兔子会是什么样子?在这项工作中,我们试图通过探索一个名为语义混合的新任务来回答这些问题,旨在混合两种不同的语义来创建一个新的概念(例如,柯基犬+咖啡机-- >柯基犬式咖啡机)。与风格转换不同,在风格转换中,图像根据参考风格进行风格化而不改变图像内容,语义混合以语义方式混合两个不同的概念,以合成新的概念,同时保留空间布局和几何形状。为此,我们提出了MagicMix,这是一种基于预训练文本条件扩散模型的简单而有效的解决方案。受扩散模型的渐进生成特性的启发,其中布局/形状出现在早期去噪步骤中,而语义上有意义的细节出现在去噪过程中的后期步骤中,我们的方法首先获得一个粗略的布局(通过破坏图像或从纯高斯噪声中去除噪声),然后注入条件提示进行语义混合。我们的方法不需要任何空间掩模或重新训练,但能够以高保真度合成新的对象。为了提高混合质量,我们进一步设计了两个简单的策略,以提供对合成内容的更好控制和灵活性。使用我们的方法,我们提出了我们的结果在不同的下游应用,包括语义风格转移,新颖的对象合成,品种混合,概念删除,展示了我们的方法的灵活性。更多结果可以在项目页面https://magicmix.github.io上找到

英文摘要:

Have you ever imagined what a corgi-alike coffee machine or a tiger-alike rabbit would look like? In this work, we attempt to answer these questions by exploring a new task called semantic mixing, aiming at blending two different semantics to create a new concept (e.g., corgi + coffee machine -- > corgi-alike coffee machine). Unlike style transfer, where an image is stylized according to the reference style without changing the image content, semantic blending mixes two different concepts in a semantic manner to synthesize a novel concept while preserving the spatial layout and geometry. To this end, we present MagicMix, a simple yet effective solution based on pre-trained text-conditioned diffusion models. Motivated by the progressive generation property of diffusion models where layout/shape emerges at early denoising steps while semantically meaningful details appear at later steps during the denoising process, our method first obtains a coarse layout (either by corrupting an image or denoising from a pure Gaussian noise given a text prompt), followed by injection of conditional prompt for semantic mixing. Our method does not require any spatial mask or re-training, yet is able to synthesize novel objects with high fidelity. To improve the mixing quality, we further devise two simple strategies to provide better control and flexibility over the synthesized content. With our method, we present our results over diverse downstream applications, including semantic style transfer, novel object synthesis, breed mixing, and concept removal, demonstrating the flexibility of our method. More results can be found on the project page https://magicmix.github.io

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

↑