A Unified Neural Codec Language Model for Selective Editable Text to Speech Generation
Hanchen Pei, Shujie Liu, Yanqing Liu, Jianwei Yu, Yuanhang Qian, Gongping Huang, Sheng Zhao, Yan Lu
TL;DR
SpeechEdit tackles the lack of fine-grained controllability in zero-shot TTS by reframing selectable speech editing as a prompt-guided neural codec language modeling problem. It unifies zero-shot TTS, voice conversion, and style editing within a single model by conditioning on instruction tokens and acoustic prompts, and it achieves implicit attribute disentanglement through Delta-Pair sampling trained on LibriEdit. The LibriEdit dataset, built from LibriHeavy with emotion and prosody annotations, enables scalable training for attribute-level control. Experimental results show SpeechEdit maintains naturalness and robustness while delivering state-of-the-art selective editing across multiple tasks, demonstrating the practicality of in-context learning with neural codec LMs for controllable expressive speech synthesis.
Abstract
Neural codec language models achieve impressive zero-shot Text-to-Speech (TTS) by fully imitating the acoustic characteristics of a short speech prompt, including timbre, prosody, and paralinguistic information. However, such holistic imitation limits their ability to isolate and control individual attributes. In this paper, we present a unified codec language model SpeechEdit that extends zero-shot TTS with a selective control mechanism. By default, SpeechEdit reproduces the complete acoustic profile inferred from the speech prompt, but it selectively overrides only the attributes specified by explicit control instructions. To enable controllable modeling, SpeechEdit is trained on our newly constructed LibriEdit dataset, which provides delta (difference-aware) training pairs derived from LibriHeavy. Experimental results show that our approach maintains naturalness and robustness while offering flexible and localized control over desired attributes. Audio samples are available at https://speech-editing.github.io/speech-editing/.
