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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# pdfQA: Diverse, Challenging, and Realistic Question Answering over PDFs
|
| 6 |
+
|
| 7 |
+
[pdfQA](https://arxiv.org/abs/2601.02285) is a structured benchmark collection for document-level question answering and PDF understanding research.
|
| 8 |
+
|
| 9 |
+
The dataset is organized to support:
|
| 10 |
+
|
| 11 |
+
* Raw document processing research
|
| 12 |
+
* Structured extraction pipelines
|
| 13 |
+
* Retrieval-augmented QA
|
| 14 |
+
* End-to-end document reasoning systems
|
| 15 |
+
|
| 16 |
+
It preserves original documents alongside structured derivatives to enable reproducible evaluation across preprocessing strategies.
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## Dataset Structure
|
| 21 |
+
|
| 22 |
+
The repository follows a strict hierarchical layout:
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
<category>/<type>/<dataset>/...
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
### Categories
|
| 29 |
+
|
| 30 |
+
* `real-pdfQA/` — Real-world benchmark datasets
|
| 31 |
+
* `syn-pdfQA/` — Synthetic benchmark datasets
|
| 32 |
+
|
| 33 |
+
### Types
|
| 34 |
+
|
| 35 |
+
Each dataset contains three file-type folders:
|
| 36 |
+
|
| 37 |
+
* `01.1_Input_Files_Non_PDF/` — Original source formats (e.g., xlsx, epub, htm, tex, txt)
|
| 38 |
+
* `01.2_Input_Files_PDF/` — Original PDF files
|
| 39 |
+
* `01.3_Input_Files_CSV/` — Structured annotations / tabular representations
|
| 40 |
+
|
| 41 |
+
### Datasets
|
| 42 |
+
Each type folder contains subfolders for individual datasets. Supported datasets include:
|
| 43 |
+
|
| 44 |
+
#### Real-world Datasets
|
| 45 |
+
- `ClimateFinanceBench/`
|
| 46 |
+
- `ClimRetrieve/`
|
| 47 |
+
- `FeTaQA/`
|
| 48 |
+
- `FinanceBench/`
|
| 49 |
+
- `FinQA/`
|
| 50 |
+
- `NaturalQuestions/`
|
| 51 |
+
- `PaperTab/`
|
| 52 |
+
- `PaperText/`
|
| 53 |
+
- `Tat-QA/`
|
| 54 |
+
|
| 55 |
+
#### Synthetic Datasets
|
| 56 |
+
- `books/`
|
| 57 |
+
- `financial_reports/`
|
| 58 |
+
- `sustainability_disclosures/`
|
| 59 |
+
- `research_articles/`
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
### Example
|
| 63 |
+
|
| 64 |
+
```
|
| 65 |
+
syn-pdfQA/
|
| 66 |
+
01.2_Input_Files_PDF/
|
| 67 |
+
books/
|
| 68 |
+
file1.pdf
|
| 69 |
+
01.3_Input_Files_CSV/
|
| 70 |
+
books/
|
| 71 |
+
file1.csv
|
| 72 |
+
01.1_Input_Files_Non_PDF/
|
| 73 |
+
books/
|
| 74 |
+
file1.xlsx
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
This design allows:
|
| 78 |
+
|
| 79 |
+
* Access to original PDFs
|
| 80 |
+
* Access to structured evaluation data
|
| 81 |
+
* Access to original source formats for preprocessing research
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
## Intended Use
|
| 86 |
+
|
| 87 |
+
This dataset is intended for:
|
| 88 |
+
|
| 89 |
+
* PDF parsing and layout understanding
|
| 90 |
+
* Financial and sustainability document QA
|
| 91 |
+
* Retrieval-augmented generation (RAG)
|
| 92 |
+
* Multi-modal document pipelines
|
| 93 |
+
* Table extraction and structured reasoning
|
| 94 |
+
* Robustness evaluation across preprocessing pipelines
|
| 95 |
+
|
| 96 |
+
It is particularly useful for comparing:
|
| 97 |
+
|
| 98 |
+
* Direct PDF-based reasoning
|
| 99 |
+
* OCR pipelines
|
| 100 |
+
* Structured table extraction
|
| 101 |
+
* Raw-source ingestion approaches
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## Access Patterns
|
| 106 |
+
|
| 107 |
+
The dataset can be accessed in multiple ways depending on research needs. Scripts for downloading specific subsets are provided on [Github](https://github.com/tobischimanski/pdfQA).
|
| 108 |
+
|
| 109 |
+
The repository supports multiple usage patterns:
|
| 110 |
+
|
| 111 |
+
#### Download Everything
|
| 112 |
+
|
| 113 |
+
Clone the entire repository (includes Git LFS objects).
|
| 114 |
+
|
| 115 |
+
#### Download by Category
|
| 116 |
+
|
| 117 |
+
Download only `real-pdfQA/` or only `syn-pdfQA/`.
|
| 118 |
+
|
| 119 |
+
#### Download by Dataset
|
| 120 |
+
|
| 121 |
+
Download a specific dataset across all file types.
|
| 122 |
+
|
| 123 |
+
#### Download by Dataset + Type
|
| 124 |
+
|
| 125 |
+
Example:
|
| 126 |
+
|
| 127 |
+
* Only PDFs for a dataset
|
| 128 |
+
* Only CSV annotations for a dataset
|
| 129 |
+
* Only raw source files for a dataset
|
| 130 |
+
|
| 131 |
+
#### Download Single File
|
| 132 |
+
|
| 133 |
+
Individual files can be downloaded directly via the Hugging Face API.
|
| 134 |
+
|
| 135 |
+
Example (Python):
|
| 136 |
+
|
| 137 |
+
```python
|
| 138 |
+
from huggingface_hub import hf_hub_download
|
| 139 |
+
|
| 140 |
+
hf_hub_download(
|
| 141 |
+
repo_id="pdfqa/pdfQA",
|
| 142 |
+
repo_type="dataset",
|
| 143 |
+
filename="syn-pdfQA/01.2_Input_Files_PDF/FinQA/AAL_2010.pdf"
|
| 144 |
+
)
|
| 145 |
+
```
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
## Data Modalities
|
| 150 |
+
|
| 151 |
+
Depending on the dataset:
|
| 152 |
+
|
| 153 |
+
* Financial reports
|
| 154 |
+
* Sustainability disclosures
|
| 155 |
+
* Structured financial QA corpora
|
| 156 |
+
* Table-heavy documents
|
| 157 |
+
* Mixed structured/unstructured content
|
| 158 |
+
|
| 159 |
+
Formats may include:
|
| 160 |
+
|
| 161 |
+
* PDF
|
| 162 |
+
* CSV
|
| 163 |
+
* XLS/XLSX
|
| 164 |
+
* EPUB
|
| 165 |
+
* HTML/HTM
|
| 166 |
+
* TEX
|
| 167 |
+
* TXT
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|
| 171 |
+
## Research Motivation
|
| 172 |
+
|
| 173 |
+
Many document QA benchmarks release only structured data or only PDFs.
|
| 174 |
+
pdfQA preserves **all representations**:
|
| 175 |
+
|
| 176 |
+
* Original document
|
| 177 |
+
* Structured derivative
|
| 178 |
+
* Raw source format (if available)
|
| 179 |
+
|
| 180 |
+
This enables:
|
| 181 |
+
|
| 182 |
+
* Studying preprocessing impact
|
| 183 |
+
* Comparing parsing strategies
|
| 184 |
+
* Evaluating robustness to format variation
|
| 185 |
+
* End-to-end pipeline benchmarking
|
| 186 |
+
|
| 187 |
+
---
|
| 188 |
+
|
| 189 |
+
## Limitations
|
| 190 |
+
|
| 191 |
+
* Some datasets originate from external benchmarks and inherit their constraints.
|
| 192 |
+
* Synthetic datasets may not reflect real-world noise distribution.
|
| 193 |
+
* File sizes can be large due to preservation of raw formats.
|
| 194 |
+
* Users must install Git LFS for full cloning.
|
| 195 |
+
|
| 196 |
+
---
|
| 197 |
+
|
| 198 |
+
## License
|
| 199 |
+
|
| 200 |
+
Each sub-dataset inherits the license of its original source.
|
| 201 |
+
Users must ensure compliance with the licensing terms of individual datasets.
|
| 202 |
+
|
| 203 |
+
If you use this collection, please cite the original datasets in addition to this repository.
|
| 204 |
+
|
| 205 |
+
---
|
| 206 |
+
|
| 207 |
+
## Citation
|
| 208 |
+
|
| 209 |
+
If you use **pdfQA**, please cite:
|
| 210 |
+
|
| 211 |
+
```
|
| 212 |
+
@misc{schimanski2026pdfqa,
|
| 213 |
+
title={pdfQA: Diverse, Challenging, and Realistic Question Answering over PDFs},
|
| 214 |
+
author={Tobias Schimanski and Imene Kolli and Yu Fan and Ario Saeid Vaghefi and Jingwei Ni and Elliott Ash and Markus Leippold},
|
| 215 |
+
year={2026},
|
| 216 |
+
eprint={2601.02285},
|
| 217 |
+
archivePrefix={arXiv},
|
| 218 |
+
primaryClass={cs.CL},
|
| 219 |
+
url={https://arxiv.org/abs/2601.02285},
|
| 220 |
+
}
|
| 221 |
+
```
|
| 222 |
+
|
| 223 |
+
---
|
| 224 |
+
|
| 225 |
+
## Contact
|
| 226 |
+
|
| 227 |
+
Visit [https://github.com/tobischimanski/pdfQA](https://github.com/tobischimanski/pdfQA) for access and updates.
|