Papers › NaturalSpeech 2: Latent Diffusion Models are Natural and Zero-Shot Speech and Singing...

NaturalSpeech 2: Latent Diffusion Models are Natural and Zero-Shot Speech and Singing Synthesizers

18 Apr 2023arXiv:2304.09116archive 2025-07-28

Kai Shen, Zeqian Ju, Xu Tan, Yanqing Liu, Yichong Leng, Lei He, Tao Qin, Sheng Zhao, Jiang Bian

Scaling text-to-speech (TTS) to large-scale, multi-speaker, and in-the-wild datasets is important to capture the diversity in human speech such as speaker identities, prosodies, and styles (e.g., singing). Current large TTS systems usually quantize speech into discrete tokens and use language models to generate these tokens one by one, which suffer from unstable prosody, word skipping/repeating issue, and poor voice quality. In this paper, we develop NaturalSpeech 2, a TTS system that leverages a neural audio codec with residual vector quantizers to get the quantized latent vectors and uses a diffusion model to generate these latent vectors conditioned on text input. To enhance the zero-shot capability that is important to achieve diverse speech synthesis, we design a speech prompting mechanism to facilitate in-context learning in the diffusion model and the duration/pitch predictor. We scale NaturalSpeech 2 to large-scale datasets with 44K hours of speech and singing data and evaluate its voice quality on unseen speakers. NaturalSpeech 2 outperforms previous TTS systems by a large margin in terms of prosody/timbre similarity, robustness, and voice quality in a zero-shot setting, and performs novel zero-shot singing synthesis with only a speech prompt. Audio samples are available at https://speechresearch.github.io/naturalspeech2.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2304.09116")

Code

Syntology Ran 6 of 11 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 5 ran · violated contract; 1 ran · our draft was wrong.

By repository: community (archive-listed): 10 samples from 1 repository, 5 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

adelacvg/ns2vc mentioned on GitHubpytorch report
lucidrains/naturalspeech2-pytorch mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 6 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · violated contract
1ran · our draft was wrong
5unverified

Licence: 1 of the 11 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from lucidrains/naturalspeech2-pytorch. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

default lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/naturalspeech2_pytorch.py community (archive-listed) ran · violated contract MIT (permissive) · d1ef6b8cb9a28a53 · report
divisible_by lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/naturalspeech2_pytorch.py community (archive-listed) ran · violated contract fingerprinted MIT (permissive) · f912c209e9c899ca · report
exists lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/aligner.py community (archive-listed) ran · violated contract MIT (permissive) · aa5486a3650902d8 · report
exists lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/naturalspeech2_pytorch.py community (archive-listed) ran · violated contract MIT (permissive) · 608e364a9d2376a3 · report
once lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/attend.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 52e10a7d6b0fa036 · report
average_over_durations lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/utils/utils.py community (archive-listed) unverified MIT (permissive) · 040fb4189642c954 · report
create_mask lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/utils/utils.py community (archive-listed) unverified MIT (permissive) · ac1731a11eef3564 · report
is_tool lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/utils/phonemizers/espeak_wrapper.py community (archive-listed) unverified MIT (permissive) · a57ad0dfe43eabea · report
maximum_path lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/aligner.py community (archive-listed) unverified MIT (permissive) · bfae004145c18b24 · report
pad_tensor lucidrains/naturalspeech2-pytorch/naturalspeech2_pytorch/aligner.py community (archive-listed) unverified MIT (permissive) · c6289707dcc4058f · report
default identical code first harvested elsewhere ran · violated contract fingerprinted licence of this copy not recorded · 60fff7c3c400d7ff · report

Tasks

In-Context LearningSpeech SynthesisText to Speechtext-to-speech

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections