Attention is All You Need in Speech Separation

Cem Subakan, Mirco Ravanelli, Samuele Cornell, Mirko Bronzi, Jianyuan Zhong
10/25/2020
841 citations
eess.AScs.LGcs.SD
transformer-attention

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

Abstract

Recurrent Neural Networks (RNNs) have long been the dominant architecture in sequence-to-sequence learning. RNNs, however, are inherently sequential models that do not allow parallelization of their computations.

Show full abstract

Transformers are emerging as a natural alternative to standard RNNs, replacing recurrent computations with a multi-head attention mechanism. In this paper, we propose the SepFormer, a novel RNN-free Transformer-based neural network for speech separation. The SepFormer learns short and long-term dependencies with a multi-scale approach that employs transformers. The proposed model achieves state-of-the-art (SOTA) performance on the standard WSJ0-2/3mix datasets. It reaches an SI-SNRi of 22.3 dB on WSJ0-2mix and an SI-SNRi of 19.5 dB on WSJ0-3mix. The SepFormer inherits the parallelization advantages of Transformers and achieves a competitive performance even when downsampling the encoded representation by a factor of 8. It is thus significantly faster and it is less memory-demanding than the latest speech separation systems with comparable performance.

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{subakan2020attention,
  title  = {Attention is All You Need in Speech Separation},
  author = {Cem Subakan and Mirco Ravanelli and Samuele Cornell and Mirko Bronzi and Jianyuan Zhong},
  year   = {2020},
  eprint = {2010.13154},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.13154}
}

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

Discussion