Table Detection Using Neural Networks and Clustering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for identifying tables in documents rely on heuristic approaches that are cumbersome to tune and fail to effectively handle complex and variable table layouts, making them inefficient for new document types and layouts with inconsistent word alignments.

Innovation Solution

A method using machine learning models, specifically recurrent neural networks or convolutional neural networks, to identify candidate table words by analyzing feature sets that include text and spatial features, and clustering procedures like DBSCAN to define table borders, enabling robust detection across different document types.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional heuristic approaches are used for table detection, then the system can identify tables in simple documents, but the system fails to handle complex and variable table layouts effectively

Engineering Contradiction:
Improveability to handle complex and variable table layoutsVSAvoiddetection accuracy for inconsistent word alignments
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent replaces conventional heuristic mechanical rules with machine learning models (neural networks) that automatically learn patterns from training data. The system uses supervised learning where the model is trained on labeled documents containing tables, enabling it to generalize to complex and variable layouts without manual rule tuning.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system transforms the table detection problem into a parameter-based classification task by extracting multiple features (spatial relationships, text properties, formatting attributes) for each word. These features are fed into the neural network which learns optimal parameter combinations to identify table words, replacing rigid heuristic thresholds with adaptive parameter learning.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If heuristic approaches are tuned for specific document types, then detection accuracy improves for those types, but the system becomes cumbersome to adapt to new document types

Engineering Contradiction:
Improvedetection accuracy for specific document typesVSAvoidtuning complexity for new document types
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a universal table detection system using machine learning models that can process multiple document types through a single trained model. The neural network learns document-type-agnostic features and patterns during training, enabling it to generalize across different document formats without requiring separate rule sets or manual tuning for each type.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system performs preliminary training action by training the machine learning model on a diverse dataset of labeled documents containing various table layouts and document types before deployment. This pre-training enables the model to acquire generalizable knowledge that transfers to new document types without requiring subsequent tuning, eliminating the need for cumulative rule development.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If manual heuristic rules are used for table detection, then the system can detect simple tables, but the approach is inefficient and time-consuming for complex layouts

Engineering Contradiction:
Improvetable detection speed for simple tablesVSAvoidtime required to tune and detect complex tables
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces time-consuming manual heuristic rule creation and tuning with automated machine learning model training. The neural network automatically learns detection patterns from training data through iterative optimization, eliminating the manual trial-and-error process required for heuristic rule development and significantly reducing the time needed to handle complex table layouts.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS11450125B2Methods and systems for automated table detection within documents
Publication Date: 2022.09.20 LEVERTON HOLDING LLC
  • US11450125B2 patent drawing
  • US11450125B2 patent drawing
  • US11450125B2 patent drawing

AI summary

Methods and systems for detecting tables within documents are provided. The methods and systems may include receiving a text of the document that includes a plurality of words depicted in the document image. Feature sets may be calculated for the words and may contain one or more features of a corresponding word of the text. Candidate table words may then be identified based on the features vectors, and may then be used to identify a table location within the document image. In some cases, the candidate table words may be identified using a machine learning model.