Learning Apparatus for NLP via Document Image Augmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Natural language processing using machine learning faces challenges in data augmentation for text data, as simple image augmentation techniques like rotation or inversion are not applicable, making it difficult to prepare large amounts of training data for discrete character or word values.

Innovation Solution

A learning apparatus converts documents into images and their associated tags into tag images, using these as input and ground truth data to train a network model, allowing for semantic segmentation and data augmentation by varying document composition, such as font, spacing, and arrangement, to generate diverse training data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If data augmentation is applied to text data using simple image techniques like rotation or inversion, then training data quantity increases, but the text data structure and meaning are distorted

Engineering Contradiction:
Improvetraining data quantityVSAvoidtext data structure integrity
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent creates synthetic document images by copying and compositing text images with different layouts, fonts, and arrangements. This allows generation of diverse training data without distorting the original text structure, as the synthetic images are constructed from valid text representations rather than randomly transforming existing images.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent varies parameters such as font type, character spacing, line spacing, and document layout to generate diverse training data. These parameter changes create variations in the visual representation of text while preserving the underlying text content and structure, allowing data augmentation without distortion.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If text data is processed as discrete character or word values, then natural language processing can be performed, but data augmentation becomes difficult

Engineering Contradiction:
Improvenatural language processing capabilityVSAvoiddata augmentation ease
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent introduces an intermediate representation layer where text is converted to visual document images before processing. This intermediary form allows the application of image processing techniques for data augmentation while maintaining the discrete text nature needed for NLP, thus bridging the gap between text processing and data augmentation capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent transforms text data from a one-dimensional sequence of characters/words into a two-dimensional visual representation as document images. This dimensional change enables the use of image augmentation techniques while preserving the text information, effectively solving the data augmentation problem for text data.

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

3Measurement precision

If a large amount of training data is prepared, then inference accuracy improves, but data preparation time and complexity increase

Engineering Contradiction:
Improveinference accuracyVSAvoiddata preparation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements a system where the data augmentation process is automated and self-service oriented. The system automatically generates synthetic training data by compositing text images with different parameters, eliminating the need for manual data preparation and reducing time investment while maintaining high inference accuracy through comprehensive training data.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20230281485A1Learning apparatus, method and inference apparatus
Publication Date: 2023.09.07 KK TOSHIBA
  • US20230281485A1 patent drawing
  • US20230281485A1 patent drawing
  • US20230281485A1 patent drawing

AI summary

According to one embodiment, a learning apparatus includes a processor. The processor acquires a document to which a tag is added. The processor converts the document into an image to generate a document image, and converts the tag into an image according to composition of the document image to generate a tag image. The processor trains a network model using the document image as input data and the tag image as ground truth data to generate a trained model.