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

Query-Kontext:一种用于图像生成与编辑的统一多模态模型

Query-Kontext: An Unified Multimodal Model for Image Generation and Editing

Baidu VIS(百度视觉);National University of Singapore(新加坡国立大学)

Yuxin Song, Wenkai Dong, Shizun Wang, Qi Zhang, Song Xue, Tao Yuan, Hu Yang, Haocheng Feng, Hang Zhou, Xinyan Xiao, Jingdong Wang

AI总结:

针对现有统一多模态模型中多模态生成推理与高保真合成耦合的问题,本研究提出Query-Kontext模型,通过多模态kontext桥接VLM与扩散模型,配合三阶段训练策略和综合数据流水线,在图像生成与编辑任务上达到甚至超越现有最优水平。

摘要:

统一多模态模型(Unified Multimodal Models, UMMs)在文本到图像生成(text-to-image generation, T2I)和文本引导图像编辑(text-guided image editing, TI2I)任务中展现出卓越性能,这类模型的实现形式既包括将强大的视觉语言模型(vision-language model, VLM)与基于扩散的生成器耦合的组装式统一框架,也包括对理解模态与生成模态进行早期融合的朴素统一多模态模型。我们认为,在当前的统一框架中,多模态生成推理的关键能力——涵盖指令理解、定位,以及用于身份保持和忠实重建的图像指代——与高保真合成能力存在本质上的耦合。在本研究中,我们提出Query-Kontext这一全新方法,该方法通过一个由语义线索和从多模态输入中编码得到的粗粒度图像条件组成的多模态“kontext(上下文)”,在VLM与扩散模型之间搭建桥梁。这种设计将复杂的多模态生成推理能力交由强大的VLM承担,同时保留扩散模型在高质量视觉合成方面的作用。为实现这一设计,我们提出了三阶段渐进式训练策略:第一阶段,通过多模态kontext token将VLM连接到一个轻量级扩散头,以释放VLM的生成推理能力;第二阶段,将该扩散头扩展为一个大型预训练扩散模型,以提升视觉细节丰富度与真实感;第三阶段,引入一个低层图像编码器以提高图像保真度,并在下游任务上进行指令微调。此外,我们构建了一套整合真实数据集、合成数据集与开源数据集的综合数据流水线,覆盖多种多模态参考到图像场景,包括图像生成、指令驱动编辑、定制化生成以及多主体组合。实验结果表明,我们的方法性能与性能强劲的统一基线模型相当,在部分场景下甚至优于特定任务的当前最优(state-of-the-art)方法。

英文摘要:

Unified Multimodal Models (UMMs) have demonstrated remarkable performance in text-to-image generation (T2I) and editing (TI2I), whether instantiated as assembled unified frameworks which couple powerful vision-language model (VLM) with diffusion-based generator, or as naive Unified Multimodal Models with an early fusion of understanding and generation modalities. We contend that in current unified frameworks, the crucial capability of multimodal generative reasoning which encompasses instruction understanding, grounding, and image referring for identity preservation and faithful reconstruction, is intrinsically entangled with high-fidelity synthesis. In this work, we introduce Query-Kontext, a novel approach that bridges the VLM and diffusion model via a multimodal ``kontext'' composed of semantic cues and coarse-grained image conditions encoded from multimodal inputs. This design delegates the complex ability of multimodal generative reasoning to powerful VLM while reserving diffusion model's role for high-quality visual synthesis. To achieve this, we propose a three-stage progressive training strategy. First, we connect the VLM to a lightweight diffusion head via multimodal kontext tokens to unleash the VLM's generative reasoning ability. Second, we scale this head to a large, pre-trained diffusion model to enhance visual detail and realism. Finally, we introduce a low-level image encoder to improve image fidelity and perform instruction tuning on downstream tasks. Furthermore, we build a comprehensive data pipeline integrating real, synthetic, and open-source datasets, covering diverse multimodal reference-to-image scenarios, including image generation, instruction-driven editing, customized generation, and multi-subject composition. Experiments show that our approach matches strong unified baselines and even outperforms task-specific state-of-the-art methods in several cases.

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

↑