ICASSP 2024accepted0 citations

Improving Speed/Accuracy Tradeoff for Online Streaming ASR via Real-Valued and Trainable Strides

Dario Albesano, Nicola Ferri, Felix Weninger, Puming Zhan

Abstract

The Conformer Transducer (CT) is arguably the most popular architecture for online streaming end-to-end (E2E) ASR systems. Since it has quadratic complexity in the input sequence length for computing the attention weights, downsampling the input sequence to reduce its length is an effective way to mitigate the computing cost and speed up the inference process. However, in the traditional downsampling approach, the sampling factor (i.e. stride) has to be a pre-defined integer value. The speed up achieved by such kind of downsampling often comes with significant accuracy degradation, because it lacks the flexibility of trading accuracy with speed at fine-grained level. In this paper, we apply the spectral pooling and DiffStride techniques to the CT based online E2E ASR system. This makes the stride a real-valued trainable parameter. We optimize the implementation of these techniques for CT based ASR systems and develop recipes to train the stride together with the model parameters. We conduct experiments on an internal medical conversation dataset. Our results show that we can achieve better tradeoff between recognition accuracy and inference speed by training real-valued stride parameter. Compared to using decimation with integer stride value, our approach reduces real-time factor by 15.6 % on a medical dataset with less than 1 % relative accuracy degradation.

BibTeX
@inproceedings{icassp2024_improvingspeedac,
  title = {Improving Speed/Accuracy Tradeoff for Online Streaming ASR via Real-Valued and Trainable Strides},
  author = {Dario Albesano and Nicola Ferri and Felix Weninger and Puming Zhan},
  booktitle = {ICASSP 2024},
  year = {2024}
}