Detecting Borderless Tables in Scanned Financial and Insurance Documents
A multi-stage approach infers table structure from spacing and layout when borders are absent.

In financial and insurance scans, finding borderless tables means rebuilding their organization from empty space and positioning while also reading the text. Dependable identification calls for a staged approach, moving through inferring spatial relationships and filtering by heuristics toward probabilistic detection of boundaries and finally layout-aware recognition of structure. Every stage addresses a gap the rest miss, ensuring that extraction keeps the connections that lend the values their significance.
Why standard OCR fails to detect table structure in scanned financial and insurance documents
Standard OCR assumes text runs in a straight line, but tabular meaning depends on spatial relationships. Where a cell sits determines its row and column. A linear sequence cannot capture tabular structure. Flattening a scanned document into sequential text strips away the layout of joined boxes, angled titles, and wrapped entries long before tabular parsing starts. The characters might come through fine, yet their relationships are gone.
PDFs may render tabular material by placing individual characters on the page, without an explicit table structure. For scanned PDFs, the page exists only as pixels, with no extractable text layer. OCR must recover text from the image first. When OCR collapses a financial table with three columns into one continuous text run, later systems receive information stripped of its structure.
Once position is lost, several failures follow. Cells without borders rely on spacing that varies by typeface and arrangement, while combining them undermines any consistent column structure. When text spans several lines, it becomes hard to tell whether a fresh row has started or the same entry is simply continuing. When a table spans multiple pages, most parsers fail to reconnect column titles to their corresponding data.
What makes borderless tables in financial and insurance documents structurally distinct
Financial and insurance corpora combine document types whose table conventions differ within and between files. Disclosure documents contain bordered and borderless tables of varying lengths, so a single border assumption cannot govern the whole document. Amethiya et al. (March 2025) found that no single model performed well across these types simultaneously. OmniDocBench (CVPR 2025) classifies tables into full borders, partial borders, three-line borders, and no borders, termed “wireless line.”
Loss-run figures for paid claims, reserves, and total incurred values take their meaning from the column they occupy. Schedules of values, insurance bills, and ACORD forms each introduce insurance tables whose rows and columns must stay linked. Each kind of file presents a different layout challenge. Invoice quantities and totals must be read together, and even absent or damaged grid rules require reconstruction of merged cells.
A distinct failure arises at page boundaries. Financial reports frequently span hundreds of pages, featuring multi-column layouts with tables continuing across subsequent pages. A detector may spot a valid region on every page yet still miss the complete table. What goes unrecovered is the link connecting those regions to the headers they share. Prior single-page systems lacked the design needed to maintain that continuity.
How classical heuristic engines infer borderless table boundaries from whitespace
Traditional borderless table detection interprets whitespace as a sign of structure. It clusters text that shares spatial alignment, then evaluates whether potential areas exhibit table-like qualities. USPTO patent US9990347 outlines a method where whitespace analysis identifies candidate regions by merging adjacent gaps, after which unlikely options are filtered out. The engine's ordered text lines preserve both vertical and horizontal positioning. This arrangement recovers details that sequential OCR output loses.
Tabula and Camelot implement this idea in stream mode. Tabula infers columns using whitespace relationships, whereas Camelot’s stream mode demands configuration of column separators alongside edge tolerances. pdfplumber gives finer coordinate-level precision but needs custom extraction logic per document type. Layout drift breaks what those tools rely on. Keeping that logic across quarterly documents and vendor invoices can be impractical at scale.
Altered fonts move the whitespace differently, merged cells interrupt column separations, while scanned PDF input leaves these parsers without native coordinate text to use. Preprocessing the image with normalization, rotation fixes, contrast tuning, and denoising gives OCR a cleaner base before the layout is parsed spatially. Modern tools allow these steps to be controlled through pipeline parameters. Higher-quality input supports spatial analysis, yet a rigid gap threshold still cannot decide an unclear table edge.
How ML-based bounds detection improves on heuristics by assigning line-level probabilities
A machine-learning model evaluates the likelihood that a line is part of a table instead of applying binary whitespace-based classification. USPTO patent US11113618 discusses ordering lines according to their vertical and horizontal positions, then assigning each line a table-membership likelihood while adjusting the boundary with each assessment. As processing continues, the boundary is revised. Further lines may revise how far a region extends when its upper boundary was initially unclear.
This is not the same as tuning a blank-space cutoff. Unlike fixed-gap methods that rely on local spacing, iterative inference may incorporate or discard lines while refining the boundary estimate. Such flexibility proves valuable if poor-quality scans or fragmented rules render blank areas untrustworthy. It does not resolve every cell relationship alone. Identifying table boundaries dictates what material falls within the grid prior to complete structural analysis mapping out its inner layout.
It first groups each candidate by border type, then chooses the matching recognition method. For nested tables, it must also tell enclosed content from neighboring cells. In USPTO patent US12346649, nested tables are identified intelligently across visual inputs, including scans. In insurance forms, this captures layouts where whitespace-based rules would otherwise confuse nesting with neighboring sibling tables.
What layout detection models do that the earlier pipeline stages cannot
Layout-aware models use position as data before extraction. Boundary inference identifies a table’s extent, while structure recognition determines row membership, column alignment, neighboring cells, and spanning cells. Detecting a table’s outer bounds does not reveal its internal grid. Geometric analysis provides these connections, allowing merged cells, multiline headers, and rotated tables to be reconstructed beyond the capabilities of rule-based extractors.
Within IBM’s Docling ecosystem, DocLayNet-trained models handle layout analysis while TableFormer recognizes table structure. When dealing with intricate documents, such spatial processing recovers structural details missing from prior steps. This is also why text recognition on its own cannot take the place of layout analysis. Extraction requires identifying every cell prior to interpreting what it holds.
Vision-language models carry the same idea into structural continuity across page boundaries. Agentar-Fin-OCR’s 2026 preprint presents cross-page content merging, training that ramps up by difficulty, plus CellBBoxRegressor, which infers cell positions using the decoder’s hidden representations and needs no external detectors. US12315280, the checkbox-table patent, likewise uses the positions of headers and footers to help find tables that those areas cut across.
The active debate between end-to-end VLMs and hybrid staged pipelines for financial document extraction
The architectural dispute is about if a vision-language model ought to manage extraction from start to finish or operate within an OCR-plus-specialist pipeline. The VLM-first case centers on error propagation between stages. When one stage botches a region lacking borders or garbles a merged cell, downstream stages take on that error. A system that reads layout and text in one pass sidesteps reliance on those intermediate calls. Documents spanning multiple pages make that case especially relevant.
Early assessments of freely available VLMs applied to intricate financial tables revealed significant structural mistakes. Closed-source systems delivered better outcomes yet demanded heavy prompt tuning, generated inconsistent outputs, and created worries about expense and scaling. Model scale fails to resolve the problem. A compact VLM in a multi-stage pipeline surpassed single-pass processing by a large VLM on both precision and per-GPU document handling speed.
Domain shift is an especially strong objection in insurance. A model tuned to a particular kind of document may struggle with insurance forms, showing limited coverage and poor field accuracy. So strong results on financial tables do not show that a model is ready for insurance documents. Uncertainty also grows from how evaluations are designed. FinDocBench spans six categories of financial documents, all annotated by experts, and its metrics, cross-page concatenated TEDS plus Table Cell Intersection over Union, abbreviated C-IoU, explicitly measure structural continuity and cell localization. The evidence points toward evaluating such skills on the actual document types in question, while leaving open which architecture performs best across all types.
How a production pipeline combines each stage to handle the failure modes the others cannot
Since downstream steps rely on legible page data, preprocessing must come first in any layered production pipeline. Better inputs for OCR and spatial parsing result from normalizing images, correcting orientation, enhancing contrast, and reducing noise. Pinpointing the bounds of headers and footers flags their impact on tables spanning several pages prior to examining individual lines. The full grid remains unidentified at this stage.
Spatial inference comes next, relying on blank space to find table candidates and heuristic rules to eliminate areas lacking sufficient tabular traits. That patent turns this filtering step into working code. When blank space fails to establish a dependable edge, probabilistic boundary detection steps in. The line-probability patent refines edges through repeated adjustments, and border-type classification sends candidates to the right recognition algorithms. Each stage narrows the search so the initial pass need not handle everything alone.
The layout module next identifies row spans, aligns columns, and handles merged cells, while consolidation keeps content continuous across pages. The May 2022 work by Zhang and coauthors tailored a detector to find borderless and partly bordered tables in disclosure documents, showing that some cases call for domain-focused designs. For insurance forms packed with checkboxes, that specialized table method adds a purpose-built module within the same architecture. Rather than asking a compact VLM to extract everything at once, it can be inserted into a staged pipeline. This arrangement gives every component its own role and preserves geometry when whitespace cues alone, even with per-line confidence scores, fall short.
What the downstream extraction layer must preserve once table structure is detected
Detecting a table's boundary alone does not yield actionable financial or insurance information. The extraction stage needs to maintain header-value-label alignment plus row-column linkages and page-to-page continuity, or extraction can undo even accurate detection. When processing insurance invoices, the system must keep line items, amounts, and sums connected so that downstream platforms can verify and utilize them.
The same vulnerability shows up in loss runs through column membership. Whether an entry is a paid loss, a reserve, or total incurred is determined by its column placement. Once extraction removes that column structure, later systems lose the context needed to tell which figures represent which loss types. Accurate figures still fail when attached to the wrong labels. For ratios, risk models, and report automation to hold up, each value must remain tied to the right header and context, since minor layout mistakes can skew financial conclusions or create compliance problems.
Full extraction therefore requires preserving merged-cell spans, joining output across pages, and distinguishing page-level tables. Cross-page concatenated TEDS measures this distinction instead of treating accuracy on an individual page as an adequate proxy. Extend.ai applies staged layout and structure analysis to borderless tables, cells spanning multiple rows or columns, and documents continuing across pages. For audit, regulatory, and risk-assessment purposes, intact output keeps every value linked to the appropriate row, column, heading, and surrounding context, even if the source table extends across pages.
Notes
- Borderless table detection engine
Described the whitespace-analysis method for identifying and filtering candidate borderless table regions discussed in the classical heuristics section.
- Detecting the bounds of borderless tables in fixed-format structured documents using machine learning
Provided the line-level probability approach to iteratively refining borderless table boundary estimates covered in the ML-based detection section.
- Systems and methods for detection and extraction of borderless checkbox tables
Supplied the header- and footer-position method for detecting tables that span page boundaries, referenced as the checkbox-table patent.
- Benchmarking PDF Parsers on Table Extraction with LLM- ...
Provided benchmark findings on VLM and pipeline performance on financial table extraction, including the compact-VLM-versus-large-VLM comparison and FinDocBench evaluation details.
Every new piece from The Parse Layer, as it's published.
Follow