Character-level incremental speech recognition with recurrent neural networks

Kyuyeon Hwang, Wonyong Sung

Abstract

This paper introduces an end-to-end, character-level Incremental Speech Recognition (ISR) system designed for real-time, low-latency transcription. By combining a unidirectional acoustic RNN with a character-level RNN language model and a novel "depth-pruning" beam search technique, the system can process infinitely long audio streams without memory explosion, all while retaining the ability to dictate out-of-vocabulary words on the fly.

Introduction

In real-time speech recognition applications such as voice assistants or live captioning, latency is a critical performance metric. Systems must transcribe speech incrementally as the user speaks. However, many modern end-to-end Automatic Speech Recognition (ASR) systems rely on bidirectional neural networks, which require the entire utterance to be completed before processing the backward pass. Furthermore, standard ASR systems often rely on word-level language models and fixed pronunciation dictionaries, limiting their ability to recognize Out-Of-Vocabulary (OOV) words. Finally, continuous listening to infinite audio streams causes standard beam search decoding trees to grow indefinitely, consuming excessive memory and compute.

Methodology

To address these challenges, the authors propose a fully character-level architecture consisting of three primary components:

Acoustic Model

The system utilizes a deep, unidirectional Long Short-Term Memory (LSTM) network trained with Connectionist Temporal Classification (CTC). Unlike bidirectional models, the unidirectional nature allows for frame-by-frame processing without waiting for the utterance to end. To simulate continuous listening, the model is trained on randomly concatenated utterances without resetting RNN states at boundaries.

Character-Level Language Model

Instead of traditional n-gram word models, a character-level RNN LM is employed. This LSTM-based model predicts the next character based on the history of previous characters, enabling the system to learn spelling and long-term linguistic context without a fixed lexicon. This allows the system to theoretically spell out novel names or places purely based on phonetics.

Figure 3: Tree-based search structure showing character-level hypotheses and RNN LM input history.

Tree-Based Beam Search with Depth-Pruning

The acoustic and language models are integrated using a tree-based beam search. To prevent memory exhaustion during continuous listening, the authors introduce a novel technique called "depth-pruning." Every 20 frames, the algorithm identifies the current best hypothesis and traces back $M$ steps to an ancestor node (where $M$ is the beam depth). This ancestor becomes the new root of the tree, and any branches that do not descend from this new root are pruned, effectively garbage-collecting the search space.

Figure 6: Illustration of the depth-pruning mechanism, showing how the tree is pruned to a new root based on converged history.

Experimental Results

The system was evaluated using the Wall Street Journal (WSJ) corpus. To test continuous listening capabilities, 333 test utterances were concatenated into a single 42-minute audio stream.

  • Accuracy: The system achieved an 8.90% Word Error Rate (WER) on the continuous stream when trained on the 71-hour SI-284 set. Scaling the training data to 167 hours (SI-ALL) improved the WER to 8.06%.
  • Self-Correction: The character-level LM allows the system to dynamically correct past transcriptions as more context becomes available. For instance, an initial transcription of "ROCK" might be retroactively corrected to "DRAW" upon hearing subsequent words like "CROWD."
  • Beam Depth Trade-offs: Stronger acoustic models (trained on more data) required shallower optimal beam depths, indicating less reliance on deep search for correction and allowing for even lower latency.

Conclusion

The proposed character-level ISR system demonstrates that unidirectional RNNs combined with depth-pruning can achieve competitive accuracy for continuous, real-time speech recognition. The lexicon-free approach provides significant flexibility for recognizing OOV words, making it a robust solution for diverse real-world audio streams where fixed dictionaries are insufficient.

Summary updated

BibTeX
@inproceedings{hwang2016character,
  author = {Kyuyeon Hwang and Wonyong Sung},
  title = {{Character-level incremental speech recognition with recurrent neural networks}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2016},
  doi = {10.1109/icassp.2016.7472696},
}
Figure