Skip to main content
QUICK REVIEW

[Paper Review] Emformer: Efficient Memory Transformer Based Acoustic Model For Low Latency Streaming Speech Recognition

Yangyang Shi, Yongqiang Wang|arXiv (Cornell University)|Oct 21, 2020
Speech Recognition and SynthesisComputer Science31 references13 citations
TL;DR

This paper proposes Emformer, an efficient memory-enhanced Transformer architecture for low-latency streaming speech recognition that reduces computation through key/value caching and optimized memory bank propagation. Emformer achieves state-of-the-art WER of 2.50% on LibriSpeech test-clean and 5.62% on test-other under 960ms average latency, with 4.6× faster training and 18% lower decoding RTF compared to AM-TRF.

ABSTRACT

This paper proposes an efficient memory transformer Emformer for low latency streaming speech recognition. In Emformer, the long-range history context is distilled into an augmented memory bank to reduce self-attention's computation complexity. A cache mechanism saves the computation for the key and value in self-attention for the left context. Emformer applies a parallelized block processing in training to support low latency models. We carry out experiments on benchmark LibriSpeech data. Under average latency of 960 ms, Emformer gets WER $2.50\%$ on test-clean and $5.62\%$ on test-other. Comparing with a strong baseline augmented memory transformer (AM-TRF), Emformer gets $4.6$ folds training speedup and $18\%$ relative real-time factor (RTF) reduction in decoding with relative WER reduction $17\%$ on test-clean and $9\%$ on test-other. For a low latency scenario with an average latency of 80 ms, Emformer achieves WER $3.01\%$ on test-clean and $7.09\%$ on test-other. Comparing with the LSTM baseline with the same latency and model size, Emformer gets relative WER reduction $9\%$ and $16\%$ on test-clean and test-other, respectively.

Motivation & Objective

  • Address the high computational cost and slow training of streaming Transformers due to redundant left-context computation.
  • Reduce latency in streaming ASR by eliminating duplicated attention computation in augmented memory Transformers.
  • Enable parallelized block training for low-latency models by redefining memory bank propagation across layers.
  • Stabilize training by disabling attention between summary vectors and memory banks to prevent overemphasis on distant context.
  • Achieve state-of-the-art performance on LibriSpeech under both medium and low latency constraints.

Proposed method

  • Introduce a key/value cache mechanism to store and reuse self-attention computations from previous segments, eliminating redundant computation on the left context.
  • Reorganize memory bank propagation from layer-wise to depth-wise, carrying over the memory bank from lower to higher layers to avoid auto-regressive bottlenecks.
  • Disable attention between the summary vector and memory bank to prevent over-weighting of long-range, potentially noisy context.
  • Apply parallelized block processing during training by decoupling segment processing from sequential dependency on memory banks.
  • Use block-wise chunking of input sequences into center, left, and right context blocks to support streaming inference with controlled latency.
  • Integrate the model into both hybrid and neural transducer ASR frameworks to evaluate robustness across different modeling paradigms.

Experimental results

Research questions

  • RQ1Can a memory-enhanced Transformer architecture reduce computation redundancy in streaming self-attention without sacrificing ASR accuracy?
  • RQ2Can the training speed of augmented memory Transformers be significantly improved through architectural modifications enabling parallel block processing?
  • RQ3Does redefining memory bank propagation from layer-wise to depth-wise improve training stability and inference efficiency?
  • RQ4Can Emformer achieve state-of-the-art WER on LibriSpeech under low-latency constraints (e.g., 80ms) while maintaining low decoding RTF?
  • RQ5How does Emformer compare to strong baselines like LCBLSTM and AM-TRF in terms of WER, training speed, and decoding efficiency across different latency settings?

Key findings

  • Under 960ms average latency, Emformer achieves a WER of 2.50% on LibriSpeech test-clean and 5.62% on test-other, outperforming the AM-TRF baseline with 17% and 9% relative WER reduction, respectively.
  • Emformer reduces decoding real-time factor (RTF) by 18% compared to AM-TRF, achieving RTF of 0.13 under 960ms latency.
  • Emformer achieves 4.6× faster training than AM-TRF due to enabled parallel block processing during training.
  • Under 80ms average latency, Emformer achieves a WER of 3.01% on test-clean and 7.09% on test-other, setting a new SOTA for low-latency streaming ASR on LibriSpeech.
  • Compared to an LSTM baseline with the same latency and model size, Emformer reduces WER by 9% on test-clean and 16% on test-other.
  • With sMBR training, Emformer achieves 2.50% WER on test-clean and 5.62% on test-other under 960ms latency, demonstrating strong generalization across model architectures.

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.