Content Masking for Automated Machine Learning Data Labeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The labeling process for training machine learning models is inefficient, time-consuming, and error-prone, leading to reduced accuracy due to the need for manual analysis and labeling of training data.

Innovation Solution

A method involving the use of two neural networks to extract and mask content from documents, generate embeddings, compare relevance values, and identify high-relevance content for accurate labeling, utilizing optical character recognition and contrastive loss calculation to enhance training efficiency and accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual labeling is used to train machine learning models, then the training data can be precisely labeled, but the process is inefficient and time-consuming

Engineering Contradiction:
Improvelabeling accuracyVSAvoidlabeling time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system uses the machine learning model to automatically label training data without human intervention. The model processes documents, extracts text, masks portions, generates embeddings, and identifies relevant content autonomously, making the labeling process self-service and eliminating manual labor while maintaining high accuracy through the sophisticated embedding comparison mechanism.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary actions by pre-processing documents (extracting text, generating embeddings) and pre-comparing candidate content against masked portions before final labeling. This preliminary processing prepares the data in advance, enabling rapid and accurate labeling without time-consuming manual analysis during the actual training phase.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If manual labeling is used to ensure robust and varied training data, then model accuracy can be maximized, but the process is error-prone

Engineering Contradiction:
Improvemodel accuracyVSAvoidlabeling errors
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The system replaces the mechanical human labeling process with an automated computational system. Instead of human analysts manually examining and labeling documents (which introduces human error), the system uses neural networks, embedding generation, and automated comparison algorithms to perform labeling, eliminating human-induced errors while maintaining or improving accuracy through consistent, objective computational analysis.

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

Solution Approach 2:

The system implements feedback mechanisms where the machine learning model's outputs are automatically evaluated and used to refine future labeling. The automated comparison of embeddings provides feedback on labeling quality, allowing the system to continuously improve and maintain high reliability without the diminishing returns and error accumulation that occur in manual processes.

Inventive Principle:
Principle #23Feedback

3Productivity

If automated labeling is implemented to improve efficiency, then time and resources are reduced, but the precision and accuracy may deteriorate

Engineering Contradiction:
Improvelabeling efficiencyVSAvoidlabeling accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system changes key parameters of the labeling process by using embedding dimensionality, similarity thresholds, and neural network architectures as adjustable parameters. These parameter changes enable the automated system to achieve high accuracy by optimizing the embedding space and comparison criteria, proving that automation does not inherently sacrifice precision when appropriate technical parameters are used.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system transitions from traditional one-dimensional text analysis to multi-dimensional embedding space analysis. By representing text and candidate content as high-dimensional vectors and comparing them across multiple dimensions simultaneously, the system achieves both automated efficiency and high precision, as the dimensional enrichment provides more nuanced comparison capabilities than simple text matching.

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

Data Source

PatentUS12412411B2Training of machine learning models using content masking techniques
Publication Date: 2025.09.09 SAP SE
  • US12412411B2 patent drawing
  • US12412411B2 patent drawing
  • US12412411B2 patent drawing

AI summary

A method for training machine learning model is provided. The method comprises extracting texts and locations of the texts from a document, generating embeddings for the document, a first set of the embeddings characterizing a first subset of the texts and locations of the first subset of the texts and a second set of the embeddings characterizing a second subset of the texts that are masked and additional locations of the second subset of the texts that are masked, generating additional embeddings characterizing contents of the second subset of the texts, generating relevance values based on a comparison, identifying, for each of the additional locations of the second subset of the texts that are masked, a respective content of the second subset of the texts having a reference value that is higher than a remaining relevance values, and outputting each of the respective content.