Synthetic Document Generator for Layout Recognition

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current information retrieval from documents relies solely on text content, neglecting layout and stylistic cues, which are crucial for understanding importance and context, and faces challenges in scalability and consistency across different document formats, requiring expensive and restricted annotated examples for training AI models.

Innovation Solution

Generating synthetic documents with annotation information and training machine learning algorithms, specifically using Bayesian networks, to recognize layouts and retrieve information from real-world documents, including elements like headers, tables, and figures, and displaying modified documents with bounding boxes and tags on a GUI.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If traditional parsing techniques are used for layout recognition, then information retrieval can be performed, but the system cannot effectively utilize layout and stylistic cues

Engineering Contradiction:
Improvelayout and stylistic cuesVSAvoidparsing system complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent creates synthetic copies of real documents with annotated layout elements. These synthetic documents serve as training data for the machine learning model, allowing the system to learn layout patterns without requiring manual annotation of every real document. The copying principle resolves the contradiction by using synthesized replicas to capture layout information that would otherwise be lost.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces traditional mechanical parsing techniques with a machine learning-based system. Instead of using format-specific parsers that cannot generalize across different document types, the system uses a trained neural network that automatically learns to recognize layout patterns, thereby preserving layout and stylistic cues while reducing the need for complex format-specific processing logic.

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

2Adaptability or versatility

If format-specific parsers are used for different document formats, then each format can be processed, but scalability and consistency across formats deteriorate

Engineering Contradiction:
Improvedocument format compatibilityVSAvoidprocessing scalability
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent implements a universal machine learning model that can process multiple document formats (PDF, DOCX, HTML) through a single unified system. The model learns format-agnostic layout patterns and automatically adapts to different formats, eliminating the need for separate format-specific parsers. This universal approach maintains adaptability across formats while significantly improving processing scalability and consistency.

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

3Measurement precision

If annotated examples are collected for training AI models, then layout recognition accuracy improves, but annotation costs and time increase significantly

Engineering Contradiction:
Improvelayout detection accuracyVSAvoidannotation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary action by automatically generating synthetic annotated documents before the actual training process. Instead of manually annotating real documents, the system pre-generates training data with known ground truth annotations embedded in the synthetic documents. This preliminary preparation of training data dramatically reduces the time and cost of annotation while maintaining high layout detection accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates synthetic copies of documents with embedded annotations that serve as training data. These copied and modified versions preserve the essential layout structures while providing ground truth labels automatically, eliminating the need for time-consuming manual annotation of real documents while maintaining training accuracy.

Inventive Principle:
Principle #26Copying

4Reliability

If manual annotation of document elements is performed, then training data quality improves, but annotation costs and error propagation increase

Engineering Contradiction:
Improveannotation qualityVSAvoidannotation process ease
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The patent uses synthetic copying to generate training data with automatically embedded annotations. By creating modified versions of documents with known ground truth labels rather than relying on manual human annotation, the system achieves high annotation quality without the costs and errors associated with manual processes. The synthetic copies provide consistent, error-free training data.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11853393B2Method and system for generating synthetic documents for layout recognition and information retrieval
Publication Date: 2023.12.26 JPMORGAN CHASE BANK NA
  • US11853393B2 patent drawing
  • US11853393B2 patent drawing
  • US11853393B2 patent drawing

AI summary

A solution to identify the layout elements in a document is provided. The documents are formulated in an integrated visual space, where they are treated uniformly as a rasterized image. The transformation to image space facilitates exploitation of a spectrum of stylistic cues, such as spacing between the lines and paragraphs. Effective recognition of layout elements is provided by applying a synthetic generator model that creates artificial documents with the required labels and bounding boxes. The generator model is based on a Bayesian Network, offers full flexibility in controlling the document types and labels, and can introduce artificial defects to synthesize low-quality documents. An artificial intelligence model for detecting layouts is trained based on these synthetic documents and the resultant model is used to identify the layout elements in real-world documents. The resulting layout elements, when augmented with the text content, greatly aids in effective information retrieval.