arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.04589cs.CLcs.AI
收藏

TEAL:面向多模态大语言模型的全部模态分词与嵌入

TEAL: Tokenize and Embed ALL for Multi-modal Large Language Models

WeChat AI, Tencent Inc.(腾讯微信人工智能)

Zhen Yang, Yingxue Zhang, Fandong Meng, Jie Zhou

AI总结:

提出TEAL方法,将任意模态输入离散化为token序列并映射到联合嵌入空间,使冻结的LLM能以自回归方式执行多模态理解与生成任务,在多模态理解上取得显著提升。

摘要:

尽管多模态大语言模型(MM-LLMs)近期取得了令人振奋的进展,但它们在高效建模多模态输入间的交互以及非文本模态的生成方面仍面临挑战。在本研究中,我们提出了TEAL(Tokenize and Embed ALl)方法,将任意模态的输入视为token序列,并为所有模态学习一个联合嵌入空间。具体而言,对于任意模态的输入,TEAL首先利用现成的分词器将其离散化为token序列,并通过可学习的嵌入矩阵将该token序列嵌入到联合嵌入空间中。MM-LLMs只需像文本LLMs那样,以自回归方式预测多模态token。最后,应用相应的解分词器,基于预测的token序列生成各模态的输出。借助联合嵌入空间,TEAL使冻结的LLMs能够执行涉及图像和音频等非文本模态的理解与生成任务。因此,文本LLM可作为接口工作,并保持其在文本理解与生成方面的高性能。实验表明,TEAL在多模态理解上取得了显著提升,并实现了一种简单的多模态生成方案。

英文摘要:

Despite Multi-modal Large Language Models (MM-LLMs) have made exciting strides recently, they are still struggling to efficiently model the interactions among multi-modal inputs and the generation in non-textual modalities. In this work, we propose TEAL (Tokenize and Embed ALl)}, an approach to treat the input from any modality as a token sequence and learn a joint embedding space for all modalities. Specifically, for the input from any modality, TEAL first discretizes it into a token sequence with the off-the-shelf tokenizer and embeds the token sequence into a joint embedding space with a learnable embedding matrix. MM-LLMs just need to predict the multi-modal tokens autoregressively as the textual LLMs do. Finally, the corresponding de-tokenizer is applied to generate the output in each modality based on the predicted token sequence. With the joint embedding space, TEAL enables the frozen LLMs to perform both understanding and generation tasks involving non-textual modalities, such as image and audio. Thus, the textual LLM can just work as an interface and maintain its high performance in textual understanding and generation. Experiments show that TEAL achieves substantial improvements in multi-modal understanding, and implements a simple scheme for multi-modal generations.

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

↑