Abstract
Training state-of-the-art speech foundation models typically requires massive computational resources, creating a "compute divide" that limits research to well-funded organizations. This paper investigates how to optimize performance under a strict compute budget ($1.33 \times 10^{18}$ FLOPs). We demonstrate that "slim" (deep and narrow) architectures significantly outperform the shallow, wide models commonly used in low-resource settings. Furthermore, we identify a "Goldilocks" model size (~40M parameters) that maximizes performance by balancing model capacity with the number of training updates possible within the budget. These trends are consistent across various self-supervised learning (SSL) objectives.
Introduction
Self-supervised learning (SSL) has revolutionized speech processing through foundation models like HuBERT and wav2vec 2.0. However, pre-training these models from scratch often requires hundreds of GPUs and weeks of time. For researchers working on low-resource languages or niche domains, there is no clear manual on how to spend a limited compute budget—such as a few days on two GPUs—to achieve optimal results. This study addresses this gap by exploring the trade-offs between model architecture, data volume, and SSL objectives under a fixed computational limit.
Methods and Experimental Setup
The researchers conducted a systematic study fixing the total compute budget at $1.33 \times 10^{18}$ FLOPs. They varied four key factors:
- SSL Objectives: Predictive (HuBERT), Contrastive (wav2vec 2.0), and Generative (TERA).
- Model Architecture: Comparing traditional "Small" architectures (3 layers, wide) against proposed "Slim" architectures (12 layers, narrow) at similar parameter counts (~20M).
- Data vs. Iterations: Testing the impact of unique data volume versus frequent iterations over smaller datasets.
- Model Scaling: Testing models from 6M to over 300M parameters within the same FLOP budget.
Pre-training was performed on the LibriSpeech dataset (960 hours), and evaluation utilized the SUPERB benchmark, covering ten downstream tasks including Automatic Speech Recognition (ASR) and Speaker Identification (SID).
Key Results and Discussion
Depth Trumps Width
For a fixed parameter and compute budget, "Slim" models (12 layers) significantly outperformed "Small" models (3 layers). For instance, on ASR tasks, the HuBERT-Slim model achieved a Word Error Rate (WER) of 14.56%, compared to 19.37% for the HuBERT-Small model. This suggests that deeper, narrower networks capture superior representations for speech.
The "Goldilocks" Model Size
Bigger is not always better on a budget. If a model is too large, it cannot be trained for enough steps before hitting the compute limit; if too small, it lacks capacity. The study identified a U-shaped performance curve across all SSL objectives, with an optimal size of approximately 40M parameters (200% of the baseline Slim model) for the given budget.
Data Diversity and Objectives
Data diversity proved critical; iterating many times over tiny datasets (1-10 hours) yielded significantly worse performance than training on larger datasets (100+ hours), even with identical total updates. While HuBERT generally performed best among SSL objectives, the gains from adopting a "Slim" architecture were more impactful than the choice of the objective itself.
Conclusion
This research provides a practical framework for training speech foundation models under compute constraints. The findings emphasize that architecture (depth over width) and finding the optimal scaling point are more critical than the specific SSL objective. Future work may extend these "compute-optimal" rules to multi-modal models and different language families to see if these trade-offs remain consistent across broader domains.
Summary updated