Skip to main content
QUICK REVIEW

[Paper Review] One In A Hundred: Select The Best Predicted Sequence from Numerous Candidates for Streaming Speech Recognition

Zhengkun Tian, Jiangyan Yi|arXiv (Cornell University)|Oct 28, 2020
Speech Recognition and SynthesisComputer Science22 references5 citations
TL;DR

This paper proposes a two-stage streaming speech recognition model that enhances the CTC model by generating hundreds of candidate transcriptions via a CTC decoder and selecting the best one using a transformer-based conditional language model, achieving up to a 20% relative reduction in character error rate on the AISHELL-1 Mandarin dataset while maintaining low-latency streaming inference.

ABSTRACT

The RNN-Transducers and improved attention-based encoder-decoder models are widely applied to streaming speech recognition. Compared with these two end-to-end models, the CTC model is more efficient in training and inference. However, it cannot capture the linguistic dependencies between the output tokens. Inspired by the success of two-pass end-to-end models, we introduce a transformer decoder and the two-stage inference method into the streaming CTC model. During inference, the CTC decoder first generates many candidates in a streaming fashion. Then the transformer decoder selects the best candidate based on the corresponding acoustic encoded states. The second-stage transformer decoder can be regarded as a conditional language model. We assume that a large enough number and enough diversity of candidates generated in the first stage can compensate the CTC model for the lack of language modeling ability. All the experiments are conducted on a Chinese Mandarin dataset AISHELL-1. The results show that our proposed model can implement streaming decoding in a fast and straightforward way. Our model can achieve up to a 20% reduction in the character error rate than the baseline CTC model. In addition, our model can also perform non-streaming inference with only a little performance degradation.

Motivation & Objective

  • To address the lack of linguistic context modeling in streaming CTC models, which limits performance in streaming speech recognition.
  • To improve streaming inference efficiency and accuracy by combining CTC's speed with a transformer decoder's language modeling capability.
  • To validate that a large, diverse set of CTC-generated candidates can compensate for CTC's inherent lack of sequence-level language modeling.
  • To enable both streaming and non-streaming inference with minimal performance degradation.

Proposed method

  • A latency-controlled streaming transformer encoder (LC-STE) processes input features in real time, using local self-attention and a limited future context layer to maintain low latency.
  • The CTC decoder generates up to 100 candidate transcriptions in a streaming fashion during the pre-selection stage.
  • A transformer decoder performs one-step scoring on all candidates using corresponding acoustic encoder states, acting as a conditional language model.
  • The final hypothesis is selected as the candidate with the highest average score across all candidates.
  • Joint training of the encoder, CTC decoder, and transformer decoder ensures alignment and performance optimization.
  • The model supports both streaming (with latency control) and non-streaming inference by disabling real-time constraints.

Experimental results

Research questions

  • RQ1Can a large and diverse set of CTC-generated candidates compensate for the CTC model’s lack of language modeling capability?
  • RQ2Does a two-stage inference pipeline with a transformer-based scorer improve streaming speech recognition performance over standard CTC?
  • RQ3Can the proposed method maintain low latency while achieving performance comparable to non-streaming or more complex end-to-end models?
  • RQ4How does beam width in the CTC decoding stage affect the final performance of the two-stage system?
  • RQ5What is the trade-off between streaming efficiency and recognition accuracy when using the OAH method?

Key findings

  • The proposed OAH model achieves up to a 20% relative reduction in character error rate (CER) compared to the baseline CTC model on the AISHELL-1 dataset.
  • With a beam width of 50, the model achieves a CER of 7.41% on the test set, outperforming the baseline CTC and other streaming models like Sync-Transformer and SA-Transducer.
  • The model maintains real-time factor (RTF) of 0.0380, which is significantly better than models like SA-Transducer (RTF 0.1536) and Speech-Transformer (RTF 0.0564).
  • Non-streaming inference achieves a CER of 7.05%, showing only minor degradation compared to the streaming version.
  • Beam widths larger than 50 lead to performance degradation, likely due to increased noise from low-quality high-scoring candidates.
  • The model with OAH outperforms CTC models enhanced with external language models (e.g., RNNLM or TransLM rescoring), demonstrating the effectiveness of the internal two-stage mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.