NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

P-Flow: A Fast and Data-Efficient Zero-Shot TTS through Speech Prompting

Sungwon Kim, Kevin J. Shih, Rohan Badlani, João Felipe Santos, Evelina Bakhturina, Mikyas Desta, Rafael Valle, Sungroh Yoon, Bryan CatanzaroNeurIPS 2023

Introduction

Zero-shot Text-to-Speech (TTS) aims to mimic a novel speaker's voice using only a tiny snippet of reference audio—usually around three seconds—without any additional training. Recently, the field has been dominated by large-scale neural codec language models like VALL-E. While these models produce impressive results, they suffer from significant drawbacks:

  1. Data Hunger: They require tens of thousands of hours of speech data to generalize effectively.
  2. Slow Inference: Their autoregressive nature means they generate audio one token at a time, which is computationally expensive and slow.
  3. Robustness Issues: They often struggle with pronunciation errors or skipping words.
  4. Complexity: They rely on pre-trained discrete neural codecs, adding potential distortion and latency.

P-Flow addresses these challenges by introducing a zero-shot TTS model that achieves state-of-the-art speaker similarity and speech quality while being significantly more efficient. By combining a speech-prompted text encoder with a flow-matching generative decoder, P-Flow matches the performance of massive autoregressive models using 200x less training data and delivering 20x faster inference.

Methodology

P-Flow moves away from discrete tokens and autoregressive generation, opting instead for continuous representations and a parallel architecture.

The overall diagram of P-Flow showing the speech-prompted text encoder and flow matching decoder.

The architecture consists of two primary components:

  • Speech-Prompted Text Encoder: Unlike standard encoders that use a fixed speaker embedding, this module takes the text input alongside a 3-second speech prompt. It uses a non-autoregressive Transformer to learn speaker-conditional representations directly from the prompt's continuous mel-spectrogram.
  • Flow Matching Generative Decoder: This component turns text representations into high-quality mel-spectrograms. It utilizes Flow Matching, a recent, highly efficient alternative to diffusion models. While diffusion models often require hundreds of steps to produce clean results, Flow Matching encourages "straighter" trajectories in the probability space, allowing for high-quality synthesis in just 10 steps.

To prevent the model from simply "copy-pasting" the prompt during training, the authors employ a masking strategy. They mask the loss for the segment of audio used as the prompt, forcing the model to learn the speaker's underlying characteristics to reconstruct the rest of the utterance.

Datasets and Key Insights

P-Flow was trained on a subset of the LibriTTS dataset, utilizing approximately 260 hours of audio. This is a tiny fraction compared to the 60,000 hours used by models like VALL-E. For evaluation, the authors used LibriSpeech (test-clean) for in-domain testing and the VCTK dataset to evaluate out-of-domain generalization to completely unseen speakers.

Several key insights drive P-Flow's success:

  • Continuous over Discrete: By using continuous mel-spectrograms instead of discrete neural codec tokens, P-Flow avoids the artifacts and "robotic" qualities sometimes found in codec-based models.
  • Efficiency of Prompting: A relatively small Transformer (only 3M parameters for the encoder) can perform highly effective in-context speaker adaptation if allowed to attend directly to the speech prompt.
  • Straight Trajectories Win: Flow Matching provides a major speed advantage. Because the ODE trajectories are nearly linear, the model avoids the massive computational overhead of autoregressive generation or the iterative refinement of standard diffusion.

Key Results

P-Flow demonstrates remarkable efficiency and quality improvements over existing state-of-the-art models.

Comparison of P-Flow against YourTTS and VALL-E across data, WER, similarity, and latency.
  • Speed: P-Flow achieves an average inference latency of 0.11 seconds on an NVIDIA A100 GPU—roughly 20x faster than VALL-E.
  • Robustness: It achieved a Word Error Rate (WER) of 2.6%, significantly lower than VALL-E's 5.9%, indicating much more reliable pronunciation and fewer skipped words.
  • Similarity: Despite using 200x less training data, its Speaker Embedding Cosine Similarity (SECS) of 0.544 remains highly competitive with VALL-E (0.580).
  • Human Preference: In subjective tests (CMOS/SMOS), listeners preferred P-Flow over VALL-E for both naturalness and speaker similarity.

Limitations and Future Work

While P-Flow is highly effective, the authors note that the duration predictor—which decides how long each phoneme lasts—is still a relatively simple module. Improving this could lead to even better prosody and emotional expression. Future work could also explore more explicit controls for emotion and style beyond what is captured automatically from the 3-second prompt.

Finally, as with any high-quality zero-shot TTS system, the authors acknowledge the potential for misuse, such as voice impersonation without consent, and emphasize the ongoing need for awareness and robust audio watermarking techniques.

Summary updated

BibTeX
@inproceedings{kim2023p,
  author = {Sungwon Kim and Kevin J. Shih and Rohan Badlani and João Felipe Santos and Evelina Bakhturina and Mikyas Desta and Rafael Valle and Sungroh Yoon and Bryan Catanzaro},
  title = {{P-Flow: A Fast and Data-Efficient Zero-Shot TTS through Speech Prompting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=58FSc71qyC},
}
Figure