atlas

Research map / Large language models / Language, safety and interpretability

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

CVPR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LayTokenLLM, which compresses each OCR text segment's bounding box into a single learnable-query layout token, shares position IDs between text and layout tokens, and pretrains with a next-interleaved text-and-layout token prediction objective for document understanding.

Problem

Layout-as-token methods for LLM document understanding allocate extra position IDs to layout tokens, which reduces the position range available for text and causes untrained position IDs in long multi-page contexts.

Approach

Represent each text segment's layout as one layout token (attention pooling over a projected bounding box with a learnable query), assign it the position ID of the segment's first text token so no extra position IDs are needed, and train with a next-token objective that predicts both text tokens (CE) and layout coordinates (MSE).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the layout tokenizer to compress layout information (ablation)LayTokenLLM · Single-page document tasksANLS average: 80.07 -> 78.89Hurt
Add the layout tokenizer to compress layout information (ablation)LayTokenLLM · Multi-page document tasksANLS average: 50.09 -> 58.22Helped
Add LayPosID positional encoding (ablation)LayTokenLLM with layout tokenizer · Single-page document tasksANLS average: 78.89 -> 79.27Helped
Add LayPosID positional encoding (ablation)LayTokenLLM with layout tokenizer · Multi-page document tasksANLS average: 58.22 -> 60.50Helped
Add NTLP pre-training objective (ablation)LayTokenLLM with LayPosID · Single-page document tasksANLS average: 79.27 -> 81.51Helped
Add NTLP pre-training objective (ablation)LayTokenLLM with LayPosID · Multi-page document tasksANLS average: 60.50 -> 61.27Helped

Surprising findings

Limitations

Experimental setup

Datasets: LayoutLLM layout-aware SFT data DocVQA SIBR MP-DocVQA DUDE FUNSD CORD

Benchmarks: DocVQA SIBR FUNSD CORD MP-DocVQA DUDE

Metrics: ANLS F1 FLOPs/MACs

Baselines: Qwen1.5-7B-Chat Llama3-8B-Instruct DocLLM LayoutLLM LayTextLLM InternVL2-8B TextMonkey QwenVL Idefics3-8B MPLUG-DocOwl2-8B LongVA-7B LLaVA-next-interleave-7B

Builds on: LayoutLLM LayTextLLM RoPE LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy