Exploring Self-Attention Mechanisms for Speech Separation

Cem Subakan, Mirco Ravanelli, Samuele Cornell, Francois Grondin, Mirko Bronzi
2/6/2022
eess.AScs.LGcs.SD
transformer-attention

Official code: speechbrain/speechbrain (11,923 stars, Python, Apache-2.0, PyTorch, last commit 2026-05-03).

Abstract

Transformers have enabled impressive improvements in deep learning. They often outperform recurrent and convolutional models in many tasks while taking advantage of parallel processing.

Show full abstract

Recently, we proposed the SepFormer, which obtains state-of-the-art performance in speech separation with the WSJ0-2/3 Mix datasets. This paper studies in-depth Transformers for speech separation. In particular, we extend our previous findings on the SepFormer by providing results on more challenging noisy and noisy-reverberant datasets, such as LibriMix, WHAM!, and WHAMR!. Moreover, we extend our model to perform speech enhancement and provide experimental evidence on denoising and dereverberation tasks. Finally, we investigate, for the first time in speech separation, the use of efficient self-attention mechanisms such as Linformers, Lonformers, and ReFormers. We found that they reduce memory requirements significantly. For example, we show that the Reformer-based attention outperforms the popular Conv-TasNet model on the WSJ0-2Mix dataset while being faster at inference and comparable in terms of memory consumption.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

A PyTorch-based Speech Toolkit

11,9231,754Python, PerlApr 28, 20207 months agoApache-2.0
asraudioaudio-processingdeep-learninghuggingface+15 more

Similar Papers

Cite this paper

@article{subakan2022exploring,
  title  = {Exploring Self-Attention Mechanisms for Speech Separation},
  author = {Cem Subakan and Mirco Ravanelli and Samuele Cornell and Francois Grondin and Mirko Bronzi},
  year   = {2022},
  eprint = {2202.02884},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.02884}
}

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/2202.02884.svg)](https://codeofpaper.com/paper/2202.02884)

Discussion