Introduction
Modern Text-to-Speech (TTS) systems have achieved remarkable levels of naturalness, yet they often struggle with fine-grained controllability. When a user needs to adjust the pitch of a specific word or replace a segment of generated audio, they typically face a trade-off between the robotic artifacts of traditional signal processing (e.g., WORLD, TD-PSOLA) and the high computational cost of training specialized deep-learning editing modules.
EdiTTS introduces a "zero-shot" speech editing framework that leverages the power of pretrained score-based diffusion models. By applying coarse perturbations to the latent priors of the Grad-TTS architecture, EdiTTS enables granular control over pitch and content without requiring any additional training or model fine-tuning.
Methodology: Prior Perturbation and Diffusion Refinement
EdiTTS is built upon the Grad-TTS framework, where speech is generated by iteratively denoising Gaussian noise toward a realistic mel-spectrogram. The core innovation lies in Prior Perturbation, a technique that modifies the initial "rough draft" (the latent priors) predicted from text before the denoising process begins.
Pitch Shifting
Instead of manipulating the final audio waveform, EdiTTS shifts the latent priors along the frequency axis using a weighted averaging kernel ($K_{ps}$). An upward shift in this latent space translates to a higher pitch in the synthesized audio. This approach allows for localized changes; for instance, the pitch of a single word can be modified while leaving the rest of the sentence untouched.
Content Replacement and the Denoising Refiner
For word replacement, EdiTTS "stitches" together latent priors from different sources. Because manual edits like frequency shifting or stitching can create unnatural boundaries, the edited latents are passed through the diffusion model's reverse SDE process. The model acts as a powerful refiner, "hallucinating" realistic details and smoothing over rough edges to ensure the output sounds like natural human speech. Softening masks ($S_g$) are further employed to ensure edits blend seamlessly with the original audio.
Experimental Evaluation
The researchers evaluated EdiTTS using the LJ Speech dataset, a standard benchmark consisting of 13,100 audio clips from a single speaker.
Key Results
In Mean Opinion Score (MOS) tests for naturalness and pitch-shifting quality, EdiTTS significantly outperformed both traditional and deep-learning baselines. For upward pitch shifts, EdiTTS achieved a score of 4.04, surpassing FastPitch (3.77) and the WORLD vocoder (2.79).
In content replacement tasks, EdiTTS achieved a Word Error Rate (WER) of 9.11%. While slightly higher than the base Grad-TTS model's 8.22%, it proved far superior to naive spectrogram concatenation (11.61%), which often produces audible glitches at transition points.
Discussion and Limitations
EdiTTS demonstrates that a single pretrained model can handle multiple editing tasks—such as pitch shifting, word replacement, and accentuation—without task-specific optimization. By modifying priors rather than the final "pixels" (spectrogram bins), the system maintains high fidelity to the intended text.
However, several limitations remain:
- Inference Speed: As a diffusion-based method requiring 1,000 iterative steps, EdiTTS is currently too slow for real-time applications.
- Relative Control: Pitch adjustments are currently relative to kernel size rather than absolute values (e.g., specific Hertz or semitones).
- Alignment Sensitivity: The quality of the edit depends heavily on the accuracy of the internal text-to-audio alignments provided by the base model.
Summary updated