univnet (base vocoder)
A GAN-trained vocoder generator that turns a log-mel-spectrogram and noise into a speech waveform.
Audio and speech · 358 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.
At a glance
- Task
- Audio and speech
- Parameters
- 14.8M
- Operations
- 358
- Framework
- PyTorch
- Recurrent
- No
- Published
- Interspeech 2021
- Cited by
- 4 (as of 22 October 2026)
- Authors
- Won Jang, Dan Lim, Jaesam Yoon and others
- Source
- transformers 5.18.0
- Name in source
- univnet:base-vocoder
- License
- BSD-3-Clause
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m10825
- Graph hash
- 574c98737d9c442d868e5f91fef2dbdc79e07a195f2728c4d8ee39819f9b1947
- Skeleton hash
- 91b1d26493c1cce72c43b520658d264d4d9b1cae9650cd1fe127a76c462bbf14
- Architecture hash
- cf0f5b623e4d2d4663a3329e9e3f3985414e020d466870440ac2b7b64652dcf8
- Diagram SHA-256
- 13a76d45d0308588591c42b4e57d65e512660c9193f4dd8c45eaf0ea6e4f2d75
- 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
How this diagram was made
transformers.UnivNetModel()
What it is
UnivNet is a neural vocoder, a network that synthesizes an audio waveform from a spectrogram, designed to run in real time. Its paper starts from a problem with full-band mel-spectrograms: they give a vocoder more acoustic information, but some models that use them generate over-smoothed, non-sharp spectrograms. The authors address this during adversarial training with a multi-resolution spectrogram discriminator, which judges linear spectrogram magnitudes computed with several parameter sets.
The generator is inspired by MelGAN: a noise sequence is the input, a log-mel-spectrogram is the condition, and transposed convolutions bring the output to the length of the target waveform. To capture local information in the condition it uses location-variable convolution layers, whose kernels are predicted from the log-mel-spectrogram by a kernel predictor. A gated activation unit is added to each residual connection.
The paper prepares two sizes, UnivNet-c16 and UnivNet-c32, with generator channel sizes of 16 and 32. In the paper's comparison, UnivNet-c32 generated results approximately 1.5 times faster than HiFi-GAN for a similar number of parameters, with little difference in subjective scores.
Key idea. UnivNet is a vocoder whose multi-resolution spectrogram discriminator takes several spectrograms as input and reduces over-smoothing in the generated waveforms.
- univnet
- univnet-c32
- univnet-c16
- neural vocoder
- gan vocoder
- mel-spectrogram to waveform
- speech synthesis
- text-to-speech vocoder
- multi-resolution spectrogram discriminator
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{jang2021univnetneuralvocodermultiresolution,
title={UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation},
author={Won Jang and Dan Lim and Jaesam Yoon and Bongwan Kim and Juntae Kim},
year={2021},
eprint={2106.07889},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2106.07889},
}