Bidirectional LSTM Language Model Training via Segmented Context

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current language processing methods, particularly in speech and handwriting recognition, rely on data-driven approaches but face challenges in accurately predicting subsequent or previous words in a sequence, leading to suboptimal recognition performance due to the lack of bidirectional context and noise reduction.

Innovation Solution

A method and apparatus utilizing a bidirectional long short-term memory (BLSTM) neural network that generates forward and backward training feature vectors to estimate subsequent and previous words, respectively, and updates connection weights based on error calculations, enhancing language model training and recognition accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If unidirectional language model training is used, then the model structure is simple, but the recognition performance is suboptimal due to lack of bidirectional context

Engineering Contradiction:
Improverecognition performanceVSAvoidmodel structure complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The language model is segmented into two separate directional components: a forward language model processing left-to-right context and a backward language model processing right-to-left context. This segmentation allows each model to specialize in one direction while maintaining manageable complexity, and their outputs are combined to achieve comprehensive bidirectional understanding for improved recognition performance

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The approach transitions from unidirectional (single-direction) processing to bidirectional (two-direction) processing by adding the temporal dimension of processing direction. This dimensional expansion enables the system to capture contextual information from both past and future states, significantly improving recognition accuracy without overwhelming complexity through the use of separate specialized models

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

2Measurement precision

If bidirectional context is fully utilized, then recognition accuracy improves, but computational complexity increases

Engineering Contradiction:
Improverecognition accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Computational tasks are segmented into two separate directional processing streams: forward processing that accumulates context from beginning to current position, and backward processing that accumulates context from end to current position. This segmentation distributes computational load across two specialized models rather than requiring one complex bidirectional model, improving accuracy while managing computational complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary unidirectional training for both forward and backward models before combining their outputs. This preliminary action allows each model to independently learn directional patterns and reduce computational burden during the final bidirectional integration phase, achieving high accuracy with optimized computational complexity

Inventive Principle:
Principle #10Preliminary action

3Reliability

If noise is present in training data, then model generalization suffers, but filtering noise reduces training data quality

Engineering Contradiction:
Improvemodel generalizationVSAvoidtraining data quality
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The training process incorporates feedback mechanisms where the model's predictions are compared against actual data, and error signals are used to adjust model parameters. This feedback loop enables the model to learn from noisy data by identifying and correcting errors, improving generalization while preserving valuable information that might be discarded by aggressive filtering

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The approach converts the harmful effect of noise in training data into a benefit by using noise-robust training techniques that leverage the stochastic nature of noise to prevent overfitting. The noise, rather than degrading model generalization, serves as regularisation that improves the model's ability to generalize to unseen data while maintaining training data quality

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

Data Source

PatentUS10380483B2Method and apparatus for training language model, and method and apparatus for recognizing language
Publication Date: 2019.08.13 SAMSUNG ELECTRONICS CO LTD
  • US10380483B2 patent drawing
  • US10380483B2 patent drawing
  • US10380483B2 patent drawing

AI summary

A method and apparatus for training a language model, include generating a first training feature vector sequence and a second training feature vector sequence from training data. The method is configured to perform forward estimation of a neural network based on the first training feature vector sequence, and perform backward estimation of the neural network based on the second training feature vector sequence. The method is further configured to train a language model based on a result of the forward estimation and a result of the backward estimation.