Hierarchical Reconstruction of Dense Financial Table Images Through Multiscale Region Detection and Geometric Constraints

Hierarchical Reconstruction of Dense Financial Table Images Through Multiscale Region Detection and Geometric Constraints

Wenkai Wang | Pinyi Zhang | Linying Xu*

Research Institute for Global Value Chains, University of International Business and Economics, Beijing 100029, China

Mingde College, Beijing Institute of Technology, Beijing 100081, China

School of Digital Finance and Management, Dongying Vocational College, Dongying 257000, China

Corresponding Author Email: 
1159070390@qq.com
Page: 
2251-2272
|
DOI: 
https://doi.org/10.18280/ts.430513
Received: 
2 May 2026
|
Revised: 
20 September 2026
|
Accepted: 
10 October 2026
|
Available online: 
31 October 2026
| Citation

© 2026 The authors. This article is published by IIETA and is licensed under the CC BY 4.0 license (http://creativecommons.org/licenses/by/4.0/).

OPEN ACCESS

Abstract: 

Narrow symbol columns, multiline text and spanning headings in dense financial tables often cause visual regions to disagree with logical cells, which lowers the accuracy of table structure recognition. This study proposes a hierarchical reconstruction method that corrects these mismatches by combining multiscale region detection with geometric constraints, without any task-specific retraining. Context padding adds background around tightly cropped table boundaries, and confidence-weighted association merges detections from two inference scales. Conservative boundary-row recovery then restores missing rows, while glyph-scale constraints on compact symbol-like columns correct excessive column partitioning. The corrected regions are assembled into a non-overlapping cell grid through span mapping and constrained cell assignment. Experiments used 150 validation records from 28 companies and 500 test records from 50 other companies in FinTabNet-OTSL. Against a single-scale generic detector with the same context padding, the proposed method raised the mean grid table similarity (GriTS) topology score from 0.7975 to 0.8508, an improvement of 5.32 percentage points, with a 95% company-cluster bootstrap confidence interval of 4.28–6.42 points. Mean absolute column-count error fell from 1.354 to 0.628, a reduction of 53.6%. Ablation experiments traced most of the improvement to compact-column consolidation, which corrects the systematic mismatch between detected symbol regions and logical columns. Under controlled blur, downsampling and JPEG compression, adding cross-scale association and boundary-row recovery to single-view column consolidation further improved topology. By linking region detection, glyph-scale constraints and cell-span assembly, the method offers a traceable way to adapt generic detectors to dense financial tables without additional training.

Keywords: 

dense financial tables, document image analysis, geometric constraints, hierarchical reconstruction, multiscale region detection, table structure recognition

1. Introduction

Financial tables convey numerical information through their spatial layout. Column headings associate values with reporting periods or accounting categories, aligned row labels identify the quantities being reported, and spanning headings connect several subordinate fields. These relationships determine how each value is read. Turning a table image into usable structured data therefore requires recovering the cell organization, not just recognizing the characters. Table structure recognition meets this need by identifying rows, columns and spanning cells, and sits as a distinct task between table localization and content recognition [1]. Preserving these relationships is essential in financial documents, since a correctly recognized amount placed under the wrong period or category is still an extraction error.

Image-based recognition links the appearance of a document directly to a machine-readable table structure. Zhong et al. [2] introduced PubTabNet and an encoder–dual-decoder model that jointly addressed structural representation and cell content, and showed that relationships between cells, rather than isolated text regions, are what need to be evaluated. Financial tables are a particularly demanding case. Many are unruled or only partly ruled, so alignment and white space carry much of the boundary information. Currency symbols can be visually separated from their associated amounts, descriptive labels can extend over several text lines, and short headings can span multiple numeric columns. Such layouts force a recognizer to tell visual separation apart from logical independence. If every narrow vertical region is treated as a column, or every text line as a row, the resulting grid departs from the intended table organization.

Region-based recognition offers a convenient representation for handling these distinctions. PubTables-1M and the associated Table Transformer (TATR) represent table components through localized regions, including rows, columns and spanning cells [3]. These predictions can be ordered and intersected to build a cell grid, and recent work has extended the formulation. Zhu et al. [4] combined row–column detection with post-processing in TSRDet, using structural alignment to guide component localization. Xiao et al. [5] examined detection-based recognition for visually rich documents and showed that adapting the detection formulation can markedly improve structural prediction. Together, this work makes clear that table recognition depends both on locating components and on turning their spatial arrangement into a consistent logical representation.

Another line of research treats the construction of elementary regions and the recovery of merged cells as separate steps. RobusTabNet combines separation-line prediction with cell merging to reconstruct tables in heterogeneous document images [6]. SEMv2 strengthens the separation stage through instance segmentation, addressing the difficulty of identifying table divisions across different document conditions [7]. The split-and-merge formulation rests on an important point: the finest visible partition is not necessarily the final cell structure. A valid reconstruction has to decide which elementary regions belong together and keep the resulting row and column spans intact. In dense financial tables, the same principle applies to narrow symbol regions that look separate but belong to an adjacent amount field.

Logical-coordinate and relational methods handle this distinction more explicitly. LORE++ combines spatial localization with logical-location regression and table-focused pretraining, linking the position of a cell in the image to the rows and columns it occupies [8]. Neural Collaborative Graph Machines model relationships between tabular elements through interactions among multiple modalities [9]. They show how relational evidence can supplement local appearance when the meaning of one region depends on its neighbors. Transformer-based approaches offer another route. TableFormer combines structural decoding with cell localization [10], while UniTabNet uses physical and logical decoders to reconstruct table organization from visual and textual information [11]. In all of these formulations, localization and structural interpretation stay closely tied: even a plausible set of regions must still be assigned to the correct logical positions.

Research on financial tables also highlights the need to resolve layout-specific ambiguities. Peng and Li [12] proposed ACTE, a preprocessing method that uses optical character recognition, semantic matching and heuristic rules to identify row demarcations in complex financial tables. Their approach handles wrapped text and missing separation lines by modifying the image passed to a downstream extractor. The present study targets a different reconstruction problem: excessive column partitioning caused by compact symbol-like regions, together with boundary omissions and scale-dependent detections. Its corrections are derived from image geometry and detector outputs, so structural repair needs neither recognized text nor a semantic matching model. This matters for low-resolution crops, where character transcription and the interpretation of narrow image regions are separate sources of error.

Image resolution also limits the evidence available for structural reconstruction. Studies of document image quality show that degradation directly affects document-processing performance and that different degradation mechanisms have different effects [13]. In dense tables, resizing changes the visibility of short text fragments, narrow gaps and compact headings. A larger inference scale can expose a small component while producing a different partition of a nearby region. Combining scales therefore requires explicit correspondence between predictions; simply keeping every detection introduces duplicates and changes the grid dimensions. Crop boundaries add a further problem, because a tightly cropped table leaves little background around regions at its edges. Context handling, cross-scale association and structural assembly therefore have to be considered together.

The target representation matters just as much. Smock et al. [14] showed that annotation errors and inconsistencies across table benchmarks affect recognition performance, and that aligning the annotations improves the results of a fixed architecture. A reconstruction procedure must therefore interpret visual regions with respect to a specified cell representation. Optimized Table Structure Language (OTSL) provides a compact encoding of table organization and shows that the choice of structural representation affects both recognition accuracy and decoding requirements [15]. These findings call for an explicit treatment of how visual components relate to logical cells. In the present setting, a symbol strip is consolidated with an adjacent field only when it satisfies defined geometric conditions, rather than being accepted automatically as an independent column.

The research problem, then, is to improve how a generic region detector transfers to dense financial tables by correcting the organization of its predictions. This takes more than adjusting bounding boxes. An unnecessary column changes the logical coordinates of subsequent cells, a missing boundary row removes grid positions, and duplicate detections alter the intervals available for assigning spanning cells. These errors interact during reconstruction, so a useful solution has to associate detections across scales, recover omissions supported by the image, correct excessive partitioning and keep cell ownership consistent across the completed grid.

We propose a hierarchical reconstruction method that builds these operations around a frozen pretrained table detector. Context padding adds a background margin around the input crop. Confidence-weighted association combines corresponding row, column and spanning-region detections from two inference scales. Conservative boundary-row recovery then uses image evidence to restore qualifying omissions at the table edges. A glyph-scale consolidation rule identifies compact symbol-like columns and joins qualifying regions to adjacent amount columns. The corrected row and column intervals define an elementary grid, after which spanning regions are mapped to contiguous grid positions under non-overlapping assignment constraints. The output stores row membership, column membership and cell spans in a coherent structural hierarchy.

The main methodological contribution is to connect scale-dependent regional evidence with geometry-based logical grouping. In particular, compact-column consolidation distinguishes a visually separated symbol region from an independent logical field using measurements normalized by glyph height. This correction targets a recurring cause of excessive column partitioning. Combined with boundary recovery and span-aware assembly, it carries the corrected grouping through to the final cell representation. Because the intermediate regions and assignment decisions remain available for inspection, the reconstruction can be traced from detector output to logical structure.

Experiments used 150 validation records from 28 companies and 500 test records from 50 other companies in FinTabNet-OTSL. Structural similarity was evaluated using GriTS, which compares predicted and reference tables in their grid representation [16], alongside exact structural correctness and row- and column-count errors. Compared with padded single-scale generic inference, the proposed method raised mean GriTS topology from 0.7975 to 0.8508. The paired improvement was 5.32 percentage points, with a company-cluster bootstrap 95% confidence interval of 4.28–6.42 points. Mean absolute column-count error fell from 1.354 to 0.628, a reduction of 53.6%. Ablation experiments separated the contributions of context, scale association, boundary recovery and column consolidation, while controlled perturbations examined reconstruction under reduced image quality. A detector pretrained on financial data served as a further point of comparison between geometric adaptation and domain-specific learning.

The contributions of this work are threefold:

  1. Integrated multiscale reconstruction. Context padding, confidence-weighted region association and image-supported boundary recovery are combined in a single reconstruction procedure that turns complementary detections into a consistent set of table components.
  2. Geometry-based correction of logical column divisions. A glyph-scale consolidation rule corrects compact-column oversegmentation, and constrained span assignment converts the repaired regions into a non-overlapping cell hierarchy without task-specific retraining or recognized text.
  3. Quantified improvement with component-level analysis. In a company-disjoint evaluation, the method achieves higher topology similarity and much lower column-count error than the matching single-scale generic baseline, and ablation and perturbation experiments pinpoint the mechanisms behind the gain.

The remainder of this paper reviews related work, describes the dataset and reconstruction method, and presents the evaluation protocol. The results cover overall structural accuracy, the contribution of each component and performance under controlled image degradation. The discussion relates these findings to financial-table geometry and domain adaptation, and the paper closes with conclusions.

2. Literature Review

2.1 Region detection and grid reconstruction

Table structure recognition connects visual observations with a logical description of cell organization. Existing methods differ mainly in what they predict and in the rules they use to turn those predictions into a complete structure [1]. Region-based methods predict components such as rows, columns and spanning cells, whereas separation-based methods identify divisions that establish an elementary grid. Both need a reconstruction stage, because the predicted components must satisfy relationships that no single localization decision captures.

TATR provides a representative region-based formulation. Its row, column and spanning-cell predictions support the construction of a grid while retaining explicit spatial information about the components [3]. This makes the representation especially useful for examining reconstruction errors: duplicate rows, excessive column divisions and conflicting spans can be traced to intermediate predictions. TSRDet similarly treats rows and columns as primary structural elements and combines their detection with intersection-based post-processing [4]. Xiao et al. [5] further showed that object-detection formulations need to be adapted to the requirements of table structure recognition. Regional predictions are therefore a productive starting point for structural assembly.

Converting regions into cells, however, involves decisions beyond localization. Intersecting an ordered set of rows and columns creates grid positions, but it does not determine whether all predicted columns represent independent logical fields. Likewise, a spanning-region box must be associated with contiguous row and column intervals before it can define a merged cell. These distinctions matter most when a compact symbol region is detected separately from the adjacent amount. Keeping both as independent columns changes the topology of the table even when their locations are estimated accurately.

Split-and-merge methods deal more directly with the relationship between elementary partitions and final cells. RobusTabNet predicts separation lines and merges grid elements to recover cell structures in heterogeneous document images [6]. SEMv2 uses instance segmentation to strengthen separation-line detection within the split-and-merge framework [7]. Both rest on the idea that a fine partition is an intermediate representation, not the final answer; how adjacent regions are interpreted decides which divisions stay and which are removed.

The present reconstruction strategy follows the same principle. Row and column detections establish candidate intervals, geometric consolidation corrects excessive column partitioning, and spanning-region assignment determines the ownership of contiguous grid positions. What is new is how these operations are linked: a correction to the column representation propagates through the subsequent cell assembly, which keeps logical coordinates consistent and prevents overlapping cell ownership.

2.2 Logical relationships and sequence-based recognition

Logical-coordinate methods explicitly separate where a cell lies in the image from where it sits within the table. LORE++ combines spatial localization, logical-location regression and pretraining to recover these complementary descriptions [8]. Graph-based recognition expresses the same distinction through relationships between elements. Neural Collaborative Graph Machines model interactions among multiple modalities and use contextual relationships to support table structure reasoning [9]. These approaches show that local appearance acquires meaning through its relationship with the rest of the table.

Sequence-based methods express the structure as a generated sequence. The encoder–dual-decoder model introduced with PubTabNet separates structural decoding from cell-content recognition while allowing the two tasks to interact [2]. TableFormer combines transformer-based structural decoding with cell localization [10]. UniTabNet further connects physical and logical reconstruction through separate decoding components [11]. In these systems, recognition succeeds only if the generated structural elements line up with their image regions.

Several recent studies have sought to improve this alignment. Huang et al. [17] proposed VAST, which models cell coordinates sequentially and introduces visual-alignment supervision so that logical representations retain local image information. Shen et al. [18] organized parsing progressively from rows to cells, using the two-dimensional organization of tables to address error accumulation in long structural sequences. TFLOP reformulates the association between structure and text regions as a layout-pointing problem, directly connecting predicted structural elements with corresponding regions [19]. Lee et al. [20] introduced a single-stage recognition approach and the Cell-Code representation to improve token efficiency and visual–structural alignment. In each case, structural representation and regional correspondence are treated as coupled design problems.

These methods also help clarify the difference between learning structural relationships and correcting how existing predictions are assembled. Logical regression, graph reasoning and sequence decoding learn relationships through their respective training objectives. The present method operates on the outputs of a frozen detector and uses explicit image measurements to revise their grouping. Its contribution lies at the interface between predicted regions and logical cells. Cross-scale association establishes correspondence between repeated observations, glyph-scale constraints resolve qualifying compact-column divisions, and span assignment converts the corrected intervals into a coherent hierarchy.

2.3 Multiscale evidence and document image processing

Scale is central to visual detection, because objects and boundaries occupy different numbers of pixels in an image. Feature Pyramid Networks established a widely used approach to combining semantically informative features at multiple spatial resolutions [21]. Feature-level pyramids and inference at multiple input sizes address related issues at different stages: the former combines internal representations, while the latter changes the image detail presented to the same detector. In table reconstruction, the predictions must in addition agree on the identity and order of structural components.

Dense financial tables contain several scales of visual evidence within the same crop. A spanning heading can extend across most of the table width, while a currency symbol occupies a small fraction of a numeric field. Resizing affects how both are represented. A larger view can support the detection of a compact component, while a second view supplies another estimate of its extent and its relationship with neighboring regions. Combining the two requires correspondence rules that separate repeated detections from genuinely complementary components.

The present method meets this requirement with confidence-weighted cross-scale association. Corresponding regions are combined before the grid is assembled, preventing repeated observations from becoming additional rows or columns. Context padding complements this operation by providing a background margin around edge components. The two operations act on different aspects of the detector input: padding changes the boundary context, whereas resizing changes how internal detail is sampled.

Image processing provides a second source of evidence for judging candidate regions. The survey by Alaei et al. [13] relates document-processing performance to image quality and distinguishes the effects of different degradation mechanisms. Bataineh et al. [22] review binarization methods that separate foreground information from document backgrounds, including the challenges introduced by noise, weak contrast and complex layouts. For structural reconstruction, foreground measurements provide geometric information about occupied bands, component dimensions and intervening gaps.

The key distinction here is between a measured text component and a logical table element. Several physical text lines can belong to one logical row, and several disconnected foreground components can belong to one cell. The present method therefore uses foreground evidence only to support specific reconstruction decisions. Boundary recovery accepts qualifying omitted bands at the table edges, while glyph-scale normalization expresses compact-column measurements relative to the image’s text size. In this way, local measurements feed into clearly defined structural operations.

2.4 Financial-table adaptation and evaluation consistency

Financial tables call for reconstruction rules that respect their reporting conventions. Symbols, signs, indentation and white space can separate visual components without defining independent logical fields. Wrapped descriptions present the opposite case, in which several visible text lines form a single row. A reconstruction method must therefore interpret both separation and continuity in relation to the target cell representation.

ACTE addresses wrapped text and missing demarcations through OCR, semantic matching and heuristic image preprocessing [12]. It intervenes before downstream table extraction: candidate row boundaries are identified, filtered and added to the image. The present method intervenes mainly at the stages of region interpretation and grid construction. Compact-column consolidation corrects divisions after detection, using image geometry to associate qualifying symbol-like regions with neighboring amount columns. The two approaches deal with different structural decisions, showing that financial-table adaptation can act either on the input image or on the organization of predicted components.

How such decisions are evaluated depends on benchmark design. PubTables-1M provides detailed spatial and structural annotations for scientific tables [3], while work on benchmark alignment demonstrates that differences in annotation conventions affect comparisons across datasets [14]. OTSL further illustrates how a defined structural encoding specifies the representation produced by a recognizer [15]. These studies argue for evaluating each reconstruction against an explicit reference, rather than treating all visually plausible partitions as equivalent.

Dataset diversity adds another dimension. Yang et al. [23] developed TabRecSet to support end-to-end recognition across varied table forms and acquisition scenarios. Collections of this kind widen the range of visual conditions available for evaluation. In a study focused on financial tables, complementary evidence can be obtained by keeping companies separate between validation and testing and by applying controlled image perturbations. Company separation reduces overlap in company-specific layout conventions, while perturbations isolate the effects of selected changes in image quality.

Evaluation must also separate partial structural agreement from complete reconstruction. GriTS compares predicted and reference tables directly as grids and supports the assessment of topology, location and content within a common framework [16]. Exact structural correctness indicates whether the whole table has been recovered. Row- and column-count errors add a further view, revealing whether a change in similarity goes together with a correction to the grid dimensions. Reported together, these measures tie overall performance to the structural errors the method is designed to fix.

2.5 Synthesis and position of the proposed method

The reviewed literature provides three closely related foundations. Detection and separation methods provide spatial components from which a table can be assembled [3-7]. Logical-coordinate, graph and sequence models connect those components through learned structural relationships [8-11, 17-20]. Financial preprocessing and benchmark-alignment research show that both domain-specific layouts and the target annotation convention influence the interpretation of visual regions [12, 14, 15]. Table 1 summarizes these relationships.

Table 1. Representative approaches and their relationship to the proposed reconstruction method

Research Direction

Representative Studies

Principal Structural Operation

Relationship to the Present Method

Region-based recognition

TATR [3]; TSRDet [4]; Xiao et al. [5]

Detect table components and assemble their spatial relationships

Supplies explicit regional predictions for association and geometric correction

Separation and merging

RobusTabNet [6]; SEMv2 [7]

Construct elementary partitions and merge them into cells

Establishes the distinction between an initial partition and the final logical structure

Logical and relational modeling

LORE++ [8]; Neural Collaborative Graph Machines [9]

Infer logical coordinates or relationships among elements

Provides context for interpreting the difference between spatial location and logical membership

Structure and coordinate decoding

TableFormer [10]; UniTabNet [11]; VAST [17]

Align structural predictions with physical cell regions

Addresses correspondence between the structural representation and image evidence

Progressive and compact decoding

Shen et al. [18]; TFLOP [19]; Lee et al. [20]

Organize long sequences, point to regions or compact the output representation

Demonstrates the importance of structural organization and alignment during decoding

Financial image preprocessing

ACTE [12]

Derive and insert row demarcations using OCR, semantic matching and rules

Addresses financial layouts through input modification, complementing region-level reconstruction

Proposed method

This study

Associate multiscale detections, consolidate compact columns and assign cell spans

Corrects regional grouping and propagates the correction through a constrained cell hierarchy

The gap addressed here concerns how generic detector predictions should be organized under the geometric conventions of dense financial tables. Compact-column consolidation makes an explicit decision about whether a narrow visual region constitutes an independent logical field. Cross-scale association establishes a consistent set of candidate components, boundary recovery restores qualifying omissions, and constrained span assignment preserves the resulting structure during cell assembly.

The proposed improvement thus has a clear methodological basis: image evidence corrects the regional grouping, and the corrected grouping is carried through to the logical grid. This makes it possible to measure each operation separately and to attribute the gains in topology and column-count accuracy to identifiable reconstruction decisions.

3. Data and Problem Formulation

3.1 Data source and experimental sample

The experiments used financial-report table images from the public FinTabNet-OTSL repository maintained by the Docling project [24]. The release provides table images along with their original Hypertext Markup Language (HTML) annotations and OTSL representations. OTSL defines a compact structural encoding [15], while the retained HTML annotations provide explicit cell boundaries in logical row–column space. Repository revision 1fe37f0f9478b4c571c51c5c4d11e3ef357e75c4 was fixed throughout the study, so that sample selection, annotation parsing and image extraction all referred to the same source release.

The released validation and test partitions contained 10,505 and 10,397 records, respectively. From these partitions, 150 validation records and 500 test records were selected for the experiments. The selected images were extracted directly from the repository’s Parquet files, preserving their original encoded bytes. Each record was linked to its source index, filename, company identifier and image hash. In this way, every model output could be traced back to a specific input image and reference structure.

Because adjacent records tend to come from the same company, long consecutive runs would give undue weight to a few reporting layouts, and the sampling was designed to avoid this. Each partition’s index range was therefore divided into equally spaced strata, and one contiguous block of five records was selected within each stratum using the fixed random seed 20261111. Thirty strata supplied the validation sample, and 100 strata supplied the test sample. This spread the selected records across the source partitions while keeping the list of input indices reproducible.

Table 2. Composition of the experimental sample from the fixed FinTabNet-OTSL release

Characteristic

Validation Sample

Test Sample

Selected records

150

500

Companies

28

50

Reporting years

2002–2019

2001–2019

Annotated rows per table

3–56

2–60

Annotated columns per table

2–9

2–11

Records containing spanning cells

80

258

Proportion containing spanning cells

53.3%

51.6%

The resulting validation sample covered 28 companies and reporting years 2002–2019. The test sample covered 50 other companies and reporting years 2001–2019. Company identifiers extracted from the released filenames were disjoint between the two samples. Their SHA-256 image hashes were also disjoint, so parameter selection on the validation set and evaluation on the test set involved different companies and different image bytes. Company-disjointness refers to the validation and test subsets constructed in this study; the public detectors retained their original pretraining protocols.

Table 2 summarizes the experimental sample. The validation records contained between 3 and 56 annotated rows and between 2 and 9 columns. The corresponding test ranges were 2–60 rows and 2–11 columns. Spanning cells appeared in 80 validation records and 258 test records, so recovering them was a substantial part of the evaluated task.

The test images had a median native width of 456 pixels and a median height of 121 pixels. Their median image-derived glyph height was five pixels. At these sizes, small regions matter: a narrow gap or compact symbol spans only a few source pixels, yet how it is treated can change the logical column partition. Figure 1 summarizes the distributions of annotated row count, column count and estimated glyph height in the validation and test samples. Figure 2 shows native table crops of different structural sizes and illustrates the visual conditions the reconstruction method has to handle.

Figure 1. Distributions of table size and glyph height in the validation and test samples

Figure 2. Native financial table crops of different structural sizes

3.2 Reference structures and integrity checks

The reference structure was parsed from each record’s original HTML token sequence. Each cell was assigned a row anchor, a column anchor, a row span and a column span. Expanding these spans produced a logical occupancy grid in which each elementary row–column position was associated with its owning cell. Empty cells were kept, because they contribute to the grid dimensions and to the placement of surrounding headings and spanning cells.

The parsed structures underwent three consistency checks. First, the reconstructed row and column dimensions were compared with the counts supplied in the release. Second, every cell was required to occupy a contiguous rectangular set of logical positions. Third, the occupancy grid was required to cover every position exactly once. All selected records passed these checks, and the resulting reference representation was used for every evaluated method.

This treatment follows the distinction between annotation consistency and visual appearance established in benchmark-alignment research [14]. A visually separated symbol region can belong to the same reference cell as an adjacent amount, while a blank region can remain a required logical cell. Keeping the released representation gives a common target against which to judge whether reconstruction decisions correct the table topology.

Image integrity was checked separately from annotation consistency. Extracted files were verified for readable dimensions and associated with SHA-256 hashes. Comparing hashes across samples confirmed that no identical image bytes appeared in both validation and testing. Within the test sample, the 500 records corresponded to 499 distinct image hashes: two released records associated with the same PHM report page contained identical image bytes. Both records were retained in the record-level analysis, and a separate sensitivity analysis evaluated the 499-image set after retaining the first occurrence.

The original images served as the clean experimental inputs. Gaussian blur, downsampling followed by restoration, and JPEG compression were applied as controlled transformations in the robustness experiments. The derived images kept their source record associations and reference structures, which allowed paired comparisons of reconstruction performance under specified changes in image quality.

3.3 Structural size and visual density

Structural size and visual density describe different properties of a table image. Row and column counts determine the dimensions of the logical grid, whereas image resolution determines how much visual evidence is available for identifying its components. A table with many rows can have well-separated characters, while a smaller table can contain tightly packed regions at low resolution. The sample was therefore described using complementary structural and image-based descriptors.

Table 3. Descriptors used to characterize table structure and image density

Descriptor

Definition

Role in the Study

Row count

Number of logical rows in the reference grid

Structural-size analysis and row-count error evaluation

Column count

Number of logical columns in the reference grid

Grid-width analysis and column-count error evaluation

Spanning-cell presence

At least one reference cell occupies multiple rows or columns

Characterization of merged-cell structures

Glyph height

Image-derived text-component height in native pixels

Characterization of visual scale and normalization of geometric measurements

Cell density

Annotated logical cells per 10,000 native image pixels

Density-based subgroup analysis

Dense subgroup

Cell density at or above the validation-derived 75th-percentile threshold

Evaluation of reconstruction on more densely represented tables

Structural size was summarized through annotated row and column counts. Row-count groups of 2–9, 10–19 and 20–60 were used to distinguish shorter, intermediate and longer tables. Image-derived glyph height provided a measure of the native text scale. It was estimated from connected components and expressed in source-image pixels, which keeps it directly comparable with the geometric measurements used during reconstruction.

Cell density was defined as the number of annotated logical cells per 10,000 native image pixels. A spanning cell contributed one cell to this count, irrespective of the number of elementary grid positions it occupied. The dense subgroup comprised tables with a cell density of at least 7.665918 cells per 10,000 native-image pixels, corresponding to the validation sample’s 75th percentile. The same threshold was applied to the test sample.

Table 3 distinguishes these descriptors and their roles. Annotation-derived quantities characterize the evaluation sample, while image-derived glyph measurements support the geometric interpretation of candidate regions. Keeping these roles explicit ties each subgroup analysis to the property being measured.

3.4 Reconstruction target and hierarchy

The input to the reconstruction method was a localized table image. The target output was an ordered grid of logical cells assembled from detected row, column and spanning regions. Each output cell was described by its upper-left logical anchor and its row and column spans. Associated image coordinates were retained to connect the logical representation with the source regions.

A valid reconstructed cell occupied contiguous row and column intervals. Ordinary cells covered one elementary grid position, while spanning cells covered a rectangular group of positions. The assembly procedure assigned every position in the predicted grid to exactly one cell. This gave a consistent representation for evaluating both the grid dimensions and the relationships created by merged regions.

The hierarchy comprised the table, its ordered rows, cells anchored within those rows, and explicit column and span attributes. A cell extending across several rows was stored once at its upper-left anchor; its additional memberships were represented through the span attributes. Merged-cell relationships were thus preserved without duplicating the cell in the serialized structure.

The proposed improvement hinges on the distinction between detected regions and logical cells. A detector can produce a compact symbol-like column that is spatially separate from an amount column, even when the reference representation groups both within one field. Consolidating those regions changes the column intervals used throughout the grid. The corrected intervals must therefore be fixed before spanning cells are assigned; this ordering is what links local geometric repair to the topology of the whole table.

Structural quality was assessed against the parsed reference grids. GriTS topology measured agreement in cell organization [16], while exact topology and row- and column-count errors provided complementary measures of complete correctness and partitioning accuracy. Taken together, these measures related overall structural agreement to the specific reconstruction operations examined in the experiments.

3.5 Separation of reference information and inference inputs

Reference annotations and inference inputs followed separate processing paths. HTML structures supplied the target grids for evaluation, and validation labels supported the selection of geometric settings. At inference, the reconstruction method received the table image and detector predictions. Foreground measurements, glyph-scale estimates, cross-scale associations and boundary evidence were computed from those inputs.

This separation kept the method purely image-based. Ground-truth text, cell boxes, row counts and HTML tokens were excluded from the inference path. Compact-column consolidation therefore relied on measured geometry, not on recognized currency characters or annotated cell membership, and boundary recovery likewise relied only on visible image evidence.

All evaluated methods used the same selected source records and the same parsed reference structures. Their predictions were associated with the retained record identifiers, enabling paired comparisons at the table level and aggregation by company. With this common data representation in place, the next section describes the reconstruction operations that turn multiscale regional predictions into the final logical hierarchy.

4. Reconstruction Methodology

4.1 Framework and detector configuration

The proposed method reconstructs table structure by processing regional predictions and native-image evidence together. Two padded image views are processed by the same frozen detector. Their predictions are associated in source-image coordinates, after which boundary recovery and compact-column consolidation correct the regional partition. The corrected rows and columns define the grid used to assign spanning cells. This ordering carries the geometric corrections into the final logical representation: column consolidation changes the intervals against which cell spans are interpreted, while boundary recovery supplies additional row positions before cell ownership is established. Figure 3 shows the processing sequence from the input table crop to the reconstructed logical grid.

Figure 3. Processing stages of the proposed reconstruction method

The regional predictor was the public TATR structure-recognition model pretrained on PubTables-1M [3]. The floating-point ONNX export from Xenova/table-transformer-structure-recognition was fixed at revision 5387550de655512721e1b88e4e42117001ba4813. Its neural parameters remained frozen throughout the experiments. All changes introduced by the reconstruction method therefore came from image presentation, regional association and logical assembly.

Inference used OpenCV DNN on the CPU. Images were converted to red–green–blue (RGB) format, scaled to the range [0, 1], and normalized using channel means of 0.485, 0.456, 0.406 and standard deviations of 0.229, 0.224, 0.225. The detector produced class scores and normalized bounding boxes. At this initial stage, only proposals scoring below 0.2 were discarded, leaving a broad candidate set for cross-scale association. Final structural filtering used the threshold specified in Section 4.3.

All predicted boxes were mapped to native-image coordinates before reconstruction. Resizing was inverted and padding offsets were removed, placing both views in a common coordinate system. Foreground measurements were also computed in native-image coordinates. Cross-scale overlap, glyph-normalized widths and boundary distances were thus expressed in the same spatial units.

4.2 Context padding and image views

A white border of 20 native pixels was added to each side of the table crop. The border provided background for components touching the crop boundary while leaving the visible table content unchanged. Each padded image was then resized with its aspect ratio retained.

Let Wp and Hp denote the padded image width and height, respectively. For a longest-side cap L, the resize factor was

$s_L=\min \left\{\frac{800}{\min \left(W_p, H_p\right)}, \frac{L}{\max \left(W_p, H_p\right)}\right\}$   (1)

The resized dimensions were obtained by truncating $s_L W_p$ and $s_L H_p$ to integers. Two views were generated using longest-side caps of 1000 and 1440 pixels. The common shortest-side limit bounded the input dimensions, while the two longest-side caps sampled narrow gaps, small text components and compact headings in different ways.

The effective resize factor was determined separately for each image. When the shortest-side constraint governed both views, their effective resolutions coincided. The association procedure handled this case with the same correspondence rules used for views at different resolutions.

Padding and resizing were treated as a combined input transformation. Padding provided boundary context but also changed the scale of the table content under the resizing constraints. Its practical contribution was evaluated with matched detector settings in the experiments.

4.3 Cross-scale association and structural filtering

Cross-scale association was performed separately for each detector class. Row proposals were compared along the vertical axis, and column proposals along the horizontal axis. For intervals $a=\left[a_1, a_2\right]$ and $b=\left[b_1, b_2\right]$, their association score was

$A(a, b)=\frac{\max \left\{0, \min \left(a_2, b_2\right)-\max \left(a_1, b_1\right)\right\}}{\max \left\{1, a_2-a_1, b_2-b_1\right\}}$   (2)

Normalizing by the longer interval means that two intervals must match in extent, not merely overlap. For the remaining classes, association used bounding-box intersection over union.

Within each class, proposals from the 1000-pixel-cap view were processed in descending confidence order. Each proposal was paired with the unused proposal from the second view having the highest association score, provided that the score reached 0.3. A second-view proposal could participate in one pair only. This one-to-one greedy procedure produced explicit correspondences between regional observations.

For a matched pair, the source-coordinate boxes were combined as

$\mathbf{b}_f=\frac{q_1 \mathbf{b}_1+q_2 \mathbf{b}_2}{q_1+q_2}$   (3)

where, $\mathbf{b}_1$ and $\mathbf{b}_2$ are the box-coordinate vectors and $q_1$ and $q_2$ are their detector confidence scores. The fused confidence was their arithmetic mean. An unmatched proposal was retained when its score was at least 0.9. The rule kept strong observations seen in only one view while requiring cross-scale support for less confident candidates.

The fused predictions were then converted into structural components using a confidence threshold of 0.5. Duplicate row and column proposals were suppressed within their respective classes. Candidates were processed in descending confidence order, and the lower-confidence interval was discarded when its overlap with an accepted interval, normalized by the shorter interval length with a minimum denominator of one pixel, exceeded 0.6. Accepted rows and columns were sorted by their starting coordinates.

Filtering in this order kept candidate association separate from final structural acceptance. The initial 0.2 threshold retained proposals that could contribute to fusion; the 0.5 threshold determined which fused components entered reconstruction. Throughout, confidence scores acted as ranking and weighting signals.

4.4 Foreground evidence and glyph-scale estimation

A grayscale copy of the native crop provided the image evidence for geometric repair. Otsu thresholding [25] produced an inverted binary mask in which foreground pixels represented dark image content. Long horizontal and vertical rules were removed by morphological opening followed by subtraction. The horizontal structuring element had dimensions $\max (20,\lfloor W / 5\rfloor) \times 1$, and the vertical element had dimensions $1 \times \max (20,\lfloor H / 5\rfloor)$, where $W$ and $H$ are the native crop dimensions.

Removing long rules kept them from inflating text-band support and component-size measurements. Eight-connected foreground components were then extracted from the remaining mask. Components were eligible for glyph-scale estimation when their area was at least three pixels, their height was at least two pixels and below 20\% of the image height, and their width was below 15\% of the image width. The median eligible component height defined the glyph-scale estimate $g$. A value of six pixels was used when the eligible set was empty.

Horizontal foreground projection identified supported text bands. A scanline was active when its foreground count reached $\max (2,0.003 W)$. A one-dimensional morphological closing operation, with kernel length $\max (1,\lfloor 0.2 g\rfloor)$, bridged short interruptions within the active profile. Contiguous active runs shorter than $\max (1,0.35 g)$ were removed.

The resulting bands represent physical foreground support. How they were used depended on location and geometry, not on an assumed one-to-one correspondence with logical rows. Multiline labels therefore stayed within the detector's row interpretation, while the bands still supplied evidence for targeted boundary recovery.

4.5 Image-supported boundary-row recovery

Boundary recovery operated on supported bands outside the vertical extent of the accepted rows. Let the minimum row-top coordinate and maximum row-bottom coordinate define the current row envelope. A band was eligible when its center lay above or below this envelope by more than 0.4 g.

Two further conditions limited acceptance. First, the band height could not exceed 2.5 g. Second, the band had to contain sufficient foreground support to the right of 35% of the image width. For a band of height $h_b$, this region was required to contain at least $\max \left(3,1.5 h_b\right)$ foreground pixels. The right-side support condition limited the influence of isolated left-margin labels and marks.

An accepted band generated a row region extending across the native image width and occupying the measured band interval. The row was assigned a bookkeeping score of 0.95 and inserted into the ordered row sequence. This score simply flagged an accepted repair region within the common data structure and was not a neural confidence estimate.

Recovery was applied only when at least one detected row defined the row envelope, and internal bands remained part of the existing row interpretation. The operation thus handled boundary omissions through a defined local rule while keeping physical text lines distinct from logical rows.

4.6 Glyph-scale consolidation of compact columns

Compact-column consolidation corrected cases in which a symbol-like region and its neighboring field were detected as separate columns. The decision relied on foreground geometry normalized by g, so the same criteria could be applied to images with different native text scales.

The leftmost column was excluded from consolidation because it usually holds descriptive row labels. Candidate measurements were taken from body-row intervals to reduce the influence of spanning headings. For tables with more than three accepted rows, the first $\max (1,\lfloor 0.25 R\rfloor)$ rows were excluded, where R is the accepted row count. For shorter tables, the first row was excluded.

Within each remaining row, the foreground mask was restricted to the candidate column. When foreground was present, its horizontal extent was measured between the first and last occupied pixel columns. The median extent across occupied body rows defined the candidate’s foreground width. Its occupied-row fraction was the number of body rows containing foreground divided by the total number of body rows.

A candidate was consolidated with its immediate right neighbor when all of the following conditions held:

  1. The candidate had at least one occupied body row.
  2. Its image-clipped width did not exceed 8 g.
  3. Its median foreground width did not exceed 2 g.
  4. Its occupied-row fraction satisfied the selected upper limit.
  5. The right-neighbor width was at least 2 g.

The geometric parameters were selected through a finite search on the 150 validation records. Candidate width limits were 4 g, 6 g and 8 g; foreground-width limits were g, 1.5 g and 2g; and occupied-row limits were 0.65, 0.85 and 1.0. The 27 combinations were evaluated using mean absolute column-count error. Ties were resolved using the fixed enumeration order. The selected combination was 8 g, 2 g and 1.0. At this occupancy setting, the effective restrictions came from compactness and the geometry of the neighboring column.

Accepted pairs were replaced by their spatial union. The merged confidence was the smaller of the two input scores. Processing then moved past both original columns, so each merged region took part in only one consolidation decision per pass. This local forward rule yielded a corrected column sequence before cell-span assignment.

The consolidation mechanism separates visual separation from logical independence. A narrow foreground pattern could remain visibly separate within the image while being grouped with the adjoining field in the logical grid. Normalizing the measurements by glyph height ties this grouping decision to the native image scale.

4.7 Span assignment and hierarchical assembly

The repaired rows and consolidated columns defined the elementary grid. Candidate merged regions were drawn from the detector’s spanning-cell and projected row-header classes after confidence filtering. Each candidate was mapped to row and column index sets using interval coverage. A row was included when the candidate covered at least half of its vertical interval; a column was included when the candidate covered at least half of its horizontal interval. Interval denominators were bounded below by one pixel.

Candidates covering more than one elementary grid position were eligible to define spanning cells. They were processed in descending confidence order. A candidate was accepted when none of its proposed grid positions had already been assigned to an accepted span. Candidates competing for occupied positions were discarded. After span assignment, every remaining position became an ordinary one-row, one-column cell. This procedure guaranteed exclusive cell ownership across the predicted grid. Accepted cells were sorted by their upper-left logical anchors and stored with their occupied row and column indices. Row-span and column-span attributes followed from these memberships. Associated regional boxes were retained to connect the logical output with the image observations.

Table 4. Principal settings of the reconstruction method

Operation

Setting

Function

Detector parameters

Frozen PubTables-1M pretrained weights

Common regional predictor

Initial proposal retention

Confidence ≥ 0.2

Candidate set for association

Context padding

20 native pixels per side

Background around crop boundaries

Shortest-side limit

800 pixels

Aspect-ratio-preserving resizing

Longest-side caps

1000 and 1440 pixels

Two inference views

Cross-scale association

Score ≥ 0.3

Pair corresponding same-class regions

Unmatched proposal retention

Confidence ≥ 0.9

Preserve strong single-view observations

Final structural acceptance

Confidence ≥ 0.5

Select reconstruction components

Duplicate interval suppression

Overlap over shorter interval > 0.6

Remove repeated rows and columns

Boundary margin

0.4 g

Restrict recovery to external bands

Maximum recovered-band height

2.5 g

Limit boundary-row candidates

Candidate column width

≤ 8 g

Identify compact regions

Median foreground width

≤ 2 g

Require compact occupied content

Minimum right-neighbor width

2 g

Constrain forward consolidation

Occupied-row upper limit

1.0

Validation-selected setting

Span membership coverage

≥ 0.5

Map regions to grid intervals

Note: g denotes the glyph-height estimate measured in native-image pixels.

The operations were applied in a fixed order so that geometric corrections preceded cell-span assignment. Cross-scale association established the regional candidates, boundary recovery completed the accepted row sequence, and compact-column consolidation corrected the column partition. Span assignment then operated on those repaired intervals. Because geometric correction came before logical assembly, an accepted column merge also changed how headings and other regions spanning that part of the table were interpreted.

If either the accepted row set or column set was empty, the output contained no reconstructed cells. Otherwise, the assembly procedure assigned each predicted grid position once, producing the anchored-cell representation used for evaluation. Table 4 summarizes the principal settings governing input preparation, region association, geometric repair and cell-span assembly.

4.8 Prediction-based diagnostic ranking

A supplementary diagnostic ranked tables using disagreement between the two padded views. It was calculated from their separately filtered row and column predictions before boundary recovery and column consolidation.

The diagnostic combined three terms: the absolute difference in row counts normalized by the larger row count, the corresponding normalized column-count difference, and one minus the mean confidence of the accepted row and column detections from both views. Count denominators were bounded below by one. When neither view contained accepted row or column detections, the mean detection confidence was set to zero, giving a confidence-deficit term of one.

Larger diagnostic values indicate greater disagreement or lower component confidence. Tables were ranked in ascending order of this value, with source index used to resolve ties. Reconstruction performance was then summarized over progressively smaller retained subsets.

The diagnostic used prediction-derived information to flag tables for closer inspection and played no part in the reconstruction decisions: the same region-association, geometric-repair and cell-assignment rules generated the output for every evaluated table.

5. Experimental Design and Evaluation Protocol

5.1 Comparative framework and ablation design

The experiments were designed to measure how much structural reconstruction improves results and to identify which operations are responsible. Comparisons used the same source records, parsed reference grids and evaluation implementation. All generic detector variants shared the frozen PubTables-1M pretrained weights [3], so that the effects of input presentation and reconstruction could be examined apart from any change in model training.

The principal reference was padded single-scale generic inference with a 1000-pixel longest-side cap. This baseline used the same 20-pixel context border, confidence filtering and common cell-assembly procedure as the proposed method. It therefore serves as a direct reference for judging what cross-scale association, boundary recovery and compact-column consolidation add.

Two further single-view settings examined the effect of input presentation. The tight-crop configuration processed the original image without padding, while the larger-view configuration retained the same padding and increased the longest-side cap to 1440 pixels. Comparing them with the padded baseline separated the effects of crop treatment and inference resolution.

The reconstruction steps were evaluated incrementally. Scale consensus combined the two padded views. Adding boundary recovery isolated the effect of restoring supported edge rows. Applying compact-column consolidation to the padded single-view output measured the contribution of geometric column grouping independently of multiscale processing. The full method combined scale consensus, boundary recovery and column consolidation before cell-span assembly.

A projection baseline served as an image-processing reference. It estimated rows from horizontal foreground bands and placed column divisions at sufficiently wide vertical white gutters. Eligible gutters had widths of at least the larger of four pixels and 1.2 estimated glyph heights. Its elementary cells were constructed without spanning-region predictions.

The financial-domain comparator used the floating-point ONNX export from Xenova/table-transformer-structure-recognition-v1.1-fin, fixed at revision e9c9948662f4021563cefca1c183f246ad472c79. It used a 20-pixel context border, an 800-pixel longest-side cap and the common structural assembly procedure. Including this model made it possible to separate the gain from reconstructing generic predictions from the performance that comes with training on financial data. Table 5 summarizes the principal configurations.

Table 5. Principal configurations used in the comparative evaluation

Configuration

Predictor

Input Treatment

Reconstruction Operations

Projection baseline

Foreground projections

Native crop

Text-band rows, white-gutter columns and elementary grid

Generic tight crop

Generic TATR

No padding; 1000-pixel cap

Common regional filtering and cell assembly

Generic padded

Generic TATR

20-pixel padding; 1000-pixel cap

Common regional filtering and cell assembly

Generic larger view

Generic TATR

20-pixel padding; 1440-pixel cap

Common regional filtering and cell assembly

Scale consensus

Generic TATR

Two padded views

Cross-scale association and cell assembly

Consensus with boundary recovery

Generic TATR

Two padded views

Association, boundary recovery and cell assembly

Padded with column consolidation

Generic TATR

One padded view; 1000-pixel cap

Compact-column consolidation and cell assembly

Full reconstruction

Generic TATR

Two padded views

Association, boundary recovery, column consolidation and cell assembly

Financial-domain TATR

Financial-domain TATR

20-pixel padding; 800-pixel cap

Common regional filtering and cell assembly

Additional controls examined boundary recovery on each padded single view and alternative interpretations of physical text bands. The row-splitting controls divided sufficiently tall detected rows according to supported foreground bands. A guarded variant required foreground evidence in the right-hand body region, whereas an aggressive variant applied a less restrictive split. These controls tested whether adding more image-supported row divisions would yield a better logical structure.

5.2 Structural evaluation measures

The primary measure was GriTS topology similarity [16]. Predicted and reference cells were converted into relative-span grids and compared using the public GriTS implementation. A score was calculated for each table, and the reported mean gave equal weight to each evaluated record. This aggregation reflects table-level performance and prevents large grids from dominating simply because they contain more elementary positions.

Topology precision and recall accompanied the primary score. They describe the correspondence between predicted and reference structures from opposite directions. Row- and column-count errors then linked structural similarity to the grid dimensions directly targeted by reconstruction.

For column count, mean absolute error (MAE) was defined as:

$\operatorname{MAE}_C=\frac{1}{N} \sum_{n=1}^N\left|\hat{C}_n-C_n\right|$   (4)

where, N is the number of evaluated records, Cn is the reference column count and $\hat{C}_n$ is the predicted count. Row-count mean absolute error was calculated analogously.

Exact row–column count accuracy measured the proportion of tables for which both the predicted row count and column count matched the reference. Exact topology imposed the additional requirement that the complete relative-span grids agree. These criteria separate getting the row and column counts right from getting the complete cell topology right.

Spanning-cell F1 provided a focused diagnostic of merged structures. Each spanning cell was represented by its occupied row-index tuple and column-index tuple. A prediction counted as correct only when both tuples matched a reference span exactly. Per-table F1 scores were averaged across records. When both structures contained no spanning cells, the score was one. Results were also grouped by the presence of reference spans to distinguish performance on merged structures from the contribution of ordinary grids. Empty reconstruction outputs received zero topology and span scores.

Table 6 summarizes the measures and their roles.

Absolute differences in topology scores were reported in percentage points after multiplication by 100. Relative reductions in count errors were calculated against the corresponding baseline error. Reporting them differently keeps structural-score improvement and proportional error reduction distinct.

Table 6. Structural evaluation measures

Measure

Evaluation Target

Interpretation

GriTS topology

Relative cell-span grid

Overall agreement in logical cell organization

Topology precision

Predicted structure

Correspondence of predicted structure with the reference

Topology recall

Reference structure

Recovery of the reference structure

Row-count MAE

Number of logical rows

Magnitude of row-partition error

Column-count MAE

Number of logical columns

Magnitude of column-partition error

Exact row–column count accuracy

Joint row and column dimensions

Proportion of tables with both dimensions correct

Exact topology accuracy

Complete relative-span grid

Proportion of fully matching logical structures

Spanning-cell F1

Exact row and column memberships of spans

Recovery of merged-cell relationships

5.3 Paired comparisons and company-level resampling

Method comparisons were paired by source record. For each table, the topology score of the reference configuration was subtracted from the score of the comparison configuration. The mean paired difference summarizes both the direction and the size of the improvement.

Confidence intervals were obtained through bootstrap resampling [26], using companies as clusters. Clustering by company preserves the dependence among tables that share company-specific fonts, heading conventions and alignment patterns. In each of 2000 replicates, company identifiers were sampled with replacement, and all evaluated tables belonging to each sampled company were included. A company selected more than once contributed its tables with the corresponding multiplicity. The replicate statistic was the mean paired difference over the resulting table records.

The 2.5th and 97.5th percentiles of the replicate distribution defined the 95% confidence interval. Resampling used the fixed seed 20261111. The principal comparison was the full reconstruction method against padded single-scale generic inference.

Win, tie and loss counts described how the improvement was distributed across tables. A paired difference greater than 10-8 counted as a win, an absolute difference no greater than 10-8 counted as a tie, and a difference below -10-8 counted as a loss. These counts complement the mean difference by showing whether gains are widespread or concentrated in a small set of records.

The record-level analysis retained the 500 selected test records. A separate duplicate-image sensitivity analysis retained one occurrence of each image hash and repeated the principal comparison on 499 distinct images. This checked the effect of the repeated image without altering the original record-level evaluation.

5.4 Controlled image perturbations

Robustness was evaluated on 100 systematically spaced records from the 500-record test sample. The same indices were used for the clean reference and every perturbed condition, so that all comparisons were paired over a fixed sample.

Three transformations probed different kinds of change in image evidence. Gaussian blur reduced local edge sharpness. Downsampling followed by restoration reduced spatial detail while preserving the final image dimensions. JPEG compression introduced lossy coding effects. Table 7 specifies the settings.

Table 7. Image conditions used in the controlled robustness experiment

Condition

Transformation

Setting

Clean reference

Original released image

No additional transformation

Gaussian blur

Gaussian filtering

Radius of 0.6 native pixels

Downsampling and restoration

Resize to reduced dimensions, then restore

65% of original width and height; bilinear interpolation in both stages

JPEG compression

JPEG encoding and decoding

Quality setting of 35

For downsampling, reduced dimensions were truncated to integers and bounded below by one pixel. The transformed image was then restored to its original width and height. The reference logical structure was kept unchanged, since these transformations alter image appearance but not the intended cell organization.

Each condition was processed from its transformed image throughout the pipeline. Foreground masks, glyph estimates, supported bands and compact-column measurements were recomputed from that image. The reconstruction stage thus worked with exactly the image evidence available to the detector under each condition.

The robustness comparison included padded generic inference, padded inference with column consolidation, the full reconstruction method and the financial-domain comparator. This setup isolates what multiscale association and boundary recovery add once column consolidation is already in place. Clean and perturbed means were calculated on the same 100-record subset.

5.5 Parameter sensitivity and subgroup analysis

Parameter analysis used the validation sample described in Section 3. The compact-column search evaluated the 27 combinations specified in Section 4.6 and selected the combination minimizing validation column-count MAE.

A separate confidence-threshold analysis examined final structural acceptance thresholds of 0.3, 0.4, 0.5, 0.6 and 0.7. Cross-scale association, boundary recovery and column-consolidation settings remained fixed. This analysis shows how the completed pipeline responds to a common detector operating choice. The principal experiments used a threshold of 0.5.

Subgroup evaluation looked at different sources of structural difficulty. Row-count groups represented increasing table length. Spanning-cell groups separated ordinary grids from tables containing merged regions. The small-glyph group comprised images with an estimated glyph height of at most five native pixels, the validation median; the remaining images formed the larger-glyph group. The dense subgroup used the validation-derived cell-density threshold introduced in Section 3.3. Applying these definitions to the test sample related performance changes to structural size, native text scale and cell density.

The compact-column mechanism was developed from validation errors, and its geometric parameters were selected using validation labels. Aggregate results from initial generic-detector configurations on the test sample had been inspected before this mechanism was introduced. The reported comparison should therefore be regarded as an exploratory evaluation of the completed pipeline.

The prediction-based diagnostic from Section 4.8 was evaluated separately from reconstruction accuracy. Tables were ranked by their diagnostic values, with source index resolving ties. Retained fractions of 100%, 90%, 80%, 70%, 60% and 50% were examined, and topology and exact-structure accuracy were calculated within each retained subset. Spearman rank correlation summarized the association between the diagnostic and topology error.

5.6 Computational protocol and reproducibility

Final inference used OpenCV DNN with two computational threads per detector. Bulk prediction generation used three workers, while runtime evaluation was conducted separately in a sequential run. Keeping the two apart gave a consistent basis for timing individual pipeline runs.

The timing sample contained 30 systematically spaced test records. The generic detector was warmed up once before measurement. For each record, the native, padded and larger-view detector passes were timed separately. Full-method runtime was calculated as the sum of the two padded-view detector times and the time required for association, geometric repair and logical cell assembly. Timed detector processing included padding, resizing, normalization and neural inference. Image-file loading, RGB conversion, model loading, downloading, source extraction and disk output were excluded.

Mean, median and 90th-percentile runtimes were summarized over the timed records. All configurations were measured on the same Linux host using Python 3.12.14 and OpenCV DNN with two computational threads per detector. The reported runtimes are specific to this environment. They complement the accuracy results by quantifying the computational cost of the extra reconstruction stages.

Reproducibility records included source indices, image hashes, model identifiers, parameter settings, cached detections and per-table evaluation outputs. Integrity checks covered reference-grid occupancy, company separation and cross-sample image hashes. The GriTS implementation used cached rectangle rewards to reduce repeated computation. Numerical agreement with the original rectangle operation was checked on 1000 randomly generated cases, with a maximum observed difference of zero.

6. Results

6.1 Overall reconstruction performance

The proposed method improved the reconstruction of financial table structure from generic detector predictions. On the 500 test records, mean GriTS topology increased from 0.7975 for padded single-scale inference to 0.8508 for full reconstruction, an improvement of 5.32 percentage points. Column-count mean absolute error fell from 1.354 to 0.628, a reduction of 53.6%.

Table 8. Reconstruction performance on the 500 clean test records

Method

GriTS Topology

Precision

Recall

Exact Counts (%)

Exact Topology (%)

Row MAE

Column MAE

Projection baseline

0.7563

0.8310

0.7708

20.4

17.0

2.262

1.350

Generic tight crop

0.6324

0.7504

0.5995

1.0

0.4

3.204

1.582

Generic padded

0.7975

0.7579

0.8754

33.0

20.0

1.028

1.354

Generic larger view

0.7920

0.7636

0.8601

30.4

20.0

1.180

1.388

Scale consensus

0.7993

0.7640

0.8736

33.4

20.0

1.098

1.356

Consensus with boundary recovery

0.8017

0.7613

0.8823

35.6

20.8

1.022

1.356

Padded with column consolidation

0.8453

0.8345

0.8769

39.2

20.2

1.028

0.638

Full reconstruction

0.8508

0.8390

0.8839

41.6

21.0

1.022

0.628

Financial-domain TATR

0.9415

0.9431

0.9423

83.6

49.0

0.522

0.014

Figure 4. Paired topology scores of full reconstruction and padded single-scale inference on 500 test records

Table 8 presents the principal results, and Figure 4 shows the paired topology scores of full reconstruction and padded single-scale inference for individual test records.

Topology precision rose from 0.7579 to 0.8390 and recall from 0.8754 to 0.8839. The larger rise in precision is consistent with the correction of excessive regional partitioning. Exact row–column count accuracy increased from 33.0% to 41.6%, meaning that 43 more tables had the correct row and column dimensions. Exact topology increased from 20.0% to 21.0%, corresponding to 105 completely matching structures.

The financial-domain detector achieved the highest topology score, 0.9415, and an exact-topology rate of 49.0%. This comparison puts the proposed improvement in its intended context, namely the structural adaptation of a generic pretrained detector. In that context, full reconstruction achieved the highest topology score and lowest column-count error among the evaluated generic configurations.

6.2 Contribution of input treatment and structural repair

Input treatment alone made the generic reference considerably stronger. Adding the white context border increased topology from 0.6324 for tight-crop inference to 0.7975 for padded inference. Row MAE decreased from 3.204 to 1.028. These changes occurred with identical neural weights and reflect the combined effect of boundary context and the accompanying resizing.

Most of the further gain from reconstruction came from logical column grouping. Applying compact-column consolidation to the padded single-view output increased topology from 0.7975 to 0.8453 and reduced column MAE from 1.354 to 0.638. Adding multiscale association and boundary recovery produced the full-method score of 0.8508 and column MAE of 0.628.

The incremental configurations make this breakdown clear. Scale consensus scored 0.7993, and consensus with boundary recovery scored 0.8017. Consolidating the compact columns in the latter configuration increased topology by a further 4.91 percentage points. On clean images, then, the main improvement came from correctly distinguishing visually separated regions from logical columns.

Company-cluster resampling confirmed the improvement of the full reconstruction. Relative to padded single-scale inference, the paired difference was 5.32 percentage points, with a 95% confidence interval of 4.28–6.42 points. The full method improved 242 records, tied on 190 and reduced the score on 68. Its difference from the larger single-view configuration was 5.87 points, with an interval of 4.84–6.94 points. Table 9 reports these comparisons alongside the component estimates. Figure 5 displays the paired differences and company-cluster bootstrap intervals for configurations evaluated against padded single-scale inference.

Table 9. Paired topology differences and company-cluster bootstrap intervals

Comparison

Difference (Percentage Points)

95% Confidence Interval

Wins

Ties

Losses

Scale consensus − generic padded

+0.17

−0.29 to +0.65

116

282

102

Consensus with boundary recovery − generic padded

+0.42

−0.12 to +0.95

141

260

99

Full reconstruction − generic padded

+5.32

+4.28 to +6.42

242

190

68

Full reconstruction − generic larger view

+5.87

+4.84 to +6.94

266

168

66

Full reconstruction − financial-domain TATR

−9.08

−10.38 to −7.76

61

122

317

Figure 5. Paired topology differences and 95% confidence intervals relative to padded single-scale inference

The row-splitting controls further show how the proposed use of foreground evidence differs from simply subdividing detected rows. Guarded splitting of the padded output scored 0.7651, while guarded splitting after consensus scored 0.7679. Their row MAEs were 2.004 and 2.030, respectively. Aggressive splitting scored 0.7595 with a row MAE of 2.660. Full reconstruction retained the detector’s internal row interpretation and used foreground bands for boundary recovery, achieving a row MAE of 1.022.

The duplicate-image sensitivity analysis left the main result unchanged. On 499 distinct test images, padded inference and full reconstruction scored 0.7980 and 0.8509, respectively. Their paired difference was 5.29 percentage points, with a company-cluster interval of 4.24–6.39 points.

6.3 Performance across structural size and visual density

The reconstruction gain held in all three row-count groups. Topology increased from 0.8276 to 0.8636 for tables with 2–9 rows, from 0.7687 to 0.8544 for those with 10–19 rows, and from 0.7376 to 0.7939 for those with 20–60 rows. The largest increase occurred in the intermediate group, where the gain reached 8.56 percentage points.

These improvements went hand in hand with column-count corrections. In the intermediate group, column MAE decreased from 1.521 to 0.535. In the largest-table group, it decreased from 1.795 to 0.836. The method thus improved the column partition across structural sizes; its aggregate gain did not come from short tables alone. Figure 6 compares topology and row-count error across the three row-count groups.

Figure 6. Topology scores and row-count errors across annotated row-count groups

The validation-defined dense subgroup contained 138 test records. Full reconstruction increased its topology score from 0.7848 to 0.8404 and reduced column MAE from 1.761 to 0.775. For the remaining 362 records, topology rose from 0.8024 to 0.8547. Table 10 combines the structural-size, density and glyph-scale comparisons.

Table 10. Topology performance across structural and image-based subgroups

Grouping Criterion

Subgroup

Records

Generic Padded

Full Reconstruction

Gain (Percentage Points)

Financial-Domain TATR

Row count

2–9

283

0.8276

0.8636

+3.60

0.9662

Row count

10–19

144

0.7687

0.8544

+8.56

0.9186

Row count

20–60

73

0.7376

0.7939

+5.63

0.8910

Cell density

Dense

138

0.7848

0.8404

+5.56

0.9169

Cell density

Other

362

0.8024

0.8547

+5.23

0.9509

Glyph height

Small glyphs

294

0.8079

0.8558

+4.80

0.9416

Glyph height

Larger glyphs

206

0.7828

0.8436

+6.08

0.9414

Gains were calculated from unrounded scores. Small-glyph membership was defined using the validation median glyph height.

Grouping by glyph scale gave a consistent picture. Full reconstruction improved topology in both glyph-height groups, reaching 0.8558 for smaller glyphs and 0.8436 for larger glyphs. These results support glyph-normalized geometry across the range of native text scales in the sample.

6.4 Spanning structures and component-count errors

The spanning-cell analysis separates improvements in the elementary partition from recovery of the complete hierarchy. On the 242 records without reference spans, topology increased from 0.8622 to 0.9001 and exact topology increased from 36.0% to 38.4%. On the 258 records containing spans, topology increased from 0.7369 to 0.8045 and strict span F1 increased from 0.2100 to 0.2537.

Exact topology on the spanning subgroup was 4.7% for full reconstruction and 5.0% for padded inference. The concurrent rise in topology similarity and span F1 therefore reflects recovery of a larger share of the structure, not more fully matching tables in this subgroup. Table 11 reports the complementary measures together, while Figure 7 compares topology scores for tables with and without reference spanning cells.

Table 11. Performance according to the presence of reference spanning cells

Subgroup

Method

Records

GriTS Topology

Span F1

Exact Topology (%)

No spans

Generic padded

242

0.8622

0.5620

36.0

No spans

Full reconstruction

242

0.9001

0.5785

38.4

No spans

Financial-domain TATR

242

0.9558

0.6860

64.0

With spans

Generic padded

258

0.7369

0.2100

5.0

With spans

Full reconstruction

258

0.8045

0.2537

4.7

With spans

Financial-domain TATR

258

0.9282

0.7000

34.9

Figure 7. Topology scores for tables with and without reference spanning cells

Span F1 follows the per-table convention defined in Section 5.2, including a score of one when both structures contain no spans.

Across all records, macro span F1 increased from 0.3804 to 0.4109. The distribution of count errors reveals the main geometric change. Padded inference overestimated the number of columns in 242 records, whereas full reconstruction did so in 172. Exact column counts increased from 256 to 317 records, while column underestimation increased from 2 to 11. The distribution thus captures both the correction of excessive partitioning and the cases in which consolidation removed a division that was needed.

Changes in row counts were smaller. Exact row counts increased from 302 to 320 records, and underestimation decreased from 149 to 125. Overestimation increased from 49 to 55. Exact row-count recovery increased by 18 records, compared with an increase of 61 records for exact column counts. These changes describe the combined pipeline and agree with the ablation finding that column consolidation contributes more. Figure 8 separates row- and column-count errors into underestimation, exact recovery and overestimation, showing how reconstruction changed the direction of the partitioning errors.

Figure 8. Distribution of row-count and column-count errors on 500 test records

6.5 Robustness under controlled image perturbations

Cross-scale association and boundary recovery together produced larger topology gains on perturbed images than on clean ones. On the matched 100-record subset, the full method scored 0.8621 in the clean condition, 0.8431 under Gaussian blur, 0.8074 after downsampling and restoration, and 0.8491 after JPEG compression. Table 12 and Figure 9 compare reconstruction performance on the same 100 records under clean and perturbed image conditions.

Table 12. GriTS topology on the same 100 records under clean and perturbed conditions

Condition

Generic Padded

Padded with Column Consolidation

Full Reconstruction

Financial-Domain TATR

Clean

0.8191

0.8576

0.8621

0.9425

Gaussian blur

0.7749

0.8027

0.8431

0.9402

Downsampling and restoration

0.6887

0.7029

0.8074

0.9101

JPEG compression

0.8123

0.8384

0.8491

0.9410

Figure 9. Topology scores under clean and controlled image perturbations on the same 100 test records

Relative to single-view inference with the same column-consolidation rule, the full method gained 0.45 percentage points in the clean condition, 4.04 points under blur, 10.45 points after downsampling and 1.07 points under JPEG compression. The two configurations differed most after downsampling.

Row-count measurements point the same way. After downsampling and restoration, row MAE decreased from 4.140 for the single-view consolidated pipeline to 2.470 for full reconstruction. Under blur, it decreased from 1.960 to 1.350. Adding multiscale association and boundary recovery thus lowered row-count error under both blur and downsampling.

Column MAE under downsampling was 0.650 for single-view consolidation and 0.710 for full reconstruction. The full method nonetheless reached the higher topology score, showing that the joint arrangement of rows, columns and spans carries information that no single count measure captures.

The financial-domain detector achieved the highest topology score in every condition. The controlled comparisons therefore quantify what the proposed reconstruction stages add to generic inference, while financial-domain learning remains a separate performance reference.

6.6 Parameter sensitivity

The validation search selected a compact-column width limit of eight glyph heights, a foreground-width limit of two glyph heights and an occupied-row limit of 1.0. This combination achieved a column MAE of 0.660 and exact column counts in 64.0% of validation records. Reducing the width limit to six glyph heights, with the other settings unchanged, produced a column MAE of 0.700. Retaining the eight-glyph width limit while reducing the occupancy limit to 0.85 produced an error of 0.760.

The confidence-threshold analysis shows how the acceptance threshold affects the completed pipeline. Mean topology increased from 0.8535 at a threshold of 0.3 to 0.8731 at 0.6, followed by a score of 0.8716 at 0.7. Row MAE reached its lowest value, 0.960, at the principal threshold of 0.5. Table 13 reports the complete sensitivity series, and Figure 10 shows the corresponding changes in topology and exact row–column count accuracy.

Table 13. Validation sensitivity to the final structural confidence threshold

Threshold

Records

GriTS Topology

Exact Counts (%)

Row MAE

Column MAE

0.3

150

0.8535

47.3

1.000

0.653

0.4

150

0.8619

47.3

0.973

0.640

0.5

150

0.8697

48.0

0.960

0.660

0.6

150

0.8731

48.0

1.020

0.633

0.7

150

0.8716

47.3

1.300

0.640

Figure 10. Validation sensitivity to the final structural confidence threshold; the dashed line marks the principal setting of 0.5

Table 14. Structural performance after ranking by the prediction-based diagnostic

Retained Fraction (%)

Retained Records

Flagged Records

GriTS Topology

Exact Topology (%)

100

500

0

0.8508

21.0

90

450

50

0.8574

22.7

80

400

100

0.8585

24.0

70

350

150

0.8660

26.9

60

300

200

0.8727

30.0

50

250

250

0.8891

34.8

The topology difference between thresholds of 0.5 and 0.6 was 0.34 percentage points, accompanied by an increase in row MAE from 0.960 to 1.020. Overall topology and component counts thus respond differently to proposal filtering. The main test comparisons kept the common threshold of 0.5.

6.7 Prediction-based ranking of reconstruction difficulty

The diagnostic derived from cross-scale count disagreement and detector confidence was positively associated with topology error, with a Spearman correlation of approximately 0.345. Ranking records by this diagnostic placed tables with higher structural agreement in the retained subsets.

Retaining the 250 records with the lowest diagnostic values yielded a topology score of 0.8891 and an exact-topology rate of 34.8%, compared with 0.8508 and 21.0% over all 500 records. Table 14 and Figure 11 show how topology and exact-topology accuracy changed as progressively smaller subsets were retained according to the diagnostic ranking.

Figure 11. Topology and exact-topology accuracy at different retained fractions after prediction-based diagnostic ranking

These changes stem from subset selection after reconstruction: the diagnostic leaves the predicted structures unchanged and only ranks records using prediction-derived quantities. Evaluation against the reference structures showed that records with higher diagnostic values tended to have larger topology errors. Its role is therefore complementary to that of the geometric repair stages: reconstruction improved the predicted grid, while diagnostic ranking organized the resulting records for inspection.

6.8 Computational performance

Table 15 reports the sequential timing measurements on 30 test records. Padded generic inference required a mean of 0.3549 seconds per table, compared with 1.0153 seconds for full reconstruction. The larger single-view configuration required 0.6539 seconds, and the financial-domain detector required 0.2507 seconds.

The full method’s timing included both detector passes and all reconstruction operations. Its mean runtime was approximately 2.86 times that of padded single-scale inference. This extra computation bought the 5.32-percentage-point topology improvement and the 53.6% reduction in column-count error.

Table 15. Sequential CPU runtime on 30 test records

Method

Mean (s/Table)

Median (s/Table)

90th Percentile (s/Table)

Projection baseline

0.0027

0.0017

0.0051

Generic tight crop

0.3054

0.2412

0.5191

Generic padded

0.3549

0.2925

0.6080

Generic larger view

0.6539

0.6088

0.9762

Full reconstruction

1.0153

0.8903

1.4905

Financial-domain TATR

0.2507

0.2074

0.4231

6.9 Reconstruction examples

Figure 12 presents the two largest positive paired topology changes, and Figure 13 presents the two largest negative changes, relative to padded single-scale inference. The examples were selected by sorting the per-record score differences, so the selection of the largest structural changes is reproducible. Each comparison shows the padded baseline on the left and full reconstruction on the right, with row and column starts overlaid on the source image.

Figure 12. Two cases with the largest topology gains over padded generic inference

Figure 13. Two cases with the largest topology losses relative to padded generic inference

These examples complement the aggregate results by making the changes in the regional partition visible. The cases shown are extremes of the paired distribution; the mean improvement and its distribution across all records are reported in Tables 8 and 9.

7. Discussion

7.1 Geometric grouping as the principal source of improvement

The central finding is that reinterpreting detected regions substantially improves generic financial-table reconstruction. The full method increased topology by 5.32 percentage points and reduced column-count MAE by 53.6% relative to padded single-scale inference. The ablations trace most of this gain to compact-column consolidation; applied to a single padded view, this operation alone raised topology from 0.7975 to 0.8453.

This result separates regional localization from logical partitioning. A detector can identify a compact symbol-like region at a plausible image location while assigning it an independent column that the reference structure associates with an adjacent field. Refining coordinates alone leaves that division in place. Consolidation removes the division itself and thereby changes the logical coordinates used in cell assembly. The improvement thus comes from interpreting regional evidence in terms of the target table representation.

The error distribution is consistent with this explanation. Column overestimation decreased from 242 to 172 records, and exact column counts increased from 256 to 317. Topology precision rose from 0.7579 to 0.8390, consistent with the removal of excessive structural divisions. These changes tie the overall score gain to a specific, measurable reconstruction mechanism.

This finding extends the role that region-based approaches assign to post-detection processing [3-5]. The proposed method makes the grouping decision explicit through glyph-normalized measurements and carries the corrected partition into span assignment. Its methodological contribution lies in linking local image geometry to the organization of the complete logical grid.

7.2 Complementary roles of image scale and boundary evidence

The experiments separate the contribution of column grouping from that of multiscale inference. On the full 500-record clean sample, single-view column consolidation and full reconstruction scored 0.8453 and 0.8508, respectively. On the separate matched 100-record robustness subset, their clean scores were 0.8576 and 0.8621. The corresponding scores were 0.7029 and 0.8074 after downsampling and restoration, and 0.8027 and 0.8431 under Gaussian blur. The larger full-pipeline gains under blur and downsampling reflect the combined contribution of cross-scale association and boundary recovery relative to single-view column consolidation.

The mechanism rests on alternative observations of the same source image. Resizing changes how narrow gaps, short headings and small foreground regions are represented at the detector input. Cross-scale association then reconciles corresponding proposals before grid construction. The second view changes the detector’s sampling of the source image; it does not restore details absent from that image.

This sets the proposed inference procedure apart from feature-level multiscale representation. Feature Pyramid Networks combine internal representations at different spatial resolutions [21]. Here, the same frozen predictor processes two input views, and the reconstruction stage establishes correspondence between their outputs. Confidence-weighted association prevents repeated observations from being interpreted as additional structural components.

Boundary recovery contributes a different kind of complementary evidence. It accepts supported bands beyond the detected row envelope while retaining the detector’s interpretation of internal rows. The row-splitting controls show why this restriction matters. Wrapped descriptions and multiline headings create several physical text bands within one logical row; dividing those bands increased row-count error. Restricting the operation to boundaries means foreground support is used only where a missing row has a clear spatial interpretation, so image evidence is tied to a specific correction.

7.3 From corrected partitions to complete cell hierarchies

A corrected elementary partition gives hierarchical reconstruction a better foundation. Once rows and columns have been repaired, spanning regions can be interpreted against the revised intervals. Because consolidation precedes span assignment, a corrected column division also updates the memberships of headings and merged cells over that region.

This sequence shares the distinction between elementary partitions and final cells found in split-and-merge methods [6, 7]. The present method applies that distinction to detector outputs: geometric consolidation revises the candidate partition, and constrained span assignment establishes exclusive cell ownership. Each accepted decision is carried into a common anchored-cell representation.

The spanning-subgroup results show why structural similarity and complete correctness need to be examined together. For tables containing reference spans, full reconstruction increased topology from 0.7369 to 0.8045 and span F1 from 0.2100 to 0.2537. Exact topology was 4.7%, compared with 5.0% for padded inference. The method thus recovered more of the reference organization, but complete agreement still depended on getting every row, column and span decision right.

Logical-coordinate and graph-based methods address these relationships through learned representations [8, 9]. Visual-alignment and layout-pointing approaches connect structural elements with image or text regions during decoding [17, 19]. The present results point to a complementary contribution: geometric repair improves the partition that is passed to hierarchical assembly. Exclusive ownership ensures a consistent output representation, while agreement with the reference is measured separately through topology and exact-structure criteria [16].

7.4 Position within financial-table recognition

The proposed method sits between generic regional prediction and financial-table structure. It uses a pretrained detector as its source of candidate components and introduces domain-relevant grouping through image measurements. Because the neural weights stay fixed, the effect of reconstruction can be examined directly.

This differs from financial image preprocessing based on recognized text. ACTE uses OCR, semantic matching and heuristic rules to derive row demarcations before downstream extraction [12]. The present method uses detector regions and native-image geometry to revise the logical partition after prediction. Its compact-column decision depends on relative region width, foreground extent and neighboring geometry. The two approaches intervene at different stages and address different forms of structural ambiguity.

The financial-domain comparator is an essential reference for interpreting this gain. Its topology score of 0.9415 exceeded the full generic reconstruction score of 0.8508, and its column-count MAE was 0.014. These results show that geometric reconstruction improves the generic detector, while the financial-domain pretrained model achieves higher accuracy under its evaluated inference configuration.

The improvement also presupposes a defined target representation. Benchmark-alignment research demonstrates that annotation conventions affect structural recognition and cross-dataset comparisons [14]. Compact-column consolidation makes this dependence concrete: a visually isolated symbol is grouped according to the cell organization represented by the evaluation reference. The fixed source release and consistent HTML parsing are therefore part of the method’s reproducible specification.

7.5 Computational cost and diagnostic use

The reconstruction gain comes at the cost of additional inference and geometric processing. Mean runtime increased from 0.3549 seconds per table for padded single-scale inference to 1.0153 seconds for the full method. Most of the difference is due to the two detector passes; the reconstruction stage then associates, repairs and assembles their outputs.

The ablations offer a practical basis for choosing among these configurations. Single-view column consolidation achieved a clean-image topology score of 0.8453, while the full pipeline achieved 0.8508 and larger gains under blur and downsampling. Which one to use therefore depends on the expected image conditions as well as the required structural accuracy. The financial-domain detector is a further option, combining the highest evaluated accuracy with a mean runtime of 0.2507 seconds on the same timing sample.

Diagnostic ranking serves a different purpose. Retaining the 50% of records with the lowest diagnostic values produced a topology score of 0.8891 and exact topology of 34.8%. These values describe the selected subset only; the ranking does not change the reconstructed cells. Beyond their role in regional association, cross-scale count disagreement and detector confidence therefore also indicate where reconstruction errors are likely.

The retained intermediate outputs make this kind of use possible. Row regions, column regions, span candidates and consolidation decisions connect a final discrepancy to the stage at which it arose. Such traceability complements aggregate accuracy by keeping the evidence needed to inspect individual reconstructions.

7.6 Interpretation of the experimental evidence

On the company-disjoint evaluation sample, the completed pipeline improved reconstruction relative to padded generic inference. The mean paired gain was 5.32 percentage points, with a company-cluster bootstrap interval of 4.28–6.42 points, and the duplicate-image analysis reproduced the improvement on 499 distinct images. As described in Section 5.5, aggregate results from initial test configurations were available during method development. The reported comparison is therefore an exploratory evaluation of the completed pipeline, not a fully untouched confirmatory test.

The experimental scope also bounds the contribution. The inputs were localized financial table crops, and the outputs represented row, column and cell-span organization. Controlled perturbations examined specified changes in sharpness, spatial detail and compression. The reported gains apply to structural reconstruction under these conditions.

8. Conclusions

This study proposed a hierarchical reconstruction method for dense financial table images that integrates multiscale region detection with glyph-scale geometric constraints. The method combined context padding, confidence-weighted cross-scale association, image-supported boundary-row recovery and compact-column consolidation around a frozen pretrained detector. Constrained span assignment then converted the repaired regions into a non-overlapping logical cell hierarchy. Its methodological contribution lies in linking image-based regional grouping to the row, column and span relationships from which the final table is built.

Evaluation on 500 FinTabNet-OTSL test records from 50 companies showed a clear improvement over padded single-scale generic inference. Mean GriTS topology increased from 0.7975 to 0.8508, a gain of 5.32 percentage points, with a company-cluster bootstrap 95% confidence interval of 4.28–6.42 points. Column-count mean absolute error fell from 1.354 to 0.628, a reduction of 53.6%, and exact grid accuracy increased from 33.0% to 41.6%. The improvement also held on the 499 distinct images in the duplicate-image sensitivity analysis.

Ablation experiments identified compact-column consolidation as the principal source of the clean-image gain. The glyph-normalized rule corrected excessive partitioning by telling compact visual regions apart from independent logical columns. Cross-scale association and boundary recovery jointly improved reconstruction under the tested image perturbations. On the matched robustness subset, full reconstruction exceeded single-view inference with the same column-consolidation rule by 4.04 percentage points under Gaussian blur and 10.45 points after downsampling and restoration.

The results also make clear that better grid reconstruction is not the same as complete hierarchical correctness. Exact topology reached 21.0%, while the financial-domain pretrained comparator achieved a topology score of 0.9415 and exact topology of 49.0%. Geometric reconstruction therefore yields a measurable gain over generic predictions, while the financial-domain pretrained model remains the stronger reference for structural accuracy.

The method improves generic financial-table reconstruction through explicit geometric grouping without task-specific retraining or OCR input. Because the regional predictions are retained, individual corrections can be inspected, and the ablation results identify compact-column consolidation as the main source of improvement on clean images.

  References

[1] Yu, C., Li, W., Li, W., et al. (2024). A survey for table recognition based on deep learning. Neurocomputing, 600: 128154. https://doi.org/10.1016/j.neucom.2024.128154

[2] Zhong, X., ShafieiBavani, E., Jimeno Yepes, A. (2020). Image-based table recognition: Data, model, and evaluation. In Computer Vision - ECCV 2020, Glasgow, UK, pp. 564-580. https://doi.org/10.1007/978-3-030-58589-1_34

[3] Smock, B., Pesala, R., Abraham, R. (2022). PubTables-1M: Towards comprehensive table extraction from unstructured documents. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, pp. 4624-4632. https://doi.org/10.1109/CVPR52688.2022.00459

[4] Zhu, Z., Li, W., Yu, C., Li, W., Jiao, L. (2024). TSRDet: A table structure recognition method based on row-column detection. Electronics, 13(21): 4263. https://doi.org/10.3390/electronics13214263

[5] Xiao, B., Simsek, M., Kantarci, B., Alkheir, A.A. (2025). Rethinking detection based table structure recognition for visually rich document images. Expert Systems with Applications, 269: 126461. https://doi.org/10.1016/j.eswa.2025.126461

[6] Ma, C., Lin, W., Sun, L., Huo, Q. (2023). Robust table detection and structure recognition from heterogeneous document images. Pattern Recognition, 133: 109006. https://doi.org/10.1016/j.patcog.2022.109006

[7] Zhang, Z., Hu, P., Ma, J., et al. (2024). SEMv2: Table separation line detection based on instance segmentation. Pattern Recognition, 149: 110279. https://doi.org/10.1016/j.patcog.2024.110279

[8] Long, R., Xing, H., Yang, Z., et al. (2025). LORE++: Logical location regression network for table structure recognition with pre-training. Pattern Recognition, 157: 110816. https://doi.org/10.1016/j.patcog.2024.110816

[9] Liu, H., Li, X., Liu, B., Jiang, D., Liu, Y., Ren, B. (2022). Neural collaborative graph machines for table structure recognition. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, pp. 4523-4532. https://doi.org/10.1109/CVPR52688.2022.00449

[10] Nassar, A., Livathinos, N., Lysak, M., Staar, P. (2022). TableFormer: Table structure understanding with transformers. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, pp. 4604-4613. https://doi.org/10.1109/CVPR52688.2022.00457

[11] Zhang, Z., Liu, S., Hu, P., et al. (2024). UniTabNet: Bridging vision and language models for enhanced table structure recognition. In Findings of the Association for Computational Linguistics: EMNLP 2024, Miami, FL, USA, pp. 6131-6143. https://doi.org/10.18653/v1/2024.findings-emnlp.355

[12] Peng, W., Li, X. (2025). An ante hoc enhancement method for image-based complex financial table extraction. Applied Sciences, 15(1): 370. https://doi.org/10.3390/app15010370

[13] Alaei, A., Bui, V., Doermann, D., Pal, U. (2024). Document image quality assessment: A survey. ACM Computing Surveys, 56(2): 29:1-29:36. https://doi.org/10.1145/3606692

[14] Smock, B., Pesala, R., Abraham, R. (2023). Aligning benchmark datasets for table structure recognition. In Document Analysis and Recognition - ICDAR 2023, San José, CA, USA, pp. 371-386. https://doi.org/10.1007/978-3-031-41734-4_23

[15] Lysak, M., Nassar, A., Livathinos, N., Auer, C., Staar, P. (2023). Optimized table tokenization for table structure recognition. In Document Analysis and Recognition - ICDAR 2023, San José, CA, USA, pp. 37-50. https://doi.org/10.1007/978-3-031-41679-8_3

[16] Smock, B., Pesala, R., Abraham, R. (2023). GriTS: Grid table similarity metric for table structure recognition. In Document Analysis and Recognition - ICDAR 2023, San José, CA, USA, pp. 535-549. https://doi.org/10.1007/978-3-031-41734-4_33

[17] Huang, Y., Lu, N., Chen, D., et al. (2023). Improving table structure recognition with visual-alignment sequential coordinate modeling. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada, pp. 11134-11143. https://doi.org/10.1109/CVPR52729.2023.01071

[18] Shen, H., Gao, X., Wei, J., et al. (2023). Divide rows and conquer cells: Towards structure recognition for large tables. In Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence, Macau, SAR China, pp. 1369-1377. https://doi.org/10.24963/ijcai.2023/152

[19] Khang, M., Hong, T. (2024). TFLOP: Table structure recognition framework with layout pointer mechanism. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, Jeju, South Korea, pp. 947-955. https://doi.org/10.24963/ijcai.2024/105

[20] Lee, E., Jo, Y., Lee, S., Kim, S.H., Cho, N.I. (2025). Single-stage table structure recognition approach via efficient sequence modeling. Pattern Recognition Letters, 197: 146-153. https://doi.org/10.1016/j.patrec.2025.07.022

[21] Lin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., Belongie, S. (2017). Feature pyramid networks for object detection. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, pp. 936-944. https://doi.org/10.1109/CVPR.2017.106

[22] Bataineh, B., Tounsi, M., Zamzami, N., et al. (2025). A comprehensive review on document image binarization. Journal of Imaging, 11(5): 133. https://doi.org/10.3390/jimaging11050133

[23] Yang, F., Hu, L., Liu, X., Huang, S., Gu, Z. (2023). A large-scale dataset for end-to-end table recognition in the wild. Scientific Data, 10(1): 110. https://doi.org/10.1038/s41597-023-01985-8

[24] Docling Project. (2023). FinTabNet_OTSL. Hugging Face Datasets, revision 1fe37f0f9478b4c571c51c5c4d11e3ef357e75c4. https://huggingface.co/datasets/docling-project/FinTabNet_OTSL/tree/1fe37f0f9478b4c571c51c5c4d11e3ef357e75c4.

[25] Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE Transactions on Systems, Man, and Cybernetics, 9(1): 62-66. https://doi.org/10.1109/TSMC.1979.4310076

[26] Efron, B. (1979). Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1): 1-26. https://doi.org/10.1214/aos/1176344552