Neural Vocoder Multi-Threading for Low-Latency TTS Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing Text-To-Speech (TTS) systems face challenges in achieving natural sounding output with low latency, as previous attempts to reduce inference time often deteriorate audio quality.

Innovation Solution

Implementing a multi-threading approach that optimally utilizes multiple threads at the neural vocoder level of the TTS processing pipeline, while performing preprocessing and acoustic model operations serially, to generate speech waveforms in parallel.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If serial processing is used in TTS pipeline, then audio quality is maintained, but inference time latency is high

Engineering Contradiction:
Improveaudio qualityVSAvoidinference time latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the sound frequency data (Mel spectrogram) into multiple segments and processes each segment independently through separate neural network instances in parallel. This segmentation allows the system to maintain audio quality by preserving the integrity of each segment while reducing overall inference time through concurrent processing of multiple segments.

Inventive Principle:
Principle #1Segmentation

2Loss of time

If parallel processing is used to reduce latency, then inference time is reduced, but audio quality deteriorates

Engineering Contradiction:
Improveinference time latencyVSAvoidaudio quality
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent applies partial parallelization by processing only the sound frequency data generation and waveform synthesis in parallel through multiple threads, while keeping the preprocessing stage serial. This selective parallelization achieves latency reduction without over-parallelizing the entire pipeline, thereby maintaining audio quality.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If multiple threads are used for processing, then processing speed increases, but system complexity increases

Engineering Contradiction:
Improveprocessing speedVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the processing workload into distinct stages (preprocessing, sound frequency data generation, waveform synthesis) and applies multi-threading only to the beneficial stages. This targeted segmentation increases processing speed while minimizing the added complexity by avoiding unnecessary parallelization of the entire system.

Inventive Principle:
Principle #1Segmentation

4Use of energy by moving object

If preprocessing is performed serially, then resource utilization is optimized, but overall processing time increases

Engineering Contradiction:
Improveresource utilizationVSAvoidoverall processing time
Core Design Contradiction:
Use of energy by moving objectVSLoss of time

Solution Approach 1:

The patent performs preprocessing serially as a preliminary action that prepares the input text and sound units before the parallel processing stage. This preliminary serial processing optimizes resource utilization by preparing data in an organized manner, while the subsequent parallel stages compensate for the time taken, achieving overall efficiency.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250391398A1Multi-threading techniques for text-to-speech inference
Publication Date: 2025.12.25 ORACLE INT CORP
  • US20250391398A1 patent drawing
  • US20250391398A1 patent drawing
  • US20250391398A1 patent drawing

AI summary

Techniques discussed herein relate to reducing latency in a Text-To-Speech processing pipeline. A request may be received requesting a speech waveform corresponding to input text provided in the request. The input text may be processed using a set of text preprocessing operations to generate a set of sound units. The set of sound units may be provided to an acoustic model to generate sound frequency data which may be divided into a number of smaller sound frequency data segments corresponding to the number of available computing threads. Each thread may be configured to provide a respective sound frequency data segment to a neural network as input to generate a plurality of speech waveforms. The plurality of speech waveforms may be combined to generate the speech waveform requested. The combined speech waveform may be provided in response to the request.