Abstract
Incremental speech recognition (ISR) aims to transcribe speech in real-time before an utterance is completed. However, standard sequence-to-sequence models with global attention typically require the full audio sequence to generate a transcript. This paper proposes AT-ISR, a teacher-student framework that utilizes "Attention Transfer" to train an incremental model. By mimicking the attention patterns of a high-performing non-incremental teacher model, the student model achieves near-offline accuracy with minimal latency. Experiments on LJ Speech and Wall Street Journal datasets demonstrate that AT-ISR significantly outperforms naive incremental baselines and achieves competitive performance with a delay of approximately 1.7 seconds.
Introduction
Standard Automatic Speech Recognition (ASR) systems often rely on global attention mechanisms, requiring the model to process an entire sentence before generating the first character of the transcript. This inherent latency makes such systems unsuitable for real-time applications like live captioning or simultaneous translation. While existing ISR methods attempt to address this, they often involve complex architectures or specialized training triggers. This work explores achieving incremental recognition using standard ASR architectures through a novel knowledge distillation approach called Attention Transfer.
Methodology
The proposed Attention Transfer ISR (AT-ISR) framework employs a Teacher-Student paradigm. The "Teacher" is a standard, non-incremental Seq2Seq ASR model trained on complete utterances, providing a gold-standard attention matrix. The "Student" model shares the same architecture but is restricted to processing small audio "chunks" or blocks (e.g., 137.5ms segments).
During training, the student is optimized not only to predict characters but also to mimic the teacher's attention patterns. This allows the student to learn which characters correspond to specific audio chunks. To manage the stream, a special end-of-block symbol (</m>) is used to signal when the model has finished transcribing a segment. Key refinements include "look-ahead" windows for future context and "state-keeping" to maintain recurrent hidden states across chunk boundaries, preventing disjointed transcripts.
Experimental Evaluation
The models were evaluated on two primary datasets: the LJ Speech dataset (single speaker, ~24 hours) and the Wall Street Journal (WSJ) corpus (multi-speaker benchmarks SI84 and SI284). These benchmarks allow for testing the model's robustness across different speakers and recording conditions.
Results and Discussion
The AT-ISR approach yielded significant improvements over baseline incremental models. On the LJ Speech dataset, a naive incremental model without attention transfer resulted in a disastrous 80.34% Character Error Rate (CER), whereas the AT-ISR model reduced this to 8.39%.
A critical finding is the trade-off between latency and accuracy. As shown in the figure above, performance improves as delay increases, reaching a "sweet spot" at approximately 1.7 seconds, where accuracy becomes comparable to offline models. Furthermore, on the WSJ benchmark, AT-ISR achieved a CER of 6.80%, outperforming several established incremental and non-incremental frameworks, including standard CTC and Content-based Attention models.
Key insights from the study include:
- Architecture Consistency: Keeping the student architecture identical to the teacher allows for more effective feature inheritance.
- Look-Ahead Benefit: Providing a small look-ahead window (future context) is more beneficial for phonetic resolution than looking back at previous frames.
- Recurrent State Continuity: Maintaining hidden states between chunks is essential for sentence-level coherence.
Conclusion
AT-ISR provides a robust method for incremental speech recognition by leveraging attention transfer from a non-incremental teacher. The method achieves a balance between low latency and high accuracy without requiring specialized architectures. Future research may explore adaptive windowing to handle varying speech rates and the integration of incremental beam search to further lower error rates.
Summary updated