paper-with-me

Papers

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, Jingqun Tang, Ziwei Yang, Binghong Wu, Qi Liu, Hao Feng, Han Wang, Hao liu, Can Huang

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 methods that integrate spatial layouts with text have limitations, such as producing overly long text sequences or failing to fully leverage the autoregressive traits of LLMs. In this work, we introduce Interleaving Layout and Text in a Large Language Model (LayTextLLM)} for document understanding. LayTextLLM projects each bounding box to a single embedding and interleaves it with text, efficiently avoiding long sequence issues while leveraging autoregressive traits of LLMs. LayTextLLM not only streamlines the interaction of layout and textual data but also shows enhanced performance in KIE and VQA. Comprehensive benchmark evaluations reveal significant improvements of LayTextLLM, with a 15.2% increase on KIE tasks and 10.7% on VQA tasks compared to previous SOTA OCR-based LLMs. All resources are available at https://github.com/LayTextLLM/LayTextLLM.

📄 PDF Abstract BibTeX arXiv:2407.01976

Code (1)

laytextllm/laytextllm 공식 구현 pytorch

Tasks

document understandingKey Information ExtractionLanguage ModelingLanguage ModellingLarge Language ModelOptical Character Recognition (OCR)Question AnsweringVisual Question AnsweringVisual Question Answering (VQA)

Similar Papers 제목 키워드 기반

TextGround4M: A Prompt-Aligned Dataset for Layout-Aware Text Rendering

2026-04-27 · Dongxing Mao, Yilin Wang, Linjie Li, Zhengyuan Yang 외 arxiv

Despite recent advances in text-to-image generation, models still struggle to accurately render prompt-specified text with correct spatial layout -- especially in multi-span, structured settings. This challenge is driven…

Text-to-Image Generation

PlanGen: Towards Unified Layout Planning and Image Generation in Auto-Regressive Vision Language Models

2025-03-13 · Runze He, Bo Cheng, Yuhang Ma, Qingxiang Jia 외

In this paper, we propose a unified layout planning and image generation model, PlanGen, which can pre-plan spatial layout conditions before generating images. Unlike previous diffusion-based models that treat layout pla…

Image GenerationImage ManipulationLayout-to-Image Generation

SLayR: Scene Layout Generation with Rectified Flow

2024-12-06 · Cameron Braunstein, Hevra Petekkaya, Jan Eric Lenssen, Mariya Toneva 외

We introduce SLayR, Scene Layout Generation with Rectified flow. State-of-the-art text-to-image models achieve impressive results. However, they generate images end-to-end, exposing no fine-grained control over the proce…

Layout Generation

Hierarchy Denoising Recursive Autoencoders for 3D Scene Layout Prediction

2019-03-09 · CVPR 2019 6 · Yifei Shi, Angel Xuan Chang, Zhelun Wu, Manolis Savva 외

Indoor scenes exhibit rich hierarchical structure in 3D object layouts. Many tasks in 3D scene understanding can benefit from reasoning jointly about the hierarchical context of a scene, and the identities of objects. We…

DenoisingObjectobject-detectionObject Detection+1

S2 Chunking: A Hybrid Framework for Document Segmentation Through Integrated Spatial and Semantic Analysis

2025-01-08 · Prashant Verma

Document chunking is a critical task in natural language processing (NLP) that involves dividing a document into meaningful segments. Traditional methods often rely solely on semantic analysis, ignoring the spatial layou…

ArticlesChunking