Abstract
In text-to-speech (TTS), controlling voice characteristics is essential for achieving diverse and purpose-driven speech synthesis. While text-conditioned generation has seen significant success in domains like text-to-image, free-form text instruction for intuitive control of voice characteristics remains a challenge due to the lack of large-scale, high-quality corpora. To address this, we introduce Coco-Nut, a new corpus of diverse Japanese utterances paired with text transcriptions and free-form voice descriptions. Our methodology involves an automated collection of voice-related audio from the internet, rigorous quality assurance, and manual crowdsourced annotation. We benchmark this corpus using a prompt embedding model trained via contrastive speech-text learning, demonstrating its utility for the "Prompt TTS" paradigm.
Introduction
Traditional TTS systems typically synthesize speech based on content (what is said) but offer limited control over style (how it is said). Control is often restricted to rigid speaker IDs or a small set of predefined emotion labels (e.g., "happy" or "sad"). However, human descriptions of voices are far more nuanced, utilizing rich language such as "a middle-aged man speaking in a clear, polite tone."
To bridge this gap, researchers from the University of Tokyo have developed Coco-Nut. This corpus enables "Prompt TTS," where free-form text descriptions serve as instructions for the speech synthesizer. By aligning audio and text in a shared embedding space, we can achieve more intuitive and complicated control over synthetic speech.
Methodology
The construction of the Coco-Nut corpus relies on a scalable, four-stage semi-automated pipeline designed to extract high-quality, "impressive" voices from the vast but noisy environment of the internet.
- Data Collection: The team utilized Wikipedia categories related to speech to generate search queries for YouTube, gathering over 1.14 million videos and 24.2 million viewer comments.
- Video Filtering: To identify videos with notable vocal characteristics, a BERT-based classifier analyzed comments. Videos where users specifically praised or discussed the voice (e.g., "Cool voice!") were prioritized.
- Quality Assurance: This stage employed Voice Activity Detection (VAD) to isolate speech, Demucs for denoising, and NISQA for automated quality assessment. To ensure diversity, the researchers used hierarchical clustering of x-vectors to sample a wide range of vocal styles rather than repeating similar voices.
- Manual Annotation: Finally, crowdsourcing was used to provide human-verified descriptions. Annotators listened to clips and described the speaker's age, gender, voice quality, and speaking style in free-form text.
Dataset Characteristics
The resulting Coco-Nut corpus contains 7,667 Japanese speech segments, totaling approximately 8.5 hours of audio. The data spans 14 diverse categories, including Entertainment, Education, and Gaming. Each entry includes the original audio, a text transcription of the content, and a descriptive prompt of the voice characteristics. This diversity ensures the model learns to associate specific linguistic descriptions with a broad spectrum of acoustic features.
Experimental Results and Benchmarking
The researchers benchmarked Coco-Nut using a contrastive learning model (HuBERT for audio and RoBERTa for text). The results indicate significant learning:
- Retrieval Performance: The Mean Average Precision (mAP@10) for retrieving the correct speech segment from a text prompt improved from 0.54% (pre-training) to 8.63% after training on Coco-Nut.
- Zero-Shot Generalization: When tested on the unseen JVS (Japanese Versatile Speech) dataset, the model achieved approximately 70% accuracy in zero-shot gender classification based solely on text prompts.
- Subjective Evaluation: In human listening tests, top-ranked retrievals for specific prompts were rated significantly higher than random samples, though a gap remains compared to ground-truth pairings (3.98 vs 7.37 on a 9-point scale).
Conclusion and Future Work
Coco-Nut represents a significant step toward intuitive, prompt-based control in Japanese TTS. While the model successfully captures broad characteristics like gender, it still faces challenges with nuanced subjective descriptions such as "excited" versus "questioning." Future work will focus on scaling the pipeline to larger datasets, improving gender alignment in the embedding space, and expanding the methodology to other languages to further close the "subjective gap" in speech synthesis.
Summary updated