Accelerating Transducers through Adjacent Token Merging
Authors:
Preprint
Abstract
Recent end-to-end automatic speech recognition (ASR) systems often utilize a Transformer-based acoustic encoder that generates embedding at a high frame rate. However, this design is inefficient, particularly for long speech signals due to the quadratic computation of self-attention. To address this, we propose a new method, Adjacent Token Merging (A-ToMe), which gradually combines adjacent tokens with high similarity scores between their key values. In this way, the total time step could be reduced, and the inference of both the encoder and joint network is accelerated. Experiments on LibriSpeech show that our method can reduce 57% of tokens and improve the inference speed on GPU by 70% without any notable loss of accuracy. Additionally, we demonstrate that A-ToMe is also an effective solution to reduce tokens in long-form ASR, where the input speech consists of multiple utterances.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Recent Advances in End-to-End Automatic Speech RecognitionAPSIPA Transactions on Signal and Information Processing, 2022
- Efficient Conformer: Progressive Downsampling and Grouped Attention for Automatic Speech Recognition2021
- SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruning2021
- Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Search2021
- Conv-Transformer Transducer: Low Latency, Low Frame Rate, Streamable End-to-End Speech Recognition2020
- Transformer Transducer: A Streamable Speech Recognition Model with Transformer Encoders and RNN-T Loss2020
- SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing2018
- Hybrid CTC/Attention Architecture for End-to-End Speech RecognitionIEEE Journal of Selected Topics in Signal Processing, 2017
- Listen, attend and spell: A neural network for large vocabulary conversational speech recognition2016
- EESEN: End-to-end speech recognition using deep RNN models and WFST-based decoding2015