DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual Slimming

Jiaxin Zhang, Wentao Yang, Songxuan Lai, Zecheng Xie, Lianwen Jin
6/27/2024
49 citations
cs.CV

No official code found. Best implementation: ZZZHANG-jx/DocKylin (36 stars, Python, last commit 2025-06-01).

Abstract

Current multimodal large language models (MLLMs) face significant challenges in visual document understanding (VDU) tasks due to the high resolution, dense text, and complex layouts typical of document images. These characteristics demand a high level of detail perception ability from MLLMs.

Show full abstract

While increasing input resolution improves detail perception capability, it also leads to longer sequences of visual tokens, increasing computational costs and straining the models' ability to handle long contexts. To address these challenges, we introduce DocKylin, a document-centric MLLM that performs visual content slimming at both the pixel and token levels, thereby reducing token sequence length in VDU scenarios. We introduce an Adaptive Pixel Slimming (APS) preprocessing module to perform pixel-level slimming, increasing the proportion of informative pixels. Moreover, we propose a novel Dynamic Token Slimming (DTS) module to conduct token-level slimming, filtering essential tokens and removing others to adaptively create a more compact visual sequence. Experiments demonstrate DocKylin's promising performance across various VDU benchmarks and the effectiveness of each component.

View on arXivView PDF

Code Implementations(1)

[AAAI 2025] DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual Slimming

362PythonNov 21, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024dockylin,
  title  = {DocKylin: A Large Multimodal Model for Visual Document Understanding with Efficient Visual Slimming},
  author = {Jiaxin Zhang and Wentao Yang and Songxuan Lai and Zecheng Xie and Lianwen Jin},
  year   = {2024},
  eprint = {2406.19101},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.19101v4}
}

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/2406.19101.svg)](https://codeofpaper.com/paper/2406.19101)

Discussion