arXiv:2412.06089cs.CV2024-12被引 4

用三步法提升复杂文本生成图像的准确性

GraPE: A Generate-Plan-Edit Framework for Compositional T2I Synthesis

  • 先生成图像,再用大模型分析错误并制定修改计划,最后逐条修正
  • 在3个基准上提升SOTA模型性能最高达3个百分点,缩小强弱模型差距
  • 无需训练、兼容多种生成与编辑模型,适合需要高精度控制的用户

文本到图像(T2I)生成在扩散模型推动下已实现高度逼真图像生成。然而,面对需组合推理和多步理解的复杂指令,现有方法仍难以准确建模对象属性及其关系。本文提出一种新范式GraPE,将复杂生成任务分解为三步:(a) 生成:使用现有扩散模型生成图像;(b) 规划:利用多模态大模型(MLLM)识别生成图像中的错误,以对象及其属性的形式输出修正步骤序列;(c) 编辑:采用文本引导图像编辑模型按计划逐步修正图像,最终得到符合原始指令的结果。该方法模块化、无需训练,可适配任意生成与编辑模型组合。额外开发的组合编辑模型进一步提升整体精度。方法可在推理时间与性能间灵活权衡。在3个基准和10种T2I模型(包括DALLE-3和SD-3.5-Large)上验证,不仅使最先进模型性能提升最多3点,还显著缩小了不同模型间的性能差距。

原文摘要 · Abstract (English)

Text-to-image (T2I) generation has seen significant progress with diffusion models, enabling generation of photo-realistic images from text prompts. Despite this progress, existing methods still face challenges in following complex text prompts, especially those requiring compositional and multi-step reasoning. Given such complex instructions, SOTA models often make mistakes in faithfully modeling object attributes, and relationships among them. In this work, we present an alternate paradigm for T2I synthesis, decomposing the task of complex multi-step generation into three steps, (a) Generate: we first generate an image using existing diffusion models (b) Plan: we make use of Multi-Modal LLMs (MLLMs) to identify the mistakes in the generated image expressed in terms of individual objects and their properties, and produce a sequence of corrective steps required in the form of an edit-plan. (c) Edit: we make use of an existing text-guided image editing models to sequentially execute our edit-plan over the generated image to get the desired image which is faithful to the original instruction. Our approach derives its strength from the fact that it is modular in nature, is training free, and can be applied over any combination of image generation and editing models. As an added contribution, we also develop a model capable of compositional editing, which further helps improve the overall accuracy of our proposed approach. Our method flexibly trades inference time compute with performance on compositional text prompts. We perform extensive experimental evaluation across 3 benchmarks and 10 T2I models including DALLE-3 and the latest -- SD-3.5-Large. Our approach not only improves the performance of the SOTA models, by upto 3 points, it also reduces the performance gap between weaker and stronger models. $\href{https://dair-iitd.github.io/GraPE/}{https://dair-iitd.github.io/GraPE/}$

文本生成图像多模态编辑框架可控生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。