pdfQA: Diverse, Challenging, and Realistic Question Answering over PDFs
Tobias Schimanski, Imene Kolli, Yu Fan, Ario Saeid Vaghefi, Jingwei Ni, Elliott Ash, Markus Leippold
TL;DR
The paper tackles the lack of realistic, cross-domain benchmarks for evidence-based QA over PDFs by introducing pdfQA, a 4K dataset comprising synthetic syn-pdfQA and real-pdfQA. It employs a four-step synthetic data generation pipeline and integrates nine human-annotated PDF benchmarks, both subjected to stringent quality and difficulty filters to yield valid, challenging QA pairs. Experiments with open-source long-context QA systems reveal that performance correlates with complexity dimensions and that real-pdfQA is notably more challenging than synthetic data, highlighting gaps in current approaches for long-context PDF QA. Overall, pdfQA provides a comprehensive, end-to-end evaluation platform for parsing, retrieval, and reasoning in PDF QA, while acknowledging limitations related to external validity, filter conservativeness, and long-context methodologies.
Abstract
PDFs are the second-most used document type on the internet (after HTML). Yet, existing QA datasets commonly start from text sources or only address specific domains. In this paper, we present pdfQA, a multi-domain 2K human-annotated (real-pdfQA) and 2K synthetic dataset (syn-pdfQA) differentiating QA pairs in ten complexity dimensions (e.g., file type, source modality, source position, answer type). We apply and evaluate quality and difficulty filters on both datasets, obtaining valid and challenging QA pairs. We answer the questions with open-source LLMs, revealing existing challenges that correlate with our complexity dimensions. pdfQA presents a basis for end-to-end QA pipeline evaluation, testing diverse skill sets and local optimizations (e.g., in information retrieval or parsing).
