Client-Driven Content Extraction Associated with Table

Kc Santosh, Abdel Belaïd

Introduction

Extracting data from tables in scanned documents remains a significant challenge in document analysis. Traditional methods typically rely on "table detection" (finding boundaries) or "table segmentation" (identifying rows and columns based on graphical lines). However, real-world documents are often "messy"—they may lack visible lines, or the user may only be interested in a specific subset of "key fields," such as prices or dates, rather than the entire table structure. Generic tools often fail to capture these specific client needs or the underlying semantic meaning of the data.

Methodology: Graph-Based Extraction

To address these issues, this paper introduces a client-driven approach that represents user-defined patterns as Attributed Relational Graphs (ARGs). The system operates in two primary phases: pattern representation and graph mining.

The two-phase workflow: pattern representation followed by graph mining.
  1. Pattern Representation: A client selects key fields within a table. These are converted into an ARG where nodes represent text fields (containing features like string length, content type, and semantic labels) and edges represent spatial relationships (defined by predicates like "left of" or "above").
  2. Graph Mining: To locate similar items, the system identifies "pivotal nodes" (anchors) that match user labels, validates spatial relations between these anchors and neighboring nodes, and computes a matching score based on feature and structural similarity.

Industrial Validation

The researchers collaborated with ITESOFT to evaluate the method on a real-world industrial dataset consisting of 1,500 document images across 15 different layout classes (e.g., various invoice formats). Ground truth was established by clients identifying all relevant patterns within the tables.

The system demonstrated high performance, achieving an average accuracy of 97-98%. Furthermore, it proved efficient for industrial use, with a processing time of approximately 2 seconds per document image.

Handling Layout Complexity

A significant advantage of the graph-based approach is its robustness to complex layouts. Unlike traditional row-based extraction, which struggles with non-linear data, this method can handle "zig-zag" patterns where related data is scattered across multiple lines or columns. By using semantic anchoring and flexible spatial predicates, the system can accurately extract data even when the physical layout shifts or traditional graphical lines are absent.

Comparison of linear vs. complex "zig-zag" patterns and their successful extraction.

Conclusion and Future Work

While the current system is highly accurate, its performance is dependent on the quality of the underlying Optical Character Recognition (OCR). Additionally, it currently requires manual initialization by the client. Future work aims to increase autonomy by enabling the system to iteratively update and refine its own pattern graphs, potentially removing the need for initial human intervention.

Summary updated

BibTeX
@inproceedings{santosh2013client,
  author = {KC Santosh and Abdel Belaïd},
  title = {{Client-Driven Content Extraction Associated with Table}},
  booktitle = {MVA},
  year = {2013},
  url = {https://openreview.net/forum?id=2xq6XKW7e7},
}
Figure