[Paper Review] Spike-Triggered Non-Autoregressive Transformer for End-to-End Speech Recognition
This paper proposes a spike-triggered non-autoregressive transformer (ST-NAT) for end-to-end speech recognition that uses a CTC module to predict target sequence length and trigger decoder input via spike-like posterior probabilities. The model achieves a real-time factor of 0.0056, surpassing all mainstream models, while maintaining competitive accuracy with a word error rate of 7.67% on AISHELL-1.
Non-autoregressive transformer models have achieved extremely fast inference speed and comparable performance with autoregressive sequence-to-sequence models in neural machine translation. Most of the non-autoregressive transformers decode the target sequence from a predefined-length mask sequence. If the predefined length is too long, it will cause a lot of redundant calculations. If the predefined length is shorter than the length of the target sequence, it will hurt the performance of the model. To address this problem and improve the inference speed, we propose a spike-triggered non-autoregressive transformer model for end-to-end speech recognition, which introduces a CTC module to predict the length of the target sequence and accelerate the convergence. All the experiments are conducted on a public Chinese mandarin dataset AISHELL-1. The results show that the proposed model can accurately predict the length of the target sequence and achieve a competitive performance with the advanced transformers. What's more, the model even achieves a real-time factor of 0.0056, which exceeds all mainstream speech recognition models.
Motivation & Objective
- Address the challenge of inaccurate or suboptimal target sequence length estimation in non-autoregressive speech recognition models.
- Reduce redundant computation and improve inference speed by dynamically determining the target length using spike-triggered attention.
- Improve model convergence and performance by leveraging CTC module outputs as both length predictors and attention-guided inputs.
- Achieve high-speed inference without sacrificing recognition accuracy, particularly in low-latency applications.
- Integrate a neural language model to further enhance recognition quality while maintaining fast inference speed.
Proposed method
- Introduce a CTC module to generate spike-like posterior probabilities that indicate the positions of target tokens in the input sequence.
- Use the encoder states at spike positions as the primary input to the decoder, replacing fixed-length mask sequences.
- Count the number of spikes during inference to determine the exact target sequence length, eliminating redundant computation.
- Employ the CTC loss as an auxiliary training objective to accelerate convergence and improve alignment between input and output.
- Combine the ST-NAT model output with a neural language model to refine predictions and reduce word error rate.
- Use a 2D convolutional front-end for speech feature extraction, followed by multi-head self-attention and feed-forward layers in both encoder and decoder.
Experimental results
Research questions
- RQ1Can a CTC module be effectively used to predict the length of the target sequence in a non-autoregressive speech recognition model?
- RQ2Does using spike-triggered encoder states as decoder input improve model performance compared to fixed-length mask sequences?
- RQ3Can the integration of CTC loss as an auxiliary objective accelerate training and improve convergence?
- RQ4To what extent does the proposed ST-NAT model reduce inference latency while maintaining competitive recognition accuracy?
- RQ5How does the ST-NAT model compare in speed and accuracy to state-of-the-art end-to-end speech recognition models?
Key findings
- The ST-NAT model achieves a real-time factor (RTF) of 0.0056, which is faster than all mainstream speech recognition models.
- The model reduces word error rate to 7.67% on the AISHELL-1 test set, matching or surpassing advanced models like Speech-Transformer and LAS.
- The CTC module successfully predicts the target sequence length with high accuracy, resulting in fewer than 2% word or character omission errors.
- The ST-NAT with a language model achieves a word error rate of 7.02% on the test set, demonstrating improved performance through external language modeling.
- The model outperforms NAT-MASKED (a baseline non-autoregressive model with fixed-length mask) in both accuracy and inference speed, despite similar parameter count.
- Visualization confirms that spike positions align closely with word pronunciation boundaries, validating the model's ability to capture meaningful temporal structure.
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.