
WaveRNN (TACOTRON2_WAVERNN_PHONE_LJSPEECH)
Audio and speech108 ops4.3M params
A single-layer recurrent vocoder that generates raw audio samples fast enough for real-time speech.
Audio and speech · 108 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
About this model's family
WaveRNN is a single-layer recurrent network for generating raw audio one sample at a time, designed so that text-to-speech synthesis runs fast without losing quality. The paper's argument is about operation count: it puts WaveNet at 60 sequential operations per sample and cuts that to 5. A sample therefore needs only five matrix-vector products in sequence, which custom GPU kernels turn into real speed.
The recurrent core is a variant of the GRU cell. In the paper's design the hidden state is split in two halves that predict the 8 coarse and the 8 fine bits of each 16-bit sample, with the fine prediction conditioned on the coarse one. That dual softmax predicts a 16-bit value through two small output spaces instead of one softmax over every 16-bit value. The benchmark is a single-speaker North American English text-to-speech dataset of 44 hours.
In A/B listening tests the paper reports no significant difference between WaveRNN-896 and WaveNet. With the sampling loop fused into one persistent GPU operation it generates 96,000 samples per second, four times real time for 24 kHz audio. The same paper shows that at a fixed parameter count large sparse networks beat small dense ones, up to sparsity levels beyond 96%. It also introduces Subscale WaveRNN, which produces 16 samples per step without loss of quality.
Key idea. WaveRNN replaces WaveNet's deep convolutional stack with a single-layer recurrent network and dual softmax that match its quality while sampling 4 times faster than real time.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{kalchbrenner2018efficientneuralaudiosynthesis,
title={Efficient Neural Audio Synthesis},
author={Nal Kalchbrenner and Erich Elsen and Karen Simonyan and Seb Noury and Norman Casagrande and Edward Lockhart and Florian Stimberg and Aaron van den Oord and Sander Dieleman and Koray Kavukcuoglu},
year={2018},
eprint={1802.08435},
archivePrefix={arXiv},
primaryClass={cs.SD},
url={https://arxiv.org/abs/1802.08435},
}