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

DivCon:用于文本到图像生成中复杂数值和空间推理的分而治之

DivCon: Divide and Conquer for Complex Numerical and Spatial Reasoning in Text-to-Image Generation

Individual Researcher(独立研究者)

Yuhao Jia, Wenhan Tan

AI总结:

DivCon通过分而治之的方法提升文本到图像生成中复杂数值和空间推理的能力,通过分解任务提高布局生成和图像合成的精度与质量。

摘要:

扩散驱动的文本到图像(T2I)生成在近年来取得了显著进展。为了进一步提高T2I模型在数值和空间推理方面的能力,布局被用作中介来连接大型语言模型和基于布局的扩散模型。然而,这些方法往往依赖于闭源、大规模的LLM进行布局预测,限制了可访问性和可扩展性。它们还难以从包含多个对象和复杂空间关系的提示中生成图像。为了解决这些挑战,我们介绍了一种分而治之的方法,将生成任务分解为多个子任务。首先,布局预测阶段被分为数值与空间推理和边界框视觉规划,使即使轻量级的LLM也能实现与大规模模型相当的布局精度。其次,布局到图像生成阶段被分为两步,从简单的对象合成到复杂的对象合成。实验在HRS和NSR-1K基准上进行,我们的方法在显著的幅度上优于先前的方法。此外,视觉结果和用户研究表明,我们的方法显著提高了感知质量,尤其是在从复杂的纹理提示中生成多个对象时。

英文摘要:

Diffusion-driven text-to-image (T2I) generation has achieved remarkable advancements in recent years. To further improve T2I models' capability in numerical and spatial reasoning, layout is employed as an intermedium to bridge large language models and layout-based diffusion models. However, these methods often rely on closed-source, large-scale LLMs for layout prediction, limiting accessibility and scalability. They also struggle with generating images from prompts with multiple objects and complicated spatial relationships. To tackle these challenges, we introduce a divide-and-conquer approach which decouples the generation task into multiple subtasks. First, the layout prediction stage is divided into numerical & spatial reasoning and bounding box visual planning, enabling even lightweight LLMs to achieve layout accuracy comparable to large-scale models. Second, the layout-to-image generation stage is divided into two steps to synthesize objects from easy ones to difficult ones. Experiments are conducted on the HRS and NSR-1K benchmarks and our method outperforms previous approaches with notable margins. In addition, visual results and user study demonstrate that our approach significantly improves the perceptual quality, especially when generating multiple objects from complex textural prompts.

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

↑