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

基于Token级相关性引导压缩的高效多模态文档理解

Token-level Correlation-guided Compression for Efficient Multimodal Document Understanding

School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳)计算机科学与技术学院)

Renshan Zhang, Yibo Lyu, Rui Shao, Gongwei Chen, Weili Guan, Liqiang Nie

AI总结:

本文提出一种无参数、即插即用的Token级相关性引导压缩方法,通过评估补丁Token相关性和[CLS]Token与补丁Token相关性来识别冗余并采样关键Token,在mPLUG-DocOwl1.5上实现高效文档理解且性能相当。

摘要:

将高分辨率文档图像裁剪成多个子图像是当前多模态大语言模型(MLLMs)进行文档理解的最广泛使用的方法。当前大多数文档理解方法保留子图像中的所有Token并同等对待它们,这忽略了它们不同的信息量,并导致图像Token数量的显著增加。为了实现更具适应性和高效的文档理解,我们提出了Token级相关性引导压缩(Token-level Correlation-guided Compression),这是一种无参数且即插即用的方法,用于优化Token处理。首先,我们提出了一种基于每个补丁Token之间相关性来评估模式重复性的创新方法。该方法识别冗余Token,从而能够确定子图像的信息密度。其次,我们提出了一种Token级采样方法,通过深入探究[CLS]Token与补丁Token之间的相关性,高效捕获最具信息量的Token。通过整合这些策略,我们开发了一个即插即用的自适应压缩模块,该模块可以无缝集成到利用裁剪技术的MLLMs中。该模块不仅提高了训练和推理期间的处理速度,而且保持了相当的性能。我们使用最先进的文档理解模型mPLUG-DocOwl1.5进行了实验,并通过与其他压缩方法的广泛比较证明了其有效性。

英文摘要:

Cropping high-resolution document images into multiple sub-images is the most widely used approach for current Multimodal Large Language Models (MLLMs) to do document understanding. Most of current document understanding methods preserve all tokens within sub-images and treat them equally. This neglects their different informativeness and leads to a significant increase in the number of image tokens. To perform a more adaptive and efficient document understanding, we propose Token-level Correlation-guided Compression, a parameter-free and plug-and-play methodology to optimize token processing. Firstly, we propose an innovative approach for assessing the pattern repetitiveness based on the correlation between each patch tokens. This method identifies redundant tokens, allowing for the determination of the sub-image's information density. Secondly, we present a token-level sampling method that efficiently captures the most informative tokens by delving into the correlation between the [CLS] token and patch tokens. By integrating these strategies, we develop a plug-and-play adaptive compressor module that can be seamlessly incorporated into MLLMs utilizing cropping techniques. This module not only enhances the processing speed during training and inference but also maintains comparable performance. We conduct experiments with the SOTA document understanding model mPLUG-DocOwl1.5 and the effectiveness is demonstrated through extensive comparisons with other compression methods.

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

↑