[Paper Review] DFSMN-SAN with Persistent Memory Model for Automatic Speech Recognition
This paper proposes DFSMN-SAN with persistent memory for automatic speech recognition, combining deep feed-forward sequential memory networks (DFSMN) and self-attention networks (SAN) to improve long-context modeling. It introduces two persistent memory structures—key-value and input-embedding memory—achieving up to 11% relative CER reduction over baseline models on large-scale LVCSR tasks.
Self-attention networks (SAN) have been introduced into automatic speech recognition (ASR) and achieved state-of-the-art performance owing to its superior ability in capturing long term dependency. One of the key ingredients is the self-attention mechanism which can be effectively performed on the whole utterance level. In this paper, we try to investigate whether even more information beyond the whole utterance level can be exploited and beneficial. We propose to apply self-attention layer with augmented memory to ASR. Specifically, we first propose a variant model architecture which combines deep feed-forward sequential memory network (DFSMN) with self-attention layers to form a better baseline model compared with a purely self-attention network. Then, we propose and compare two kinds of additional memory structures added into self-attention layers. Experiments on large-scale LVCSR tasks show that on four individual test sets, the DFSMN-SAN architecture outperforms vanilla SAN encoder by 5% relatively in character error rate (CER). More importantly, the additional memory structure provides further 5% to 11% relative improvement in CER.
Motivation & Objective
- To improve automatic speech recognition (ASR) performance by combining DFSMN and self-attention networks (SAN) for better long-term dependency modeling.
- To investigate whether information beyond the whole utterance context can further enhance ASR accuracy.
- To design and evaluate novel persistent memory structures that store global context independently of input sequence.
- To compare the effectiveness of key-value memory and input-embedding memory in improving ASR performance with minimal parameter increase.
- To validate the proposed architecture and memory mechanisms on large-scale, diverse test sets using real-world speech data.
Proposed method
- Proposes a hybrid model architecture, DFSMN-SAN, integrating 30 DFSMN layers with 3 multi-head self-attention sublayers to balance efficiency and long-range dependency modeling.
- Introduces a persistent memory mechanism by augmenting self-attention layers with learnable key-value vectors that store global context independent of input sequence.
- Proposes an improved input-embedding memory structure that shares memory vectors with input embeddings, reducing model size while maintaining performance.
- Employs multi-head self-attention with scaled dot-product attention, residual connections, layer normalization, and dropout for stable training.
- Uses CTC loss with gradient clipping and trains models using the Kaldi toolkit with BMUF optimization across 8 Tesla P40 GPUs.
- Evaluates both memory types across four test sets: Read, Chat, Spon, and AISHELL, using character error rate (CER) as the primary metric.
Experimental results
Research questions
- RQ1Can combining DFSMN and self-attention layers improve ASR performance compared to pure SAN or DFSMN models?
- RQ2Does introducing persistent memory beyond the utterance-level context lead to measurable improvements in ASR accuracy?
- RQ3How do different persistent memory structures (key-value vs. input-embedding) compare in terms of performance and parameter efficiency?
- RQ4Is the performance gain from persistent memory robust across diverse test sets with varying speech characteristics?
- RQ5Can a hybrid DFSMN-SAN architecture with minimal self-attention layers outperform a full SAN encoder while reducing computational cost?
Key findings
- The DFSMN-SAN model outperforms both the pure DFSMN and pure SAN models, achieving a 34.4% relative CER improvement on the Read test set.
- Adding persistent memory to the DFSMN-SAN model yields an additional 5% to 11% relative CER improvement across all test sets.
- The key-value memory structure achieves 9.5% relative CER improvement on the AISHELL test set compared to the baseline.
- The proposed input-embedding memory structure achieves comparable performance to the key-value memory with fewer parameters, making it more compact.
- The number of persistent memory vectors (64, 128, 256) has minimal impact on performance, indicating robustness to vector count within this range.
- All experiments were conducted on over 10,000 hours of training data, and results are consistent across four distinct test sets, validating generalization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.