2025-01-15 · 进阶 · 机器学习 · 计算机视觉

3DIS-FLUX: simple and efficient multi-instance generation with DiT rendering

3DIS-FLUX通过整合FLUX模型,实现了高效的多实例生成,提高了图像质量和生成精度。

更新于 2025-01-15。作者:Dewei Zhou、Ji Xie、Zongxin Yang、Yi Yang。

中文摘要

文本到图像生成中对可控输出的需求日益增长,推动了多实例生成(MIG)的显著进步,使用户能够定义实例布局和属性。目前,MIG领域的最先进方法主要是基于适配器的。然而,这些方法每次发布更先进的模型时都需要重新训练一个新的适配器,导致资源消耗巨大。一种名为深度驱动解耦实例合成(3DIS)的方法已被提出,它将MIG分解为两个独立的阶段:1)基于深度的场景构建和2)使用广泛预训练的深度控制模型进行细节渲染。3DIS方法仅在场景构建阶段进行适配器训练,同时允许各种模型进行免训练的细节渲染。最初,3DIS专注于使用U-Net架构如SD1.5、SD2和SDXL的渲染技术,而没有探索最近基于DiT模型如FLUX的潜力。在本文中,我们提出了3DIS-FLUX,这是3DIS框架的扩展,集成了FLUX模型以增强渲染能力。具体来说,我们采用FLUX.1-Depth-dev模型进行深度图控制图像生成,并引入了一种细节渲染器,该渲染器根据布局信息操作FLUX的联合注意力机制中的注意力掩码。这种方法允许精确渲染每个实例的细粒度属性。我们的实验结果表明,利用FLUX模型的3DIS-FLUX在性能和图像质量方面都优于使用SD2和SDXL的原始3DIS方法,并且超越了当前基于适配器的最先进方法。项目页面:https://limuloo.github.io/3DIS/。

英文摘要

The growing demand for controllable outputs in text-to-image generation has driven significant advancements in multi-instance generation (MIG), enabling users to define both instance layouts and attributes. Currently, the state-of-the-art methods in MIG are primarily adapter-based. However, these methods necessitate retraining a new adapter each time a more advanced model is released, resulting in significant resource consumption. A methodology named Depth-Driven Decoupled Instance Synthesis (3DIS) has been introduced, which decouples MIG into two distinct phases: 1) depth-based scene construction and 2) detail rendering with widely pre-trained depth control models. The 3DIS method requires adapter training solely during the scene construction phase, while enabling various models to perform training-free detail rendering. Initially, 3DIS focused on rendering techniques utilizing U-Net architectures such as SD1.5, SD2, and SDXL, without exploring the potential of recent DiT-based models like FLUX. In this paper, we present 3DIS-FLUX, an extension of the 3DIS framework that integrates the FLUX model for enhanced rendering capabilities. Specifically, we employ the FLUX.1-Depth-dev model for depth map controlled image generation and introduce a detail renderer that manipulates the Attention Mask in FLUX's Joint Attention mechanism based on layout information. This approach allows for the precise rendering of fine-grained attributes of each instance. Our experimental results indicate that 3DIS-FLUX, leveraging the FLUX model, outperforms the original 3DIS method, which utilized SD2 and SDXL, and surpasses current state-of-the-art adapter-based methods in terms of both performance and image quality. Project Page: https://limuloo.github.io/3DIS/.

解读

一句话总结

3DIS-FLUX通过整合FLUX模型,实现了高效的多实例生成,提高了图像质量和生成精度。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:随着文本到图像生成需求的增长,用户对输出结果的可控性要求越来越高。 • 现有方案不足:现有的多实例生成方法,尤其是基于适配器的方案,需要每次新模型发布时重新训练适配器,导致资源消耗大,且难以获取大规模实例级标注数据。 • 研究目标:提出一种新的多实例生成方法,解决现有方法的资源消耗和标注数据获取困难问题,同时提高图像质量和生成精度。

问题2:论文的核心创新点是什么?

• 技术创新:将FLUX模型应用于无监督渲染,并通过控制注意力机制实现精确的实例渲染。 • 方法改进:引入FLUX Detail Renderer,通过布局信息控制FLUX模型的注意力机制,确保每个实例的精确渲染。 • 优势:与现有方法相比,3DIS-FLUX在性能和图像质量方面均有显著提升,且能够快速适应新的基础模型。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在COCO-MIG数据集上进行的实验。 • 性能提升:3DIS-FLUX在实例成功率(ISR)方面相较于原始的3DIS-SDXL方法提高了6.9%,相较于无监督渲染的SOTA方法MultiDiffusion提高了41%,相较于基于适配器的SOTA方法InstanceDiffusion提高了12.4%。 • 对比结果:3DIS-FLUX在ISR和图像质量方面均优于其他方法。

问题4:这个研究的实际应用价值是什么?

• 应用场景:多实例生成在游戏设计、虚拟现实、动画制作等领域具有广泛的应用前景。 • 实施建议:3DIS-FLUX框架可以快速适应新的基础模型,用户可以根据需要选择合适的模型进行实例生成。 • 局限与展望:目前3DIS-FLUX主要应用于静态场景,未来可以进一步扩展到动态场景。

来源