EliGen:基于区域注意力的实体级可控图像生成
EliGen: Entity-Level Controlled Image Generation with Regional Attention
AI总结:
本文提出EliGen框架,通过无需额外参数的区域注意力机制和高质量数据集,实现细粒度实体级可控图像生成,在空间精度和图像质量上超越现有方法,并支持多实体修复及与开源模型集成。
摘要:
扩散模型的最新进展显著推进了文本到图像生成,但仅靠全局文本提示仍不足以实现对图像中单个实体的细粒度控制。为解决此限制,我们提出了EliGen,一个用于实体级可控图像生成的新框架。首先,我们提出区域注意力,这是一种用于扩散Transformer的机制,无需额外参数,无缝集成实体提示和任意形状的空间掩码。通过贡献一个具有细粒度空间和语义实体级注释的高质量数据集,我们训练EliGen实现稳健且准确的实体级操作,在空间精度和图像质量上均超越现有方法。此外,我们提出一种图像修复融合管道,将其能力扩展到多实体图像修复任务。我们进一步通过将其与IP-Adapter、In-Context LoRA和MLLM等开源模型集成,展示了其灵活性,解锁了新的创意可能。源代码、模型和数据集发布于https://github.com/modelscope/DiffSynth-Studio.git。
英文摘要:
Recent advancements in diffusion models have significantly advanced text-to-image generation, yet global text prompts alone remain insufficient for achieving fine-grained control over individual entities within an image. To address this limitation, we present EliGen, a novel framework for Entity-level controlled image Generation. Firstly, we put forward regional attention, a mechanism for diffusion transformers that requires no additional parameters, seamlessly integrating entity prompts and arbitrary-shaped spatial masks. By contributing a high-quality dataset with fine-grained spatial and semantic entity-level annotations, we train EliGen to achieve robust and accurate entity-level manipulation, surpassing existing methods in both spatial precision and image quality. Additionally, we propose an inpainting fusion pipeline, extending its capabilities to multi-entity image inpainting tasks. We further demonstrate its flexibility by integrating it with other open-source models such as IP-Adapter, In-Context LoRA and MLLM, unlocking new creative possibilities. The source code, model, and dataset are published at https://github.com/modelscope/DiffSynth-Studio.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。