Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
62
split
stringclasses
1 value
similarity_score
float64
0.04
1
ground_truth
dict
generated
dict
0001020v1.11
train
0.531513
{ "cells": [ { "content": [ "fudge" ], "end_col": 0, "end_row": 0, "id": 0, "start_col": 0, "start_row": 0, "tex": "fudge" }, { "content": [ "341" ], "end_col": 1, "end_row": 1, "id": 15, "start_col": 1, ...
{ "cells": [ { "content": [ "fudge" ], "end_col": 1, "end_row": 0, "id": 0, "start_col": 0, "start_row": 0, "tex": "" }, { "content": [ "0.01" ], "end_col": 4, "end_row": 0, "id": 1, "start_col": 3, "...
0001020v1.13
train
0.758065
{ "cells": [ { "content": [ "jones", "’" ], "end_col": 0, "end_row": 3, "id": 6, "start_col": 0, "start_row": 3, "tex": "jones '" }, { "content": [ "i’d" ], "end_col": 1, "end_row": 6, "id": 13, "st...
{ "cells": [ { "content": [ "'d", "id" ], "end_col": 1, "end_row": 7, "id": 0, "start_col": 0, "start_row": 7, "tex": "" }, { "content": [ "jones", "jones'", "i", "'m", "im" ], "end_co...
0001020v1.23
train
0.6775
{ "cells": [ { "content": [ "spontaneous", "broadcast", "speech", "(clean)" ], "end_col": 1, "end_row": 2, "id": 5, "start_col": 1, "start_row": 2, "tex": "spontaneous broadcast speech (clean)" }, { "content": [ ...
{ "cells": [ { "content": [ "speech", "under", "degraded", "acoustical", "conditions" ], "end_col": 1, "end_row": 4, "id": 0, "start_col": 0, "start_row": 4, "tex": "" }, { "content": [ "low", "fi...
0001020v1.24
train
0.413961
{ "cells": [ { "content": [ "WER(" ], "end_col": 0, "end_row": 1, "id": 7, "start_col": 0, "start_row": 1, "tex": "WER(\\" }, { "content": [ "0.8" ], "end_col": 5, "end_row": 0, "id": 5, "start_col": 5, ...
{ "cells": [ { "content": [], "end_col": 0, "end_row": 0, "id": 0, "start_col": 0, "start_row": 0, "tex": "" }, { "content": [], "end_col": 2, "end_row": 0, "id": 1, "start_col": 2, "start_row": 0, "tex": "" }, { ...
0001020v1.26
train
0.4375
{ "cells": [ { "content": [ "33.1" ], "end_col": 10, "end_row": 7, "id": 87, "start_col": 10, "start_row": 7, "tex": "33.1" }, { "content": [ "33.0" ], "end_col": 10, "end_row": 6, "id": 76, "start_col": 10...
{ "cells": [ { "content": [ "42.1731.0", "445", "42.2", "42.1", "46.3", "42.0" ], "end_col": 5, "end_row": 5, "id": 0, "start_col": 5, "start_row": 0, "tex": "" }, { "content": [ "4", "0.0...
0001020v1.28
train
0.4375
{ "cells": [ { "content": [ "0" ], "end_col": 2, "end_row": 2, "id": 24, "start_col": 2, "start_row": 2, "tex": "0" }, { "content": [ "56.1" ], "end_col": 9, "end_row": 3, "id": 42, "start_col": 9, "s...
{ "cells": [ { "content": [ "4497", "333", "44.6", "|", "44.4", "44.9", "44.", "(", "44.1" ], "end_col": 5, "end_row": 5, "id": 0, "start_col": 5, "start_row": 0, "tex": "" }, { "c...
0001020v1.29
train
0.396429
{ "cells": [ { "content": [ "λ" ], "end_col": 0, "end_row": 0, "id": 0, "start_col": 0, "start_row": 0, "tex": "$\\lambda$" }, { "content": [ "1.0" ], "end_col": 6, "end_row": 0, "id": 6, "start_col": 6, ...
{ "cells": [ { "content": [ "0.8" ], "end_col": 1, "end_row": 0, "id": 0, "start_col": 1, "start_row": 0, "tex": "" }, { "content": [ "0.2", "0.4", "0.6", "0.8", "0.0", "WER(", "WER", ...
0001020v1.30
train
0.396429
{ "cells": [ { "content": [ "0.8" ], "end_col": 5, "end_row": 0, "id": 5, "start_col": 5, "start_row": 0, "tex": "0.8" }, { "content": [ "λ" ], "end_col": 0, "end_row": 0, "id": 0, "start_col": 0, "st...
{ "cells": [ { "content": [ "0.8" ], "end_col": 1, "end_row": 0, "id": 0, "start_col": 1, "start_row": 0, "tex": "" }, { "content": [ "0.2", "0.4", "0.6", "0.8", "0.0", "WER(", "WER", ...
0001020v1.5
train
0.4
{ "cells": [ { "content": [ "147.70" ], "end_col": 2, "end_row": 4, "id": 14, "start_col": 2, "start_row": 4, "tex": "147.70" }, { "content": [ "L2R-PPL" ], "end_col": 1, "end_row": 1, "id": 4, "start_col":...
{ "cells": [ { "content": [ "152.25", "EO", "167..47" ], "end_col": 2, "end_row": 1, "id": 0, "start_col": 0, "start_row": 1, "tex": "" }, { "content": [ "number", "EO", "E3" ], "end_col": 0, ...
0001020v1.7
train
0.452425
{ "cells": [ { "content": [ "L2R1-5" ], "end_col": 0, "end_row": 7, "id": 45, "start_col": 0, "start_row": 7, "tex": "L2R1-5" }, { "content": [ "9,976" ], "end_col": 2, "end_row": 6, "id": 40, "start_col": ...
{ "cells": [ { "content": [ "929,564", "9,976", "76,797", "307,100", "490,687", "731,527", "E3" ], "end_col": 6, "end_row": 4, "id": 0, "start_col": 0, "start_row": 4, "tex": "" }, { "content": [ ...
0001021v1.2
train
0.4
{ "cells": [ { "content": [ "TEST", "set" ], "end_col": 1, "end_row": 0, "id": 1, "start_col": 1, "start_row": 0, "tex": "TEST set" }, { "content": [ "152.25" ], "end_col": 2, "end_row": 2, "id": 8, ...
{ "cells": [ { "content": [ "152.25", "EO", "167..47" ], "end_col": 2, "end_row": 1, "id": 0, "start_col": 0, "start_row": 1, "tex": "" }, { "content": [ "number", "EO", "E3" ], "end_col": 0, ...
0003061v1.2
train
0.4375
{ "cells": [ { "content": [ "30" ], "end_col": 1, "end_row": 1, "id": 6, "start_col": 1, "start_row": 1, "tex": "30" }, { "content": [ "Vertices" ], "end_col": 1, "end_row": 0, "id": 1, "start_col": 1, ...
{ "cells": [ { "content": [ "130", "130", "130" ], "end_col": 2, "end_row": 2, "id": 0, "start_col": 2, "start_row": 0, "tex": "" }, { "content": [ "smodels", "30", "130", "1212", "621" ...
0003067v1.3
train
0.46875
{ "cells": [ { "content": [ "91404" ], "end_col": 7, "end_row": 12, "id": 101, "start_col": 7, "start_row": 12, "tex": "91404" }, { "content": [ "blockpair3l" ], "end_col": 0, "end_row": 13, "id": 102, "sta...
{ "cells": [ { "content": [ "0", "10", "multiseto", "30", "104" ], "end_col": 7, "end_row": 7, "id": 0, "start_col": 0, "start_row": 7, "tex": "" }, { "content": [ "blockpair31", "130", "4...
0005006v1.3
train
0.479167
{ "cells": [ { "content": [ ".73" ], "end_col": 3, "end_row": 4, "id": 47, "start_col": 3, "start_row": 4, "tex": ".73" }, { "content": [ ".82" ], "end_col": 8, "end_row": 5, "id": 63, "start_col": 8, ...
{ "cells": [ { "content": [ ".84", "44", ".83", "83", "79", "medium" ], "end_col": 6, "end_row": 10, "id": 0, "start_col": 6, "start_row": 0, "tex": "" }, { "content": [ "medium", "wide", ...
0005006v1.4
train
0.479167
{ "cells": [ { "content": [], "end_col": 0, "end_row": 5, "id": 55, "start_col": 0, "start_row": 5, "tex": "" }, { "content": [ ".84" ], "end_col": 6, "end_row": 2, "id": 28, "start_col": 6, "start_row": 2, "...
{ "cells": [ { "content": [ "83", ".84", ".85", ".84", "86", "86", "86", "79", "medium" ], "end_col": 6, "end_row": 10, "id": 0, "start_col": 6, "start_row": 0, "tex": "" }, { "con...
0006003v1.2
train
0.482143
{ "cells": [ { "content": [ "NA" ], "end_col": 4, "end_row": 7, "id": 50, "start_col": 4, "start_row": 7, "tex": "NA" }, { "content": [ "12.50" ], "end_col": 6, "end_row": 21, "id": 150, "start_col": 6, ...
{ "cells": [ { "content": [ "Z", "18.18", "SQ", "33.33" ], "end_col": 6, "end_row": 19, "id": 0, "start_col": 0, "start_row": 19, "tex": "" }, { "content": [ "4", "25.00", "WHNP", "33.33",...
0006003v1.3
train
0.464286
{ "cells": [ { "content": [ "88.54" ], "end_col": 2, "end_row": 2, "id": 12, "start_col": 2, "start_row": 2, "tex": "88.54" }, { "content": [ "90.64" ], "end_col": 3, "end_row": 6, "id": 33, "start_col": 3,...
{ "cells": [ { "content": [ "86.91", "88.54", "92.84", "95.41", "89.88" ], "end_col": 2, "end_row": 5, "id": 0, "start_col": 2, "start_row": 0, "tex": "" }, { "content": [ "87.14", "88.73", ...
0006003v1.4
train
0.444444
{ "cells": [ { "content": [ "93.87" ], "end_col": 2, "end_row": 3, "id": 17, "start_col": 2, "start_row": 3, "tex": "93.87" }, { "content": [ "Reference", "/", "System" ], "end_col": 0, "end_row": 0, ...
{ "cells": [ { "content": [ "87.83", "89.73", "93.87", "95.91", "90.81", "90.70", "90.10" ], "end_col": 2, "end_row": 6, "id": 0, "start_col": 2, "start_row": 0, "tex": "" }, { "content": [ ...
0006003v1.6
train
0.444444
{ "cells": [ { "content": [ "90.78" ], "end_col": 4, "end_row": 7, "id": 39, "start_col": 4, "start_row": 7, "tex": "90.78" }, { "content": [ "Constituent", "Voting" ], "end_col": 0, "end_row": 7, "id": 3...
{ "cells": [ { "content": [ "Bayes", "Switching", "90.94", "90.70", "90.82", "90.82" ], "end_col": 4, "end_row": 5, "id": 0, "start_col": 0, "start_row": 5, "tex": "" }, { "content": [ "80.91", ...
0006012v1.11
train
0.482143
{ "cells": [ { "content": [ "17" ], "end_col": 5, "end_row": 25, "id": 177, "start_col": 5, "start_row": 25, "tex": "17" }, { "content": [ "53.84" ], "end_col": 4, "end_row": 8, "id": 57, "start_col": 4, ...
{ "cells": [ { "content": [ "{", "SQ", "18.18", "33.33" ], "end_col": 6, "end_row": 19, "id": 0, "start_col": 0, "start_row": 19, "tex": "" }, { "content": [ "4", "WHNP", "33.33", "25.00",...
0006012v1.12
train
0.48
{ "cells": [ { "content": [ "26" ], "end_col": 5, "end_row": 3, "id": 23, "start_col": 5, "start_row": 3, "tex": "26" }, { "content": [ "100.00" ], "end_col": 2, "end_row": 24, "id": 167, "start_col": 2, ...
{ "cells": [ { "content": [ "59", "24", "TOP", "100.00", "30.50", "37.50" ], "end_col": 6, "end_row": 16, "id": 0, "start_col": 0, "start_row": 16, "tex": "" }, { "content": [ "WHNP", "0.0...
End of preview. Expand in Data Studio

Table Extraction Evaluation Dataset

A dataset for training and benchmarking verifier models that predict the quality of structured table extraction from documents — without access to ground truth at inference time.

Modern LLMs and vision-language models extract tables from PDFs impressively but inconsistently: structural recognition is largely solved, yet semantic content accuracy remains unreliable (e.g., TATR reaches GriTS ≈ 0.985 on PubTables-1M while content accuracy stays around 0.82). In high-stakes workflows — legal, financial, medical — pipelines need an automated way to judge whether an extraction can be trusted. This dataset provides supervision for exactly that task: each example pairs a machine-generated table extraction with its ground truth and a computed quality score, so a model can learn to predict extraction quality directly from the extracted output.

Built for the Stanford CS230 project "A Neural Verifier for Structured Table Extraction" (Ray Hu, Nofel Teldjoune, Hiva Zaad).

Dataset Summary

| | |

|---|---|

| Total examples | 39,066 |

| Train split | 36,066 |

| Test split | 3,000 |

| Format | Parquet |

| License | Apache 2.0 |

How It Was Built

  1. Upstream source: SciTSR — tables from scientific journals with human-annotated ground-truth JSON structure.

  2. Extraction generation: each table image was processed with Table Transformer (TATR) for structure recognition and EasyOCR for cell content, producing a machine-generated JSON extraction of the same table.

  3. Quality labeling: each (ground truth, generated) pair was scored with a composite structural-similarity metric:


similarity_score = 0.50 * cell_detection_F1

                 + 0.25 * row_accuracy

                 + 0.25 * col_accuracy

The resulting scores span 0.04–1.0, reflecting the realistic range of extraction quality that production pipelines encounter.

Data Fields

| Field | Type | Description |

|---|---|---|

| id | string | Source table identifier (SciTSR document + table index) |

| split | string | train or test |

| similarity_score | float64 | Quality label in [0, 1] — the regression target |

| ground_truth | dict | Human-annotated table structure: list of cells with content, start_row, end_row, start_col, end_col, id, tex |

| generated | dict | Machine-generated extraction of the same table, same schema |

Usage


from datasets import load_dataset

ds = load_dataset("rayhu/table-extraction-evaluation")

example = ds["train"][0]

print(example["similarity_score"])   # e.g. 0.5315

print(example["ground_truth"]["cells"][0])

print(example["generated"]["cells"][0])

A typical use: serialize generated (optionally with ground_truth during training), embed it, and train a regression model to predict similarity_score. At inference, the verifier scores new extractions with no ground truth available — enabling automated QA gates, model benchmarking, and extraction-pipeline monitoring.

Baseline

A 2-layer MLP over sentence-transformers/all-mpnet-base-v2 embeddings trained on this dataset serves as the reference baseline. Training code, data-processing scripts, and the full report: github.com/rayhu/cs230-evaluation-model.

Limitations

  • Quality labels are computed from a single composite metric; other aspects of extraction quality (numerical consistency, header semantics) are not separately labeled.

  • Source tables come from scientific journals (SciTSR); domain shift should be expected when applying verifiers to financial, legal, or medical documents.

  • Generated extractions come from one pipeline (TATR + EasyOCR); scores reflect that pipeline's error distribution.

Citation

If you use this dataset, please cite:


@misc{hu2025tableextractioneval,

  title  = {Table Extraction Evaluation Dataset},

  author = {Hu, Ray and Teldjoune, Nofel and Zaad, Hiva},

  year   = {2025},

  note   = {Stanford CS230 project: A Neural Verifier for Structured Table Extraction},

  url    = {https://huggingface.co/datasets/rayhu/table-extraction-evaluation}

}

Upstream data derived from SciTSR: Chi et al., Complicated Table Structure Recognition, arXiv:1908.04729, 2019.

Downloads last month
11

Paper for rayhu/table-extraction-evaluation