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

Long-VITA:将大型多模态模型扩展至100万Token且保持领先的短上下文精度

Long-VITA: Scaling Large Multi-modal Models to 1 Million Tokens with Leading Short-Context Accuracy

Tencent Youtu Lab(腾讯云图实验室);Nanjing University(南京大学);East China Normal University(华东师范大学);Xiamen University(厦门大学);CASIA(中国科学院自动化研究所)
Yunhang Shen, Chaoyou Fu, Shaoqi Dong, Xiong Wang, Yi-Fan Zhang, Peixian Chen, Mengdan Zhang, Haoyu Cao, Ke Li, Shaohui Lin, Xiawu Zheng, Yan Zhang, Yiyi Zhou, … 展开作者

Yunhang Shen, Chaoyou Fu, Shaoqi Dong, Xiong Wang, Yi-Fan Zhang, Peixian Chen, Mengdan Zhang, Haoyu Cao, Ke Li, Shaohui Lin, Xiawu Zheng, Yan Zhang, Yiyi Zhou, Ran He, Caifeng Shan, Rongrong Ji, Xing Sun

AI总结:

本研究提出开源多模态模型Long-VITA,通过分阶段训练方案、上下文并行推理等设计,仅用公开数据训练即可支持百万Token长上下文,短上下文性能领先,推理速度和上下文长度提升显著,为开源社区提供强基线。

摘要:

我们推出Long-VITA,这是一款简洁高效的大型多模态模型,面向长上下文视觉-语言理解任务。它擅长同时处理和分析图像、视频与文本模态,可支持超过4K帧或100万Token的输入,同时在短上下文多模态任务上也能取得先进性能。我们提出了一套有效的多模态训练方案:以大语言模型为基础,依次经过视觉-语言对齐、通用知识学习,以及两个连续的长序列微调阶段。我们进一步实现了上下文并行分布式推理与对数概率掩码语言建模头,使Long-VITA在推理阶段可处理无限长的图像和文本输入。训练数据方面,Long-VITA仅基于来自公开数据集的1700万样本混合数据构建,在各类多模态基准测试上,与使用内部数据训练的最新前沿模型相比,取得了当前最优性能。Long-VITA完全开源且结果可复现。借助我们的推理设计,Long-VITA模型在配备8块GPU的单节点上实现了显著的2倍预填充速度提升,以及4倍的上下文长度扩展。我们希望Long-VITA能作为一个有竞争力的基线,为开源社区推进长上下文多模态理解研究提供有价值的洞见。

英文摘要:

We introduce Long-VITA, a simple yet effective large multi-modal model for long-context visual-language understanding tasks. It is adept at concurrently processing and analyzing modalities of image, video, and text over 4K frames or 1M tokens while delivering advanced performances on short-context multi-modal tasks. We propose an effective multi-modal training schema that starts with large language models and proceeds through vision-language alignment, general knowledge learning, and two sequential stages of long-sequence fine-tuning. We further implement context-parallelism distributed inference and logits-masked language modeling head to scale Long-VITA to infinitely long inputs of images and texts during model inference. Regarding training data, Long-VITA is built on a mix of 17M samples from public datasets only and demonstrates state-of-the-art performance on various multi-modal benchmarks, compared against recent cutting-edge models with internal data. Long-VITA is fully open-source and reproducible.. By leveraging our inference designs, Long-VITA models achieve a remarkable 2x prefill speedup and 4x context length extension in a single node with 8 GPUs. We hope Long-VITA can serve as a competitive baseline and offer valuable insights for the open-source community in advancing long-context multi-modal understanding.

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

↑