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

Liquid:语言模型是可扩展且统一的多模态生成器

Liquid: Language Models are Scalable and Unified Multi-modal Generators

Huazhong University of Science and Technology(华中科技大学);Bytedance Inc(字节跳动公司);The University of Hong Kong(香港大学)

Junfeng Wu, Yi Jiang, Chuofan Ma, Yuliang Liu, Hengshuang Zhao, Zehuan Yuan, Song Bai, Xiang Bai

AI总结:

Liquid 提出用单一 LLM 统一视觉理解与生成,通过共享离散 token 空间实现任务互增强,并发现统一训练的性能损失随模型规模增大而减小,以更低训练成本超越 Chameleon 和 SD-XL 等模型。

摘要:

我们提出了 Liquid,这是一种自回归生成范式,通过将图像分词为离散编码,并在视觉与语言共享的特征空间中学习这些编码嵌入以及文本 token,从而无缝整合视觉理解与生成。与以往的多模态大语言模型(MLLM)不同,Liquid 仅使用单个大语言模型(LLM)实现这种整合,无需 CLIP 等外部预训练视觉嵌入。Liquid 首次揭示了一条缩放定律:随着模型规模增大,视觉与语言任务统一训练不可避免带来的性能下降会逐渐减小。此外,统一的 token 空间使视觉生成与理解任务能够相互增强,有效消除了早期模型中常见的干扰。我们表明,现有 LLM 可以作为 Liquid 的强大基础,节省 100 倍的训练成本,同时在多模态能力上超越 Chameleon,并保持与 LLAMA2 等主流 LLM 相当的语言性能。Liquid 还优于 SD v2.1 和 SD-XL 等模型(在 MJHQ-30K 上 FID 为 5.47),在视觉-语言任务和纯文本任务上均表现优异。这项工作证明,Qwen2.5 和 GEMMA2 等 LLM 是强大的多模态生成器,为增强视觉-语言理解与生成提供了一种可扩展的解决方案。代码和模型将在 https://github.com/FoundationVision/Liquid 发布。

英文摘要:

We present Liquid, an auto-regressive generation paradigm that seamlessly integrates visual comprehension and generation by tokenizing images into discrete codes and learning these code embeddings alongside text tokens within a shared feature space for both vision and language. Unlike previous multimodal large language model (MLLM), Liquid achieves this integration using a single large language model (LLM), eliminating the need for external pretrained visual embeddings such as CLIP. For the first time, Liquid uncovers a scaling law that performance drop unavoidably brought by the unified training of visual and language tasks diminishes as the model size increases. Furthermore, the unified token space enables visual generation and comprehension tasks to mutually enhance each other, effectively removing the typical interference seen in earlier models. We show that existing LLMs can serve as strong foundations for Liquid, saving 100x in training costs while outperforming Chameleon in multimodal capabilities and maintaining language performance comparable to mainstream LLMs like LLAMA2. Liquid also outperforms models like SD v2.1 and SD-XL (FID of 5.47 on MJHQ-30K), excelling in both vision-language and text-only tasks. This work demonstrates that LLMs such as Qwen2.5 and GEMMA2 are powerful multimodal generators, offering a scalable solution for enhancing both vision-language understanding and generation. The code and models will be released at https://github.com/FoundationVision/Liquid.

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

↑