Attentive batch normalization for lstm-based acoustic modeling of speech recognition

Fenglin Ding, Wu Guo, Lirong Dai, Jun DuarXiv 2020

TL;DR

This paper introduces "Attentive Batch Normalization" (ABN) for improving LSTM-based speech recognition models. By dynamically generating normalization parameters using attention mechanisms, ABN significantly boosts transcription accuracy compared to standard batch normalization, especially for languages with limited data.

What Problem Does This Paper Address?

Deep neural networks, particularly Long Short-Term Memory (LSTM) networks, have revolutionized Automatic Speech Recognition (ASR). However, training these complex models can be slow and prone to issues like vanishing/exploding gradients. Batch Normalization (BN) has emerged as a powerful technique to accelerate training and improve generalization by standardizing network activations. Yet, standard BN might not always be optimal, especially when applied to the non-linear transformations within LSTMs. The paper addresses the challenge of making BN more effective within LSTMs by proposing a novel approach that dynamically learns the scaling and shifting parameters crucial for BN's performance, focusing on context-discriminative features.

Methods

The core innovation is Attentive Batch Normalization (ABN). Unlike standard BN, which uses fixed parameters or parameters learned independently, ABN dynamically generates these parameters. This is achieved by introducing an auxiliary "extractor" network. This extractor takes the hidden activations from the previous LSTM layer and uses them to generate the scaling ($\gamma$) and shifting ($\beta$) parameters for the current layer.

Two main schemes for ABN are proposed:

  • Frame-level ABN: Parameters are generated for each frame within an utterance. An attention mechanism is used to weigh the importance of different frames' representations when generating these parameters.
  • Utterance-level ABN: Parameters are generated for the entire utterance. A self-attention mechanism is employed to compute context vectors that inform the generation of the scaling and shifting parameters.

Crucially, the attention mechanism helps the model focus on more relevant, context-discriminative features, thereby improving the normalization process. The parameter generation network is jointly trained with the main LSTM network.

Datasets

The proposed methods were evaluated on two distinct ASR tasks:

  • Mandarin: The AISHELL-1 corpus was used, featuring a large vocabulary. The training set comprised 150 hours of speech, with 20 hours for development and 10 hours for testing.
  • Uyghur: The King-ASR-450 corpus was utilized, representing a low-resource language. The dataset contained 120 hours of spontaneous dialog speech. For evaluation, 3.15 hours were used for testing, and 1.58 hours for development, with the remaining data for training.

Key Insights and Ideas

  • Dynamic Parameter Generation is Key: The paper strongly suggests that learning the scaling and shifting parameters of BN dynamically, rather than using fixed or independently learned ones, significantly enhances performance.
  • Attention for Better Normalization: Incorporating attention mechanisms allows the model to focus on the most informative parts of the speech signal when generating normalization parameters, leading to more effective regularization.
  • Frame-level vs. Utterance-level Trade-offs: While both frame-level and utterance-level ABN show improvements, the frame-level approach appears more robust, especially on smaller datasets. This hints at potential overfitting issues with the more complex utterance-level scheme in low-resource scenarios.
  • Impact on Low-Resource Languages: The improvements seen with ABN are particularly encouraging for languages like Uyghur, where data scarcity is a major challenge.

Key Results

  • Significant Accuracy Gains: Both frame-level (ABN-F) and utterance-level (ABN-U) ABN consistently outperformed standard Batch Normalization (BN) on both Mandarin and Uyghur ASR tasks.
  • Mandarin: On the AISHELL-1 dataset, ABN-F achieved a character error rate (CER) of 7.52% on the development set and 8.43% on the test set, compared to 8.35% and 9.71% for standard BN. ABN-U also showed improvements.
  • Uyghur: For the King-ASR-450 dataset, ABN-F reduced the word error rate (WER) to 9.43% on the development set and 9.31% on the test set, down from 10.33% and 10.36% for standard BN.
  • Model Size: Notably, the ABN models achieved these performance improvements without a substantial increase in model size.

Limitations and Future Work

  • Utterance-level Overfitting: The authors suspect that the more complex structure of the utterance-level ABN might lead to overfitting, particularly on smaller training sets like the Uyghur dataset.
  • Future Work: The authors plan to explore simplifying the parameter extraction process in the utterance-level ABN to further enhance its performance and mitigate potential overfitting. They also aim to investigate other ways to improve the attention mechanism's effectiveness.

Summary updated

BibTeX
@misc{ding2020attentive,
  author = {Fenglin Ding and Wu Guo and Lirong Dai and Jun Du},
  title = {{Attentive batch normalization for lstm-based acoustic modeling of speech recognition}},
  year = {2020},
  eprint = {2001.00129},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.00129},
}
Figure