Abstract
Jointly optimised attention-based encoder-decoder models have yielded impressive speech recognition results. The recurrent neural network (RNN) encoder is a key component in such models, learning hidden representations of the inputs. However, RNNs struggle to model the long sequences characteristic of speech. To address this, static subsampling between stacked recurrent layers is commonly employed to reduce sequence length and improve accuracy. However, static subsampling can include redundant information or miss relevant transitions. We propose a dynamic subsampling RNN (dsRNN) encoder that learns to skip redundant frames on the fly. Although unidirectional, the dsRNN yields lower phone error rates (PERs) than bidirectional RNNs on the TIMIT dataset, achieving a 16.8% PER—a considerable improvement over static subsampling methods.
The Challenge of Long Acoustic Sequences
In end-to-end speech recognition, encoders must process acoustic sequences that are often thousands of frames long. Because speech is typically sampled every 10ms, many adjacent frames are nearly identical or represent silence. This redundancy leads to two major issues: computational inefficiency and modeling difficulty, as RNNs struggle with extremely long-range dependencies and vanishing gradients.
While the industry standard is static subsampling—simply ignoring every $N$-th frame—this approach is "content-blind." It may skip a crucial, fast-moving phonetic transition while redundantly processing a long, stable vowel or a period of silence.
The Dynamic Subsampling RNN (dsRNN)
To solve this, the authors introduce the dsRNN. Inspired by the "Skip RNN" architecture, this model adds a trainable update gate to the standard RNN cell. For every incoming frame, a small Multi-Layer Perceptron (MLP) examines both the current input and the previous hidden state to calculate a "skip probability increment."
These increments accumulate over time. Once the accumulated probability hits a certain threshold, the model "updates" (processes the frame). Otherwise, it "skips" the frame, simply carrying over the previous hidden state. To keep the model trainable via standard gradient descent, the authors use a differentiable "binarizer" function during backpropagation.
Key Insights and Results
The model was evaluated on the TIMIT dataset, a classic benchmark for phoneme recognition. The results demonstrate that dynamic subsampling is not just a way to save computation—it actually helps the model learn a better internal representation of speech.
- Superior Performance: The proposed dsULSTM achieved a 16.8% PER on the TIMIT test set, significantly outperforming a bidirectional LSTM (BLSTM) with static subsampling (20.4% PER) and a vanilla unidirectional LSTM (28.3% PER).
- Unidirectional Power: Traditionally, bidirectional RNNs are required for high accuracy in speech. However, the unidirectional dsRNN outperformed the bidirectional static baseline, suggesting that how you sample the input is as important as the direction in which you read it.
The "Curriculum" Effect
One of the most fascinating findings was the training trajectory. Early in training, the model naturally adopts a very high skip rate. This acts as a "coarse-to-fine" curriculum: the model first learns to recognize the most essential, abstract features of the speech signal before gradually lowering its skip rate to capture finer details in later epochs.
Limitations and Future Work
While the results on TIMIT are impressive, the dataset is relatively small and clean. Future research is needed to determine how dynamic subsampling performs on massive, noisy, real-world datasets like LibriSpeech. Additionally, the authors suggest that extending this mechanism to Transformer-based encoders—the current state-of-the-art—could yield further improvements in efficiency and accuracy.
Summary updated