Speech Recognition Encoding via Streaming Fragment Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional speech recognition devices with limited computing resources face high delays due to time-consuming encoding and decoding processes, which hinder efficient speech recognition.

Innovation Solution

Implementing a time-domain filtering scheme that allows for simultaneous acquisition and encoding of speech data, utilizing a streaming structure to reduce computational resources and delay by downsampling feature matrices, enabling real-time processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a whole sentence is acquired and input into the speech recognition model with non-streaming encoder and decoder, then the speech recognition accuracy is improved, but the encoding and decoding time increases significantly

Engineering Contradiction:
Improvespeech recognition accuracyVSAvoidencoding and decoding time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent divides the speech data into speech fragments (e.g., 300 frames) that can be processed independently. The encoder processes each fragment separately to generate corresponding encoding results, enabling parallel processing and reducing overall encoding time while maintaining recognition accuracy through proper fragment segmentation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs encoding operations in advance during the speech fragment acquisition phase. By encoding speech fragments as they are acquired rather than waiting for complete sentence input, the system prepares encoding results beforehand, reducing the total processing time when text conversion is needed.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the encoder and decoder use non-streaming structure to ensure accurate processing, then the speech recognition reliability is improved, but the delay in speech recognition increases

Engineering Contradiction:
Improvespeech recognition reliabilityVSAvoidspeech recognition delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent introduces a dynamic processing architecture where the encoder can operate in streaming mode on speech fragments while maintaining the reliability of non-streaming decoding. The system dynamically adjusts between fragment-based encoding and complete-sentence decoding, optimizing both speed and reliability based on processing needs.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

By segmenting speech into manageable fragments and processing them through the encoder-streaming-decoder pipeline, the system achieves faster processing without compromising the reliability of the final text output, as each fragment is properly encoded and decoded through the reliable non-streaming decoder.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If the encoding process is performed after complete speech acquisition to ensure accuracy, then the recognition precision is improved, but the productivity of speech recognition decreases

Engineering Contradiction:
Improverecognition precisionVSAvoidspeech recognition productivity
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system performs preliminary encoding of speech fragments as they are acquired, preparing encoding results in advance. This preliminary action allows the decoder to work more efficiently when text conversion is needed, improving overall productivity without sacrificing recognition precision.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent enables continuous encoding of speech fragments during the acquisition phase, rather than waiting for complete speech input. This continuous useful action maintains productivity by keeping the encoder actively processing data throughout the speech acquisition period, while still ensuring accurate recognition through proper fragment handling.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20240363117A1Speech recognition method and apparatus, electronic device, and computer-readable storage medium
Publication Date: 2024.10.31 ALIBABA INNOVATION PRIVATE LIMITED
  • US20240363117A1 patent drawing
  • US20240363117A1 patent drawing
  • US20240363117A1 patent drawing

AI summary

A speech recognition method and apparatus, an electronic device, and a storage medium are provided. The speech recognition method includes: acquiring a to-be-recognized speech fragment; encoding acquired speech data while the to-be-recognized speech fragment is simultaneously acquired, to obtain an encoding result of the to-be-recognized speech fragment; and decoding the encoding result of the to-be-recognized speech fragment to obtain text data corresponding to the to-be-recognized speech fragment. This solution can reduce a delay of speech recognition in a speech recognition device having limited computing resources.