Distillation-based Layer Dropping (DLD): Effective End-to-end Framework for Dynamic Speech Networks
Abdul Hannan, Daniele Falavigna, Shah Nawaz, Mubashir Noman, Markus Schedl, Alessio Brutti
TL;DR
Dynamic speech recognition on edge devices requires adaptable models, but traditional layer dropping often harms performance across dropping levels. The authors propose Distillation-based Layer Dropping (DLD), an end-to-end framework that distills knowledge from a full teacher into a dynamic student by aligning latent embeddings with a loss $L_{KLD}$ and training with a transcription objective $L_{CTC}$, with total loss $L = L_{KLD} + L_{CTC}$. Across Conformer and WavLM backbones on LibriSpeech-1000 and TED-LIUM v3, DLD delivers superior dynamic performance, improving WER and enabling no-dropping accuracy while reducing training time. The approach shows faster convergence, stronger performance under varying encoder depth, and generalizes to other downstream tasks such as FSC, making it practical for resource-constrained ASR deployments.
Abstract
Edge devices operate in constrained and varying resource settings, requiring dynamic architectures that can adapt to limitations of the available resources. To meet such demands, layer dropping ($\mathcal{LD}$) approach is typically used to transform static models into dynamic ones by skipping parts of the network along with reducing overall computational complexity. However, existing $\mathcal{LD}$ methods greatly impact the dynamic model's performance for low and high dropping cases, deteriorating the performance-computation trade-off. To this end, we propose a distillation-based layer dropping (DLD) framework that effectively combines the capabilities of knowledge distillation and $\mathcal{LD}$ in an end-to-end fashion, thereby achieving state-of-the-art performance for dynamic speech networks. Comprehensive experimentation utilizing well-known speech recognition methods, including conformer and WavLM, on three public benchmarks demonstrates the effectiveness of our framework, reducing the word error rate by $9.32\%$ and $2.25\%$ for high and no dropping cases with $33.3\%$ reduction in training time.
