arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.16862cs.CVcs.CL
收藏

TinyGPT-V:基于小型骨干网络的高效多模态大语言模型

TinyGPT-V: Efficient Multimodal Large Language Model via Small Backbones

Nanyang Technological University(南洋理工大学);Shanghai Jiao Tong University(上海交通大学);Lehigh University(理海大学)

Zhengqing Yuan, Zhaoxu Li, Weiran Huang, Yanfang Ye, Lichao Sun

AI总结:

本研究提出开源多模态大语言模型TinyGPT-V,以Phi-2为语言骨干结合视觉编码器与映射模块,在低计算资源下实现了与大模型相当的视觉-语言任务性能,适配资源受限设备部署。

摘要:

近年来,GPT-4V等多模态大语言模型(MLLM)取得了显著进展,在各类视觉-语言任务中表现出色。尽管这类模型能力强大,但其闭源属性和计算需求限制了可及性与应用范围。本研究提出TinyGPT-V,这是一种新型开源MLLM,专为图像描述(IC)、视觉问答(VQA)等各类视觉-语言任务的高效训练与推理设计。TinyGPT-V采用紧凑且强大的架构,将Phi-2语言模型与预训练视觉编码器整合,通过独特的映射模块实现视觉与语言信息的融合。凭借针对小型骨干网络优化的训练方案以及多样化的混合数据集,TinyGPT-V所需计算资源大幅降低:训练仅需24GB显存,推理最低仅需8GB,且不会牺牲性能。实验表明,语言模型参数量为28亿的TinyGPT-V,在VQA和图像推理任务中取得了与更大规模同类模型相当的结果,同时通过创新的量化技术,尤其适合在资源受限设备上部署。该研究不仅为更易获取、更高效的MLLM发展铺平了道路,也凸显了经过优化的小型模型在弥合现实应用中高性能与计算效率之间差距的潜力。此外,本文还提出了一种使用小型骨干网络构建多模态大语言模型的新方法。我们的代码和训练权重已在补充材料中提供。

英文摘要:

In recent years, multimodal large language models (MLLMs) such as GPT-4V have demonstrated remarkable advancements, excelling in a variety of vision-language tasks. Despite their prowess, the closed-source nature and computational demands of such models limit their accessibility and applicability. This study introduces TinyGPT-V, a novel open-source MLLM, designed for efficient training and inference across various vision-language tasks, including image captioning (IC) and visual question answering (VQA). Leveraging a compact yet powerful architecture, TinyGPT-V integrates the Phi-2 language model with pre-trained vision encoders, utilizing a unique mapping module for visual and linguistic information fusion. With a training regimen optimized for small backbones and employing a diverse dataset amalgam, TinyGPT-V requires significantly lower computational resources 24GB for training and as little as 8GB for inference without compromising on performance. Our experiments demonstrate that TinyGPT-V, with its language model 2.8 billion parameters, achieves comparable results in VQA and image inference tasks to its larger counterparts while being uniquely suited for deployment on resource-constrained devices through innovative quantization techniques. This work not only paves the way for more accessible and efficient MLLMs but also underscores the potential of smaller, optimized models in bridging the gap between high performance and computational efficiency in real-world applications. Additionally, this paper introduces a new approach to multimodal large language models using smaller backbones. Our code and training weights are available in the supplementary material.

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

↑