Text, Pixels, or Both? Evaluating Input Representations for Multimodal Document QA
Organizations: ServiceNow Canada
Abstract
Every document QA system begins with a choice that is rarely studied on its own: whether to feed the model page images, extracted text, or both. We isolate this choice, holding the prompt, judge, and scoring pipeline fixed, across four commercial model endpoints, two corpora, and two context regimes (gold evidence pages and the full document). On documents that fit the image budget, page images lead on accuracy at every document length on both corpora, but this advantage carries a growing latency and cost premium: text latency stays roughly flat as documents lengthen while image latency rises steadily. Text and images also fail on different questions, with exactly one representation correct on 19--25% of items across the reported cells, so neither subsumes the other. Exploiting this complementarity, a lightweight TF-IDF router that reads only the question text gains 2.6 points over always-text while cutting median latency 30% relative to always-vision, on a document-disjoint held-out split.
Figures & tables
| Corpus | Docs | 50-page Docs | Questions | 50-page Questions | Profile |
|---|---|---|---|---|---|
| Enterprise KB | 1,447 | 1,445 | 5,169 | 5,163 | Short support articles with screenshots, UI states, diagrams, and cross-modal references; median 4pp., max 237pp.; 99.86% of docs 50pp. |
| MMLongBench-Doc | 135 | 101 | 1,091 | 798 | Visually rich PDFs: reports, papers, manuals; cross-page and unanswerable questions ( Ma et al., 2024b ) ; median 28pp., max 468pp. (mean 48.3); 25% of docs 50pp. |
| Metric | Definition | Interpretation |
|---|---|---|
| Accuracy | , with the mean judged correctness across prediction and judge runs. | Average judged answer correctness; higher is better. |
| Pairwise disagreement | , where is the binary correctness label used for paired analysis. | Higher values indicate more complementary correctness outcomes. |
| Latency | Average seconds per question from run telemetry, by representation and regime. | High latency can make an accurate route impractical. |
| Oracle | Full | |||||
| Model | Text | Image | Text+Image | Text | Image | Text+Image |
| Enterprise KB | ||||||
| Gemini 3.1 Flash-Lite | 0.729 0.002 | 0.714 0.000 | ||||
| Gemini 3.1 Pro | 0.741 0.004 | 0.728 0.002 | ||||
| GPT-5.4 | 0.733 0.004 | 0.734 0.005 | ||||
| GPT-5.4-mini | 0.731 0.002 | 0.715 0.005 | ||||
| Oracle | Full | |||||
| Model | Text | Image | Text+Image | Text | Image | Text+Image |
| Enterprise KB | ||||||
| Gemini 3.1 Flash-Lite | ||||||
| Gemini 3.1 Pro | ||||||
| GPT-5.4 | ||||||
| GPT-5.4-mini | ||||||
| Strategy | Cost ($/100q) | Latency (s/q) |
|---|---|---|
| Oracle | ||
| Text | 0.61 | 3.25 |
| Image | 0.91 | 4.90 |
| Text+Image | 1.29 | 4.81 |
| Full | ||
| Text | 1.48 | 3.69 |
| Enterprise KB | MMLongBench-Doc | |||||||
|---|---|---|---|---|---|---|---|---|
| Text / Image | Image / Text+Image | Text / Image | Image / Text+Image | |||||
| Model | Oracle | Full | Oracle | Full | Oracle | Full | Oracle | Full |
| Gemini 3.1 Flash-Lite | 24.7 | 22.2 | 10.7 | 10.4 | 22.8 | 23.2 | 12.3 | 13.5 |
| Gemini 3.1 Pro | 20.4 | 19.2 | 6.7 | 8.4 | 19.3 | 21.2 | 10.4 | 16.0 |
| GPT-5.4 | 22.9 | 19.7 | 13.5 | 12.7 | 19.7 | 20.2 | 8.9 | 7.9 |
| GPT-5.4-mini | 24.6 | 22.6 | 14.0 | 14.2 | 23.4 | 20.6 | 9.6 | 9.5 |
| Strategy | Routing acc. | Gain vs text | Lat. |
|---|---|---|---|
| Overall | |||
| Always-text | 63.6% | 0.0 pp | 2.5 s |
| Always-vision | 67.7% | 4.1 pp | 4.4 s |
| TF-IDF router | 66.2% | 2.6 pp | 3.1 s |
| Enterprise KB | |||
| Always-text | 65.0% | 0.0 pp | 2.4 s |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | CORD-1k | DeepForm | FUNSD |
|---|---|---|---|
| Tesseract | 0.474 | 0.668 | 0.589 |
| EasyOCR | 0.511 | 0.855 | 0.428 |
| PaddleOCR | 0.801 | 0.956 | 0.746 |
| dots.mocr | 0.780 | 0.504 | 0.726 |
| In-house | 0.881 | 0.970 | 0.815 |
| Model | Representation | Regime | Acc ≤50 | Acc all | |
|---|---|---|---|---|---|
| Enterprise KB | |||||
| GPT-5.4 | Text | Full | |||
| GPT-5.4 | Text | Oracle | |||
| GPT-5.4 | Image | Full | |||
| GPT-5.4 | Image | Oracle | |||
| GPT-5.4 | Text+Image | Full | |||
| Model | Representation | Regime | Lat ≤50 | Lat all | (s) |
|---|---|---|---|---|---|
| Enterprise KB | |||||
| GPT-5.4 | Text | Full | |||
| GPT-5.4 | Text | Oracle | |||
| GPT-5.4 | Image | Full | |||
| GPT-5.4 | Image | Oracle | |||
| GPT-5.4 | Text+Image | Full | |||
| Oracle | Full | |||||
| Model | Text | Image | Text+Image | Text | Image | Text+Image |
| partial_correctness | ||||||
| Gemini 3.1 Flash-Lite | 44.9 | 53.0 | 52.9 | 46.0 | 52.0 | 52.1 |
| Gemini 3.1 Pro | 50.5 | 56.8 | 56.0 | 49.5 | 52.0 | 52.0 |
| GPT-5.4 | 51.5 | 49.1 | 54.7 | 52.4 | 45.5 | 52.0 |
| GPT-5.4-mini | 49.4 | 48.1 | 53.7 | 51.0 | 49.3 | 51.5 |
| Oracle | Full | |||||
| Model | Text | Image | Text+Image | Text | Image | Text+Image |
| partial_correctness | ||||||
| Gemini 3.1 Flash-Lite | 9.6 | 11.7 | 11.7 | 10.1 | 10.8 | 10.6 |
| Gemini 3.1 Pro | 9.3 | 11.7 | 10.5 | 10.8 | 8.5 | 10.6 |
| GPT-5.4 | 12.3 | 10.4 | 10.2 | 8.7 | 7.6 | 9.1 |
| GPT-5.4-mini | 9.0 | 9.2 | 8.8 | 11.0 | 8.8 | 9.3 |
Document QA
Document question answering uses AI to answer questions from text, tables, images, and structured content in documents.
See all 92 papers