Recoverable Compression: A Multimodal Vision Token Recovery Mechanism Guided by Text Information

Yi Chen, Jian Xu, Xu-Yao Zhang, Wen-Zhuo Liu, Yang-Yang Liu +1 more
9/2/2024
cs.CV

No official code found. Best implementation: banjiuyufen/RecoverableCompression (23 stars, Apache-2.0, last commit 2025-04-13).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Recoverable Compression: A Multimodal Vision Token Recovery Mechanism Guided by Text Information

231Shell, PythonDec 17, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2024recoverable,
  title  = {Recoverable Compression: A Multimodal Vision Token Recovery Mechanism Guided by Text Information},
  author = {Yi Chen and Jian Xu and Xu-Yao Zhang and Wen-Zhuo Liu and Yang-Yang Liu and Cheng-Lin Liu},
  year   = {2024},
  eprint = {2409.01179},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.01179v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.01179.svg)](https://codeofpaper.com/paper/2409.01179)

Discussion