F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching

Yushen Chen, Zhikang Niu, Ziyang Ma, Keqi Deng, Chunhui Wang, Jian Zhao, Kai Yu, Xie Chen

Introduction

Recent research in Text-to-Speech (TTS) has experienced great advancement . With a few seconds of audio prompt, current TTS models are able to synthesize speech for any given text and mimic the speaker of audio prompt . The synthesized speech can achieve high fidelity and naturalness that they are almost indistinguishable from human speech .

While autoregressive (AR) based TTS models exhibit an intuitive way of consecutively predicting the next token(s) and have achieved promising zero-shot TTS capability, the inherent limitations of AR modeling require extra efforts addressing issues such as inference latency and exposure bias . Moreover, the quality of speech tokenizer is essential for AR models to achieve high-fidelity synthesis . Thus, there have been studies exploring direct modeling in continuous space to enhance synthesized speech quality recently.

Although AR models demonstrate impressive zero-shot performance as they perform implicit duration modeling and can leverage diverse sampling strategies, non-autoregressive (NAR) models benefit from fast inference through parallel processing, and effectively balance synthesis quality and latency. Notably, diffusion models contribute most to the success of current NAR speech models . In particular, Flow Matching with Optimal Transport path (FM-OT) is widely used in recent research fields not only text-to-speech but also image generation and music generation .

Unlike AR-based models, the alignment modeling between input text and synthesized speech is crucial and challenging for NAR-based models. While NaturalSpeech 3 and Voicebox use frame-wise phoneme alignment; Matcha-TTS adopts monotonic alignment search and relies on phoneme-level duration model; recent works find that introducing such rigid and inflexible alignment between text and speech hinders the model from generating results with higher naturalness .

E3 TTS abandons phoneme-level duration and applies cross-attention on the input sequence but yields limited audio quality. DiTTo-TTS uses Diffusion Transformer (DiT) with cross-attention conditioned on encoded text from a pretrained language model. To further enhance alignment, it uses the pretrained language model to finetune the neural audio codec, infusing semantic information into the generated representations. In contrast, E2 TTS , based on Voicebox , adopts a simpler way, which removes the phoneme and duration predictor and directly uses characters padded with filler tokens to the length of mel spectrograms as input. This simple scheme also achieves very natural and realistic synthesized results. However, we found that robustness issues exist in E2 TTS for the text and speech alignment. Seed-TTS employs a similar strategy and achieves excellent results, though not elaborated in model details. In these ways of not explicitly modeling phoneme-level duration, models learn to assign the length of each word or phoneme according to the given total sequence length, resulting in improved prosody and rhythm.

In this paper, we propose F5-TTS, a Fairytaler that Fakes Fluent and Faithful speech with Flow matching. Maintaining the simplicity of pipeline without phoneme alignment, duration predictor, text encoder, and semantically infused codec model, F5-TTS leverages the Diffusion Transformer with ConvNeXt V2 to better tackle text-speech alignment during in-context learning. We stress the deep entanglement of semantic and acoustic features in the E2 TTS model design, which has inherent problems and will pose alignment failure issues that could not simply be solved with re-ranking. With in-depth ablation studies, our proposed F5-TTS demonstrates stronger robustness, in generating more faithful speech to the text prompt, while maintaining comparable speaker similarity. Additionally, we introduce an inference-time sampling strategy for flow steps substantially improving naturalness, intelligibility, and speaker similarity of generation. This approach can be seamlessly integrated into existing flow matching based models without retraining.

Preliminaries

The Flow Matching (FM) objective is to match a probability path ptp_{t} from a simple distribution p0\displaystyle p_{0}, e.g., the standard normal distribution p(x)=N(x∣0,I)p(x)=\mathcal{N}(x|0,I), to p1\displaystyle p_{1} approximating the data distribution qq. In short, the FM loss regresses the vector field utu_{t} with a neural network vtv_{t} as

where θ\theta parameterizes the neural network, t∼Ut\sim\mathcal{U} and x∼pt(x)x\sim p_{t}(x). The model vtv_{t} is trained over the entire flow step and data range, ensuring it learns to handle the entire transformation process from the initial distribution to the target distribution.

As we have no prior knowledge of how to approximate ptp_{t} and utu_{t}, a conditional probability path pt(x∣x1)=N(x ∣ μt(x1),σt(x1)2I)p_{t}(x|x_{1})=\mathcal{N}(x\ |\ \mu_{t}(x_{1}),\sigma_{t}(x_{1})^{2}I) is considered in actual training, and the Conditional Flow Matching (CFM) loss is proved to have identical gradients w.r.t. θ\theta . x1x_{1} is the random variable corresponding to training data. μ\mu and σ\sigma is the time-dependent mean and scalar standard deviation of Gaussian distribution.

Remember that the goal is to construct target distribution (data samples) from initial simple distribution, e.g., Gaussian noise. With the conditional form, the flow map ψt(x)=σt(x1)x+μt(x1)\psi_{t}(x)=\sigma_{t}(x_{1})x+\mu_{t}(x_{1}) with μ0(x1)=0\mu_{0}(x_{1})=0 and σ0(x1)=1\sigma_{0}(x_{1})=1, μ1(x1)=x1\mu_{1}(x_{1})=x_{1} and σ1(x1)=0\sigma_{1}(x_{1})=0 is made to have all conditional probability paths converging to p0p_{0} and p1p_{1} at the start and end. The flow thus provides a vector field dψt(x0)/dt=ut(ψt(x0)∣x1)d\psi_{t}(x_{0})/dt=u_{t}(\psi_{t}(x_{0})|x_{1}). Reparameterize pt(x∣x1)p_{t}(x|x_{1}) with x0x_{0}, we have

Further leveraging Optimal Transport form ψt(x)=(1−t)x+tx1\psi_{t}(x)=(1-t)x+tx_{1}, we have the OT-CFM loss,

To view in a more general way , if formulating the loss in terms of log signal-to-noise ratio (log-SNR) λ\lambda instead of flow step tt, and parameterizing to predict x0x_{0} (ϵ\epsilon, commonly stated in diffusion model) instead of predict x1−x0x_{1}-x_{0}, the CFM loss is equivalent to the vv-prediction loss with cosine schedule.

For inference, given sampled noise x0x_{0} from initial distribution p0p_{0}, flow step t∈t\in and condition with respect to generation task, the ordinary differential equation (ODE) solver is used to evaluate ψ1(x0)\psi_{1}(x_{0}) the integration of dψt(x0)/dtd\psi_{t}(x_{0})/dt with ψ0(x0)=x0\psi_{0}(x_{0})=x_{0}. The number of function evaluations (NFE) is the times going through the neural network as we may provide multiple flow step values from 0 to 1 as input to approximate the integration. Higher NFE will produce more accurate results and certainly take more calculation time.

2 Classifier-Free Guidance

Classifier Guidance (CG) is proposed by , functions by adding the gradient of an additional classifier, while such an explicit way to condition the generation process may have several problems. Extra training of the classifier is required and the generation result is directly affected by the quality of the classifier. Adversarial attacks might also occur as the guidance is introduced through the way of updating the gradient. Thus deceptive images with imperceptible details to human eyes may be generated, which are not conditional.

Classifier-Free Guidance (CFG) proposes to replace the explicit classifier with an implicit classifier without directly computing the explicit classifier and its gradient. The gradient of a classifier can be expressed as a combination of conditional generation probability and unconditional generation probability. By dropping the condition with a certain rate during training, and linear extrapolating the inference outputs with and without condition cc, the final guided result is obtained. We could balance between fidelity and diversity of the generated samples with

in CFM case, where α\alpha is the CFG strength.Note that the inference time will be doubled if CFG. Model vtv_{t} will execute the forward process twice, once with condition, and once without.

Method

This work aims to build a high-level text-to-speech synthesis system. We trained our model on the text-guided speech-infilling task . Based on recent research , it is promising to train without phoneme-level duration predictor and can achieve higher naturalness in zero-shot generation deprecating explicit phoneme-level alignment. We adopt a similar pipeline as E2 TTS and propose our advanced architecture F5-TTS, addressing the slow convergence (timbre learned well at an early stage but struggled to learn alignment) and robustness issues (failures on hard case generation) of E2 TTS. We also propose a Sway Sampling strategy for flow steps at inference, which significantly improves our model’s performance in faithfulness to reference text and speaker similarity.

Following E2 TTS, we directly use alphabets and symbols for English. We opt for full pinyin to facilitate Chinese zero-shot generation. By breaking the raw text into such character sequence and padding it with filler tokens to the same length as mel frames, we form an extended sequence zz with cic_{i} denoting the ii-th character:

The model is trained to reconstruct m⊙x1m\odot x_{1} with (1−m)⊙x1(1-m)\odot x_{1} and zz, which equals to learn the target distribution p1p_{1} in form of P(m⊙x1∣(1−m)⊙x1,z)P(m\odot x_{1}|(1-m)\odot x_{1},z) approximating real data distribution qq.

Inference To generate a speech with the desired content, we have the audio prompt’s mel spectrogram features xrefx_{ref}, its transcription yrefy_{ref}, and a text prompt ygeny_{gen}. Audio prompt serves to provide speaker characteristics and text prompt is to guide the content of generated speech.

The sequence length NN, or duration, has now become a pivotal factor that necessitates informing the model of the desired length for sample generation. One could train a separate model to predict and deliver the duration based on xrefx_{ref}, yrefy_{ref} and ygeny_{gen}. Here we simply estimate the duration based on the ratio of the number of characters in ygeny_{gen} and yrefy_{ref}. We assume that the sum-up length of characters is no longer than mel length, thus padding with filler tokens is done as during training.

To sample from the learned distribution, the converted mel features xrefx_{ref}, along with concatenated and extended character sequence zref⋅genz_{ref\cdot gen} serve as the condition in Eq.4. We have

See from Fig.1 (right), we start from a sampled noise x0x_{0}, and what we want is the other end of flow x1x_{1}. Thus we use the ODE solver to gradually integrate from ψ0(x0)=x0\psi_{0}(x_{0})=x_{0} to ψ1(x0)=x1\psi_{1}(x_{0})=x_{1}, given dψt(x0)/dt=vt(ψt(x0),xref,zref⋅gen)d\psi_{t}(x_{0})/dt=v_{t}(\psi_{t}(x_{0}),x_{ref},z_{ref\cdot gen}). During inference, the flow steps are provided in an ordered way, e.g.e.g., uniformly sampled a certain number from 0 to 1 according to the NFE setting.

After getting the generated mel with model vtv_{t} and ODE solver, we discard the part of xrefx_{ref}. Then we leverage a vocoder to convert the mel back to speech signal.

2 F5-TTS

E2 TTS directly concatenates the padded character sequence with input speech, thus deeply entangling semantic and acoustic features with a large length gap of effective information, which is the underlying cause of hard training and poses several problems in a zero-shot scenario (Sec.5.1). To alleviate the problem of slow convergence and low robustness, we propose F5-TTS which accelerates training and inference and shows a strong robustness in generation. Also, an inference-time Sway Sampling is introduced, which allows inference faster (using less NFE) while maintaining performance. This sampling way of flow step can be directly applied to other CFM models.

Model As shown in Fig.1, we use latent Diffusion Transformer (DiT) as backbone. To be specific, we use DiT blocks with zero-initialized adaptive Layer Norm (adaLN-zero). To enhance the model’s alignment ability, we also leverage ConvNeXt V2 blocks . Its predecessor ConvNeXt V1 is used in many works and shows a strong temporal modeling capability in speech domain tasks .

As described in Sec.3.1, the model input is character sequence, noisy speech, and masked speech. Before concatenation in the feature dimension, the character sequence first goes through ConvNeXt blocks. Experiments have shown that this way of providing individual modeling space allows text input to better prepare itself before later in-context learning. Unlike the phoneme-level force alignment done in Voicebox, a rigid boundary for text is not explicitly introduced. The semantic and acoustic features are jointly learned with the entire model. And unlike the way of feeding the model with inputs of significant length difference (length with effective information) as E2 TTS does, our design mitigates such gap.

The flow step tt for CFM is provided as the condition of adaLN-zero rather than appended to the concatenated input sequence in Voicebox. We found that an additional mean pooled token of text sequence for adaLN condition is not essential for the TTS task, maybe because the TTS task requires more rigorously guided results and the mean pooled text token is more coarse.

We adopt some position embedding settings in Voicebox. The flow step is embedded with a sinusoidal position. The concatenated input sequence is added with a convolutional position embedding. We apply a rotary position embedding (RoPE) for self-attention rather than symmetric bi-directional ALiBi bias . And for extended character sequence y^\hat{y}, we also add it with an absolute sinusoidal position embedding before feeding it into ConvNeXt blocks.

Compared with Voicebox and E2 TTS, we abandoned the U-Net style skip connection structure and switched to using DiT with adaLN-zero. Without a phoneme-level duration predictor and explicit alignment process, and nor with extra text encoder and semantically infused neural codec model in DiTTo-TTS, we give the text input a little freedom (individual modeling space) to let it prepare itself before concatenation and in-context learning with speech input.

Sampling As stated in Sec.2.1, the CFM could be viewed as v-prediction with a cosine schedule. For image synthesis, propose to further schedule the flow step with a single-peak logit-normal sampling, in order to give more weight to intermediate flow steps by sampling them more frequently. We speculate that such sampling distributes the model’s learning difficulty more evenly over different flow step t∈t\in.

In contrast, we train our model with traditional uniformly sampled flow step t∼Ut\sim\mathcal{U} but apply a non-uniform sampling during inference. In specific, we define a Sway Sampling function as

which is monotonic with coefficient s∈[−1,2π−2]s\in[-1,\frac{2}{\pi-2}]. We first sample u∼Uu\sim\mathcal{U}, then apply this function to obtain sway sampled flow step tt. With s<0s<0, the sampling is sway to left; with s>0s>0, the sampling is sway to right; and s=0s=0 case equals to uniform sampling. Fig.3 shows the probability density function of Sway Sampling on flow step tt.

Conceptually, CFM models focus more on sketching the contours of speech in the early stage (t→0t\to 0) from pure noise and later focus more on the embellishment of fine-grained details. Therefore, the alignment between speech and text will be determined based on the first few generated results. With a scale parameter s<0s<0, we make model inference more with smaller tt, thus providing the ODE solver with more startup information to evaluate more precisely in initial integration steps.

Experimental Setup

Datasets We utilize the in-the-wild multilingual speech dataset Emilia to train our base models. After simply filtering out transcription failure and misclassified language speech, we retain approximately 95K hours of English and Chinese data. We also trained small models for ablation study and architecture search on WenetSpeech4TTS Premium subset, consisting of a 945 hours Mandarin corpus. Base model configurations are introduced below, and small model configurations are in Appendix B.1. Three test sets are adopted for evaluation, which are LibriSpeech-PC test-clean , Seed-TTS test-en with 1088 samples from Common Voice , and Seed-TTS test-zh with 2020 samples from DiDiSpeech https://github.com/BytedanceSpeech/seed-tts-eval. Most of the previous English-only models are evaluated on different subsets of LibriSpeech test-clean while the used prompt list is not released, which makes fair comparison difficult. Thus we build and release a 4-to-10-second LibriSpeech-PC subset with 1127 samples to facilitate community comparisons.

Training Our base models are trained to 1.2M updates with a batch size of 307,200 audio frames (0.91 hours), for over one week on 8 NVIDIA A100 80G GPUs. The AdamW optimizer is used with a peak learning rate of 7.5e-5, linearly warmed up for 20K updates, and linearly decays over the rest of the training. We set 1 for the max gradient norm clip. The F5-TTS base model has 22 layers, 16 attention heads, 1024/2048 embedding/feed-forward network (FFN) dimension for DiT; and 4 layers, 512/1024 embedding/FFN dimension for ConvNeXt V2; in total 335.8M parameters. The reproduced E2 TTS, a 333.2M flat U-Net equipped Transformer, has 24 layers, 16 attention heads, and 1024/4096 embedding/FFN dimension. Both models use RoPE as mentioned in Sec.3.2, a dropout rate of 0.1 for attention and FFN, the same convolutional position embedding as in Voicebox.

We directly use alphabets and symbols for English, use jiebahttps://github.com/fxsjy/jieba and pypinyinhttps://github.com/mozillazg/python-pinyin to process raw Chinese characters to full pinyins. The character embedding vocabulary size is 2546, counting in the special filler token and all other language characters exist in the Emilia dataset as there are many code-switched sentences. For audio samples we use 100-dimensional log mel-filterbank features with 24 kHz sampling rate and hop length 256. A random 70% to 100% of mel frames is masked for infilling task training. For CFG (Sec.2.2) training, first the masked speech input is dropped with a rate of 0.3, then the masked speech again but with text input together is dropped with a rate of 0.2. We assume that the two-stage control of CFG training may have the model learn more with text alignment.

Inference The inference process is mainly elaborated in Sec.3.1. We use the Exponential Moving Averaged (EMA) weights for inference, and the Euler ODE solver for F5-TTS (midpoint for E2 TTS as described in ). We use the pretrained vocoder Vocos to convert generated log mel spectrograms to audio signals.

Baselines We compare our models with leading TTS systems including, (mainly) autoregressive models: VALL-E 2 , MELLE , FireRedTTS and CosyVoice ; non-autoregressive models: Voicebox , NaturalSpeech 3 , DiTTo-TTS , MaskGCT , Seed-TTSDiT and our reproduced E2 TTS . Details of compared models see Appendix A.

Metrics We measure the performances under cross-sentence task. The model is given a reference text, a short speech prompt, and its transcription, and made to synthesize a speech reading the reference text mimicking the speech prompt speaker. In specific, we report Word Error Rate (WER) and speaker Similarity between generated and the original target speeches (SIM-o) for objective evaluation. For WER, we employ Whisper-large-v3 to transcribe English and Paraformer-zh for Chinese, following . For SIM-o, we use a WavLM-large-based speaker verification model to extract speaker embeddings for calculating the cosine similarity of synthesized and ground truth speeches. We use Comparative Mean Opinion Scores (CMOS) and Similarity Mean Opinion Scores (SMOS) for subjective evaluation. For CMOS, human evaluators are given randomly ordered synthesized speech and ground truth, and are to decide how higher the naturalness of the better one surpasses the counterpart, w.r.t. prompt speech. For SMOS, human evaluators are to score the similarity between the synthesized and prompt.

Experimental Results

Tab.5 and 5 show the main results of objective and subjective evaluations. We report the average score of three random seed generation results with our model and open-sourced baselines. We use by default a CFG strength of 2 and a Sway Sampling coefficient of −1-1 for our F5-TTS.

Fig.2 shows the overall trend of small models’ WER and SIM scores evaluated on Seed-TTS test-zh. Trained with only 945 hours of data, F5-TTS (32 NFE w/o SS) achieves a WER of 4.17 and a SIM of 0.54 at 800K updates, while E2 TTS is 9.63 and 0.53. F5-TTS++Conv2Audio trades much alignment robustness (+1.61 WER) with a slightly higher speaker similarity (+0.01 SIM), which is not ideal for scaling up. We found that the long skip connection structure can not simply fit into DiT to improve speaker similarity, while the ConvNeXt for input text refinement can not directly apply to the flat U-Net Transformer to improve WER as well, both showing significant degradation of performance. To further analyze the unsatisfactory results with E2 TTS, we studied the consistent failure (unable to solve with re-ranking) on a 7% of the test set (WER>>50%) all along the training process. We found that E2 TTS typically struggles with around 140 samples which we speculate to have a large distribution gap with the train set, while F5-TTS easily tackles this issue.

We investigate the models’ behaviors with different input conditions to illustrate the advantages of F5-TTS further and disclose the possible reasons for E2 TTS’s deficiency. See from Tab.4 in Appendix B.2, providing the ground truth duration allows more gains on WER for F5-TTS than E2 TTS, showing its robustness in alignment. By dropping the audio prompt, and synthesizing speech solely with the text prompt, E2 TTS is free of failures. This phenomenon implied a deep entanglement of semantic and acoustic features within E2 TTS’s model design. From Tab.3 GFLOPs statistics, F5-TTS carries out faster training and inference than E2 TTS.

The aforementioned limitations of E2 TTS greatly hinder real-world application as the failed generation cannot be solved with re-ranking. Supervised fine-tuning facing out-of-domain data or a tremendous pretraining scale is mandatory for E2 TTS, which is inconvenient for industrial deployment. On the contrary, our F5-TTS better handles zero-shot generation, showing stronger robustness.

2 Ablation of Sway Sampling

It is clear from Fig.3 that a Sway Sampling with a negative ss improves the generation results. Further with a more negative ss, models achieve lower WER and higher SIM scores. We additionally include comparing results on base models with and without Sway Sampling in Appendix B.4.

As stated at the end of Sec.3.2, Sway Sampling with s<0s<0 scales more flow step toward early-stage inference (t→0t\to 0), thus having CFM models capture more startup information to sketch the contours of target speech better. To be more concrete, we conduct a “leak and override" experiment. We first replace the Gaussian noise input x0x_{0} at inference time with a ground-truth-information-leaked input (1−t′)x0+t′xref′(1-t^{\prime})x_{0}+t^{\prime}x_{ref}^{\prime}, where t′=0.1t^{\prime}=0.1 and xref′x_{ref}^{\prime} is a duplicate of the audio prompt mel features. Then, we provide a text prompt different from the duplicated audio transcript and let the model continue the subsequent inference (skip the flow steps before t′t^{\prime}). The model succeeds in overriding leaked utterances and producing speech following the text prompt if Sway Sampling is used, and fails without. Uniformly sampled flow steps will have the model producing speech dominated by leaked information, speaking the duplicated audio prompt’s context. Similarly, a leaked timbre can be overridden with another speaker’s utterance as an audio prompt, leveraging Sway Sampling.

The experiment result is a shred of strong evidence proving that the early flow steps are crucial for sketching the silhouette of target speech based on given prompts faithfully, the later steps focus more on formed intermediate noisy output, where our sway-to-left sampling (s<0s<0) finds the profitable niche and takes advantage of it. We emphasize that our inference-time Sway Sampling can be easily applied to existing CFM-based models without retraining. And we will work in the future to combine it with training-time noise schedulers and distillation techniques to further boost efficiency.

Conclusion

This work introduces F5-TTS, a fully non-autoregressive text-to-speech system based on flow matching with diffusion transformer (DiT). With a tidy pipeline, literally text in and speech out, F5-TTS achieves state-of-the-art zero-shot ability compared to existing works trained on industry-scale data. We adopt ConvNeXt for text modeling and propose the test-time Sway Sampling strategy to further improve the robustness of speech generation and inference efficiency. Our design allows faster training and inference, by achieving a test-time RTF of 0.15, which is competitive with other heavily optimized TTS models of similar performance. We open-source our code, and models, to enhance transparency and facilitate reproducible research in this area.

The authors would like to express our gratitude to Tianrui Wang, Xiaofei Wang, Yakun Song, Yifan Yang, Yiwei Guo, and Yunchong Xiao for the valuable discussions.

Ethics Statements

This work is purely a research project. F5-TTS is trained on large-scale public multilingual speech data and could synthesize speech of high naturalness and speaker similarity. Given the potential risks in the misuse of the model, such as spoofing voice identification, it should be imperative to implement watermarks and develop a detection model to identify audio outputs.

References

Appendix A Baseline Details

VALL-E 2 A large-scale TTS model shares the same architecture as VALL-E but employs a repetition-aware sampling strategy that promotes more deliberate sampling choices, trained on Libriheavy 50K hours English dataset. We compared with results reported in .

MELLE An autoregressive large-scale model leverages continuous-valued tokens with variational inference for text-to-speech synthesis. Its variants allow to prediction of multiple mel-spectrogram frames at each time step, noted by MELLE-Rx with x denotes reduction factor. The model is trained on Libriheavy 50K hours English dataset. We compared with results reported in .

Voicebox A non-autoregressive large-scale model based on flow matching trained with infilling task. We compared with the 330M parameters trained on 60K hours dataset English-only model’s results reported in and .

NaturalSpeech 3 A non-autoregressive large-scale TTS system leverages a factorized neural codec to decouple speech representations and a factorized diffusion model to generate speech based on disentangled attributes. The 500M base model is trained on Librilight a 60K hours English dataset. We compared with scores reported in .

DiTTo-TTS A large-scale non-autoregressive TTS model uses a cross-attention Diffusion Transformer and leverages a pretrained language model to enhance the alignment. We compare with DiTTo-en-XL, a 740M model trained on 55K hours English-only dataset, using scores reported in .

FireRedTTS A foundation TTS framework for industry-level generative speech applications. The autoregressive text-to-semantic token model has 400M parameters and the token-to-waveform generation model has about half the parameters. The system is trained with 248K hours of labeled speech data. We use the official code and pre-trained checkpoint to evaluatehttps://github.com/FireRedTeam/FireRedTTS.

MaskGCT A large-scale non-autoregressive TTS model without precise alignment information between text and speech following the mask-and-predict learning paradigm. The model is multi-stage, with a 695M text-to-semantic model (T2S) and then a 353M semantic-to-acoustic (S2A) model. The model is trained on Emilia dataset with around 100K Chinese and English in-the-wild speech data. We compare with results reported in .

Seed-TTS A family of high-quality versatile speech generation models trained on unknown tremendously large data that is of orders of magnitudes larger than the previously largest TTS systems . Seed-TTSDiT is a large-scale fully non-autoregressive model. We compare with results reported in .

E2 TTS A fully non-autoregressive TTS system proposes to model without the phoneme-level alignment in Voicebox, originally trained on Libriheavy 50K English dataset. We compare with our reproduced 333M multilingual E2 TTS trained on Emilia dataset with around 100K Chinese and English in-the-wild speech data.

CosyVoice A two-stage large-scale TTS system, first autoregressive text-to-token, then a flow matching diffusion model. The model is of around 300M parameters, trained on 170K hours of multilingual speech data. We obtain the evaluation result with the official code and pre-trained checkpointhttps://huggingface.co/model-scope/CosyVoice-300M.

The detailed configuration of small models is shown in Tab.3. In the Transformer column, the numbers denote the Model Dimension, the Number of Layers, the Number of Heads, and the multiples of Hidden Size. In the ConvNeXt column, the numbers denote the Model Dimension, the Number of Layers, and the multiples of Hidden Size. GFLOPs are evaluated using the thop Python package.

As mentioned in Sec.3.2, F5-TTS leverages an adaLN DiT backbone, while E2 TTS is a flat U-Net equipped Transformer. F5-TTS++LongSkip adds an additional long skip structure connecting the first to the last layer in the Transformer. For the Multi-Model Diffusion Transformer (MMDiT) , a double stream transformer, the setting denotes one stream configuration.

B.2 Ablation study on Input Condition

The ablation study on different input conditions is conducted with three settings: common input with text and audio prompts, providing ground truth duration information rather than an estimate, and retaining only text input dropping audio prompt. In Tab.4, all evaluations take the 155M small models’ checkpoints trained on WenetSpeech4TTS Premium at 800K updates.

B.3 Comparison of ODE Solvers

The comparison results of using the Euler or midpoint ODE solver during F5-TTS inference are shown in Tab.B.3. The Euler is inherently faster (first-order) and performs slightly better typically for larger NFE inference with Sway Sampling (otherwise the Euler solver results in degradation).

From Tab.B.3, it is clear that our Sway Sampling strategy for test-time flow steps consistently improves the zero-shot generation performance in aspects of faithfulness to prompt text (WER) and speaker similarity (SIM). The gain of applying Sway Sampling to E2 TTS proves that our Sway Sampling strategy is universally applicable to existing flow matching based TTS models.

B.5 ELLA-V Hard Sentences Evaluation

ELLA-V proposed a challenging set containing 100 difficult textual patterns evaluating the robustness of the TTS model. Following previous works , we include generated samples in our demo pagehttps://SWivid.github.io/F5-TTS. We additionally compare our model with the objective evaluation results reported in E1 TTS .

StyleTTS 2 is a TTS model leveraging style diffusion and adversarial training with large speech language models. CosyVoice is a two-stage large-scale TTS system, consisting of a text-to-token AR model and a token-to-speech flow matching model. Concurrent with our work, E1 TTSDMD is a diffusion-based NAR model with a distribution matching distillation technique to achieve one-step TTS generation. Since the prompts used by E1 TTSDMD are not released, we randomly sample 3-second-long speeches in our LibriSpeech-PC test-clean set as audio prompts. The evaluation result is in Tab.7. We evaluate the reproduced E2 TTS and our F5-TTS with 32 NFE and Sway Sampling and report the averaged score of three random seed results.

We note that a higher WER compared to the results on commonly used test sets is partially due to mispronunciation (yogis to yojus, cavorts to caverts, etc.). The high Deletion rate indicates a word-skipping phenomenon when our model encounters a stack of repeating words. The low Insertion rate makes it clear that our model is free of endless repetition. We further emphasize that prompts from different speakers will spell very distinct utterances, where the ASR model transcribes correctly for one, and fails for another (e.g. quokkas to Cocos).