X-LLM:通过将多模态视为外语来引导高级大型语言模型
X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages
AI总结:
本文提出X-LLM框架,通过X2L接口将图像、语音、视频等多模态转换为外语并输入冻结的ChatGLM,分三阶段训练实现多模态对齐与整合,展现出媲美GPT-4的多模态聊天能力并推动了基于LLM的语音识别发展。
摘要:
大型语言模型(LLMs)已经展示了出色的语言能力。基于高级LLMs的GPT-4,展现出了超越以往视觉语言模型的非凡多模态能力。我们将此归功于使用了比以往多模态模型更先进的LLMs。遗憾的是,GPT-4的模型架构和训练策略尚不明确。为了赋予LLMs多模态能力,我们提出了X-LLM,它使用X2L接口将多模态(图像、语音、视频)转换为外语,并将其输入到大型语言模型(ChatGLM)中。具体而言,X-LLM使用X2L接口对齐多个冻结的单模态编码器和一个冻结的LLM,其中“X”表示图像、语音和视频等多模态,而“L”表示语言。X-LLM的训练包含三个阶段:(1)转换多模态信息:第一阶段分别训练每个X2L接口与其各自的单模态编码器对齐,以将多模态信息转换为语言。(2)将X2L表示与LLM对齐:通过X2L接口独立地将单模态编码器与LLM对齐。(3)整合多种模态:通过X2L接口将所有单模态编码器与LLM对齐,以将多模态能力整合到LLM中。我们的实验表明,X-LLM展现出令人印象深刻的多模态聊天能力,有时在未见过的图像/指令上表现出多模态GPT-4的行为,并且在合成多模态指令遵循数据集上获得了相当于GPT-4 84.5%的相对得分。我们还对使用LLM进行ASR和多模态ASR进行了定量测试,希望能推动基于LLM的语音识别时代的到来。
英文摘要:
Large language models (LLMs) have demonstrated remarkable language abilities. GPT-4, based on advanced LLMs, exhibits extraordinary multimodal capabilities beyond previous visual language models. We attribute this to the use of more advanced LLMs compared with previous multimodal models. Unfortunately, the model architecture and training strategies of GPT-4 are unknown. To endow LLMs with multimodal capabilities, we propose X-LLM, which converts Multi-modalities (images, speech, videos) into foreign languages using X2L interfaces and inputs them into a large Language model (ChatGLM). Specifically, X-LLM aligns multiple frozen single-modal encoders and a frozen LLM using X2L interfaces, where ``X'' denotes multi-modalities such as image, speech, and videos, and ``L'' denotes languages. X-LLM's training consists of three stages: (1) Converting Multimodal Information: The first stage trains each X2L interface to align with its respective single-modal encoder separately to convert multimodal information into languages. (2) Aligning X2L representations with the LLM: single-modal encoders are aligned with the LLM through X2L interfaces independently. (3) Integrating multiple modalities: all single-modal encoders are aligned with the LLM through X2L interfaces to integrate multimodal capabilities into the LLM. Our experiments show that X-LLM demonstrates impressive multimodel chat abilities, sometimes exhibiting the behaviors of multimodal GPT-4 on unseen images/instructions, and yields a 84.5\% relative score compared with GPT-4 on a synthetic multimodal instruction-following dataset. And we also conduct quantitative tests on using LLM for ASR and multimodal ASR, hoping to promote the era of LLM-based speech recognition.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。