arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.08487cs.CV
收藏

超越 LLaVA-HD:深入探究高分辨率大型多模态模型

Beyond LLaVA-HD: Diving into High-Resolution Large Multimodal Models

State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS), Institute of Automation(多模态人工智能系统国家重点实验室(MAIS)自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences (UCAS)(中国科学院大学人工智能学院);Squirrel AI Learning(松鼠AI智适应教育);Alibaba Group(阿里巴巴集团);Meta AI

Yi-Fan Zhang, Qingsong Wen, Chaoyou Fu, Xue Wang, Zhang Zhang, Liang Wang, Rong Jin

AI总结:

针对高分辨率 LMM 中局部 token 过多、计算昂贵且削弱全局上下文的问题,本文提出 SliME,通过 adapter 混合体、query 压缩与相似度选择及交替训练,仅用200万数据取得领先性能。

摘要:

以高分辨率清晰地观察是大型多模态模型(LMM)的基础,这已被证明对视觉感知和推理至关重要。现有工作通常采用一种直接的分辨率放大方法,即图像由全局分支和局部分支组成,后者是被切分的图像块,但会被调整到与前者相同的分辨率。这意味着更高的分辨率需要更多局部图像块,从而导致过高的计算开销;同时,局部图像 token 的主导地位可能削弱全局上下文。在本文中,我们深入研究这些问题,并提出一个新框架以及一套精心设计的优化策略。具体而言,基于不同 adapter 擅长不同任务的观察,我们使用 adapter 混合体从全局视图中提取上下文信息。对于局部图像块,我们引入可学习的 query embedding 以减少图像 token,其中与用户问题相关、最重要的 token 将进一步由基于相似度的选择器选出。实验结果展现出一种“少即是多”的模式,即使用更少但信息更丰富的局部图像 token 会带来性能提升。此外,训练策略方面存在一个重大挑战:同时对全局挖掘模块和局部压缩模块进行端到端训练并不能产生最优结果。因此,我们提倡采用交替训练方式,以确保全局与局部方面之间的均衡学习。最后,我们还引入了一个对图像细节要求很高的挑战性数据集,以增强局部压缩层的训练。所提出的方法名为 LMM with Sophisticated Tasks, Local image compression, and Mixture of global Experts(SliME),仅使用 200 万条训练数据就在多个基准测试中取得领先性能。

英文摘要:

Seeing clearly with high resolution is a foundation of Large Multimodal Models (LMMs), which has been proven to be vital for visual perception and reasoning. Existing works usually employ a straightforward resolution upscaling method, where the image consists of global and local branches, with the latter being the sliced image patches but resized to the same resolution as the former. This means that higher resolution requires more local patches, resulting in exorbitant computational expenses, and meanwhile, the dominance of local image tokens may diminish the global context. In this paper, we dive into the problems and propose a new framework as well as an elaborate optimization strategy. Specifically, we extract contextual information from the global view using a mixture of adapters, based on the observation that different adapters excel at different tasks. With regard to local patches, learnable query embeddings are introduced to reduce image tokens, the most important tokens accounting for the user question will be further selected by a similarity-based selector. Our empirical results demonstrate a `less is more' pattern, where \textit{utilizing fewer but more informative local image tokens leads to improved performance}. Besides, a significant challenge lies in the training strategy, as simultaneous end-to-end training of the global mining block and local compression block does not yield optimal results. We thus advocate for an alternating training way, ensuring balanced learning between global and local aspects. Finally, we also introduce a challenging dataset with high requirements for image detail, enhancing the training of the local compression layer. The proposed method, termed LMM with Sophisticated Tasks, Local image compression, and Mixture of global Experts (SliME), achieves leading performance across various benchmarks with only 2 million training data.

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

↑