Skip to main content
QUICK REVIEW

[Paper Review] End-to-end Continuous Speech Recognition using Attention-based Recurrent NN: First Results

Jan Chorowski, Dzmitry Bahdanau|arXiv (Cornell University)|Dec 4, 2014
Speech Recognition and SynthesisComputer Science23 references415 citations
TL;DR

This paper proposes an end-to-end continuous speech recognition model using an attention-based bidirectional RNN encoder and decoder, directly predicting phonemes without explicit alignment. It achieves a phoneme error rate of 18.57% on TIMIT, comparable to state-of-the-art HMM-based systems, with robust performance even under greedy decoding and minimal tuning.

ABSTRACT

We replace the Hidden Markov Model (HMM) which is traditionally used in in continuous speech recognition with a bi-directional recurrent neural network encoder coupled to a recurrent neural network decoder that directly emits a stream of phonemes. The alignment between the input and output sequences is established using an attention mechanism: the decoder emits each symbol based on a context created with a subset of input symbols elected by the attention mechanism. We report initial results demonstrating that this new approach achieves phoneme error rates that are comparable to the state-of-the-art HMM-based decoders, on the TIMIT dataset.

Motivation & Objective

  • To develop an end-to-end speech recognition system that bypasses the need for explicit frame-level alignments used in traditional HMM-based models.
  • To investigate whether attention mechanisms in an RNN encoder-decoder framework can effectively learn input-output alignments for continuous speech.
  • To evaluate the performance of an attention-based RNN model on the TIMIT phoneme recognition benchmark without relying on forced alignment or hybrid HMM-DNN training.
  • To demonstrate that the model is robust to decoding strategy, performing well even with greedy search, and is easy to implement and tune.

Proposed method

  • Uses a bidirectional RNN encoder to process the entire input acoustic sequence and generate context-aware hidden states.
  • Employs a unidirectional RNN decoder that generates output phonemes one at a time, conditioned on a context vector derived from attention over encoder states.
  • Applies an attention mechanism that computes a weighted sum of encoder hidden states based on compatibility scores between decoder state and each encoder state.
  • Uses a soft attention mechanism where the context vector is computed as a weighted average of all encoder states, with weights determined by a compatibility function.
  • Implements gradient rescaling via adaptive thresholding to stabilize training, using moving averages of gradient norms to dynamically adjust scaling.
  • Employs beam search decoding with a narrow beam width (e.g., 10), achieving real-time factor of 0.3 on a GTX480 GPU.

Experimental results

Research questions

  • RQ1Can an attention-based RNN encoder-decoder model achieve competitive phoneme recognition performance without explicit frame-level alignments?
  • RQ2How does the performance of the proposed end-to-end model compare to state-of-the-art HMM-based hybrid systems on the TIMIT dataset?
  • RQ3To what extent does the model remain robust when using greedy decoding instead of beam search?
  • RQ4Can the model be trained and tuned efficiently without complex multi-stage training procedures common in HMM-DNN systems?
  • RQ5How effective is the attention mechanism in identifying relevant input frames for each output phoneme, especially in the presence of speech irregularities like pauses?

Key findings

  • The model achieves a phoneme error rate of 18.57% on the TIMIT test set, which is comparable to state-of-the-art HMM-based systems.
  • The model performs nearly as well under greedy decoding as under beam search, indicating high robustness and low sensitivity to decoding strategy.
  • Real-time decoding is feasible, with a real-time factor of 0.3 achieved using a beam width of 10 on a GTX480 GPU.
  • The model requires minimal tuning and was implemented and trained in less than a month, demonstrating ease of deployment.
  • The attention mechanism enables the model to learn expected input-output distances, helping disambiguate similar input frames and improving alignment accuracy.
  • Gradient rescaling with adaptive thresholding significantly improved training stability, especially in later training stages.

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.