paper-with-me

홈 › Papers

A Simple yet Effective Layout Token in Large Language Models for Document Understanding

2025-03-24 · CVPR 2025 1 · Zhaoqing Zhu, Chuwei Luo, Zirui Shao, Feiyu Gao, Hangdi Xing, Qi Zheng, Ji Zhang

Recent methods that integrate spatial layouts with text for document understanding in large language models (LLMs) have shown promising results. A commonly used method is to represent layout information as text tokens and interleave them with text content as inputs to the LLMs. However, such a method still demonstrates limitations, as it requires additional position IDs for tokens that are used to represent layout information. Due to the constraint on max position IDs, assigning them to layout information reduces those available for text content, reducing the capacity for the model to learn from the text during training, while also introducing a large number of potentially untrained position IDs during long-context inference, which can hinder performance on document understanding tasks. To address these issues, we propose LayTokenLLM, a simple yet effective method for document understanding. LayTokenLLM represents layout information as a single token per text segment and uses a specialized positional encoding scheme. It shares position IDs between text and layout tokens, eliminating the need for additional position IDs. This design maintains the model's capacity to learn from text while mitigating long-context issues during inference. Furthermore, a novel pre-training objective called Next Interleaved Text and Layout Token Prediction (NTLP) is devised to enhance cross-modality learning between text and layout tokens. Extensive experiments show that LayTokenLLM outperforms existing layout-integrated LLMs and MLLMs of similar scales on multi-page document understanding tasks, as well as most single-page tasks.

📄 PDF Abstract BibTeX arXiv:2503.18434

Code (0)

등록된 구현이 없습니다.

Tasks

document understandingPosition

Similar Papers 제목 키워드 기반

Layout-Corrector: Alleviating Layout Sticking Phenomenon in Discrete Diffusion Model

2024-09-25 · Shoma Iwai, Atsuki Osanai, Shunsuke Kitada, Shinichiro Omachi

Layout generation is a task to synthesize a harmonious layout with elements characterized by attributes such as category, position, and size. Human designers experiment with the placement and modification of elements to …

Layout Generation

PPE: Positional Preservation Embedding for Token Compression in Multimodal Large Language Models

2025-10-27 · Mouxiao Huang, Borui Jiang, Dehua Zheng, Hailin Hu 외 arxiv

Multimodal large language models (MLLMs) have achieved strong performance on vision-language tasks, yet often suffer from inefficiencies due to redundant visual tokens. Existing token merging methods reduce sequence leng…

A Bounding Box is Worth One Token: Interleaving Layout and Text in a Large Language Model for Document Understanding

2024-07-02 · Jinghui Lu, Haiyang Yu, Yanjie Wang, YongJie Ye 외

Recently, many studies have demonstrated that exclusively incorporating OCR-derived text and spatial layouts with large language models (LLMs) can be highly effective for document understanding tasks. However, existing m…

document understandingKey Information ExtractionLanguage ModelingLanguage Modelling+5

LAMBERT: Layout-Aware (Language) Modeling for information extraction

2020-02-19 · Łukasz Garncarek, Rafał Powalski, Tomasz Stanisławek, Bartosz Topolski 외

We introduce a simple new approach to the problem of understanding documents where non-trivial layout influences the local semantics. To this end, we modify the Transformer encoder architecture in a way that allows it to…

Key Information ExtractionLanguage ModelingLanguage ModellingOptical Character Recognition (OCR)

LayoutGPT: Compositional Visual Planning and Generation with Large Language Models

2023-05-24 · NeurIPS 2023 11 · Weixi Feng, Wanrong Zhu, Tsu-Jui Fu, Varun Jampani 외

Attaining a high degree of user controllability in visual generation often requires intricate, fine-grained inputs like layouts. However, such inputs impose a substantial burden on users when compared to simple text inpu…

Image GenerationIndoor Scene SynthesisText to Image GenerationText-to-Image Generation