SSAMBA: Self-Supervised Audio Representation Learning with Mamba State Space Model

Siavash Shams, Sukru Samet Dindar, Xilin Jiang, Nima Mesgarani
5/20/2024
eess.AScs.LG

No official code found. Best implementation: SiavashShams/ssamba (143 stars, BSD-3-Clause, last commit 2025-11-05).

Abstract

Transformers have revolutionized deep learning across various tasks, including audio representation learning, due to their powerful modeling capabilities. However, they often suffer from quadratic complexity in both GPU memory usage and computational inference time, affecting their efficiency. Recently, state space models (SSMs) like Mamba have emerged as a promising alternative, offering a more efficient approach by avoiding these complexities. Given these advantages, we explore the potential of SSM-based models in audio tasks. In this paper, we introduce Self-Supervised Audio Mamba (SSAMBA), the first self-supervised, attention-free, and SSM-based model for audio representation learning. SSAMBA leverages the bidirectional Mamba to capture complex audio patterns effectively. We incorporate a self-supervised pretraining framework that optimizes both discriminative and generative objectives, enabling the model to learn robust audio representations from large-scale, unlabeled datasets. We evaluated SSAMBA on various tasks such as audio classification, keyword spotting, and speaker identification. Our results demonstrate that SSAMBA outperforms the Self-Supervised Audio Spectrogram Transformer (SSAST) in most tasks. Notably, SSAMBA is approximately 92.7% faster in batch inference speed and 95.4% more memory-efficient than SSAST for the tiny model size with an input token size of 22k. These efficiency gains, combined with superior performance, underscore the effectiveness of SSAMBA's architectural innovation, making it a compelling choice for a wide range of audio processing applications.

View on arXivView PDF

Code Implementations(1)

SiavashShams/ssambaCommunity100%
BSD-3-Clause

[SLT'24] The official implementation of SSAMBA: Self-Supervised Audio Representation Learning with Mamba State Space Model

14313Shell, PythonMay 15, 202411 months agoBSD-3-Clause
audioaudio-classificationdeep-learningemotion-recognitionkeyword-spotting+5 more

Similar Papers

Cite this paper

@article{shams2024ssamba,
  title  = {SSAMBA: Self-Supervised Audio Representation Learning with Mamba State Space Model},
  author = {Siavash Shams and Sukru Samet Dindar and Xilin Jiang and Nima Mesgarani},
  year   = {2024},
  eprint = {2405.11831},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.11831v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.11831.svg)](https://codeofpaper.com/paper/2405.11831)

Discussion