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

通过视觉标记修剪实现多模态大语言模型的快慢高效训练

Fast-Slow Efficient Training for Multimodal Large Language Models via Visual Token Pruning

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Hong Kong University of Science and Technology(香港科技大学)

Dingkun Zhang, Shuhan Qi, Yulin Wu, Xinyu Xiao, Xuan Wang, Long Chen

AI总结:

DualSpeed通过快慢双模式实现多模态大语言模型的高效训练,提升训练速度并保持性能

摘要:

多模态大语言模型(MLLMs)面临严重的训练效率问题,这与它们庞大的模型规模和视觉标记数量有关。现有的高效训练方法主要集中在减少模型规模或可训练参数上。受视觉标记修剪(VTP)在提升推理效率上的成功启发,我们探索了另一个重要的研究方向,即通过减少视觉标记来实现高效训练。然而,将VTP应用于训练阶段会导致训练-推理不匹配:修剪训练的模型在推理时处理非修剪的完整视觉标记序列时表现不佳。为解决这一差距,我们提出了DualSpeed,一种用于多模态大语言模型高效训练的快慢框架。快模式是主要模式,它整合了现有的VTP方法作为插件来减少视觉标记,并结合模式隔离器来隔离模型的行为。慢模式是辅助模式,其中模型在完整的视觉序列上进行训练以保持训练-推理一致性。为了提升其训练效果,它进一步利用自我蒸馏来学习充分训练的快模式。共同作用下,DualSpeed可以实现训练效率和非降级性能。实验显示,DualSpeed将LLaVA-1.5的训练速度提高了2.1倍,将LLaVA-NeXT的训练速度提高了4.0倍,保持超过99%的性能。代码:https://github.com/dingkun-zhang/DualSpeed

英文摘要:

Multimodal Large Language Models (MLLMs) suffer from severe training inefficiency issue, which is associated with their massive model sizes and visual token numbers. Existing efforts in efficient training focus on reducing model sizes or trainable parameters. Inspired by the success of Visual Token Pruning (VTP) in improving inference efficiency, we are exploring another substantial research direction for efficient training by reducing visual tokens. However, applying VTP at the training stage results in a training-inference mismatch: pruning-trained models perform poorly when inferring on non-pruned full visual token sequences. To close this gap, we propose DualSpeed, a fast-slow framework for efficient training of MLLMs. The fast-mode is the primary mode, which incorporates existing VTP methods as plugins to reduce visual tokens, along with a mode isolator to isolate the model's behaviors. The slow-mode is the auxiliary mode, where the model is trained on full visual sequences to retain training-inference consistency. To boost its training, it further leverages self-distillation to learn from the sufficiently trained fast-mode. Together, DualSpeed can achieve both training efficiency and non-degraded performance. Experiments show DualSpeed accelerates the training of LLaVA-1.5 by 2.1$\times$ and LLaVA-NeXT by 4.0$\times$, retaining over 99% performance. Code: https://github.com/dingkun-zhang/DualSpeed

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

↑