Sequence NLP Training Engine Iterative Parameter Refinement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The versatility of machine learning engines in Natural Language Processing (NLP) makes it challenging to select appropriate data, sources, and training parameters for sequence NLP engines to effectively predict next items in a sequence, leading to issues like exposure bias and inefficient training procedures.

Innovation Solution

A training system for sequence NLP engines that iteratively updates model parameters using individual base truth comparisons and predictions, with a process of back propagation to reinforce or discourage predictions based on difference values, allowing the engine to increasingly rely on its own predictions for sequence completion.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If machine learning engines are trained using traditional methods with fixed training data and parameters, then the training process is straightforward to implement, but the sequence NLP engine suffers from exposure bias and poor generalization to new data

Engineering Contradiction:
Improveprediction accuracyVSAvoidtraining procedure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The training procedure dynamically adjusts the training sequence by progressively replacing ground truth tokens with model-generated tokens. This dynamic transformation allows the model to gradually learn from its own predictions while maintaining connection to actual training data, resolving the contradiction between training effectiveness and generalization capability

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The method changes the parameter composition of training sequences over time by controlling the proportion of ground truth tokens versus generated tokens. This parameter transformation enables the model to transition from learning based on fixed training data to learning based on its own predictive capabilities, improving reliability while managing complexity through systematic parameter evolution

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If training data is extensively curated from multiple sources to improve prediction accuracy, then the model performs better on known sequences, but the training process becomes time-consuming and computationally expensive

Engineering Contradiction:
Improveprediction precisionVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The training process maintains continuous useful action by iteratively using the model's own predictions as training data. Instead of requiring extensive external data curation, the system continuously generates training examples from the model's predictive outputs, maintaining training effectiveness while reducing dependency on time-consuming data collection and curation processes

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The model serves itself by generating its own training data through predictive outputs. This self-service mechanism eliminates the need for extensive external data curation and allows the model to improve prediction precision using its own generated sequences, significantly reducing training time and computational resources required for data preparation

Inventive Principle:
Principle #25Self-service

3Productivity

If the model is trained to rely heavily on ground truth data, then training convergence is faster, but the model fails to generalize when predicting multiple sequential items

Engineering Contradiction:
Improvetraining efficiencyVSAvoidgeneralization capability
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The training approach dynamically transitions from static ground truth dependency to dynamic self-generation. By progressively replacing ground truth tokens with model-generated tokens in the training sequence, the model develops adaptability for sequential prediction while maintaining training efficiency through the structured evolution of training data composition

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The method performs preliminary action by first training on ground truth data to establish baseline convergence, then systematically introducing generated tokens to build generalization capability. This preliminary grounding followed by progressive transformation allows the model to achieve both training efficiency and versatility in sequential prediction tasks

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10402752B2Training sequence natural language processing engines
Publication Date: 2019.09.03 META PLATFORMS INC
  • US10402752B2 patent drawing
  • US10402752B2 patent drawing
  • US10402752B2 patent drawing

AI summary

A system for training a model to predict a sequence (e.g. a sequence of words) given a context is disclosed. A model can be trained to make these predictions using a combination of individual predictions compared to base truth and sequences of predictions based on previous predictions, where the resulting sequence is compared to the base truth sequence. In particular, the model can initially use the individual predictions to train the model. The model can then be further trained over the training data in multiple iterations, where each iteration includes two processes for each training element. In the first process, an initial part of the sequence is predicted, and the model and model parameters are updated after each prediction. In the second process, the entire remaining amount of the sequence is predicted and compared to the corresponding training sequence to adjust model parameters to encourage or discourage each prediction.