Abstract
F5-TTS is a fully non-autoregressive text-to-speech system that achieves state-of-the-art zero-shot synthesis without the need for complex components like duration models or phoneme aligners. By leveraging Flow Matching with a Diffusion Transformer (DiT) and a novel "Sway Sampling" strategy, it delivers highly natural speech with a remarkably fast inference speed (RTF of 0.15).
Introduction
Traditional Text-to-Speech (TTS) systems typically fall into two categories: Autoregressive (AR) and Non-Autoregressive (NAR). AR models, such as VALL-E, are intuitive but suffer from high inference latency and "exposure bias," where errors accumulate over time. NAR models offer faster inference but often rely on complex, rigid alignment mechanisms—such as duration models and phoneme-level forced alignment—to synchronize text with audio. F5-TTS aims to maintain the simplicity of NAR models while overcoming the performance and stability issues that plagued previous "simplest-path" approaches like E2 TTS.
Architecture and Methodology
F5-TTS introduces several key architectural and algorithmic innovations to achieve robust, high-quality synthesis without explicit alignment.
The core of the system is a Diffusion Transformer (DiT) backbone, which replaces the U-Net structures commonly found in diffusion models, allowing for better scaling. The model employs Flow Matching (FM) with Optimal Transport paths, providing a more direct, straight-line path from noise to data than standard diffusion, which enhances training efficiency.
To help the model understand the relationship between text and speech without an explicit aligner, ConvNeXt V2 blocks are integrated to refine text representations before they are concatenated with the noisy speech input. This provides a "modeling space" for the text to prepare for alignment.
A pivotal innovation is Sway Sampling, a novel inference-time strategy. Based on the observation that early steps of the flow (near $t=0$) are crucial for establishing the speech's structure or "silhouette," Sway Sampling uses a non-uniform schedule to sample more frequently at these early stages. This significantly improves robustness and alignment without requiring retraining.
Experimental Results
The model was trained on a massive scale using the Emilia dataset, comprising approximately 95,000 hours of English and Chinese data. Performance was evaluated on the LibriSpeech-PC benchmark, a new subset of LibriSpeech test-clean introduced for fairer comparisons.
F5-TTS achieves a Real-Time Factor (RTF) of 0.15 on an NVIDIA RTX 3090, making it significantly faster than many diffusion-based and AR competitors. On the LibriSpeech-PC benchmark, it achieved a Word Error Rate (WER) of 2.42, outperforming the reproduced E2 TTS (2.95) and rivaling top-tier AR models. Robustness tests demonstrated that F5-TTS with Sway Sampling successfully ignores conflicting audio information to follow text prompts, whereas uniform sampling fails.
Conclusion
F5-TTS demonstrates that phonemes and duration predictors are not necessary to reach human-level naturalness in TTS. By treating text as a sequence of characters and allowing the transformer to learn alignment implicitly, the system becomes easier to build and maintain. Future work will explore more efficient representations for long Mel spectrogram sequences and methods for fine-grained prosodic control.
Summary updated