Why use transformers when state-space models can do speech recognition better and faster?
Samba-ASR introduces a state-space model architecture that replaces traditional transformer components in speech recognition, achieving superior accuracy with linear computational scaling.
-----
https://arxiv.org/abs/2501.02832
π― Original Problem:
Transformer-based Automatic Speech Recognition (ASR) models face quadratic scaling issues with sequence length, making them computationally expensive and memory-intensive for processing long audio sequences.
-----
π§ Solution in this Paper:
β Samba-ASR leverages Mamba architecture as both encoder and decoder, built on state-space models (SSMs)
β The model processes audio through convolutional layers and Mamba blocks, capturing local and global dependencies efficiently
β A Mamba-cross-connection mechanism in the decoder enables targeted alignment between audio and text features
β The architecture achieves linear computational complexity through selective state-space dynamics
-----
π‘ Key Insights:
β State-space models can effectively replace attention mechanisms in ASR systems
β Linear scaling with sequence length enables efficient processing of long audio
β Mamba blocks provide better computational efficiency than transformer blocks
β The model maintains high accuracy while reducing memory usage
-----
π Results:
β Average Word Error Rate (WER): 3.65%
β LibriSpeech Clean WER: 1.17%
β GigaSpeech WER: 9.12%
β SPGISpeech WER: 1.84%
β Outperforms existing transformer models while using less computational resources










