DistilXLSR: A Light Weight Cross-Lingual Speech Representation Model

Haoyu Wang, Siyuan Wang, Wei-Qiang Zhang, Jinfeng Bai

Abstract

Large-scale cross-lingual speech models like XLS-R have set new benchmarks for low-resource speech recognition but remain computationally prohibitive for edge deployment. This paper presents DistilXLSR, a compressed 12-layer student model derived from 24-layer teachers. By employing a novel "data splicing" technique that utilizes only English data to simulate language-agnostic signals and a "layer-jumping" initialization strategy, DistilXLSR achieves a 50% reduction in parameters. Evaluation across 15 low-resource languages demonstrates that the model retains the majority of the teacher's performance, with only a marginal increase in Word Error Rate (WER), while remaining significantly more efficient to train and deploy.

1. Introduction

The advent of self-supervised learning (SSL) has transformed the landscape of speech processing, particularly for low-resource languages where labeled data is scarce. Models such as XLSR-53 and XLS-R learn robust, universal speech representations by pre-training on hundreds of thousands of hours of multilingual audio. Despite their success, these models are characterized by massive parameter counts, making them unsuitable for resource-constrained environments like mobile devices.

Knowledge Distillation (KD) offers a path toward model compression by training a smaller "student" model to mimic a larger "teacher." However, conventional KD for cross-lingual models often requires a balanced multilingual corpus to preserve the teacher's broad linguistic capabilities. DistilXLSR addresses this challenge by demonstrating that effective distillation can be achieved using only English data through innovative data augmentation and initialization techniques.

2. Methodology

The DistilXLSR architecture reduces the 24-layer teacher models (XLS-R or XLSR-53) into a 12-layer student. Two primary innovations facilitate this compression:

2.1 Data Splicing

To eliminate the requirement for a multilingual distillation corpus, the authors utilize the English Librispeech dataset (960 hours). To prevent the student model from specializing solely in English phonotactics, they implement "data splicing." By randomly shuffling syllables within an utterance, the linguistic structure and grammar of English are destroyed, while the local acoustic and phonemic context remains intact. This creates a "pseudo-multilingual" training signal that forces the student to focus on general speech features rather than language-specific patterns.

2.2 Layer-Jumping Initialization

Standard distillation often initializes students using the bottom layers of the teacher. However, in deep speech models, critical semantic information is often concentrated in the later layers. DistilXLSR employs "layer-jumping," where the student is initialized by selecting teacher layers at regular intervals (e.g., layers 0, 2, 4, ..., 22). This ensures the student starts with a representative summary of the teacher’s entire hierarchical representation.

2.3 Training Objective

The student is trained to minimize the Mean Squared Error (MSE) between its hidden states and the corresponding sampled layers of the teacher model.

3. Experimental Setup

The model was distilled using 960 hours of Librispeech. Performance was evaluated across 15 low-resource languages using three major benchmarks:

  • Common Voice: Basque, Dutch, Greek, Interlingua, and Polish.
  • Babel: Amharic, Cantonese, Georgian, Guarani, Kurmanji-Kurdish, Mongolian, Pashto, Swahili, and Tagalog.
  • MATERIAL: Tamil and Farsi.

4. Results and Discussion

DistilXLSR demonstrates a compelling balance between efficiency and accuracy:

  • Parameter Efficiency: The model achieves a 50% reduction in size compared to its teacher.
  • Performance Retention: On the Common Voice benchmark, DistilXLSR's Word Error Rate (WER) was only 2.5% higher than the original XLSR-53 teacher.
  • Cross-Lingual Transfer: Despite being distilled on scrambled English, the model outperformed larger English-only models (e.g., HuBERT-EN-60k) on low-resource tasks. This suggests that the teacher's cross-lingual knowledge is robustly embedded in its weights and can be transferred even through non-native signals.
  • Computational Accessibility: The distillation process is highly efficient, requiring approximately 37 hours on a single consumer-grade RTX 3090 GPU.

5. Limitations and Future Work

While DistilXLSR performs well on high-quality audio, it shows increased sensitivity to signal quality. On the Babel and MATERIAL datasets—which consist of noisy, 8kHz telephony speech—the performance gap between the student and teacher widened. This suggests that compressed models may be more prone to underfitting in difficult acoustic environments.

Future research may explore the use of larger unsupervised datasets, such as Libri-light, to further close the performance gap. Additionally, investigating structured pruning techniques could provide further avenues for hardware-agnostic model compression.

6. Conclusion

DistilXLSR proves that massive cross-lingual speech models can be significantly compressed without losing their core multilingual capabilities. By using data splicing and layer-jumping, researchers can produce high-performing, lightweight models using limited hardware and monolingual data, paving the way for more accessible and deployable speech technology globally.

Summary updated

BibTeX
@inproceedings{wang2023distilxlsr,
  author = {Haoyu Wang and Siyuan Wang and Wei-Qiang Zhang and Jinfeng Bai},
  title = {{DistilXLSR: A Light Weight Cross-Lingual Speech Representation Model}},
  booktitle = {Interspeech},
  year = {2023},
  url = {https://openreview.net/forum?id=ALTDJH3St0},
}
Figure