StyleSpeech
A text-to-speech model that adapts to a new speaker's voice from a single short reference recording.
Audio and speech · 765 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
- 27.7M
- Operations
- 765
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICML 2021
- Cited by
- 92 (as of 27 October 2026)
- Authors
- Dongchan Min, Dong Bok Lee, Eunho Yang, Sung Ju Hwang
- License
- MIT
- 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
- m20642
- Graph hash
- 9050c6da17962e63e00ae5963fd0344f69b25239659b603bb5198635b1d57ce7
- Skeleton hash
- 0e857d822a2ebc97852763c2622fabfa94359a4fe23008cf19201342ca8b3914
- Architecture hash
- 595319e7facdabfa7278e101f4d22994ad5062df5f13397c660bbe48055a1518
- Diagram SHA-256
- f28e25e19604bddfab163cac0d5e0c7ada4469069b3d1c28cbe3e7329d5eea08
- 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
StyleSpeech is a text-to-speech (TTS) model that can speak in the style of a target speaker given a single reference recording. According to the paper, earlier methods either had to fine-tune the model for a new speaker or adapted poorly without fine-tuning.
The model has two parts, a mel-style encoder and a generator. The mel-style encoder turns a reference speech sample into one style vector that holds speaker identity and prosody. The generator is built on FastSpeech2, with a phoneme encoder, a variance adaptor and a mel-spectrogram decoder. The style vector enters through Style-Adaptive Layer Normalization (SALN), which replaces the layer normalizations in the blocks of the phoneme encoder and the mel-spectrogram decoder. Where ordinary layer normalization has a fixed gain and bias, SALN predicts them from the style vector, and the layer that does this conversion is a single fully connected layer.
Meta-StyleSpeech extends the model with two discriminators trained with style prototypes and with episodic training, to improve adaptation to new speakers. The output is a mel-spectrogram, and the paper uses MelGAN as the vocoder that converts it into an audio waveform.
Key idea. StyleSpeech adapts a text-to-speech model to a new speaker's voice through Style-Adaptive Layer Normalization, which sets gain and bias from a style vector extracted from reference speech.
- stylespeech
- meta-stylespeech
- text-to-speech
- tts
- multi-speaker tts
- speaker adaptation
- style-adaptive layer normalization
- saln
- speech synthesis
- mel-spectrogram generation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{min2021metastylespeechmultispeakeradaptive,
title={Meta-StyleSpeech : Multi-Speaker Adaptive Text-to-Speech Generation},
author={Dongchan Min and Dong Bok Lee and Eunho Yang and Sung Ju Hwang},
year={2021},
eprint={2106.03153},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2106.03153},
}