Skip to main content
QUICK REVIEW

[Paper Review] SAN-M: Memory Equipped Self-Attention for End-to-End Speech Recognition

Zhifu Gao, Shiliang Zhang|arXiv (Cornell University)|May 21, 2020
Speech Recognition and SynthesisComputer Science28 references9 citations
TL;DR

This paper proposes SAN-M, a memory-equipped self-attention mechanism that integrates self-attention with DFSMN memory blocks to enhance long-range dependency modeling in end-to-end speech recognition. By fusing these components in a deep-fusion manner within a single sub-layer, SAN-M achieves state-of-the-art performance—reducing CER to 6.46% on AISHELL-1 without an external language model and outperforming Transformer baselines by over 10% on a 20,000-hour Mandarin ASR task.

ABSTRACT

End-to-end speech recognition has become popular in recent years, since it can integrate the acoustic, pronunciation and language models into a single neural network. Among end-to-end approaches, attention-based methods have emerged as being superior. For example, Transformer, which adopts an encoder-decoder architecture. The key improvement introduced by Transformer is the utilization of self-attention instead of recurrent mechanisms, enabling both encoder and decoder to capture long-range dependencies with lower computational complexity.In this work, we propose boosting the self-attention ability with a DFSMN memory block, forming the proposed memory equipped self-attention (SAN-M) mechanism. Theoretical and empirical comparisons have been made to demonstrate the relevancy and complementarity between self-attention and the DFSMN memory block. Furthermore, the proposed SAN-M provides an efficient mechanism to integrate these two modules. We have evaluated our approach on the public AISHELL-1 benchmark and an industrial-level 20,000-hour Mandarin speech recognition task. On both tasks, SAN-M systems achieved much better performance than the self-attention based Transformer baseline system. Specially, it can achieve a CER of 6.46% on the AISHELL-1 task even without using any external LM, comfortably outperforming other state-of-the-art systems.

Motivation & Objective

  • To address the limitations of self-attention and DFSMN memory blocks in modeling long-range dependencies in end-to-end speech recognition.
  • To explore the complementarity between self-attention’s global modeling and DFSMN’s local, stacked memory learning.
  • To design a unified, efficient architecture that integrates both mechanisms within a single sub-layer for improved performance.
  • To evaluate the proposed SAN-M mechanism on both public and industrial-scale Mandarin ASR benchmarks.
  • To demonstrate that SAN-M achieves state-of-the-art performance without requiring external language models.

Proposed method

  • SAN-M integrates self-attention and DFSMN memory blocks in a deep-fusion style within a single basic sub-layer of the Transformer encoder and decoder.
  • The self-attention mechanism computes contextual representations using queries, keys, and values from the input sequence, enabling global long-range modeling.
  • The DFSMN memory block processes sequential features through a series of feed-forward layers with time delays, capturing local and hierarchical long-term dependencies.
  • The outputs of self-attention and DFSMN are concatenated and projected to form the final output of the SAN-M sub-layer, enabling joint learning of global and local patterns.
  • The model is trained end-to-end using cross-entropy loss with label smoothing and dropout regularization.
  • Experiments use LFR feature processing, SpecAugment data augmentation, and the OpenNMT toolkit with Noam learning rate scheduling.

Experimental results

Research questions

  • RQ1Can self-attention and DFSMN memory blocks be effectively combined to improve end-to-end speech recognition performance?
  • RQ2Is there a theoretical and empirical complementarity between self-attention and DFSMN in modeling long-range dependencies?
  • RQ3Does the proposed SAN-M mechanism outperform standard self-attention-based Transformers on large-scale Mandarin ASR tasks?
  • RQ4Can SAN-M achieve state-of-the-art performance without relying on external language models?
  • RQ5How does model depth and width affect the performance gain of SAN-M on long-duration and far-field speech data?

Key findings

  • On the AISHELL-1 benchmark, SAN-M achieved a character error rate (CER) of 6.46% without any external language model, outperforming all prior state-of-the-art systems on this task.
  • SAN-M achieved an 11.8% relative improvement over the self-attention-based Transformer baseline on the AISHELL-1 dataset.
  • On the 20,000-hour industrial Mandarin ASR task, SAN-M outperformed the Transformer baseline by over 10% relative error reduction on both common-set and far-field test sets.
  • The performance gain was most significant on far-field data, indicating SAN-M’s superior ability to model long-duration, challenging speech sequences.
  • Thinner and deeper SAN-M configurations yielded greater performance gains—achieving 17% relative improvement on far-field data with less than 7% increase in model size.
  • Empirical results confirm the theoretical complementarity between self-attention and DFSMN, with each component enhancing the other’s ability to model long-range dependencies.

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.