Introduction
In modern Automatic Speech Recognition (ASR), the standard paradigm involves a two-stage process: Pre-training (PT) on massive amounts of unlabeled audio, followed by Fine-tuning (FT) on a smaller set of human-transcribed audio. While effective, this "PT+FT" strategy is fundamentally disconnected. Once fine-tuning begins, the unsupervised objective is typically discarded. This lack of interaction can cause the model to "forget" the robust, generic features learned during pre-training, leading to overfitting on the small labeled dataset or "negative transfer"—where the pre-training actually hurts final performance. The challenge is to find a way to keep the model grounded in general acoustic representations while it learns to transcribe specific speech.
The BL-JUST Framework
To address these limitations, we propose BL-JUST (Bilevel Joint Unsupervised and Supervised Training), a framework that treats ASR training as a bilevel optimization problem. Instead of sequential training, BL-JUST optimizes for both unlabeled and labeled data simultaneously, ensuring the model remains grounded in general acoustic representations while learning to transcribe specific speech.
Methodology
In the BL-JUST hierarchy, the training is structured as follows:
- The Upper Level (Leader): Minimizes the supervised loss (transcription accuracy) on labeled data.
- The Lower Level (Follower): Minimizes the unsupervised loss (representation learning) on unlabeled data.
The model is constrained such that the parameters must remain at a local optimum of the unsupervised loss while the supervised loss is being minimized. To solve this, we employ Penalty-based Bilevel Gradient Descent (PBGD). Instead of a hard constraint, a penalty factor ($\gamma$) is used that starts at zero and increases over time. This "penalty schedule" allows the model to explore the supervised task early on and gradually forces it to satisfy the unsupervised requirements as training progresses.
The architecture utilizes a shared "backbone" network ($\theta$) with two separate heads: one for the supervised task ($\phi$, e.g., CTC or RNN-T loss) and one for the unsupervised task ($\eta$, e.g., Contrastive Predictive Coding or BEST-RQ).
Key Insights: Finding the "Sweet Spot"
A core insight of this work is that deep neural networks possess a vast landscape of high-quality local minima. BL-JUST does not merely look for any solution; it searches for a "matched pair" of optima that satisfy both objectives simultaneously.
Unlike simple multi-task learning, which uses a fixed weighted sum of losses, the bilevel approach treats the unsupervised task as a fundamental constraint. This prevents the supervised task from "pulling" the model too far away from the robust features learned from unlabeled data.
Experimental Results
We evaluated BL-JUST across three diverse scenarios, ranging from public benchmarks to massive industrial datasets. BL-JUST consistently outperformed the standard PT+FT baseline and other semi-supervised methods like Pseudo-Labeling (PL):
- LibriSpeech: On the "test-clean" set (100h labeled/860h unlabeled), BL-JUST achieved a 4.1% Word Error Rate (WER), a significant improvement over the 5.1% achieved by the standard PT+FT approach.
- Switchboard (SWB): BL-JUST reached an average WER of 8.2%, outperforming the best PT+FT variant at 9.6%.
- Industrial Scale (Payload): On a massive 100,000-hour dataset (90k unlabeled, 10k labeled), BL-JUST improved the WER to 14.8%, compared to 15.7% for PT+FT.
Ablation studies confirmed that both the initial "self-supervised exploration" phase and the final "fine-tuning" phase are critical; removing either leads to a noticeable degradation in accuracy.
Conclusion and Future Work
BL-JUST demonstrates that bilevel optimization is a powerful tool for semi-supervised ASR, consistently outperforming traditional two-stage methods. Future work will focus on automating the "penalty schedule" to reduce hyperparameter sensitivity and exploring the framework's behavior with extremely large-scale foundation models. While the per-iteration computational cost is higher due to double sampling, the convergence rate remains comparable to standard gradient descent, making it a viable solution for industrial-scale applications.
Summary updated