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

LLAVADI:对于多模态大语言模型蒸馏而言什么才是重要的

LLAVADI: What Matters For Multimodal Large Language Models Distillation

PKU(北京大学);NTU(南洋理工大学);UC Merced(加州大学默塞德分校)

Shilin Xu, Xiangtai Li, Haobo Yuan, Lu Qi, Yunhai Tong, Ming-Hsuan Yang

AI总结:

本文研究多模态大语言模型的知识蒸馏,探讨训练策略、模型选择和蒸馏算法,发现token和logit的联合对齐至关重要,使2.7B小模型性能媲美7B或13B大模型。

摘要:

近期多模态大语言模型(MLLMs)的激增展示了其通过将视觉理解整合到大语言模型中来实现通用智能的巨大潜力。然而,MLLMs庞大的模型规模导致了巨大的内存和计算需求,阻碍了其广泛部署。在这项工作中,我们没有提出新的高效模型结构,也没有从头训练小规模的MLLMs。相反,我们关注通过知识蒸馏训练小规模MLLMs的关键要素,这是从多模态蒸馏视角出发的第一步。我们的广泛研究涉及知识蒸馏过程中的训练策略、模型选择和蒸馏算法。这些结果表明,token和logit的联合对齐在师生框架中起着至关重要的作用。此外,我们从这项研究中得出了一系列有趣的观察结果。通过评估不同的基准并采用适当的策略,即使是2.7B的小规模模型也能与7B或13B参数的较大模型表现相当。我们的代码和模型将公开供进一步研究使用。

英文摘要:

The recent surge in Multimodal Large Language Models (MLLMs) has showcased their remarkable potential for achieving generalized intelligence by integrating visual understanding into Large Language Models.Nevertheless, the sheer model size of MLLMs leads to substantial memory and computational demands that hinder their widespread deployment. In this work, we do not propose a new efficient model structure or train small-scale MLLMs from scratch. Instead, we focus on what matters for training small-scale MLLMs through knowledge distillation, which is the first step from the multimodal distillation perspective. Our extensive studies involve training strategies, model choices, and distillation algorithms in the knowledge distillation process. These results show that joint alignment for both tokens and logit alignment plays critical roles in teacher-student frameworks. In addition, we draw a series of intriguing observations from this study. By evaluating different benchmarks and proper strategy, even a 2.7B small-scale model can perform on par with larger models with 7B or 13B parameters. Our code and models will be publicly available for further research.

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

↑