All models

WaveGrad

A diffusion vocoder that refines Gaussian noise into speech audio, conditioned on a mel-spectrogram.

Audio and speech · 230 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (41 KB)

Open in a new tab

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.

At a glance

Parameters
15.8M
Operations
230
Framework
PyTorch
Recurrent
No
Published
ICLR 2021
Cited by
345 (as of 28 October 2026)
Authors
Nanxin Chen, Yu Zhang, Heiga Zen and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m21459
Graph hash
00602a71777ba713c0a85a230566132abb2576116b607dacd620b9ec732249f2
Skeleton hash
7e1af5e1042573b96405c63ffb7845bd177b48d307cc4c9cbd0eacbe1fefd1b0
Architecture hash
7da873759e0f8674783e63b34045222b9815e0e5017ddbb64ef2cd84337ad0ed
Diagram SHA-256
04983f54adc6529d6ba4773ba6f3eb948ebf9ae4ba538b92c60575e46aeb52df
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

WaveGrad is a vocoder: it turns a mel-spectrogram into an audio waveform by starting from Gaussian white noise and refining the signal step by step. Instead of modeling the density of audio directly, it estimates the gradients of the data log-density. The paper builds it on prior work on score matching and diffusion probabilistic models.

The network is fully convolutional and non-autoregressive. Its upsampling block follows the GAN-TTS generator, except that no BatchNorm is used. The paper compares two variants and finds that conditioning on a continuous noise level works better than conditioning on a discrete step index, because one trained model can then be run with different numbers of refinement steps. The paper reports that WaveGrad can generate high fidelity audio samples using as few as six iterations.

This model comes from a PyTorch implementation of Google Brain's WaveGrad vocoder. During training it uses a default noise schedule of 1000 iterations with linearly scaled betas. Its STFT hop length is 300 by default, which is also the total upsampling factor.

Key idea. WaveGrad generates waveforms by iteratively refining Gaussian noise with a gradient-based sampler conditioned on a mel-spectrogram, trading inference speed for sample quality through the number of refinement steps.

  • WaveGrad
  • neural vocoder
  • diffusion vocoder
  • waveform generation
  • mel-spectrogram to waveform
  • speech synthesis
  • text-to-speech vocoder
  • score matching vocoder

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{chen2020wavegradestimatinggradientswaveform,
      title={WaveGrad: Estimating Gradients for Waveform Generation}, 
      author={Nanxin Chen and Yu Zhang and Heiga Zen and Ron J. Weiss and Mohammad Norouzi and William Chan},
      year={2020},
      eprint={2009.00713},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2009.00713}, 
}