ViCO: A Training Strategy towards Semantic Aware Dynamic High-Resolution
本文提出了一种名为ViCO的新型训练策略,通过语义感知动态调整视觉token数量,以降低多模态大型语言模型的推理成本,同时保持模型性能。
更新于 2025-10-15。作者:Long Cui、Weiyun Wang、Jie Shao、Zichen Wen、Gen Luo、Linfeng Zhang、Yanting Zhang、Yu Qiao、Wenhai Wang。
中文摘要
现有的多模态大型语言模型(MLLMs)由于引入了图像输入的额外视觉标记,导致推理成本增加。在本工作中,我们提出了视觉一致性学习(ViCO),这是一种新颖的培训算法,它使模型能够用不同数量的视觉标记来表示不同语义复杂度的图像。我们方法背后的关键思想是采用多个具有不同图像压缩比的多层感知器(MLP)连接器,根据图像的语义复杂度对视觉标记进行下采样。在训练过程中,我们最小化基于不同MLP连接器的响应之间的KL散度。在推理时间,我们引入了一种名为视觉分辨率路由器(ViR)的图像路由器,该路由器自动为每个图像块选择适当的压缩率。与现有的基于图像分辨率的动态高分辨率策略相比,我们的方法根据语义复杂度动态调整视觉标记的数量。实验结果表明,我们的方法可以将视觉标记的数量减少高达50%,同时保持模型的感知、推理和OCR能力。我们希望这项工作能够促进更高效的MLLMs的发展。代码和模型将公开发布,以促进未来的研究。
英文摘要
Existing Multimodal Large Language Models (MLLMs) suffer from increased inference costs due to the additional vision tokens introduced by image inputs. In this work, we propose Visual Consistency Learning (ViCO), a novel training algorithm that enables the model to represent images of varying semantic complexities using different numbers of vision tokens. The key idea behind our method is to employ multiple MLP connectors, each with a different image compression ratio, to downsample the vision tokens based on the semantic complexity of the image. During training, we minimize the KL divergence between the responses conditioned on different MLP connectors. At inference time, we introduce an image router, termed Visual Resolution Router (ViR), that automatically selects the appropriate compression rate for each image patch. Compared with existing dynamic high-resolution strategies, which adjust the number of visual tokens based on image resolutions, our method dynamically adapts the number of visual tokens according to semantic complexity. Experimental results demonstrate that our method can reduce the number of vision tokens by up to 50% while maintaining the model's perception, reasoning, and OCR capabilities. We hope this work will contribute to the development of more efficient MLLMs. The code and models will be released to facilitate future research.
解读
一句话总结
本文提出了一种名为ViCO的新型训练策略,通过语义感知动态调整视觉token数量,以降低多模态大型语言模型的推理成本,同时保持模型性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现有的多模态大型语言模型(MLLMs)由于图像输入引入的额外视觉token,导致推理成本增加。
- 现有方案不足:现有的动态高分辨率策略基于图像分辨率调整视觉token数量,但无法根据语义复杂性动态调整。
- 研究目标:提出一种新的训练策略,使模型能够使用不同数量的视觉token来表示具有不同语义复杂性的图像。
问题2:论文的核心创新点是什么?
- 技术创新:引入视觉一致性学习(ViCO),通过多个MLP连接器,根据图像的语义复杂性以不同的图像压缩率下采样视觉token。
- 方法改进:引入视觉分辨率路由器(ViR),根据图像块中的语义复杂度自动选择适当的压缩率。
- 优势:与现有方法相比,ViCO可以减少视觉token数量高达50%,同时保持模型的感觉、推理和OCR能力。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在OCR、文档理解、视频理解和多图像推理等基准测试上进行了大量实验。
- 性能提升:实验结果表明,ViCO可以将视觉token数量减少高达50%,同时保持模型性能。
- 对比结果:与基线方法相比,ViCO在保持性能的同时,显著提高了推理吞吐量。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于文档理解、视频理解等需要处理多图像的场景。
- 实施建议:在实际部署中,可以根据具体任务需求调整ViCO的参数。
- 局限与展望:ViCO目前主要针对视觉token的压缩,未来可以扩展到其他类型的token压缩。