WaveFlow Audio Model Using Dilated 2D Convolutions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current deep generative models for raw audio, such as WaveNet, are slow and require engineered inference kernels for real-time speech synthesis, necessitating the development of more efficient models that can generate high-fidelity audio without the need for such kernels.

Innovation Solution

WaveFlow, a small-footprint flow-based model, is introduced, which directly trains with maximum likelihood and uses a dilated 2D convolutional architecture to process 1D waveform samples as a 2D matrix, maintaining temporal order information and reducing the number of parameters, allowing for faster synthesis and simpler training pipelines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If autoregressive models like WaveNet are used for raw audio generation, then high-fidelity audio quality is achieved, but synthesis speed becomes prohibitively slow requiring engineered inference kernels

Engineering Contradiction:
Improveaudio fidelityVSAvoidsynthesis speed
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent segments the audio generation process by introducing intermediate latent representations that capture temporal patterns at different scales. Instead of generating each waveform sample sequentially as in WaveNet, the model divides the generation into hierarchical stages using dilated convolutions with varying receptive fields, enabling parallel computation while maintaining temporal coherence.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the 1D sequential generation problem into a 2D latent space representation where temporal relationships are encoded across different dilation rates. This dimensional transformation allows the model to capture long-range dependencies without sequential processing, achieving both high fidelity and fast synthesis.

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

2Manufacturing precision

If WaveNet is used for real-time speech synthesis, then high-quality audio is produced, but the system requires highly engineered inference kernels and complex deployment

Engineering Contradiction:
Improveaudio qualityVSAvoidinference kernel engineering
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent replaces the complex sequential sampling mechanism of WaveNet with a flow-based generative approach using invertible transformations. This substitution eliminates the need for engineered inference kernels by using standard neural network operations (dilated convolutions, normalization layers) that can be deployed using conventional deep learning frameworks without specialized hardware or custom kernels.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If flow-based models are used to speed up synthesis, then generation speed improves, but model capacity and parameter count increase

Engineering Contradiction:
Improvesynthesis speedVSAvoidparameter count
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent applies local quality by using dilated convolutions with different dilation rates at different temporal scales. Each layer focuses on capturing local patterns at its specific receptive field scale, allowing the model to achieve high synthesis speed with fewer parameters by avoiding redundant modeling across all scales simultaneously.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic routing mechanisms that adaptively select which latent representations to process based on the input characteristics. This dynamic approach allows the model to maintain fast synthesis by only processing necessary features, reducing the effective parameter count during inference while preserving model capacity when needed.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11521592B2Small-footprint flow-based models for raw audio
Publication Date: 2022.12.06 BAIDU USA LLC
  • US11521592B2 patent drawing
  • US11521592B2 patent drawing
  • US11521592B2 patent drawing

AI summary

WaveFlow is a small-footprint generative flow for raw audio, which may be directly trained with maximum likelihood. WaveFlow handles the long-range structure of waveform with a dilated two-dimensional (2D) convolutional architecture, while modeling the local variations using expressive autoregressive functions. WaveFlow may provide a unified view of likelihood-based models for raw audio, including WaveNet and WaveGlow, which may be considered special cases. It generates high-fidelity speech, while synthesizing several orders of magnitude faster than existing systems since it uses only a few sequential steps to generate relatively long waveforms. WaveFlow significantly reduces the likelihood gap that has existed between autoregressive models and flow-based models for efficient synthesis. Its small footprint with 5.91M parameters makes it 15 times smaller than some existing models. WaveFlow can generate 22.05 kHz high-fidelity audio 42.6× faster than real-time on a V100 graphics processing units (GPU) without using engineered inference kernels.