TL;DR
Current unified speech-text models often ignore the internal structure of speech by "masking" its loss during training, treating it only as input context. This paper introduces Smoothed Label Distillation (SLD), a method that allows decoder-only Transformers to learn speech dependencies autoregressively using a KL divergence loss with smoothed labels, resulting in significant improvements in Automatic Speech Recognition (ASR) performance.
What Problem Does This Paper Address?
Large Language Models (LLMs) like GPT-4 have revolutionized text processing, and researchers are now extending these architectures to speech. To do this, continuous speech signals are converted into discrete "tokens" (speech discretization) so they can be processed alongside text in a unified decoder-only Transformer.
However, most existing models (like SpeechGPT or AudioPaLM) use a strategy called Loss Masking. In this setup, the model is only trained to predict the next text token; the loss for predicting the next speech token is ignored. The authors argue this is a missed opportunity: it overlooks the explicit dependencies between speech tokens and leads to an underutilization of training data.
The challenge is that simply applying standard Cross-Entropy (CE) loss to speech tokens doesn't always help. Speech discretization is inherently noisy—representing a complex, continuous signal with a finite set of cluster IDs—and forcing a model to predict these "noisy" hard labels can lead to overfitting and overconfidence.
Methods
The authors propose moving away from Loss Masking toward a multimodal autoregressive approach. They compare three training objectives:
- Loss Masking (Baseline): The model sees speech tokens but only calculates loss on the subsequent text tokens.
- Multimodal Cross-Entropy (CE): The model treats speech tokens just like text, using standard hard-label cross-entropy for both.
- Smoothed Label Distillation (SLD): This is the paper's core contribution. It combines the standard multimodal CE loss with a KL divergence loss applied to the speech tokens.
Instead of forcing the model to pick one "correct" speech token (which might be a noisy artifact of the discretization process), SLD uses a smoothed label distribution. This acts as a form of regularized distillation, helping the model learn the underlying patterns of speech without getting tripped up by the noise introduced during discretization.
Datasets
The models were trained and evaluated on the LibriSpeech corpus, a standard benchmark for ASR:
- Training: The full 960-hour set with speed perturbation (0.9x and 1.1x) for data augmentation.
- Evaluation: The standard four subsets:
dev-clean,dev-other,test-clean, andtest-other. - Discretization: The authors tested two popular self-supervised models to generate discrete tokens: WavLM-large and HuBERT-large.
Key Insights and Ideas
- Speech Dependencies Matter: Modeling speech tokens autoregressively provides the model with a better "understanding" of the acoustic signal, which translates to better text transcription.
- Hard Labels are Too Rigid for Speech: The failure of standard Multimodal CE to consistently beat Loss Masking suggests that the "noise" in discrete speech tokens makes hard-label targets counterproductive.
- SLD Improves Text Prediction: Interestingly, training the model to predict speech tokens using SLD actually results in a lower loss when the model eventually predicts text tokens. As shown in Figure 3, the SLD curve (purple) achieves the lowest final loss for text prediction compared to all other methods.
- Hyperparameter Sensitivity: The weight of the KL divergence loss ($\alpha$) is crucial. The authors found that a small weight ($\alpha = 0.008$) yielded the best results, balancing the learning of speech structure with the primary task of transcription.
Key Results
The SLD method consistently outperformed both Loss Masking and standard Multimodal CE across different discretization methods:
- Against Loss Masking: SLD achieved a 9% relative reduction in Word Error Rate (WER) on
test-cleanand a 4% relative reduction ontest-otherwhen using WavLM tokens. - Against Multimodal CE: SLD showed even stronger gains, outperforming the hard-label approach by 9% and 7% on the respective test sets.
- Discretization Choice: While SLD improved both, models using HuBERT discrete tokens generally achieved superior ASR performance compared to those using WavLM tokens in this specific discrete-token framework.
Limitations and Future Work
- Task Scope: This paper focuses specifically on ASR. While the authors believe SLD is applicable to other tasks like Speech-to-Text Translation or Text-to-Speech (TTS), they have not yet demonstrated this empirically.
- Discretization Bottleneck: The performance is still tied to the quality of the initial discretization (HuBERT/WavLM). Improvements in how we turn continuous audio into discrete units would likely further boost SLD's effectiveness.
- Future Directions: The authors plan to investigate how SLD performs in broader unified speech-text models that handle multiple speech understanding and generation tasks simultaneously.
Summary updated