HuBERT-EE: Early Exiting HuBERT for Efficient Speech Recognition
Ji Won Yoon, Beom Jun Woo, Nam Soo Kim
TL;DR
HuBERT-EE tackles the high computational cost of self-supervised ASR by introducing dynamic early exiting through self-attention-based branches inserted at intermediate layers of HuBERT-base. The method jointly fine-tunes the final output and all early exits (with a single loss weight) and uses entropy-based exiting to decide when to stop, achieving faster inference with controlled degradation in WER. Empirical results on LibriSpeech show HuBERT-EE outperforming conventional compression methods in speed-accuracy trade-offs and enabling flexible speed adjustments without retraining. This approach provides a practical pathway to deploy large SSL ASR models in resource-constrained or latency-sensitive environments, while maintaining competitive recognition performance.
Abstract
Pre-training with self-supervised models, such as Hidden-unit BERT (HuBERT) and wav2vec 2.0, has brought significant improvements in automatic speech recognition (ASR). However, these models usually require an expensive computational cost to achieve outstanding performance, slowing down the inference speed. To improve the model efficiency, we introduce an early exit scheme for ASR, namely HuBERT-EE, that allows the model to stop the inference dynamically. In HuBERT-EE, multiple early exit branches are added at the intermediate layers. When the intermediate prediction of the early exit branch is confident, the model stops the inference, and the corresponding result can be returned early. We investigate the proper early exiting criterion and fine-tuning strategy to effectively perform early exiting. Experimental results on the LibriSpeech show that HuBERT-EE can accelerate the inference of the HuBERT while simultaneously balancing the trade-off between the performance and the latency.
