Sequence-to-Sequence Speech Recognition Latency Threshold

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing automatic speech recognition (ASR) systems face a tradeoff between low latency and low word error rate (WER), with real-time ASR applications often experiencing delays that make them cumbersome and previous attempts to reduce latency increasing WER.

Innovation Solution

A computing system utilizing a sequence-to-sequence speech recognition model with an external alignment model, encoder neural network, and decoder neural network to generate text transcriptions, where each output text token has a latency below a predetermined threshold, allowing for real-time transcription while maintaining low WER.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If real-time ASR is performed to reduce latency, then the delay between input and output is reduced, but the word error rate increases

Engineering Contradiction:
ImprovelatencyVSAvoidword error rate
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The audio input is divided into multiple frames that are processed sequentially through the encoder neural network. The encoder processes frames in order and generates hidden states that are passed to the decoder, allowing the system to produce partial transcriptions at intermediate points while maintaining overall accuracy. This segmentation enables real-time output without sacrificing word error rate by processing audio in manageable chunks rather than requiring complete audio input before transcription.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The encoder neural network serves as an intermediary that processes audio frames and generates hidden states, which then serve as input to the decoder. This intermediary structure allows the system to maintain temporal relationships in the audio data while enabling incremental transcription output. The encoder-decoder architecture acts as a mediator between the raw audio input and the final transcription output, allowing real-time processing with controlled error rates.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If traditional ASR methods are used to ensure accuracy, then the word error rate is low, but the processing speed and real-time performance decrease

Engineering Contradiction:
Improveword error rateVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The encoder neural network performs preliminary processing of audio frames by extracting features and generating hidden states that capture the essential information. This preliminary action prepares the data in advance for the decoder, which then generates the transcription. By performing this preliminary feature extraction and temporal relationship modeling in the encoder, the system enables faster decoding and transcription generation without losing accuracy.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The encoder-decoder architecture maintains continuous processing of audio frames through time. As each frame is processed by the encoder, the resulting hidden states are immediately available to the decoder for transcription generation. This continuous action allows the system to produce transcriptions incrementally as audio is received, maintaining both high processing speed and low word error rate by never interrupting the processing flow.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS11562745B2Sequence-to-sequence speech recognition with latency threshold
Publication Date: 2023.01.24 MICROSOFT TECHNOLOGY LICENSING LLC
  • US11562745B2 patent drawing
  • US11562745B2 patent drawing
  • US11562745B2 patent drawing

AI summary

A computing system including one or more processors configured to receive an audio input. The one or more processors may generate a text transcription of the audio input at a sequence-to-sequence speech recognition model, which may assign a respective plurality of external-model text tokens to a plurality of frames included in the audio input. Each external-model text token may have an external-model alignment within the audio input. Based on the audio input, the one or more processors may generate a plurality of hidden states. Based on the plurality of hidden states, the one or more processors may generate a plurality of output text tokens. Each output text token may have a corresponding output alignment within the audio input. For each output text token, a latency between the output alignment and the external-model alignment may be below a predetermined latency threshold. The one or more processors may output the text transcription.