Abstract
This paper introduces Coco-Nut, a large-scale Japanese speech corpus designed to advance prompt-based text-to-speech (TTS) systems. By harvesting diverse voice characteristics from the internet and pairing them with free-form text descriptions, the researchers address the limitations of traditional studio-recorded datasets. Furthermore, they propose a retrieval model based on Contrastive Language-Audio Pretraining (CLAP) enhanced with Feature Prediction Learning. This approach grounds text prompts in physical acoustic properties—such as pitch and tempo—significantly improving the alignment between natural language descriptions and vocal styles. Experimental results demonstrate near-perfect zero-shot classification accuracy and improved subjective quality in voice retrieval.
Introduction
In the field of Text-to-Speech (TTS), achieving human-like prosody is a solved problem, but providing machines with specific "character" remains a challenge. Most current systems rely on rigid controls like speaker IDs or a limited set of emotion tags. To enable a system to synthesize a voice based on a prompt like "a middle-aged man speaking hurriedly with a slightly flustered demeanor," two components are required: a dataset containing such varied voices and a robust mapping between text prompts and acoustic features.
The Coco-Nut Corpus Pipeline
To capture a wide array of "impressive" and diverse voices, the researchers developed a pipeline to harvest data from YouTube. Unlike random sampling, this method uses social signals to identify unique vocal characteristics.
- Filtering by Reaction: A BERT-based classifier scans YouTube comments for feedback on voice quality (e.g., "What a cool voice!") to flag candidate videos.
- Quality Assurance: The pipeline employs Voice Activity Detection (VAD), Demucs for denoising, and NISQA to ensure high-quality audio suitable for TTS training.
- Diversity via Clustering: To ensure a broad representation, x-vector clustering is used to group similar voices, followed by representative sampling from each group.
- Crowdsourced Annotation: Human listeners provide free-form descriptions of age, gender, tone, and style for each segment.
Retrieval Model with Feature Prediction
The proposed retrieval model utilizes a CLAP (Contrastive Language-Audio Pretraining) framework, which aligns audio and text in a shared embedding space using RoBERTa and HuBERT encoders.
To prevent the model from becoming "lazy"—matching pairs based on background noise rather than vocal traits—the authors introduced Feature Prediction Learning. During training, the model is required to predict three quantitative physical features from the embeddings:
- Mean $F_0$ (Pitch)
- Standard deviation of energy (Dynamics)
- Speaking rate (Tempo)
By forcing the model to encode these physical attributes, the resulting embeddings become more grounded in the actual characteristics that define a human voice.
Key Results and Insights
- Zero-Shot Capability: The model demonstrated exceptional generalizability, achieving up to 100% accuracy for gender and 99.7% for speaking rate classification on the JVS (Japanese Versatile Speech) benchmark, despite not being trained on that specific dataset.
- Subjective Improvement: Listening tests revealed that users rated retrieval results significantly higher when Feature Prediction was utilized. This auxiliary loss reduced "discordant" matches where the retrieved voice contradicted the text prompt.
- The Wisdom of Crowds: Using YouTube comments as a proxy for "voice interestingness" proved to be an effective automated strategy for discovering diverse data that studio environments cannot replicate.
Conclusion and Future Work
While the Coco-Nut corpus and the enhanced retrieval model represent a significant step forward, a gap remains between the top-ranked retrieved voices and the ground truth in subjective tests. Future research will focus on integrating this retrieval mechanism into full generative TTS systems to synthesize entirely new speech based on these diverse prompts, as well as expanding the methodology to other languages beyond Japanese.
Summary updated