Neural Transducer Training: Reduced Memory Consumption with Sample-wise Computation
Not on the map. Why?
Abstract (arXiv)
The neural transducer is an end-to-end model for automatic speech recognition (ASR). While the model is well-suited for streaming ASR, the training process remains challenging. During training, the memory requirements may quickly exceed the capacity of state-of-the-art GPUs, limiting batch size and sequence lengths. In this work, we analyze the time and space complexity of a typical transducer training setup. We propose a memory-efficient training method that computes the transducer loss and gradients sample by sample. We present optimizations to increase the efficiency and parallelism of the sample-wise method. In a set of thorough benchmarks, we show that our sample-wise method significantly reduces memory usage, and performs at competitive speed when compared to the default batched computation. As a highlight, we manage to compute the transducer loss and gradients for a batch size of 1024, and audio length of 40 seconds, using only 6 GB of memory.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 12 of its 21 references that are in the map. First posted on arXiv 29 Nov 2022.
Builds on
12 of 21 references.
References · 12
- 2018ESPnet: End-to-End Speech Processing Toolkitcited by 554
- 2015Listen, Attend and Spellcited by 542
- 2015Attention-Based Models for Speech Recognitioncited by 400
- 2020Transformer Transducer: A Streamable Speech Recognition Model with Transformer Encoders and RNN-T Losscited by 232
- 2018Streaming End-to-end Speech Recognition For Mobile Devicescited by 230
- 2019NeMo: a toolkit for building AI applications using Neural Modulescited by 230
- 2018Exploring Architectures, Data and Units For Streaming End-to-End Speech Recognition with RNN-Transducercited by 95
- 2021TorchAudio: Building Blocks for Audio and Speech Processingcited by 83
- 2019Improving RNN Transducer Modeling for End-to-End Speech Recognitioncited by 68
- 2022Pruned RNN-T for fast, memory-efficient ASR trainingcited by 46
- 2017Exploring Neural Transducers for End-to-End Speech Recognitioncited by 43
- 2020Benchmarking LF-MMI, CTC and RNN-T Criteria for Streaming ASRcited by 11
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024Anatomy of Industrial Scale Multilingual ASRcited by 14
- 2024Anatomy of Industrial Scale Multilingual ASR15 Apr 2024