LayerDiff:通过层协作扩散模型探索文本引导的多层可组合图像合成
LayerDiff: Exploring Text-guided Multi-layered Composable Image Synthesis via Layer-Collaborative Diffusion Model
AI总结:
本文提出LayerDiff,一种层协作扩散模型,通过层间与层内注意力机制及自掩码引导采样,实现文本引导的多层可组合图像合成,支持层特定编辑与风格迁移,性能媲美整图生成方法。
摘要:
尽管基于扩散的生成模型在根据任意文本提示生成高质量图像方面取得了成功,但先前的工作直接生成整个图像,无法提供对象级别的操作能力。为了支持更广泛的实际应用,如专业平面设计和数字艺术,图像通常以多层方式创建和操作,以提供更大的灵活性和控制。因此,在本文中,我们提出了一种名为LayerDiff的层协作扩散模型,专门设计用于文本引导的多层可组合图像合成。可组合图像由背景层、一组前景层以及每个前景元素对应的掩码层组成。为了实现这一点,LayerDiff引入了一种基于层的生成范式,结合多个层协作注意力模块来捕获层间模式。具体来说,设计了一个层间注意力模块以促进层之间的信息交换和学习,而文本引导的层内注意力模块则结合了层特定的提示来指导每层特定内容的生成。一个层特定提示增强模块更好地从全局提示中捕获详细的文本线索。此外,一种自掩码引导采样策略进一步释放了模型生成多层图像的能力。我们还提出了一个流程,整合现有的感知和生成模型,以生成一个大规模的高质量、文本提示的多层图像数据集。大量实验表明,我们的LayerDiff模型能够生成高质量的多层图像,其性能可与传统的整图生成方法相媲美。此外,LayerDiff支持更广泛的可控生成应用,包括层特定图像编辑和风格迁移。
英文摘要:
Despite the success of generating high-quality images given any text prompts by diffusion-based generative models, prior works directly generate the entire images, but cannot provide object-wise manipulation capability. To support wider real applications like professional graphic design and digital artistry, images are frequently created and manipulated in multiple layers to offer greater flexibility and control. Therefore in this paper, we propose a layer-collaborative diffusion model, named LayerDiff, specifically designed for text-guided, multi-layered, composable image synthesis. The composable image consists of a background layer, a set of foreground layers, and associated mask layers for each foreground element. To enable this, LayerDiff introduces a layer-based generation paradigm incorporating multiple layer-collaborative attention modules to capture inter-layer patterns. Specifically, an inter-layer attention module is designed to encourage information exchange and learning between layers, while a text-guided intra-layer attention module incorporates layer-specific prompts to direct the specific-content generation for each layer. A layer-specific prompt-enhanced module better captures detailed textual cues from the global prompt. Additionally, a self-mask guidance sampling strategy further unleashes the model's ability to generate multi-layered images. We also present a pipeline that integrates existing perceptual and generative models to produce a large dataset of high-quality, text-prompted, multi-layered images. Extensive experiments demonstrate that our LayerDiff model can generate high-quality multi-layered images with performance comparable to conventional whole-image generation methods. Moreover, LayerDiff enables a broader range of controllable generative applications, including layer-specific image editing and style transfer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。