paper-with-me

홈 › Papers

Learning Temporal Resolution in Spectrogram for Audio Classification

2022-10-04 · Haohe Liu, Xubo Liu, Qiuqiang Kong, Wenwu Wang, Mark D. Plumbley

The audio spectrogram is a time-frequency representation that has been widely used for audio classification. One of the key attributes of the audio spectrogram is the temporal resolution, which depends on the hop size used in the Short-Time Fourier Transform (STFT). Previous works generally assume the hop size should be a constant value (e.g., 10 ms). However, a fixed temporal resolution is not always optimal for different types of sound. The temporal resolution affects not only classification accuracy but also computational cost. This paper proposes a novel method, DiffRes, that enables differentiable temporal resolution modeling for audio classification. Given a spectrogram calculated with a fixed hop size, DiffRes merges non-essential time frames while preserving important frames. DiffRes acts as a "drop-in" module between an audio spectrogram and a classifier and can be jointly optimized with the classification task. We evaluate DiffRes on five audio classification tasks, using mel-spectrograms as the acoustic features, followed by off-the-shelf classifier backbones. Compared with previous methods using the fixed temporal resolution, the DiffRes-based method can achieve the equivalent or better classification accuracy with at least 25% computational cost reduction. We further show that DiffRes can improve classification accuracy by increasing the temporal resolution of input acoustic features, without adding to the computational cost.

📄 PDF Abstract BibTeX arXiv:2210.01719

Code (1)

haoheliu/diffres-python 공식 구현 pytorch

Tasks

Audio ClassificationGeneral Classification

Similar Papers 제목 키워드 기반

MAST: Multiscale Audio Spectrogram Transformers

2022-11-02 · Sreyan Ghosh, Ashish Seth, S. Umesh, Dinesh Manocha

We present Multiscale Audio Spectrogram Transformer (MAST) for audio classification, which brings the concept of multiscale feature hierarchies to the Audio Spectrogram Transformer (AST). Given an input audio spectrogram…

Audio ClassificationKeyword SpottingSelf-Supervised Learning

From Coarse to Fine: Efficient Training for Audio Spectrogram Transformers

2024-01-16 · Jiu Feng, Mehmet Hamza Erol, Joon Son Chung, Arda Senocak

Transformers have become central to recent advances in audio classification. However, training an audio spectrogram transformer, e.g. AST, from scratch can be resource and time-intensive. Furthermore, the complexity of t…

Audio Classification

V-SlowFast Network for Efficient Visual Sound Separation

2021-09-18 · Lingyu Zhu, Esa Rahtu

The objective of this paper is to perform visual sound separation: i) we study visual sound separation on spectrograms of different temporal resolutions; ii) we propose a new light yet efficient three-stream framework V-…

Full-Frequency Temporal Patching and Structured Masking for Enhanced Audio Classification

2025-08-28 · Aditya Makineni, Baocheng Geng, Qing Tian arxiv

Transformers and State-Space Models (SSMs) have advanced audio classification by modeling spectrograms as sequences of patches. However, existing models such as the Audio Spectrogram Transformer (AST) and Audio Mamba (Au…

Audio Classification

ElasticAST: An Audio Spectrogram Transformer for All Length and Resolutions

2024-07-11 · Jiu Feng, Mehmet Hamza Erol, Joon Son Chung, Arda Senocak

Transformers have rapidly overtaken CNN-based architectures as the new standard in audio classification. Transformer-based models, such as the Audio Spectrogram Transformers (AST), also inherit the fixed-size input parad…

AllAudio Classification