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

LLM中基于动态离散视觉标记化的统一语言-视觉预训练

Unified Language-Vision Pretraining in LLM with Dynamic Discrete Visual Tokenization

Kuaishou Technology(快手科技);Peking University(北京大学)

Yang Jin, Kun Xu, Kun Xu, Liwei Chen, Chao Liao, Jianchao Tan, Quzhe Huang, Bin Chen, Chenyi Lei, An Liu, Chengru Song, Xiaoqiang Lei, Di Zhang, Wenwu Ou, Kun Gai, Yadong Mu

AI总结:

本文提出LaVIT基础模型,通过精心设计的视觉标记器将图像转换为离散视觉标记,在LLM中实现视觉和语言的统一预训练,同时理解和生成多模态内容,在视觉语言任务上大幅超越现有模型。

摘要:

最近,大型语言模型(LLM)的显著进步启发了研究人员将其非凡的推理能力转移到视觉和语言数据上。然而,流行的方法主要将视觉输入作为提示,并专注于通过冻结的LLM优化以视觉内容为条件的文本生成过程。这种对视觉和语言的不平等待遇严重限制了模型的潜力。在本文中,我们通过以统一形式表示视觉和语言来突破这一限制。具体来说,我们引入了一个精心设计的视觉标记器,将非语言图像转换为LLM可以读取的离散标记序列,就像一门外语。生成的视觉标记包含值得一个词的高级语义,并且还支持随图像变化的动态序列长度。结合该标记器,提出的名为LaVIT的基础模型可以在相同的生成学习范式下无差别地处理图像和文本。这种统一使LaVIT能够作为令人印象深刻的通用接口,同时理解和生成多模态内容。大量实验进一步表明,它在大量视觉语言任务上大幅超越了现有模型。我们的代码和模型可在https://github.com/jy0205/LaVIT获取。

英文摘要:

Recently, the remarkable advance of the Large Language Model (LLM) has inspired researchers to transfer its extraordinary reasoning capability to both vision and language data. However, the prevailing approaches primarily regard the visual input as a prompt and focus exclusively on optimizing the text generation process conditioned upon vision content by a frozen LLM. Such an inequitable treatment of vision and language heavily constrains the model's potential. In this paper, we break through this limitation by representing both vision and language in a unified form. Specifically, we introduce a well-designed visual tokenizer to translate the non-linguistic image into a sequence of discrete tokens like a foreign language that LLM can read. The resulting visual tokens encompass high-level semantics worthy of a word and also support dynamic sequence length varying from the image. Coped with this tokenizer, the presented foundation model called LaVIT can handle both image and text indiscriminately under the same generative learning paradigm. This unification empowers LaVIT to serve as an impressive generalist interface to understand and generate multi-modal content simultaneously. Extensive experiments further showcase that it outperforms the existing models by a large margin on massive vision-language tasks. Our code and models are available at https://github.com/jy0205/LaVIT.

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

↑