TL;DR
This paper introduces a method to significantly speed up Recurrent Neural Network Transducer (RNN-T) models by using a co-trained Connectionist Temporal Classification (CTC) model as a guide. By identifying and discarding redundant "blank" frames early in the pipeline and narrowing the search space during training, the authors achieve a 2.2x inference speedup with no loss in word error rate (WER).
What Problem Does This Paper Address?
In the world of Automatic Speech Recognition (ASR), the RNN-T architecture is a favorite for streaming applications because it integrates language modeling directly into the decoding process. However, RNN-T is computationally expensive.
The "bottleneck" lies in the sheer volume of data: the acoustic encoder produces a high-frequency stream of embeddings (e.g., every 10ms-40ms). Most of these frames represent silence or transitions—what the model calls "blank" symbols. The RNN-T decoder is forced to process every single one of these frames, even the useless ones, leading to massive computational redundancy. The authors set out to find a way to "skip" these blank frames without hurting the model's accuracy.
Methods
The researchers propose a multi-task learning approach where a single shared encoder feeds into both a CTC decoder and an RNN-T decoder. The core innovation is CTC Guidance, applied in two ways:
- Frame Reduction: During the forward pass, the CTC model calculates the probability of a "blank" symbol for each frame. If that probability exceeds a threshold (e.g., 0.9), the frame is discarded. This reduction can happen at the end of the encoder or, even more effectively, in the middle of the encoder. By pruning frames after just 7 layers of a 17-layer Conformer encoder, the remaining 10 layers have much less data to process.
- Lattice Reduction: Normally, RNN-T training involves calculating probabilities over a massive $T \times U$ grid (time vs. output tokens). The authors use the CTC alignment to define a narrow "confidence region" (a strip) across this grid. The model only calculates the RNN-T loss for paths within this strip, drastically reducing memory usage and computation time during training.
To prevent information loss during pruning, they include a convolutional module (LConv) before the reduction step to smooth the gradients and capture local context.
Datasets
The models were evaluated on two major benchmarks:
- LibriSpeech: A standard dataset of 960 hours of read English speech.
- SpeechStew: A massive, diverse "super-dataset" combining several public corpora (AMI, Common Voice, LibriSpeech, Switchboard, Ted-Lium, and Wall Street Journal) to test robustness across different speaking styles and environments.
- CHiME-6: Used as a "surprise" out-of-domain test set to see how well the model generalizes to unseen noisy environments.
Key Insights and Ideas
- The "Blank" Hypothesis: The fundamental assumption is that if a CTC model is highly confident a frame is blank, the RNN-T model will almost certainly agree. This allows CTC—which is much "cheaper" to run—to act as a filter for the more "expensive" RNN-T.
- Pruning as a Feature, Not a Bug: Interestingly, pruning frames in the middle of the encoder actually improved WER slightly in some cases. The authors suggest that by removing blanks, the later encoder layers can focus on "informative" frames that look more like text tokens, effectively performing a form of implicit language modeling.
- Middle-Encoder Efficiency: Pruning inside the encoder is the "sweet spot." It speeds up both the encoder (fewer frames for the top layers) and the decoder (fewer frames to ingest).
Key Results
- Inference Speedup: On the LibriSpeech task, "Encoder Frame Reduction" achieved a 2.2x speedup compared to a standard RNN-T.
- Accuracy Preservation: Despite throwing away ~75% of the frames, the WER remained stable. On LibriSpeech test-other, the baseline WER was 4.4, while the pruned model achieved 4.3.
- Training Efficiency: Using CTC-based lattice reduction speeded up the RNN-T decoder portion of training by 2.7x.
- Robustness: The benefits held up across the diverse SpeechStew datasets, proving the method isn't just "overfitting" to clean, read speech.
Limitations and Future Work
- Hardware Constraints: The authors noted that while frame reduction saves computation, current TPU (Tensor Processing Unit) architectures struggle with "dynamic shapes." To make this work on TPUs during training, they had to use padding, which negates some of the speed gains. This method is currently most beneficial for GPU-based training or CPU/mobile inference.
- Streaming Confidence: In streaming mode (where the model can't look at future audio), the CTC model is less confident about blanks. This results in fewer frames being pruned compared to non-streaming mode.
- Future Directions: The authors are interested in exploring how these "text-like" pruned embeddings could be used to learn from both speech and text modalities simultaneously.
Summary updated