mPLUG-DocOwl2: High-resolution Compressing for OCR-free Multi-page Document Understanding

Anwen Hu, Haiyang Xu, Liang Zhang, Jiabo Ye, Ming Yan +4 more
9/5/2024
cs.CV

Official code: X-PLUG/mPLUG-DocOwl (2,412 stars, Apache-2.0, last commit 2025-05-30).

Abstract

Multimodel Large Language Models(MLLMs) have achieved promising OCR-free Document Understanding performance by increasing the supported resolution of document images. However, this comes at the cost of generating thousands of visual tokens for a single document image, leading to excessive GPU memory and slower inference times, particularly in multi-page document comprehension. In this work, to address these challenges, we propose a High-resolution DocCompressor module to compress each high-resolution document image into 324 tokens, guided by low-resolution global visual features. With this compression module, to strengthen multi-page document comprehension ability and balance both token efficiency and question-answering performance, we develop the DocOwl2 under a three-stage training framework: Single-image Pretraining, Multi-image Continue-pretraining, and Multi-task Finetuning. DocOwl2 sets a new state-of-the-art across multi-page document understanding benchmarks and reduces first token latency by more than 50%, demonstrating advanced capabilities in multi-page questioning answering, explanation with evidence pages, and cross-page structure understanding. Additionally, compared to single-image MLLMs trained on similar data, our DocOwl2 achieves comparable single-page understanding performance with less than 20% of the visual tokens. Our codes, models, and data are publicly available at https://github.com/X-PLUG/mPLUG-DocOwl/tree/main/DocOwl2.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

mPLUG-DocOwl: Modularized Multimodal Large Language Model for Document Understanding

2,412155Shell, PythonJul 4, 20231 years agoApache-2.0
chart-understandingdocument-understandingmllmmultimodalmultimodal-large-language-models+1 more

Similar Papers

Cite this paper

@article{hu2024mplugdocowl,
  title  = {mPLUG-DocOwl2: High-resolution Compressing for OCR-free Multi-page Document Understanding},
  author = {Anwen Hu and Haiyang Xu and Liang Zhang and Jiabo Ye and Ming Yan and Ji Zhang and Qin Jin and Fei Huang and Jingren Zhou},
  year   = {2024},
  eprint = {2409.03420},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.03420v2}
}

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

Discussion