CVLGMar 17, 2022

SepTr: Separable Transformer for Audio Spectrogram Processing

arXiv:2203.09581v342 citationsh-index: 95Has Code
AI Analysis

This addresses a domain-specific problem for audio signal processing by improving efficiency and performance in spectrogram analysis, though it is incremental as it builds on existing transformer frameworks.

The paper tackles the suboptimal application of vision transformers to audio spectrograms by proposing SepTr, a separable transformer architecture that processes frequency and time axes separately, outperforming conventional vision transformers and other state-of-the-art methods on three benchmark datasets.

Following the successful application of vision transformers in multiple computer vision tasks, these models have drawn the attention of the signal processing community. This is because signals are often represented as spectrograms (e.g. through Discrete Fourier Transform) which can be directly provided as input to vision transformers. However, naively applying transformers to spectrograms is suboptimal. Since the axes represent distinct dimensions, i.e. frequency and time, we argue that a better approach is to separate the attention dedicated to each axis. To this end, we propose the Separable Transformer (SepTr), an architecture that employs two transformer blocks in a sequential manner, the first attending to tokens within the same time interval, and the second attending to tokens within the same frequency bin. We conduct experiments on three benchmark data sets, showing that our separable architecture outperforms conventional vision transformers and other state-of-the-art methods. Unlike standard transformers, SepTr linearly scales the number of trainable parameters with the input size, thus having a lower memory footprint. Our code is available as open source at https://github.com/ristea/septr.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes