Papers › PubTables-1M: Towards comprehensive table extraction from unstructured documents

PubTables-1M: Towards comprehensive table extraction from unstructured documents

30 Sep 2021CVPR 2022 1arXiv:2110.00061archive 2025-07-28

Brandon Smock, Rohith Pesala, Robin Abraham

Recently, significant progress has been made applying machine learning to the problem of table structure inference and extraction from unstructured documents. However, one of the greatest challenges remains the creation of datasets with complete, unambiguous ground truth at scale. To address this, we develop a new, more comprehensive dataset for table extraction, called PubTables-1M. PubTables-1M contains nearly one million tables from scientific articles, supports multiple input modalities, and contains detailed header and location information for table structures, making it useful for a wide variety of modeling approaches. It also addresses a significant source of ground truth inconsistency observed in prior datasets called oversegmentation, using a novel canonicalization procedure. We demonstrate that these improvements lead to a significant increase in training performance and a more reliable estimate of model performance at evaluation for table structure recognition. Further, we show that transformer-based object detection models trained on PubTables-1M produce excellent results for all three tasks of detection, structure recognition, and functional analysis without the need for any special customization for these tasks. Data and code will be released at https://github.com/microsoft/table-transformer.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2110.00061")

Code

Syntology Ran 5 of 13 code samples harvested from 2 repositories linked to this paper; 8 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 3 samples from 1 repository, 3 ran; community (archive-listed): 10 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

microsoft/table-transformer officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 5 ran; 3 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
8unverified

Licence: 10 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

box_cxcywh_to_xyxy microsoft/table-transformer/src/inference.py official repository ran · honoured contract fingerprinted MIT (permissive) · 52d4b812bdc17687 · report
get_class_map microsoft/table-transformer/src/inference.py official repository ran · our draft was wrong MIT (permissive) · 0342a5d56baf82fb · report
rescale_bboxes microsoft/table-transformer/src/inference.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 44195a5621bcf750 · report
box_cxcywh_to_xyxy phamquiluan/table-transformer/src/transforms.py community (archive-listed) ran · honoured contract fingerprinted MIT recorded; this copy not marked cleared · pointer only · e0a06ded5d4f6c3c · report
box_xyxy_to_cxcywh phamquiluan/table-transformer/src/transforms.py community (archive-listed) ran · honoured contract fingerprinted MIT recorded; this copy not marked cleared · pointer only · 031b02fb990284ba · report
align_1d phamquiluan/table-transformer/src/grits.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 8ac9e5fec2aa104d · report
apply_class_thresholds phamquiluan/table-transformer/src/eval_utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · ba4693e812106154 · report
apply_threshold phamquiluan/table-transformer/src/eval_utils.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 4877ebf4c4df63a4 · report
build_transformer phamquiluan/table-transformer/detr/models/transformer.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 302ec916d91b12a8 · report
crop_around_bbox_coco phamquiluan/table-transformer/src/table_datasets.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 3cac9717d8564e2d · report
load_json phamquiluan/table-transformer/core.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 7c2ef30ca5a59095 · report
read_pascal_voc phamquiluan/table-transformer/src/table_datasets.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · e914fd7c0331c5f1 · report
transpose phamquiluan/table-transformer/src/grits.py community (archive-listed) unverified MIT recorded; this copy not marked cleared · pointer only · 1503ee81768a3749 · report

Tasks

ArticlesObject DetectionTable DetectionTable ExtractionTable Functional AnalysisTable Recognitionobject-detection

Datasets

Introduced by this paper, per the archive.

PubTables-1M

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEConvolutionDense ConnectionsDetrDropoutFeedforward NetworkLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections