Skip to main content
QUICK REVIEW

[Paper Review] Transferring Knowledge from a RNN to a DNN

William Chan, Nan Rosemary Ke|arXiv (Cornell University)|Apr 7, 2015
Speech Recognition and SynthesisComputer Science11 references55 citations
TL;DR

This paper proposes transferring knowledge from a large RNN acoustic model to a small DNN for improved performance on resource-constrained embedded ASR systems. By minimizing the Kullback-Leibler divergence between the RNN's soft alignments and the small DNN's outputs, the method achieves a 13% relative WER improvement, reducing error from 4.54% to 3.93% on the WSJ eval92 set without additional inference cost.

ABSTRACT

Deep Neural Network (DNN) acoustic models have yielded many state-of-the-art results in Automatic Speech Recognition (ASR) tasks. More recently, Recurrent Neural Network (RNN) models have been shown to outperform DNNs counterparts. However, state-of-the-art DNN and RNN models tend to be impractical to deploy on embedded systems with limited computational capacity. Traditionally, the approach for embedded platforms is to either train a small DNN directly, or to train a small DNN that learns the output distribution of a large DNN. In this paper, we utilize a state-of-the-art RNN to transfer knowledge to small DNN. We use the RNN model to generate soft alignments and minimize the Kullback-Leibler divergence against the small DNN. The small DNN trained on the soft RNN alignments achieved a 3.93 WER on the Wall Street Journal (WSJ) eval92 task compared to a baseline 4.54 WER or more than 13% relative improvement.

Motivation & Objective

  • Address the challenge of deploying high-performance ASR models on embedded platforms with limited computational capacity.
  • Improve the word error rate (WER) of small DNNs that are practical for embedded deployment.
  • Overcome the limitations of hard GMM alignments by using more informative soft alignments from a state-of-the-art RNN model.
  • Demonstrate that knowledge distillation from an RNN expert can outperform distillation from a DNN expert in small DNN training.
  • Explore whether model capacity or alignment quality limits performance in knowledge transfer to small models.

Proposed method

  • Train a large, state-of-the-art RNN acoustic model as a knowledge source to generate soft alignment distributions over acoustic states.
  • Use the RNN's output posteriors as soft labels to train a smaller DNN, minimizing the Kullback-Leibler (KL) divergence between the RNN and DNN output distributions.
  • Apply a top-98% probability threshold to the RNN's output distribution to focus on the most confident predictions, avoiding noise from low-probability states.
  • Train the small DNN using cross-entropy loss based on the RNN's soft alignments, rather than hard GMM alignments.
  • Use the dev93 set as early stopping criterion, with cross-entropy error (CSE) as the optimization metric.
  • Compare performance across multiple training labels: hard GMM, hard RNN, soft RNN, and soft DNN alignments.

Experimental results

Research questions

  • RQ1Can knowledge distillation from a large RNN improve the performance of a small DNN in ASR tasks?
  • RQ2Does using soft alignments from an RNN outperform soft alignments from a DNN or hard GMM alignments in small DNN training?
  • RQ3What is the impact of the RNN's soft alignment quality on generalization and WER in small DNNs?
  • RQ4Is the performance bottleneck in knowledge transfer due to the small DNN's model capacity or the quality of the soft alignment labels?
  • RQ5How does the selection of top probabilities in the RNN alignment affect the final model performance?

Key findings

  • The small DNN trained on soft alignments from the large RNN achieved a 3.93% WER on the WSJ eval92 set, representing a 13% relative improvement over the baseline 4.54% WER trained on hard GMM alignments.
  • The small DNN trained on soft RNN alignments achieved a lower cross-entropy error (1.24617) than the large RNN model trained on GMM alignments (1.27620), indicating better optimization on the dev93 set.
  • The soft RNN-aligned small DNN outperformed the soft DNN-aligned small DNN (4.27% WER), suggesting RNN soft alignments are more informative than DNN soft alignments for distillation.
  • The small DNN trained on top-1 RNN probabilities performed worse than GMM alignments, highlighting the importance of retaining multiple high-probability states in soft labels.
  • The small DNN trained on soft RNN alignments showed lower CSE than the large RNN model on dev93, indicating potential overfitting or distribution shift, though WER remained superior.
  • The results suggest that the quality of the RNN soft alignment is a key factor in distillation success, and that model capacity may not be the primary bottleneck in this setup.

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.