Sumformer: A Linear-Complexity Alternative to Self-Attention for Speech Recognition
Parcollet, Titouan, van Dalen, Rogier, Zhang, Shucong, Bhattacharya, Sourav
–arXiv.org Artificial Intelligence
Modern speech recognition systems rely on self-attention. Unfortunately, token mixing with self-attention takes quadratic time in the length of the speech utterance, slowing down inference as well as training and increasing memory consumption. Cheaper alternatives to self-attention for ASR have been developed, but fail to consistently reach the same level of accuracy. In practice, however, the self-attention weights of trained speech recognizers take the form of a global average over time. This paper, therefore, proposes a linear-time alternative to self-attention for speech recognition. It summarises a whole utterance with the mean over vectors for all time steps. This single summary is then combined with time-specific information. We call this method ``Summary Mixing''. Introducing Summary Mixing in state-of-the-art ASR models makes it feasible to preserve or exceed previous speech recognition performance while lowering the training and inference times by up to 27% and reducing the memory budget by a factor of two.
arXiv.org Artificial Intelligence
Jul-12-2023
- Country:
- Europe > United Kingdom
- England > Cambridgeshire > Cambridge (0.04)
- Asia > Middle East
- Israel > Tel Aviv District > Tel Aviv (0.04)
- Europe > United Kingdom
- Genre:
- Research Report (0.50)
- Technology: