DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understanding

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Liao, Wenhui, Wang, Jiapeng, Li, Hongliang, Wang, Chengyu, Huang, Jun, Jin, Lianwen
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913744136699904
author Liao, Wenhui
Wang, Jiapeng
Li, Hongliang
Wang, Chengyu
Huang, Jun
Jin, Lianwen
author_facet Liao, Wenhui
Wang, Jiapeng
Li, Hongliang
Wang, Chengyu
Huang, Jun
Jin, Lianwen
contents Text-rich document understanding (TDU) requires comprehensive analysis of documents containing substantial textual content and complex layouts. While Multimodal Large Language Models (MLLMs) have achieved fast progress in this domain, existing approaches either demand significant computational resources or struggle with effective multi-modal integration. In this paper, we introduce DocLayLLM, an efficient multi-modal extension of LLMs specifically designed for TDU. By lightly integrating visual patch tokens and 2D positional tokens into LLMs' input and encoding the document content using the LLMs themselves, we fully take advantage of the document comprehension capability of LLMs and enhance their perception of OCR information. We have also deeply considered the role of chain-of-thought (CoT) and innovatively proposed the techniques of CoT Pre-training and CoT Annealing. Our DocLayLLM can achieve remarkable performances with lightweight training settings, showcasing its efficiency and effectiveness. Experimental results demonstrate that our DocLayLLM outperforms existing OCR-dependent methods and OCR-free competitors. Code and model are available at https://github.com/whlscut/DocLayLLM.
format Preprint
id arxiv_https___arxiv_org_abs_2408_15045
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understanding
Liao, Wenhui
Wang, Jiapeng
Li, Hongliang
Wang, Chengyu
Huang, Jun
Jin, Lianwen
Computer Vision and Pattern Recognition
Text-rich document understanding (TDU) requires comprehensive analysis of documents containing substantial textual content and complex layouts. While Multimodal Large Language Models (MLLMs) have achieved fast progress in this domain, existing approaches either demand significant computational resources or struggle with effective multi-modal integration. In this paper, we introduce DocLayLLM, an efficient multi-modal extension of LLMs specifically designed for TDU. By lightly integrating visual patch tokens and 2D positional tokens into LLMs' input and encoding the document content using the LLMs themselves, we fully take advantage of the document comprehension capability of LLMs and enhance their perception of OCR information. We have also deeply considered the role of chain-of-thought (CoT) and innovatively proposed the techniques of CoT Pre-training and CoT Annealing. Our DocLayLLM can achieve remarkable performances with lightweight training settings, showcasing its efficiency and effectiveness. Experimental results demonstrate that our DocLayLLM outperforms existing OCR-dependent methods and OCR-free competitors. Code and model are available at https://github.com/whlscut/DocLayLLM.
title DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understanding
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.15045