Abstract
High-quality, annotated speech data remains a significant bottleneck in the development of robust speech-to-text (ASR) and speech-to-translation (AST) models, particularly for non-English languages. This paper introduces Granary, a massive open-source dataset and processing pipeline designed to scale speech resources for 25 European languages. By employing a sophisticated pseudo-labeling workflow—incorporating two-pass inference, hallucination filtering, and LLM-based translation—Granary provides 643,000 hours of high-quality data. Our results demonstrate that models trained on Granary-processed data can outperform previous benchmarks while requiring significantly less training volume, highlighting the critical importance of data quality over raw quantity.
Introduction
While Large Language Models (LLMs) have benefited from the vast availability of web-scale text, the speech domain continues to struggle with data scarcity. Human annotation is expensive and slow, leading to a reliance on pseudo-labeled datasets. However, existing open-source speech datasets often suffer from "hallucinations" (the insertion of text during silence), poor audio-text alignment, and a lack of proper punctuation. Furthermore, most large-scale speech translation datasets remain proprietary, limiting research accessibility.
Granary addresses these challenges by providing a transparent, reproducible pipeline that transforms raw, unlabeled internet audio into a high-fidelity training corpus. The project focuses on 25 languages, including 23 official EU languages plus Ukrainian and Russian, providing a vital resource for multilingual speech foundation models.
The Granary Pipeline
The Granary workflow is divided into two specialized pipelines designed to maximize the utility of unlabeled audio data.
1. Speech-to-Text (ASR) Pipeline
To ensure transcription accuracy, Granary utilizes a Two-Pass Inference strategy. The system first predicts the Language ID (LID) to ensure the correct model parameters are applied, followed by transcription using FasterWhisper.
A critical component of this pipeline is Hallucination Filtering. Standard Whisper models are prone to repeating n-grams or inserting common phrases (e.g., "Thank you for watching") during periods of silence. The authors developed custom filters to identify and remove these artifacts. Finally, to make the data suitable for downstream natural language tasks, Qwen 2.5-7B is employed to perform Punctuation and Capitalization (P&C) restoration, converting raw transcripts into human-like text.
2. Speech-to-Translation (AST) Pipeline
Granary represents one of the first major efforts to utilize open-source LLMs for generating synthetic speech translation pairs. Using EuroLLM-9B, the pipeline generates English translations from the ASR transcripts of various European languages. To maintain high standards, these synthetic pairs are subjected to Rigorous Filtration via the NeMo Curator toolkit, which evaluates length ratios and Quality Estimation scores using the COMET metric.
Dataset Composition and Scale
Granary aggregates and cleans three primary open-source sources: YODAS, YouTube-Commons (YTC), and MOSEL. The resulting dataset comprises:
- 643,000 hours of filtered ASR data.
- 351,000 hours of X-to-English translation pairs.
- Broad Coverage: 25 languages, with significant representation for both high-resource and low-resource European languages.
Key Results and Insights
Quality Over Quantity
The most significant finding of the Granary project is that rigorous data cleaning is more impactful than dataset size. A model trained on 14,000 hours of Granary-cleaned data outperformed a baseline model trained on 23,500 hours of raw MOSEL data. This suggests that the "hallucination tax" paid by uncleaned datasets significantly hinders model convergence and final performance.
Performance Benchmarks
Evaluation across FLEURS, VoxPopuli, and Mozilla Common Voice (MCV12) benchmarks showed consistent improvements:
- English ASR: On the FLEURS benchmark, Granary achieved a Word Error Rate (WER) of 13.93%, a notable improvement over the MOSEL baseline of 15.77%.
- Low-Resource Languages: For Croatian, the Granary-trained model achieved a WER of 17.14%, compared to the baseline's 17.90%.
- Efficiency: The pipeline is highly optimized for scale; the authors filtered the nearly 441,000-hour MOSEL dataset in just 47 minutes using 8 nodes of A100 GPUs.
Limitations and Future Work
Despite its scale, Granary faces certain limitations. The dataset remains imbalanced, with English (275k hours) dwarfing languages like Ukrainian (~932 hours). Additionally, the quality of the final dataset is inherently tied to the performance of the underlying LLMs (Qwen and EuroLLM) used for P&C and translation; any systematic biases in these models may be inherited by the dataset.
Future work will focus on processing the remainder of the YouTube-Commons dataset and developing full-scale, multi-task multilingual models trained exclusively on the Granary corpus to further push the boundaries of open-source speech AI.
Summary updated