FullFlow: 通过双向视觉-语言生成升级文本到图像流匹配模型
FullFlow: Upgrading Text-to-Image Flow Matching Models for Bidirectional Vision--Language Generation
AI总结:
本文提出FullFlow方法,通过仅训练LoRA适配器和轻量级文本头部,将预训练的rectified-flow文本到图像模型升级为双向视觉-语言生成器,从而在保持图像连续流的同时添加文本离散插入过程,提升文本到图像和图像到文本的生成质量。
摘要:
现代文本到图像扩散模型编码了丰富的视觉先验,但只能通过单向文本条件生成暴露。现有统一的视觉-语言模型通过大规模联合预训练或对文本路径进行大量重训练来恢复双向能力,但丢弃了文本到图像模型本身已编码的强图像先验。我们介绍了FullFlow,一种参数高效的配方,通过仅训练LoRA适配器和轻量级文本头部,将预训练的rectified-flow文本到图像模型升级为双向视觉-语言生成器。FullFlow保持图像在原生连续流中,并添加文本的离散插入过程。分离的图像和文本时间步将推断转化为二维生成空间中的轨迹选择,使文本→图像、图像→文本、联合采样和部分文本预测能够通过单一主干模型完成。在Stable Diffusion 3 (SD3)上,FullFlow在相同可训练参数数量和匹配LoRA秩的情况下,将文本→图像的FID从62.7提升到31.6,将图像→文本的CIDEr从2.0提升到99.4,同时在两个RTX A5000 GPU上训练时间不超过24小时的情况下,将峰值VRAM从约84GB降低到约38GB,并将吞吐量提高约8倍,仅训练主干参数的约5%。同样的配方适用于FLUX.1-dev,并通过部分文本生成支持下游VQA。这些结果表明,强大的双向视觉-语言能力可以从预训练的文本到图像流模型中解锁,而无需完整的多模态预训练。
英文摘要:
Modern text-to-image diffusion models encode rich visual priors, but expose them only through one-way text-conditioned generation. Existing unified vision--language models derived from them recover bidirectional capability through large-scale joint pretraining or substantial retraining of the text pathway, discarding the strong image prior the text-to-image backbone already encodes. We introduce \emph{FullFlow}, a parameter-efficient recipe that upgrades a pretrained rectified-flow text-to-image model into a bidirectional vision--language generator by training only LoRA adapters and lightweight text heads. FullFlow keeps images in their native continuous flow and adds a discrete insertion process for text. Separate image and text timesteps turn inference into trajectory selection in a two-dimensional generative space, enabling text$\rightarrow$image, image$\rightarrow$text, joint sampling, and partial-text prediction with a single backbone. On Stable Diffusion 3 (SD3) under an identical trainable-parameter count and matched LoRA rank, FullFlow improves text$\rightarrow$image FID from $62.7$ to $31.6$ and image$\rightarrow$text CIDEr from $2.0$ to $99.4$ over a LoRA equivalent following the previous SOTA formulation (Dual Diffusion) at matched wall-clock training time, while reducing peak VRAM from ${\sim}84$\,GB to ${\sim}38$\,GB and raising throughput by ${\sim}8\times$ on two RTX A5000 GPUs in under 24 hours, training only ${\sim}5\%$ of the backbone parameters. The same recipe transfers to FLUX.1-dev and supports downstream VQA through partial-text generation. These results show that strong bidirectional vision--language capability can be unlocked from pretrained text-to-image flow models without full multimodal pretraining.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。