可恢复压缩:一种由文本信息引导的多模态视觉 token 恢复机制
Recoverable Compression: A Multimodal Vision Token Recovery Mechanism Guided by Text Information
AI总结:
针对大型多模态模型中纯视觉 token 剪枝易丢失重要信息的问题,提出一种无需训练的文本信息引导动态视觉 token 恢复机制,在压缩至原量10%的同时保持相当性能。
摘要:
随着大规模语言建模技术的进步,将视觉编码器与大型语言模型相结合的大型多模态模型在各种视觉任务中展现出了卓越的性能。当前大多数大型多模态模型通过将视觉编码器获取的视觉特征映射到大型语言模型中,并将其与文本一起作为下游任务的输入来实现这一点。因此,视觉 token 的数量直接影响模型的训练和推理速度。针对视觉 Transformer 的 token 剪枝已有大量工作,但对于大型多模态模型而言,仅依赖视觉信息进行 token 剪枝或压缩可能会导致重要信息的显著丢失。另一方面,以问题形式输入的文本可能包含有助于回答问题的宝贵信息,为模型提供了额外的知识。为了解决大多数纯视觉 token 剪枝方法可能存在的过度简化和过度剪枝问题,我们提出了一种无需训练的文本信息引导动态视觉 token 恢复机制。该机制利用问题文本与视觉 token 之间的相似性,在合并其他较不重要 token 的同时,恢复具有重要文本信息且视觉上有意义的 token。实验结果表明,我们提出的方法在将视觉 token 压缩至原始数量平均 10% 的同时,取得了与原始方法相当的性能。我们的源代码将在论文被接收后公开。
英文摘要:
With the advancement of large-scale language modeling techniques, large multimodal models combining visual encoders with large language models have demonstrated exceptional performance in various visual tasks. Most of the current large-scale multimodal models achieve this by mapping visual features obtained from the visual encoder into a large language model and using them as inputs alongside text for downstream tasks. Therefore, the number of visual tokens directly affects the training and inference speed of the model. There has been significant work on token pruning for visual transformers, but for large multimodal models, only relying on visual information for token pruning or compression may lead to significant loss of important information. On the other hand, the textual input in the form of a question may contain valuable information that can aid in answering the question, providing additional knowledge to the model. To address the potential oversimplification and excessive pruning that can occur with most purely visual token pruning methods, we propose a text information-guided dynamic visual token recovery mechanism that does not require training. This mechanism leverages the similarity between the question text and visual tokens to recover visually meaningful tokens with important text information while merging other less important tokens. Experimental results demonstrate that our proposed method achieves comparable performance to the original approach while compressing the visual tokens to an average of 10% of the original quantity. Our source code will be made publicly available following acceptance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。