MSRS: Training Multimodal Speech Recognition Models from Scratch with Sparse Mask Optimization

Adriana Fernandez-Lopez, Honglie Chen, Pingchuan Ma, Lu Yin, Qiao Xiao, Stavros Petridis, Shiwei Liu, Maja Pantic

Abstract

Pre-trained models have been a foundational approach in speech recognition, albeit with associated additional costs. In this study, we propose a regularization technique that facilitates the training of visual and audio-visual speech recognition models (VSR and AVSR) from scratch. This approach, abbreviated as MSRS (Multimodal Speech Recognition from Scratch), introduces a sparse regularization that rapidly learns sparse structures within the dense model at the very beginning of training, which receives healthier gradient flow than the dense equivalent. Once the sparse mask stabilizes, our method allows transitioning to a dense model or keeping a sparse model by updating non-zero values. MSRS achieves competitive results in VSR and AVSR with 21.1% and 0.9% WER on the LRS3 benchmark, while reducing training time by at least 2x. We explore other sparse approaches and show that only MSRS enables training from scratch by implicitly masking the weights affected by vanishing gradients.

Introduction

Training deep visual and audio-visual speech recognition (VSR/AVSR) models from scratch is notoriously difficult. Standard practice involves a resource-intensive two-stage curriculum: pre-training a "frontend" (e.g., ResNet) on large datasets followed by fine-tuning. Without this, gradients often explode or vanish, preventing convergence. MSRS addresses this by introducing a sparse regularization technique that identifies a stable sub-network early in training, enabling efficient end-to-end optimization from random initialization.

Methods: Sparse Mask Optimization

The MSRS framework stabilizes training through several key innovations. Instead of updating all weights equally, MSRS learns a binary mask ($m$) alongside model weights ($\theta$), searching for a sparse topology that is easier to optimize than the full dense model. To ensure differentiability, a sigmoid approximation is used with a "two-temperature" trick: high temperature for the forward pass (near-binary) and low temperature for the backward pass (enabling gradient flow).

Gradient Stabilization

A critical challenge in training deep VSR models from scratch is the vanishing or exploding gradient problem. MSRS acts as an implicit gradient filter, masking weights that experience vanishing gradients and creating a "cleaner" path for information flow. This stabilization is evident in the gradient L2-norm behavior during the initial stages of training.

Gradient L2-norm stability across training epochs. MSRS maintains a healthier gradient flow compared to standard dense training.

Sparsity Patterns and Layer-wise Adaptation

Unlike standard pruning techniques like Gradual Magnitude Pruning (GMP), which apply uniform sparsity, MSRS learns non-uniform sparsity patterns across different layers. This layer-wise adaptation is crucial for maintaining information flow in deep architectures, particularly in the frontend and encoder blocks.

Sparsity distribution across model layers. MSRS (orange) learns non-uniform patterns that differ significantly from uniform methods like GMP (green).

Key Results

  • Competitive Accuracy: On the LRS3 benchmark, MSRS achieved a 21.1% Word Error Rate (WER) for VSR and 0.9% WER for AVSR, matching or beating models that used complex pre-training stages.
  • 2x Speedup: By eliminating the need for a multi-stage curriculum, MSRS reduces total training time by at least 50%.
  • Noise Robustness: In highly corrupted audio environments (-7.5 dB SNR), the MSRS-trained AVSR model outperformed previous state-of-the-art benchmarks by over 3% absolute WER.
  • Data Efficiency: MSRS allows models to converge even with as little as 90 hours of data, a significant breakthrough for low-resource languages.

Conclusion and Future Work

MSRS demonstrates that sparsity is not just a compression tool but a powerful regularization technique for training deep multimodal models from scratch. While the method shows some sensitivity to the pruning speed hyperparameter ($\lambda$), it offers a path toward more efficient and accessible speech recognition research. Future directions include automated hyperparameter tuning and applying MSRS to broader multimodal tasks beyond speech and vision.

Summary updated

BibTeX
@inproceedings{fernandezlopez2024msrs,
  author = {Adriana Fernandez-Lopez and Honglie Chen and Pingchuan Ma and Lu Yin and Qiao Xiao and Stavros Petridis and Shiwei Liu and Maja Pantic},
  title = {{MSRS: Training Multimodal Speech Recognition Models from Scratch with Sparse Mask Optimization}},
  booktitle = {Interspeech},
  year = {2024},
  url = {https://openreview.net/forum?id=oVQMwwe2GP},
}
Figure