Download README.md from pubpub/pubtables-qa_v3: direct link, hf CLI and curl.
- Browser
- Download file 9.91 kB
-
https://huggingface.co/datasets/pubpub/pubtables-qa_v3/resolve/main/README.md
- Command line
-
hf download hf://datasets/pubpub/pubtables-qa_v3/README.md
-
curl -L -o README.md https://huggingface.co/datasets/pubpub/pubtables-qa_v3/resolve/main/README.md
license: cc-by-4.0
configs:
- config_name: default
data_files:
- split: test
path: data/test.jsonl
task_categories:
- question-answering
- visual-question-answering
- document-question-answering
language:
- en
tags:
- table
- document-understanding
- multi-page
- scientific-documents
- VQA
size_categories:
- 1K<n<10K
PubTables-QA v3: A Multi-Page Document Table QA Benchmark
PubTables-QA is a benchmark for evaluating vision-language models on document-level table question answering over multi-page scientific papers. Questions require reading tables that span several pages, cross-referencing multiple tables, and reasoning jointly over tables and the surrounding body text.
Dataset Summary
| Count | |
|---|---|
| QA pairs | 2,086 |
| Documents | 362 |
| Page images | 5,472 |
| Median pages per document | 14 |
| Categories | 8 |
Sub-types (case_name) |
26 |
The current release (v3) contains 2,086 questions: 966 human-written and 1,120 generated questions. No question has a yes/no answer, and every question needs evidence from at least two pages.
Source
All documents come from PubTables-v2 (PMC Open Access scientific papers), test split only.
Structure
pubtables-qa_v3/
├── README.md
├── data/
│ └── test.jsonl
├── images/
│ ├── PMC10239856/
│ │ ├── page_0.jpg
│ │ └── ...
│ └── ...
└── metadata/
├── annotations.jsonl
└── authorship.jsonl
Data Fields (data/test.jsonl)
| Field | Type | Description |
|---|---|---|
qid |
string | Unique question identifier |
question |
string | Natural language question |
answer |
string | Gold answer |
images |
list[string] | All page images of the document (relative paths) |
evidence_pages_printed |
list[int] | null | Printed journal page labels for the evidence pages, when available |
evidence_pages |
list[string] | Pages needed to answer: the pages of the evidence cells, captions and footnotes, plus, for Document-level items, the page(s) of the supporting body-text sentence. Every item lists at least two pages. annotation.meta.evidence_pages_by_source in the metadata splits them into table and body-text pages. |
doc_id |
string | PMC document identifier |
case_name |
string | Sub-type within the category (one of 26; see Categories) |
level |
string | Reasoning level |
category |
string | Question category within the level |
num_pages |
int | Total pages in the document |
Reasoning Levels
| Level | Count | Description |
|---|---|---|
| Document Level | 342 | Body text and tables must be read together |
| Table Level | 459 | Structure, span, or whole-table patterns |
| Cell/Column Level | 1,285 | Locating and computing over specific cells |
Categories
Items are organized as level > category > sub-type (case_name).
Document Level
| Category | Sub-type (case_name) |
Count |
|---|---|---|
| Text-Table Reasoning (342) | table_text_joint_reasoning |
235 |
document_level_aggregation |
63 | |
document_level_difference |
26 | |
multi_table_reasoning |
9 | |
contradiction_check |
9 |
Table Level
| Category | Sub-type (case_name) |
Count |
|---|---|---|
| Cross-page Continuation (224) | cross_page_continuation |
94 |
cross_page_group_count |
92 | |
cross_page_header_carryover |
26 | |
cross_page_section_comparison |
12 | |
| Cross-table Structure Match (116) | table_structure_alignment |
81 |
cross_table_size_comparison |
35 | |
| Table-wide Reasoning (85) | cross_page_table_span_count |
74 |
table_wide_pattern_check |
11 | |
| Table Layout (34) | layout_element_count |
31 |
caption_header_interpretation |
3 |
Cell/Column Level
| Category | Sub-type (case_name) |
Count |
|---|---|---|
| Single-table Retrieval-Computation (534) | multi_page_filtered_aggregation |
216 |
multi_page_condition_then_lookup |
96 | |
multi_page_difference |
93 | |
multi_page_aggregation |
80 | |
multi_page_rank_comparison |
28 | |
multi_page_ratio |
21 | |
| Cross-table Retrieval-Computation (266) | multi_table_computation |
120 |
multi_table_retrieval |
118 | |
multi_table_pattern_comparison |
28 | |
| Multi-hop (485) | multi_table_multi_hop |
254 |
single_table_multi_hop |
231 |
Metadata (metadata/annotations.jsonl)
annotations.jsonl and authorship.jsonl each contain exactly the same 2,086 question IDs as the test split.
Evidence annotation for every question.
| Field | Type | Description |
|---|---|---|
qid |
string | Matches data/test.jsonl |
question |
string | Question text |
answer |
string | Gold answer |
annotation |
object | Structured evidence (see below) |
annotation has the same fields for every item (a field is an empty list when it does not apply). Entries tied to a page carry page_id and page_index (0-based image index); body_text, surrounding_text and table_bbox entries also carry printed_page (journal page number, null when not printed). Table entries carry table_id (position of the table in the document) and, except in cell_values, printed_label (e.g. Table 3). Boxes are [x0, y0, x1, y1] in page-image pixels.
| Key | Description |
|---|---|
body_text |
(Document Level items; empty elsewhere) Supporting body-text sentences: text and its bbox on the page, with location_source (word_match = located automatically on the page words, otherwise the review pass that placed it). Some entries also give the section and a short fact the sentence supplies. |
surrounding_text |
Text printed around the tables used: kind = caption, continuation_caption (e.g. "Table 2 (continued)"), footnote, or figure (a figure caption, only where the question needs it), with text. Captions and footnotes are table evidence, not body text. |
table_bbox |
Box of each table fragment used, one entry per table and page (bbox). |
table_headers |
Per table used: column_headers (all column headers of the table), used_column_headers and used_row_labels (the headers and row labels of the evidence cells). |
table_layout |
Per table used: page_indices / printed_pages (pages the table spans), spans_pages, n_rows (data rows, header excluded), n_cols, and layout_facts (per-page notes on what lies at a page break, e.g. which row group ends a page). scans describes a column or row the question scans as a whole (column_header, page_indices, what). structure_info records a printed continuation label and its page; parts gives fragment boxes where a table was split differently from the source annotation. |
cell_values |
The cells actually used to answer, one entry per cell: row_label, column_header, value, row_idx/col_idx (grid position), table_index (PubTables-v2 table index), bbox (null for 1,001 of 20,780 cells that could not be located unambiguously), source (how the cell was located), and role (see below). Cell/Column-level cells also carry step: [1], [2] or [1, 2], the reasoning step(s) that use the cell. |
reasoning |
(Cell/Column Level items only) Two short sentences, step_1 (locate or filter: which rows, columns or bridge entity) and step_2 (read or compute the answer). |
meta.evidence_pages_by_source |
table (table-evidence pages) and, for Document Level items, body (body-text pages). evidence_pages in data/test.jsonl is their union. meta.evidence_pages_by_source_printed gives the same with printed page numbers. |
meta.dispersion |
How spread out the evidence is: evidence_cell_pages (number of pages holding used cells, excluding cells with role condition), answer_cell_pages (number of pages holding value cells: roles answer, operand, match, unit, candidate; all used cells when there are none), k_regions (table fragments (table × page) holding used cells + body-text pages), n_tables (tables holding used cells), cross_page_type (split_table = one table split across pages, 1,108; multi_table = several tables, 636; table_text = table plus body text, 342). |
Cell roles (cell_values[].role): answer (the cell that is the answer), operand (a value used in a computation), match (a row or bridge cell that satisfies the question's condition), condition (a cell checked by a filter but not used further), anchor (a header or row label used to locate a value), lookup (a value read on the way to the answer), candidate (compared but not selected), unit (a counted structural unit, e.g. a row or section), group_label (a row-group or section heading), header (a column header), boundary (the row on either side of a page break).
Authorship (metadata/authorship.jsonl)
One row per question, in the same order as the test split.
| Field | Description |
|---|---|
qid |
Matches data/test.jsonl |
authorship |
Who wrote the question originally: human_written (966) or generated (1,120) |
Authorship describes who wrote the question originally, independently of later wording changes.
Usage
import json
from PIL import Image
with open("data/test.jsonl") as f:
data = [json.loads(line) for line in f]
sample = data[0]
print(sample["question"], sample["answer"])
pages = [Image.open(p) for p in sample["images"]] # whole document
evidence = [Image.open(f"images/{sample['doc_id']}/page_{p.rsplit('_page_', 1)[1]}.jpg")
for p in sample["evidence_pages"]] # evidence pages only
Citation
@article{pubtablesqa2026,
title={PubTables-QA: A Multi-Page Document Table QA Benchmark},
year={2026}
}
License
CC-BY-4.0. Source document images come from PubTables-v2 (PMC Open Access).