Boundary and Context Aware Training for CIF-Based Non-Autoregressive End-to-End ASR

Fan Yu, Haoneng Luo, Pengcheng Guo, Yuhao Liang, Zhuoyuan Yao, Lei Xie, Yingying Gao, Leijing Hou, Shilei Zhang

Abstract

Non-autoregressive (NAR) speech recognition offers significant speed advantages over autoregressive (AR) models but often suffers from poor acoustic boundary prediction and a lack of linguistic context. This paper introduces a boundary and context-aware training framework for Continuous Integrate-and-Fire (CIF) based models. By integrating Connectionist Temporal Classification (CTC) alignment loss and a contextual decoder, the proposed model achieves a 4.9% Character Error Rate (CER) on the AISHELL-1 benchmark, matching AR performance while being approximately 24x faster.

Introduction

Most state-of-the-art Automatic Speech Recognition (ASR) models are autoregressive (AR), generating text one character at a time. While accurate, this sequential process is slow and cannot be parallelized. Non-autoregressive (NAR) models generate the entire sequence at once, offering massive speedups. However, NAR models struggle with two primary issues: predicting accurate acoustic boundaries and capturing linguistic dependencies between tokens. This work focuses on improving the Continuous Integrate-and-Fire (CIF) mechanism to address these challenges.

Methodology

The proposed framework consists of three main components: a Conformer encoder, a CTC-guided CIF mechanism, and a contextual decoder.

Architecture of the proposed boundary and context-aware CIF-based NAR ASR model.

The Conformer Encoder combines convolution and self-attention to extract both local and global audio features. The CTC Alignment Loss addresses the "boundary" problem. In standard CIF, weights are accumulated until they reach a threshold to "fire" a token. This often leads to "early firing," where the predicted boundary drifts ahead of the actual acoustic signal. By using CTC spikes as ground-truth anchors, the model is forced to align CIF weights more precisely with the audio frames. Finally, a Contextual Decoder applies self-attention to the generated token representations, acting as an integrated language model to correct substitution errors based on sentence-level context.

Experimental Results

The model was evaluated on the AISHELL-1 benchmark and a large-scale 7500-hour internal corpus.

Performance comparison on the AISHELL-1 benchmark.

On AISHELL-1, the proposed model achieved a 4.9% CER, matching the performance of state-of-the-art AR Conformers while achieving a Real-Time Factor (RTF) of 0.0182—approximately 24x faster than the AR baseline (RTF 0.4306). On the 7500-hour corpus, the model demonstrated superior robustness in noisy environments, such as voice assistant tasks, compared to other NAR methods, achieving a 27.2% CER.

Conclusion

By combining CTC-based boundary anchoring with a contextual decoder, this research successfully bridges the accuracy gap between NAR and AR speech recognition. The resulting system provides high-fidelity transcription with the low latency required for real-time applications. Future work will explore the integration of external large-scale language models to further enhance linguistic generalization.

Summary updated

BibTeX
@inproceedings{yu2021boundary,
  author = {Fan Yu and Haoneng Luo and Pengcheng Guo and Yuhao Liang and Zhuoyuan Yao and Lei Xie and Yingying Gao and Leijing Hou and Shilei Zhang},
  title = {{Boundary and Context Aware Training for CIF-Based Non-Autoregressive End-to-End ASR}},
  booktitle = {ASRU},
  year = {2021},
  doi = {10.1109/asru51503.2021.9688238},
}
Figure