Introduction
The field of Document Analysis and Recognition (DAR) has traditionally focused on isolated page processing, such as extracting text from a single form or table. While Visual Question Answering (VQA) has advanced significantly, most benchmarks still provide the model with the specific image containing the answer. In contrast, real-world tasks often involve searching through extensive archives—historical records, legal filings, or corporate invoices—to find and synthesize information. This paper introduces DocCVQA, a novel challenge that shifts the focus from single-page analysis to reasoning over entire document collections.
The DocCVQA Challenge
DocCVQA requires models to perform two integrated tasks:
- Evidence Retrieval: Identifying the specific document IDs within a collection that contain the necessary information.
- Answering: Extracting or generating the correct response based on the retrieved evidence.
To evaluate performance on lists of answers (e.g., a candidate's years of candidacy), the authors propose ANLSL (Average Normalized Levenshtein Similarity for Lists). This metric extends the standard ANLS to handle sets of strings where order is irrelevant, while still penalizing OCR inaccuracies.
Dataset: US Public Disclosure Commission Records
The DocCVQA dataset comprises 14,362 document images sourced from the US Public Disclosure Commission (PDC). These documents are primarily Candidate Registration forms, which present a significant challenge due to their mix of typewritten and handwritten text, complex layouts, and various checkboxes.
The dataset includes 20 complex natural language questions requiring cross-document reasoning. For example, a system might be asked to list all years a specific individual ran for office, necessitating the retrieval and analysis of multiple forms spanning different election cycles.
Methodology
The authors evaluated two baseline approaches to establish performance benchmarks:
- Text Spotting + QA Pipeline: This approach uses keyword-based retrieval. Documents are ranked by similarity to question keywords identified via Part-of-Speech tagging. The text from top-ranked documents is then processed by a BERT-based model to extract answers.
- Database-Centric Approach: This "ad-hoc" pipeline uses commercial OCR (Amazon Textract) to convert the entire collection into a structured database of key-value pairs. Answers are then retrieved using manually crafted queries, representing a performance "ceiling" for current technology.
Key Insights and Results
The study revealed several critical hurdles in collection-level VQA:
- Retrieval vs. Answering: The Database approach significantly outperformed the BERT pipeline, achieving an ANLSL of 0.7068 versus 0.4513. Even with perfect "Ground Truth" retrieval, the Database approach's score rose to 0.8473, highlighting that OCR and extraction errors remain significant bottlenecks.
- The "No" Problem: Extractive models like BERT struggle with Boolean questions. If a candidate did not select a specific checkbox, the answer is "No," but since "No" is often not explicitly written on the page, extractive models fail to produce it.
- Serialization Loss: Converting 2D document layouts into 1D text strings for NLP models often breaks the spatial relationship between headers and values, leading to extraction failures.
Conclusion
DocCVQA highlights the "retrieval-answering" gap in current Document AI. While structured database approaches are accurate, they are brittle and require manual intervention. The authors suggest that future research should focus on single-stage models capable of reasoning over entire collections holistically, rather than relying on decoupled retrieval and reading pipelines.
Summary updated