Introduction
Deep learning models for speech processing are notoriously data-hungry, often requiring thousands of hours of high-quality audio to achieve state-of-the-art performance. While languages like English and Chinese benefit from extensive open-source datasets, Japanese has historically lagged behind. The widely used Corpus of Spontaneous Japanese (CSJ), for instance, contains approximately 600 hours of audio, whereas English corpora like Common Voice exceed 1,100 hours.
To bridge this gap, researchers have introduced JTubeSpeech, a massive, open-source Japanese speech corpus harvested from YouTube. By employing automated, language-independent filtering techniques, the team constructed a dataset featuring over 1,300 hours for Automatic Speech Recognition (ASR) and 900 hours for Automatic Speaker Verification (ASV).
Methodology: An Automated Pipeline
The core innovation of JTubeSpeech lies in its almost entirely automated and language-agnostic pipeline. Unlike traditional methods that rely on manual selection or language-specific phonetic dictionaries, this approach scales easily to any language with a significant YouTube presence.
The pipeline consists of three main stages:
- Data Collection: Search terms are generated by extracting hyperlinked words from Wikipedia and trending terms from Google Trends. The system specifically targets videos with manual subtitles to ensure a higher baseline quality.
- Cleansing for ASR: To resolve timing mismatches between subtitles and audio, the researchers used Connectionist Temporal Classification (CTC) segmentation. This end-to-end approach aligns text to audio and assigns a confidence score; segments with low scores are discarded.
- Cleansing for ASV: Speaker verification requires clean audio from a single individual. The authors utilized $d$-vectors (deep speaker embeddings) to measure voice variance within a video.
Identifying the "Goldilocks Zone" for Speaker Verification
A key challenge in harvesting "in-the-wild" data for ASV is distinguishing between single-speaker narrations, multi-speaker talk shows, and synthetic Text-to-Speech (TTS) voices. The researchers found that the determinant of the covariance matrix in the speaker embedding space serves as an effective unsupervised metric for this categorization.
As shown in the distribution of log determinants, the data naturally falls into three zones:
- Low variance (TTS): These videos exhibit extremely consistent vocal characteristics typical of synthetic voices and are filtered out.
- Medium variance (Single Speaker): This "goldilocks" zone represents the target data for ASV—consistent human speech from a single individual.
- High variance (Multi-speaker/Noisy): These videos contain multiple voices or significant background noise and are excluded from the ASV corpus but may remain useful for ASR.
Key Results and Performance
The sheer scale of JTubeSpeech proves that volume can compensate for the inherent noise of "in-the-wild" data.
- ASR Performance: Utilizing the full 1,376-hour dataset, the model achieved a Character Error Rate (CER) of 5.2% on "easy" YouTube test sets and 10.7% on "normal" sets. These results are competitive with benchmarks on established Japanese corpora like CSJ.
- ASV Performance: The speaker verification system reached an Equal Error Rate (EER) of 10.9%, establishing a solid baseline for large-scale open-source Japanese ASV.
- Impact of CTC Alignment: Re-aligning original YouTube subtitles using CTC segmentation reduced the CER by approximately 2 absolute percentage points, highlighting the importance of precise temporal alignment.
Conclusion and Future Work
JTubeSpeech demonstrates a scalable path forward for creating large-scale speech corpora in various languages. By moving away from language-specific HMM-based aligners toward CTC-based segmentation, the pipeline is highly portable. Future work aims to incorporate auto-generated subtitles with enhanced filtering and expand the framework to create a "GlobalTubeSpeech" corpus covering multiple low-resource languages.
The project's code and video IDs are publicly available to encourage further research in the community.
Summary updated