arXiv:2610.17448cs.CVOct 2026

Manuscript Offprint

arXiv:2610.17448

TableVision: Recovering Verified Structure from Historical Tables

Todd Y. Zhou, James M. Snyder

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Todd Y. Zhou and James M. Snyder, Jr.

Abstract—Gaps, skips, and mistakes are the normal state of a historical register: rows go missing, tables cross page breaks, columns slip under wrong names, and column sums disagree with the corresponding row entries. Readers read digits correctly but lose the table structure. On seven clean panels of election returns, the best open-source reader reproduces 99.0% of the digits but files only 83.7% of the figures in the correct cells and gets 11 of 30 columns correct. TableVision treats table structure recovery as the problem. On three degraded 1888 pages, Amazon Textract files only 1 of 1494 figures correctly; TableVision correctly files 99.2%, and all 51 columns its exact-total check releases are correct. A dynamic program cuts a volume into blocks by how many columns sum to their last line; witnesses read the cells; the gate classifies each column as exactly reconciling, flagged as faithful to a page whose arithmetic is wrong, or withheld. A theory of the sum check says which errors it cannot see and why its optimal block is about θ−1/2\theta^{-1/2} rows at defect rate θ\theta. On 2201 columns of Wisconsin electoral data, the gate accepts 2042, flags 118, and withholds 41; failure rises with column length RR as 1−(1−θ)R1 - (1 - \theta)^R at 1.1 defects per 1000 cells in general elections; official returns confirm 933 of 934 testable accepted sums and all 35 testable flagged totals; and the deployment added 491 359 gated precinct rows to a 9.3-million-row dataset. One implication is that the design of the verification block is critical.

Index Terms—Table structure recovery, historical documents, optical character recognition, data validation, dynamic programming, selective release, group testing, computational social science.

I. INTRODUCTION

ON pages 126–127 of the 1894 Iowa Official Register, Delaware County's returns run across a table 25 columns wide, printed sideways on portrait pages in type whose figures are nine pixels tall once scanned. An earlier extraction of those pages produced a county that could not be released, and the reason was not a misread digit: the extraction had classified the line for Union township as a heading, and the county's columns came up short by exactly that township's vote. The digits were correct. The table was wrong.

Imperfection is the rule in a historical register. A register has gaps: cells destroyed in the printing or the scan. It invites skips: a county that begins and ends mid-page without repeating its header, a parent place name left on the previous page, a printed row easily taken for a heading. It has mistakes: column totals that do not equal the sum of the corresponding rows, a broken glyph that a human and a machine both read as another digit (Fig. 1). And when a column grid slides one window over, it files one candidate's figures under another's name with every

TABLE I DIGITS READ VERSUS TABLE STRUCTURE KEPT, BY READERS ALONE AND WITH TABLEVISION

Reader% of Digits Correct% of Numbers in Correct CellCounty Columns 100% Correct
Clean pages: 7 panels, 1214 numbers, 30 county columnsReader's own table → the same words in TableVision's structure
Tesseract90.969.0 → 83.43 → 9
EasyOCR77.341.6 → 60.50 → 1
PaddleOCR98.181.4 → 96.59 → 14
docTR99.083.7 → 97.911 → 24
Hard pages: 3 pages of 1888 returns, 1494 numbers, 77 county columns
Tesseract67.415.00
EasyOCR29.93.50
PaddleOCR60.813.90
docTR71.019.00
Amazon Textract76.70.10
TableVision99.799.267

Clean: seven hand-cropped panels from three volumes; each open-source reader's own table, then the same words filed by a stand-in for TableVision's column comb, both at the configuration at which the reader alone files the most cells. Hard: three continuation pages of the 1888 Iowa returns, one-bit scans at 118 pixels per inch with no row labels (Section VI-F); each reader's own output, and one stored pass of TableVision's reader, without the second witness or review (Section IV-C). Readers: Tesseract 5.3, EasyOCR 1.7, PaddleOCR PP-OCRv4, docTR 1.1. % of Digits Correct: reference digits reproduced anywhere on the page. % of Numbers in Correct Cell: read correctly and in their own row and column. County Columns 100% Correct: every cell and the printed total correct. On four clean keyed pages Textract places 99.9% of the numbers correctly, as does the better of two typists, and on the hard pages TableVision's comb lifts the open-source words to 13–66% (Tables S2 and S4).

sum intact. None can be seen from one cell; Table I measures what an OCR framing misses, on clean pages and on hard ones. Given the same clean panels from three volumes, open-source recognizers [1], [2], [3], [4] reproduce up to 99.0% of the printed digits, yet in the tables they return, at most 83.7% of the figures land in their own row and column and at most 11 of 30 county columns are correct, and the table extractors img2table and SLANet-plus [5], [6] file fewer than half the figures in place (Table S2 of the supplement). A commercial table reader, Amazon Textract [7], does far better on clean pages, misreading one of 1356 keyed figures, but that one is the figure a typist also misread. On hard pages the commercial reader fails worst. The 1888 Iowa returns continue each county's rows on a facing page that prints no row labels, scanned in one bit at 118 pixels per inch; Textract read 54 of that volume's 58 such pages sideways, and on the three in Table I it files 1 of 1494 figures in its cell, against 4–19% for

T. Y. Zhou is with Harvard University, Cambridge, MA 02138 USA.

J. M. Snyder, Jr. is with the Department of Government, Harvard University, Cambridge, MA 02138 USA.

the open-source readers' own lines. A recognizer, learned or human, sees one cell and returns one value; given a column with a missing row it returns a complete-looking column, and a generative model asked to complete the table invents figures that are fluent rather than attested [8]. The errors that matter are silent and structural: they concern which rows belong to which county under which name.

So we treat the recovery of a table's structure as the problem. A column's residual splits into a source term, a scope term, and a reading term (Eq. (2)); a recognizer, however good, removes only the last, and on legible pages the last is already small, so the errors that remain live in the other two, which are properties of the table and not of any cell. The table carries its own check, a total line that must equal the sum of the rows above it, and TableVision uses that arithmetic as evidence, never as a target to fit. It locates county blocks by a dynamic program over the whole volume that scores every candidate block by how many of its columns foot (sum exactly) to its last line, and reads cells with witnesses of different kinds. It releases a column only through an exact-total gate that no digit is altered to satisfy, so every column ends exactly reconciling, flagged because two readers judged the cells faithful to a page whose arithmetic does not close, or withheld. Filed by a column comb in TableVision's manner, the very words that docTR files at 83.7% put 97.9% of the figures and 24 of the 30 county columns in place (Table I), and of the 20 such columns that close on their panel, the exact-total check releases the 16 the comb got correct and withholds the 4 it got wrong (Table S2 of the supplement). On the hard pages a single stored pass of the workflow's own reader files 99.2% of the figures and 67 of the 77 county columns in place, and the check releases 51 columns, all exact: every column that closes on its page and that the pass read correctly, and none of the 8 closing columns it misread. A sum certifies what a reader nearly got correct; it cannot make a table out of noise: on the hard pages, where the open-source readers at their reported configurations file no county column correctly, all 23 columns the check releases from their output over every configuration run are wrong. A single sum is one check equation in the sense of error-detecting codes [9] and one pool in a group test [10]; Section V says what it can and cannot see, and Section VI tests each quantitative statement the test bed can reach, on 2201 county-by-candidate columns from five Wisconsin Blue Books, against evidence the workflow never saw.

The contributions are the formulation (Section III), in which only one term of a column's residual is a recognition error; the workflow, stated as constraints, predicates, and an exact segmentation recursion (Section IV); the theory of the sum check (Section V); and an evaluation against official returns, human transcription, and off-the-shelf readers rather than the workflow's own outputs (Section VI). None of the tools is new. Three things are new. The formulation makes the book's arithmetic both the objective of segmentation and the certificate of release. The theory proves the cut a maximum-likelihood estimate under a stated model of the page, the gate's silent error at most second order in the defect rate, and the work of verification falling toward the information-theoretic limit as printed subtotals nest; its testable predictions (a one-parameter failure curve, about one defective total among 51 failures, a single-digit signature in the flagged residuals) the test bed bears out. The design conclusion, which no archival transcription we know of follows, is to choose the verification block by the defect rate among the sums a book prints, not by the county boundary. The precinct-level dataset is the subject of a companion data descriptor and serves here as the test bed.

TableVision was developed with a particular problem in mind, historical election data, but the problem of table structure is much more general. The same loss of structure meets anyone who scans a printed table: government statistics, census tables of demographic and socioeconomic information, education statistics such as school spending and teachers' salaries, historical chemical formulas, newspaper pages of stock returns, and the obscure price series nobody was ever going to key by hand. Massive amounts of economic, demographic, social, financial, and other records are stored in archives and libraries around the world; scanned, read, and put back into proper tables, they become data for social scientists and historians, as do tables of experimental results and physical measurements. TableVision applies to any scanned image of a printed table whose blocks close on a total, and its geometry, typing, constraints, and provenance trace apply to tables without totals, so its potential uses are many; Section VII discusses this scope and gives one specific example.