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.
Introduction
In automatic speech recognition (ASR), the choice of architecture involves a trade-off between modeling power and computational efficiency. Long Short-Term Memory (LSTM) networks are the standard for sequential data due to their ability to capture long-range temporal dependencies. However, they are computationally intensive. Convolutional Neural Networks (CNNs), while efficient and capable of capturing local shift-invariant patterns, have historically struggled to match LSTM performance in ASR. This work explores whether the inductive biases of LSTMs can be distilled into deep CNNs to achieve the best of both worlds: high accuracy and high efficiency.
Vision-Style CNNs for Speech
The authors move away from traditional speech-specific CNN architectures, which often utilized large filters and 1D pooling. Instead, they adopt a "VGG-style" approach characterized by deep stacks of small $3 \times 3$ filters and $2 \times 2$ max-pooling. To compensate for the lack of recurrence, the CNN is provided with a wide input window of 41 frames (approximately 450ms), ensuring sufficient acoustic context for phonetic classification. Evaluated on the 309-hour Switchboard dataset, this standalone CNN achieved a 14.1% Word Error Rate (WER), already surpassing the 14.4% WER of the best individual LSTM.
Model Blending and Knowledge Distillation
To further enhance the CNN, the authors employ "model blending," a form of knowledge distillation where a teacher model guides the training of a student model. Unlike typical distillation aimed at extreme compression, blending involves models of similar complexity but different inductive biases. Here, an LSTM teacher provides "soft labels"—a probability distribution over output classes—to a CNN student.
The student is trained using a hybrid loss function combining standard hard labels (ground truth tri-phone states) and the teacher's soft labels, weighted by a parameter $\gamma$.
As shown in the results, the optimal performance is achieved when $\gamma \approx 0.5$, indicating that the information contained in the LSTM's posterior distribution (the "dark knowledge") provides a valuable training signal that complements the hard targets.
Sparsity of Dark Knowledge
A significant challenge in distilling models for ASR is the large output space, often exceeding 9,000 classes. Storing full probability distributions for the entire dataset is memory-prohibitive. However, the authors discovered that the "dark knowledge" is highly concentrated.
By retaining only the top $C$ classes (e.g., $C=90$), the authors could capture nearly all the relevant information from the teacher while reducing storage requirements by two orders of magnitude. This sparsity suggests that the relationships between the most likely incorrect classes are the primary drivers of the distillation effect.
Key Results and Efficiency
The blended CNN (LSTM teaching a CNN) achieved the study's best performance at 13.83% WER. Crucially, while an ensemble of an LSTM and a CNN might yield slightly better frame-level accuracy, the blended CNN is approximately 6.8 times faster at inference time. This makes it a highly practical solution for real-time ASR applications where the computational overhead of LSTMs or large ensembles is unacceptable.
Conclusion
This research demonstrates that deep vision-style CNNs are powerful enough to represent the complex decision functions of LSTMs in speech recognition. Through model blending, the unique temporal insights of LSTMs can be successfully transferred to convolutional architectures. The discovery that this "dark knowledge" is extremely sparse further facilitates the practical application of these techniques to large-scale datasets. Future work may explore even deeper architectures, such as ResNets, to push the boundaries of efficient ASR further.
Summary updated