DocSEAM: Bidirectional Cross-Page Encoding for Multi-Page Document Understanding
Organizations: S-Lab, Nanyang Technological University · Synvo AI
Abstract
Multi-page document vision-language models encode each page independently, creating a feature-level discontinuity at page boundaries: visual tokens are formed without access to content on adjacent pages, and the language model must reason over these page representations formed in isolation. We introduce DocSEAM (Document Selective Enrichment via Anchored Masking), a lightweight module inserted between a pretrained vision encoder and the language model that injects the inductive bias of local cross-page context into visual representations. For each page, DocSEAM forms a local triplet with its two neighbors, applies center-anchored masked self-attention with directional salience gates to fuse information from neighbor pages, and returns only the enriched center-page tokens, leaving the visual token count unchanged. After a supervised cross-page warm-up and multi-page fine-tuning with DocSEAM frozen, our 9B-parameter model achieves state-of-the-art results among the evaluated open-weight models of up to 10B parameters on five multi-page document VQA benchmarks. We further show that under controlled re-pagination, DocSEAM reduces sensitivity to boundary placement and improves cross-page span localization
Figures & tables
| Method | Venue | Size | DUDE | MP- DocVQA | Slide VQA | MMLong Bench | Long DocURL |
| Proprietary | |||||||
| GPT-4o † | – | – | 54.1 | 67.4 | – | 42.8 | 64.5 |
| Gemini 3 Pro † | – | – | 70.1 | – | – | 59.5 | 72.0 |
| Open-weight ( 10B) | |||||||
| M3DocRAG | arXiv’24 | 9B | – | 84.4 | 55.7 | 21.0 | 35.1 |
| DocOwl2 | ACL’25 | 8B | 46.8 | 69.4 | – | 13.4 | 5.3 |
| Model | Cross-page lookup | Single-page lookup | Existence check |
| Qwen3.5 (zero-shot) | 50.2 | 86.0 | 91.8 |
| Qwen3.5 + SFT (baseline) | 65.0 | 70.0 | 95.6 |
| Qwen3.5 + DocSEAM (ours) | 85.8 | 94.2 | 94.0 |
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
| Evidence topology | Zero-shot | SFT | DocSEAM | ||
| Single page | 57.5 | 47.5 | 63.0 | +5.5 | +15.5 |
| Adjacent two pages | 58.0 | 47.0 | 69.5 | +11.5 | +22.5 |
| Multiple ( 3, adj.) | 48.8 | 38.4 | 60.1 | +11.3 | +21.7 |
| Non-adjacent only | 48.8 | 40.0 | 54.7 | +5.9 | +14.7 |
| Overall | 54.5 | 42.8 | 62.9 | +8.4 | +20.1 |
| Model | Overall | T-Text | T-Table |
| End-to-end specialized | |||
| FireRed-OCR | 69.3 | 0.178 | 62.6 |
| DeepSeek-OCR2 | 75.6 | 0.284 | 63.0 |
| dots.ocr | 74.2 | 0.303 | 60.7 |
| General VLMs | |||
| Gemini 3.1 Pro | 71.8 | 0.232 | 61.3 |
| Variant | MMLong Bench | Long DocURL |
| Qwen3.5 + SFT (no DocSEAM) | 44.5 | 42.8 |
| Capacity controls | ||
| + Self-as-neighbor | 45.1 | 43.5 |
| + Dup. vision-enc. layers | 45.8 | 44.1 |
| + Single-page transformer | 46.2 | 44.5 |
| Module design | ||
| Variant | Stage A data | Stage B data | Trainable in Stage A |
| SFT baseline (B only) | ✗ | ✓ | - |
| SFT baseline (A+B) † | combined, single stage | LoRA | |
| Baseline two-stage | ✓ | ✓ | LoRA (no DocSEAM) |
| DocSEAM (mixture control) | Downstream mixture | ✓ | DocSEAM only |
| DocSEAM (ours) | Boundary data | ✓ | DocSEAM only |
| Backbone | LongDocURL | MMLongBench | ||||
| Base | Base + SFT | +DocSEAM | Base | Base + SFT | +DocSEAM | |
| Qwen2.5-VL-7B | 37.8 | 42.7 | 53.3 | 25.4 | 28.8 | 39.5 |
| Qwen3.5-9B | 54.5 | 42.8 | 62.9 | 57.1 | 44.5 | 58.3 |
| Gemma3-4B | 34.7 | 39.5 | 42.6 | 20.1 | 25.2 | 33.6 |
| Backbone | Variant | DUDE | MP-DocVQA | SlideVQA | MMLongBench-Doc | LongDocURL |
| Qwen3.5-4B | Zero-shot | 43.6 | 79.2 | 67.3 | 51.9 | 51.4 |
| SFT | 51.1 | 83.6 | 81.2 | 37.9 | 38.8 | |
| +DocSEAM | 57.5 | 86.3 | 79.6 | 38.2 | 53.3 | |
| Qwen2.5-VL-7B | Zero-shot | 35.2 | 70.1 | 59.8 | 25.4 | 37.8 |
| SFT | 56.0 | 82.9 | 67.4 | 28.8 | 42.7 | |
| +DocSEAM | 58.0 | 88.3 | 80.0 | 39.5 | 53.3 |
| Boundary handling | MMLongBench-Doc | LongDocURL |
| Self-fallback (ours) | 58.3 | 62.9 |
| Blank white page (inference only) | 58.1 | 62.7 |
| Learned null-page embedding (retrained) | 57.9 | 62.4 |
| Gate input | MMLongBench-Doc | LongDocURL | Content/margin ratio |
| Visual token only, no positional feature | 56.9 | 60.6 | 1.1 |
| Absolute-row sinusoidal encoding | 57.4 | 61.5 | 1.2 |
| Content-frontier encoding (ours) | 58.3 | 62.9 | 1.4 |
| Gate direction | Top band | Middle | Bottom band | Relevant boundary | Relevant/ Opposite |
| Next-page gates (should concentrate on bottom) | |||||
| send_to_next | 0.13 | 0.25 | 0.46 | bottom | 3.5 |
| recv_from_next | 0.16 | 0.26 | 0.45 | bottom | 2.8 |
| Previous-page gates (should concentrate on top) | |||||
| recv_from_prev | 0.46 | 0.25 | 0.15 | top | 3.1 |
| send_to_prev | 0.47 | 0.24 | 0.12 | top | 3.9 |
| Model | MMLongBench-Doc | LongDocURL | ||||
| Orig. | Pres. | Break | Orig. | Pres. | Break | |
| SFT | 44.5 | 42.1 | 40.9 | 42.8 | 41.5 | 39.9 |
| SFT + re-pagination augmentation | 44.4 | 41.9 | 40.7 | 43.5 | 42.1 | 40.3 |
| DocSEAM | 58.3 | 57.6 | 56.8 | 62.9 | 61.8 | 61.1 |
| Method | MMLong Bench-Doc | LongDocURL | ||
| Overall | Adjacent two-page | Non-adjacent only | ||
| Zero-shot baseline | 57.1 | 54.5 | 58.0 | 48.8 |
| SFT baseline | 44.5 | 42.8 | 47.0 | 40.0 |
| SVE (in-encoder, causal) | 45.2 | 43.4 | 47.6 | 38.7 |
| Post-encoder, bidirectional, no mask or gates | 55.2 | 57.8 | 64.1 | 50.3 |
| DocSEAM | 58.3 | 62.9 | 69.5 | 54.7 |
Document Understanding
Document understanding enables machines to interpret text, layout, tables, and images to extract information and answer questions about documents.
See all 97 papers