TL;DR
The paper introduces $\text{M}^3\text{PDB}$, a massive multimodal, multi-label, and multilingual database containing over 400,000 hours of speech designed to solve the problem of poor-quality or missing audio prompts in zero-shot speech generation. Alongside the dataset, the authors propose a multi-agent annotation framework and a latency-controllable selection strategy that retrieves high-quality substitute prompts in real time based on text, audio, or visual inputs.
What Problem Does This Paper Address?
Zero-shot speech generation models have made incredible strides, allowing systems to clone a speaker's voice and style from just a few seconds of reference audio. However, there is a massive catch: these models are typically trained on pristine, studio-quality data. In the real world, user-provided prompts are often plagued by background noise, are cut short, or might be entirely missing (e.g., a user only provides a facial image or a text description of the voice they want).
When there is a severe quality mismatch between the training data and the inference prompt, the synthesized speech degrades drastically. To bridge this gap, we need a way to quickly search a database and select a high-quality, acoustically appropriate substitute prompt that matches the user's target characteristics—even when the input is cross-modal (like an image) or in a language the model hasn't seen before.
Methods
The authors tackle this challenge with a two-pronged approach: a novel annotation framework to build the database, and an efficient retrieval strategy for inference.
- Multi-Modal Multi-Agent Annotation Framework: To label a dataset of this scale across text, audio, and video, the authors designed an automated pipeline. A large language model (LLM) acts as a central controller. Using Retrieval-Augmented Generation (RAG), the LLM analyzes the state of a data instance (e.g., whether it has visual data or what language it uses) and dynamically assigns weights to a collection of specialized expert models (agents) for tasks like age estimation, emotion detection, and speech rate calculation.
- Latency-Aware Prompt Selection Strategy: Searching through millions of audio files during real-time speech generation is computationally prohibitive. The authors introduce a two-stage selection process:
- Offline Registration: Narrows down the massive database to a small candidate subset ($\text{M}^3\text{PDB}_{\text{small}}$) using time-invariant attributes like gender, age, or facial similarity.
- Online Selection: Runs during inference, evaluating time-varying characteristics (like pitch, speaking rate, and emotion) in a serial pipeline. Crucially, this online process can be interrupted at any point to return the best match found so far, making it highly adaptable to strict latency constraints.
Datasets
The primary contribution of this paper is the introduction of $\text{M}^3\text{PDB}$ (Multimodal, Multi-Label, Multilingual Prompt Database). It is the first large-scale database explicitly built for prompt selection.
- Scale: 403,308 total hours, covering over 15,000 speakers.
- Modalities: Text, Audio, and Visual (T+A+V), with 25% of the data containing all three modalities.
- Languages: 18 languages (including English, Chinese, Spanish, French, etc.).
- Labels: 10 distinct label types, including both discrete tags and natural language descriptions generated by an LLM.
The dataset was constructed using a mix of real-world data (sourced from datasets like Emilia, VoxCeleb, and VoxPopuli) and synthetic data augmented via the CosyVoice model to enrich emotional diversity.
Key Insights and Ideas
- Retrieval Beats Pure Generation for Cross-Modal Prompts: When a user only provides a facial image, state-of-the-art "face-to-speech" generative models often synthesize low-quality audio. The authors found it is far more effective to use the face image to retrieve a real, high-quality audio sample from a database that matches the facial characteristics.
- The Proxy Language Strategy for Unseen Languages: To support languages not natively present in the database, the system uses a "proxy language" based on linguistic distance in the language family tree, combined with cross-lingual synthesis and Language Identification (LID) filtering to find viable prompt candidates.
- Cascaded Filtering for Latency Control: By ordering the online similarity modules from computationally cheap to expensive (e.g., speech rate $\rightarrow$ pitch $\rightarrow$ speaker ID $\rightarrow$ emotion), the system ensures that even an early interruption yields a reasonably accurate prompt.
Key Results
- Annotation Accuracy: The proposed multi-agent framework achieved an Age Mean Absolute Error (Age-MAE) of 6.22 years and a Gender Accuracy of 91.22%, significantly outperforming the baseline SpeechCraft dataset.
- Visual Prompt Performance: When selecting a prompt based on a facial image, $\text{M}^3\text{PDB}$ achieved an audio quality score (UTMOSv2) of 2.69, compared to just 2.10 from Imaginary Voice, a SOTA face-to-speech generative baseline.
- Robustness to Noise: In streaming speech-to-speech translation experiments with noisy inputs, using the $\text{M}^3\text{PDB}$ online selection strategy improved speaker similarity from 39.53% (using the original noisy input directly) to 44.88%, while boosting audio quality (UTMOSv2) from 2.49 to 2.69.
Limitations and Future Work
While powerful, the authors note that building and annotating the database remains highly time-consuming, prompting future work into accelerating data preprocessing pipelines. Additionally, the current database is limited to 18 languages and has only been validated on text-to-speech and speech translation tasks. The authors plan to expand the language coverage and test the framework on more interactive, conversational speech systems in the future.
Summary updated