Document Clustering via Block Header Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing document clustering methods fail to effectively utilize document structure for clustering OCR output, particularly in documents lacking hierarchical structural information, such as scanned paper documents, leading to impracticality in using structural information for clustering.

Innovation Solution

A method and system that encode documents by identifying text content blocks, extracting block headers, and building a condensed dictionary from training documents to generate encodings for test documents, allowing for similarity computation and clustering based on both content and structure.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If tree representation and edit distance methods are used to detect document similarities, then document structure can be taken into account, but these methods are not suited to documents which lack hierarchical structural information such as OCR output

Engineering Contradiction:
Improvedocument structure utilizationVSAvoidcompatibility with OCR documents
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments documents into text content blocks with block headers, creating a hierarchical structure from flat OCR output. This segmentation allows structure-based clustering while maintaining compatibility with documents that originally lacked hierarchical information.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms one-dimensional text sequences into two-dimensional block structures by identifying block headers and organizing text content blocks. This dimensional transformation enables structure-based comparison methods to work effectively on OCR documents.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Measurement precision

If hybrid clustering methods are used that take both content and structure into account, then clustering accuracy improves, but the methods are dedicated to specific types of structured format such as XML and HTML

Engineering Contradiction:
Improveclustering accuracyVSAvoidformat flexibility
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal block header extraction approach that works across different document types including OCR output, XML, and HTML. The method identifies block headers based on positional and structural characteristics rather than format-specific features, enabling broad applicability.

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

Solution Approach 2:

The patent changes the parameters used for structure detection from format-specific features (XML tags, HTML elements) to universal features (block position, header length, text density). This parameter transformation allows the same clustering algorithm to work across diverse document formats.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If limited structural information from OCR output is used for clustering, then processing speed is maintained, but the structural information varies considerably from page to page even when pages are from the same business workflow

Engineering Contradiction:
Improveprocessing speedVSAvoidstructural information consistency
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The patent performs preliminary action by building a condensed dictionary of block headers from training documents before clustering. This pre-processing step captures regularities and trends in block header patterns, enabling consistent structure-based clustering without sacrificing processing speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses feedback from training documents to improve clustering performance. By analyzing block header patterns in training data and building a condensed dictionary, the system learns from variations in OCR output and adapts to capture consistent structural information across different pages.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10789281B2Regularities and trends discovery in a flow of business documents
Publication Date: 2020.09.29 GENESEE VALLEY INNOVATIONS LLC
  • US10789281B2 patent drawing
  • US10789281B2 patent drawing
  • US10789281B2 patent drawing

AI summary

A method for encoding documents includes building or otherwise providing a condensed dictionary including identifiers for block headers identified in text blocks extracted from a collection of training documents. For at least one test document a set of text content blocks is identified. For each of the text content blocks in the set, a block header is identified. Each block header in the training and test documents includes a sequence includes no more than a predetermined maximum number of characters. An encoding of the test document is generated, based on the identifiers of the block headers identified in the test document that are in the condensed dictionary.