atlas

Research map / Vision-language and multimodal / Human and embodied modeling

DocFormerv2: Local Features for Document Understanding

AAAI 2024 · Vision-language and multimodal › Human and embodied modeling · approach: Layout-aware document understanding · 52 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 DocFormerv2, an encoder-decoder multimodal transformer for visual document understanding, pre-trained on 64M IDL documents with two encoder tasks (token-to-line, token-to-grid) and one decoder denoising LM task, and fine-tuned for document, table, form, and scene-text VQA.

Problem

Visual document understanding requires jointly modeling text, visual layout, and spatial features; prior encoder-only or heavily CNN-based models lack local layout-relative alignment and are complex to build.

Approach

An encoder-decoder transformer with a simple linear visual embedding (no object detector), trained with asymmetric pre-training: two local-alignment tasks on the encoder (predicting line distance between token pairs and the grid cell of each token) plus masked language modeling with masked spatial features on the decoder.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add Token-to-Line pre-training to visual features (ablation)DocFormerv2-small · DocVQAANLS: 69 -> 71.2Helped
add Token-to-Grid pre-training to visual features (ablation)DocFormerv2-small · DocVQAANLS: 69 -> 71.7Helped
add Token-to-Line and Token-to-Grid pre-training to visual features (ablation)DocFormerv2-small · DocVQAANLS: 69 -> 73.0Helped
add visual features (ablation)DocFormerv2-small · FUNSDF1: 82.7 -> 83.3Helped
add Token-to-Line pre-training to visual features (ablation)DocFormerv2-small · FUNSDF1: 83.3 -> 82.5Hurt
add visual features (ablation)DocFormerv2-small · ST-VQAevaluation accuracyHelped
add Token-to-Line pre-training to visual features (ablation)DocFormerv2-small · ST-VQAevaluation accuracy: 64.9 -> 64.9No clear effect
add Token-to-Grid pre-training to visual features (ablation)DocFormerv2-small · TextVQAevaluation accuracy: 55.8 -> 54.3Hurt
increase pre-training data from 11M to 64M documents (ablation)DocFormerv2-base · FUNSDF1: 86.1 -> 87.9Helped
increase pre-training data from 11M to 64M documents (ablation)DocFormerv2-base · CORDF1: 96.2 -> 96.8Helped
replace linear image features with Swinv2-small image encoder (ablation)DocFormerv2-small · DocVQAANLS: 70.5 -> 66.2Hurt
use extra document VQA data before fine-tuningDocFormerv2-large · DocVQA testANLS: 87.05 -> 87.84Helped

Surprising findings

Limitations

Experimental setup

Datasets: IDL (Industry Documents Library) 64M TabFact WikiTable DocVQA InfographicsVQA FUNSD CORD OCR-VQA TextVQA ST-VQA

Benchmarks: TabFact WikiTable DocVQA InfographicsVQA FUNSD CORD OCR-VQA TextVQA ST-VQA

Metrics: accuracy ANLS F1

Baselines: LayoutLMv3 UDOP TILT LayoutLMv2 LaTr GIT GIT2 PaLi Flamingo Donut Pix2Struct FormNet

Builds on: TILT DocFormer T5 LayoutLMv2

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