[Paper Review] Efficient Conformer with Prob-Sparse Attention Mechanism for End-to-EndSpeech Recognition
This paper proposes a prob-sparse self-attention mechanism for Conformer Transducer models to accelerate inference and reduce memory usage in end-to-end speech recognition. By using Kullback-Leibler divergence to identify and retain only the most informative queries, the method achieves 8%–45% faster inference and 15%–45% lower memory consumption without degrading ASR accuracy on LibriSpeech and AISHELL-1 datasets.
End-to-end models are favored in automatic speech recognition (ASR) because of their simplified system structure and superior performance. Among these models, Transformer and Conformer have achieved state-of-the-art recognition accuracy in which self-attention plays a vital role in capturing important global information. However, the time and memory complexity of self-attention increases squarely with the length of the sentence. In this paper, a prob-sparse self-attention mechanism is introduced into Conformer to sparse the computing process of self-attention in order to accelerate inference speed and reduce space consumption. Specifically, we adopt a Kullback-Leibler divergence based sparsity measurement for each query to decide whether we compute the attention function on this query. By using the prob-sparse attention mechanism, we achieve impressively 8% to 45% inference speed-up and 15% to 45% memory usage reduction of the self-attention module of Conformer Transducer while maintaining the same level of error rate.
Motivation & Objective
- To address the high computational and memory cost of self-attention in Conformer models for long speech sequences.
- To reduce redundant computation in self-attention by identifying and pruning queries with low information content.
- To maintain state-of-the-art ASR performance while significantly improving inference efficiency.
- To explore sparsity measurement sharing across layers to minimize additional computational overhead.
Proposed method
- The method introduces a prob-sparse self-attention mechanism that uses Kullback-Leibler divergence to measure query sparsity and identify queries with non-uniform attention distributions.
- Only queries whose attention scores deviate significantly from uniform distribution are retained for computation, effectively sparsifying the attention matrix.
- The sparsity threshold is controlled by a hyperparameter $ r_{sparse} $, which determines the proportion of queries to keep based on their sparsity score.
- Sparsity measurement sharing is applied across layers, where the measurement is computed every $ N_{share} $ layers and reused to reduce computation.
- The method is integrated into the Conformer Transducer architecture, replacing standard self-attention in the encoder blocks.
- The model is trained and evaluated on LibriSpeech and AISHELL-1 datasets with ablation studies on sparsity and sharing parameters.

Experimental results
Research questions
- RQ1Can a learnable sparsity criterion based on attention distribution entropy improve inference efficiency without degrading ASR accuracy?
- RQ2How does the choice of sparsity threshold $ r_{sparse} $ affect recognition performance and efficiency?
- RQ3To what extent can sparsity measurement be shared across layers to reduce computational overhead?
- RQ4Does the prob-sparse mechanism maintain performance across diverse speech recognition benchmarks like LibriSpeech and AISHELL-1?
Key findings
- The prob-sparse attention mechanism achieves 8% to 45% faster inference speed across different sequence lengths in the Conformer Transducer model.
- Memory usage of the self-attention module is reduced by 15% to 45% compared to the standard Conformer.
- With $ r_{sparse} $ set between 0.35 and 0.5, the model maintains the same CER/WER as the baseline on both AISHELL-1 and LibriSpeech datasets.
- Sparsity measurement sharing with $ N_{share} = 4 $ reduces computation by 4x with no measurable degradation in CER, and even with $ N_{share} = 8 $, CER increases by only 0.1%.
- The method is robust across datasets, showing consistent improvements on both AISHELL-1 and LibriSpeech, including the larger LibriSpeech corpus.
- The efficiency gains are more pronounced as sequence length increases, making the method particularly beneficial for long-form speech recognition.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.