Skip to main content
QUICK REVIEW

[Paper Review] Blending LSTMs into CNNs

Krzysztof J. Geras, Abdelrahman Mohamed|arXiv (Cornell University)|Nov 19, 2015
Speech Recognition and SynthesisComputer Science34 references7 citations
TL;DR

This paper introduces 'model blending'—a novel application of knowledge distillation where a deep CNN is trained to mimic an LSTM teacher network, leveraging the LSTM's long-range sequence modeling strengths while retaining the CNN's computational efficiency. The method achieves state-of-the-art WER (14.1%) on Switchboard by blending soft labels from the LSTM with hard labels, outperforming both individual models and ensembles, even when using only 0.3% of the highest-probability teacher outputs.

ABSTRACT

We consider whether deep convolutional networks (CNNs) can represent decision functions with similar accuracy as recurrent networks such as LSTMs. First, we show that a deep CNN with an architecture inspired by the models recently introduced in image recognition can yield better accuracy than previous convolutional and LSTM networks on the standard 309h Switchboard automatic speech recognition task. Then we show that even more accurate CNNs can be trained under the guidance of LSTMs using a variant of model compression, which we call model blending because the teacher and student models are similar in complexity but different in inductive bias. Blending further improves the accuracy of our CNN, yielding a computationally efficient model of accuracy higher than any of the other individual models. Examining the effect of "dark knowledge" in this model compression task, we find that less than 1% of the highest probability labels are needed for accurate model compression.

Motivation & Objective

  • To investigate whether deep CNNs can match or exceed the performance of LSTMs in automatic speech recognition.
  • To explore model compression in the under-explored regime where teacher and student models are of similar complexity but different inductive biases.
  • To improve CNN performance in speech recognition by leveraging knowledge from LSTMs through a novel blending technique.
  • To evaluate the effectiveness of 'dark knowledge' in low-shot label settings for model compression.

Proposed method

  • A vision-inspired deep CNN architecture is trained on the Switchboard dataset, achieving superior accuracy compared to prior CNN and LSTM models.
  • A variant of knowledge distillation—termed 'model blending'—is used, where a CNN student learns from soft labels (logits or probabilities) produced by an LSTM teacher.
  • The training objective combines cross-entropy loss on hard labels with a distillation loss that minimizes the cross-entropy between teacher and student predictions.
  • The method uses a hyperparameter λ to balance the contribution of hard labels and soft labels in the training objective.
  • The number of top-class predictions (C) retained from the teacher is varied to assess the minimal information needed for effective distillation.
  • A self-teaching variant is explored, where a CNN teaches another CNN of the same architecture, demonstrating the generalizability of the approach.

Experimental results

Research questions

  • RQ1Can a deep CNN with a vision-inspired architecture outperform LSTMs on the Switchboard speech recognition task?
  • RQ2Is model compression effective when both teacher and student models are of similar size and complexity, rather than when the student is significantly smaller?
  • RQ3How much of the teacher’s output (i.e., soft labels) is necessary to achieve effective knowledge transfer?
  • RQ4Can a CNN be improved by learning from another CNN with the same architecture, even without different inductive biases?

Key findings

  • The proposed CNN model achieved a word error rate (WER) of 14.1% on the Switchboard dataset, outperforming both individual LSTMs and CNNs.
  • Model blending with an LSTM teacher reduced WER to 14.1%, which is lower than any individual model, including ensembles.
  • Only 0.3% of the highest-probability labels from the teacher (approximately 1 class per 300) were needed to achieve near-optimal performance in distillation.
  • Performance deteriorated significantly when too few labels were used, indicating that 'dark knowledge' is essential for effective distillation.
  • A CNN student trained to mimic another CNN (self-teaching) achieved 34.61% FER and 14.1% WER, demonstrating that blending improves models even within the same architecture.
  • The blended CNN model was 6.8 times more computationally efficient at inference than an equivalent ensemble of CNNs and LSTMs.

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.