Skip to main content
QUICK REVIEW

[Paper Review] Resource-Efficient Separation Transformer

Della Libera, Luca, Cem Subakan|arXiv (Cornell University)|Jun 19, 2022
Speech and Audio ProcessingComputer Science11 citations
TL;DR

This paper proposes the Resource-Efficient Separation Transformer (RE-SepFormer), a lightweight Transformer-based architecture for speech separation that reduces computational cost by using non-overlapping latent space chunks and compact summary representations via a Memory Transformer. It achieves competitive performance with 3x fewer parameters and 11x fewer MACs than the standard SepFormer, while scaling efficiently for long-sequence and real-time inference.

ABSTRACT

Transformers have recently achieved state-of-the-art performance in speech separation. These models, however, are computationally demanding and require a lot of learnable parameters. This paper explores Transformer-based speech separation with a reduced computational cost. Our main contribution is the development of the Resource-Efficient Separation Transformer (RE-SepFormer), a self-attention-based architecture that reduces the computational burden in two ways. First, it uses non-overlapping blocks in the latent space. Second, it operates on compact latent summaries calculated from each chunk. The RE-SepFormer reaches a competitive performance on the popular WSJ0-2Mix and WHAM! datasets in both causal and non-causal settings. Remarkably, it scales significantly better than the previous Transformer-based architectures in terms of memory and inference time, making it more suitable for processing long mixtures.

Motivation & Objective

  • To address the high computational and memory demands of Transformer-based speech separation models, which limit deployment on resource-constrained devices.
  • To reduce inference latency and memory usage in self-attention mechanisms without sacrificing performance.
  • To enable efficient, low-latency, causal inference for real-time on-device speech separation.
  • To explore architectural efficiency in Transformers by replacing overlapping attention with non-overlapping chunking and summary-based attention.
  • To demonstrate that reduced model complexity can maintain competitive separation quality on standard benchmarks.

Proposed method

  • The RE-SepFormer uses non-overlapping chunks in the latent space, halving the number of chunks compared to overlapping methods with 50% overlap.
  • It applies an Intra-Transformer to each chunk independently, processing local dependencies within each segment.
  • A Memory Transformer operates on compact summary representations derived from each chunk, replacing full sequence self-attention with attended summaries.
  • The model employs a masking-based architecture: encoder maps input to latent space, masking network predicts source masks, and decoder reconstructs separated signals.
  • The method uses strided convolutions for encoding and transposed convolutions for decoding, with ReLU and PReLU activations in the masking network.
  • The architecture is designed for high parallelization, enabling efficient GPU inference and better scaling with long input sequences.

Experimental results

Research questions

  • RQ1Can non-overlapping chunking in the latent space reduce computational cost in Transformer-based speech separation without degrading performance?
  • RQ2Can a summary-based attention mechanism (Memory Transformer) replace full self-attention while preserving model capacity and accuracy?
  • RQ3How does the RE-SepFormer compare in performance and efficiency to existing state-of-the-art models like SepFormer and Conv-TasNet on standard benchmarks?
  • RQ4To what extent can architectural ablations (e.g., reducing layers or dimensions) reduce parameters and MACs while maintaining acceptable separation quality?
  • RQ5Can the RE-SepFormer achieve competitive performance in both non-causal offline and causal real-time settings?

Key findings

  • The RE-SepFormer achieves an SDRi of 18.9 dB on the WSJ0-2Mix dataset and 14.4 dB on the WHAM! dataset, demonstrating competitive performance.
  • It reduces model parameters by more than 3x and MACs by 11x compared to the standard SepFormer, with only a minor drop in performance.
  • The model scales significantly better than prior Transformer-based architectures in terms of memory usage and inference time, especially for long input sequences.
  • The ablation study shows that reducing the number of layers in the Intra- and Memory Transformers has the largest impact on performance and efficiency, while reducing feed-forward dimension has a smaller effect.
  • Even with aggressive ablations (4 layers and 512-dimensional feed-forward layers), the model maintains an SDRi of 16.5 dB, outperforming models like Conv-TasNet and SignPredictionNet in efficiency.
  • The RE-SepFormer is highly parallelizable and well-suited for real-time, low-latency inference on small-footprint devices such as smartphones and laptops.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.