atlas

Research map / Vision-language and multimodal / Visual question answering

GRAM: Global Reasoning for Multi-Page VQA

CVPR 2024 · Vision-language and multimodal › Visual question answering · approach: Attention and prior-robust VQA · 13 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.

Extends a pretrained single-page DocFormerv2 to multi-page DocVQA via interleaved page/document-token attention layers, a decaying doc-token attention bias, and an optional compression transformer (C-Former) for latency trade-offs.

Problem

Multi-page document visual question answering (MP-DocVQA) requires processing long sequences of many pages, but transformer self-attention scales quadratically and pretraining multi-page models is costly and data-scarce.

Approach

Interleave pretrained single-page encoder layers (applied per page with learnable doc tokens) with a slim document-level self-attention layer over only the doc tokens, so cross-page information flows with near-linear cost in page count; add a head-wise decaying bias favoring doc tokens and a compression transformer before decoding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GRAM instead of DocFormerv2concatDocFormerv2 base · MPDocVQA testANLS: 69.67 -> 73.68Helped
Use GRAM instead of DocFormerv2concatDocFormerv2 large · MPDocVQA testANLS: 76.40 -> 80.32Helped
Use GRAM instead of DocFormerv2concatDocFormerv2 large · DUDE testANLS: 48.44 -> 51.15Helped
Train on both MPDocVQA and DUDE rather than MPDocVQA onlyGRAM large · DUDE testANLS: 51.15 -> 53.36Helped
Add 32 doc tokens rather than using no doc tokens (ablation)GRAM · DUDE validation, all pagesANLS: 46.16 -> 47.88Helped
Use decaying bias adaptation rather than no bias (ablation)GRAM · DUDE validation, all pagesANLS: +0.36%Helped
Use decaying rather than constant bias adaptation (ablation)GRAM · DUDE validation, all pagesANLS: 46.14 -> 47.88Helped
Add page embeddings (ablation)GRAM · DUDE validation, all pagesANLS: 46.12 -> 47.88Helped
Replace page-based segmentation with fixed-length segments (ablation)GRAM · DUDE validation, all pagesANLS: 47.88 -> 45.22; 45.09; 44.39Hurt
Increase C-Former output length from 8 to 4096 (ablation)GRAM with C-Former · DUDE validation, all pagesANLS: 39.83 -> 43.59Helped
Add C-Former compression before decodingGRAM large · MPDocVQA testANLS: 80.32 -> 77.60Hurt
Add C-Former compression before decodingGRAM large · DUDE testANLS: 51.15 -> 45.47Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MPDocVQA DUDE DocVQA

Benchmarks: MPDocVQA DUDE

Metrics: ANLS

Baselines: Longformer BigBird LayoutLMv3 Hi-VT5 T5-2D DocGptVQA DocBlipVQA DocFormerv2concat

Builds on: DocFormerv2 T5 ALiBi Hi-VT5 Longformer

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