Document Visual Question Answering Challenge 2020

Minesh Mathew, Rubèn Tito, Dimosthenis Karatzas, R. Manmatha, C. V. JawahararXiv 2020

Abstract

The 2020 Document Visual Question Answering (DocVQA) challenge represents a pivotal shift in computer vision and natural language processing research, moving beyond object identification in natural scenes to the sophisticated "reading" of complex document layouts. By introducing a massive dataset of 50,000 questions across thousands of document images, the authors established a benchmark requiring models to synthesize Optical Character Recognition (OCR), spatial layout analysis, and natural language understanding. This paper details the challenge's methodology, the diverse datasets employed, and the performance of state-of-the-art models in navigating real-world document hierarchies.

Introduction

While traditional Visual Question Answering (VQA) benchmarks have matured significantly, they primarily focus on natural scenes (e.g., "What color is the dog?"). However, a vast repository of human knowledge and business logic remains embedded in structured documents such as invoices, forms, reports, and letters. Standard OCR techniques can extract text but often discard critical visual context—such as the spatial relationship between a header and its corresponding value in a table. The DocVQA challenge addresses this gap, forcing models to interpret complex hierarchies and diverse templates to answer high-level queries.

Methodology and Evaluation

The challenge was structured into two primary tasks:

  1. Task 1: Single Document VQA. An extractive task where, given a single document image and a question, the model must locate the answer within the document's text.
  2. Task 2: Document Collection VQA. A retrieval-heavy task requiring models to identify the relevant document(s) from a collection of 14,362 similar templates (e.g., government forms) and then extract the correct answer.

Performance was measured using two key metrics:

  • Average Normalized Levenshtein Similarity (ANLS): Used for Task 1, this metric provides partial credit for minor OCR errors, offering a more nuanced evaluation than binary accuracy.
  • Mean Average Precision (MAP): Used to evaluate the retrieval accuracy in Task 2.

Datasets

The challenge introduced two foundational datasets:

  • Task 1 Dataset: Comprises 50,000 question-answer pairs over 12,767 document images sourced from the Industry Documents Library, ensuring a wide variety of layouts.
  • Task 2 Dataset: Features 20 complex questions posed over 14,362 images of US Candidate Registration forms, including both typewritten and handwritten entries.

Questions were categorized into nine types, including 'form', 'table/list', 'layout', 'running text', and 'handwritten', to test diverse reasoning capabilities.

Key Results and Insights

The competition results underscored the importance of integrating spatial geometry with linguistic understanding. Models that relied solely on text (e.g., Plain BERT QA) performed significantly worse than those designed to incorporate layout information.

ANLS scores across different document categories for submitted methods.

As shown in the performance breakdown above, models generally performed better on structured 'forms' and 'tables' compared to 'handwritten' or 'running text' categories. In Task 1, the winning team, PingAn-OneConnect Gammalab-DQA, achieved a top ANLS score of 0.85.

Final ranking and ANLS scores for Task 1.

Task 2 proved considerably more challenging. While the top model achieved a MAP of 0.8090 for document retrieval, none of the submitted methods successfully extracted the actual answers, highlighting a significant gap in cross-document reasoning.

Conclusion and Future Work

The DocVQA 2020 challenge demonstrates that while models are becoming proficient at "reading" single documents, extracting data across large collections of similar forms remains an open problem. Handwriting recognition continues to be a major hurdle for standard OCR-based pipelines. Future research will likely focus on enhancing multi-page reasoning, arithmetic operations over tabular data, and more robust integration of visual features for unstructured document understanding.

Summary updated

BibTeX
@misc{mathew2020document,
  author = {Minesh Mathew and Rubèn Tito and Dimosthenis Karatzas and R. Manmatha and C. V. Jawahar},
  title = {{Document Visual Question Answering Challenge 2020}},
  year = {2020},
  eprint = {2008.08899},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.08899},
}
Figure