arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.01719cs.SDcs.AIcs.MMeess.ASeess.SP
收藏

学习音频分类中频谱图的时间分辨率

Learning Temporal Resolution in Spectrogram for Audio Classification

University of Surrey(萨里大学);The Chinese University of Hong Kong(香港中文大学)

Haohe Liu, Xubo Liu, Qiuqiang Kong, Wenwu Wang, Mark D. Plumbley

AI总结:

本文提出可微分时间分辨率建模方法DiffRes,在音频频谱图与分类器之间动态合并冗余时间帧,在五个音频分类任务上以至少25%的计算成本降低实现相当或更好的精度。

摘要:

音频频谱图是一种时频表示,已被广泛用于音频分类。音频频谱图的关键属性之一是时间分辨率,它取决于短时傅里叶变换(STFT)中使用的跳跃步长(hop size)。以往的工作通常假设跳跃步长应为一个恒定值(例如10 ms)。然而,固定的时间分辨率并不总是对不同类型的声音最优。时间分辨率不仅影响分类精度,还影响计算成本。本文提出了一种新方法DiffRes,它能够对音频分类进行可微分的时间分辨率建模。给定以固定跳跃步长计算的频谱图,DiffRes在保留重要帧的同时合并非必要的时间帧。DiffRes可作为音频频谱图与分类器之间的一个“即插即用”模块,并可与分类任务联合优化。我们在五个音频分类任务上评估了DiffRes,使用梅尔频谱图作为声学特征,并接上现成的分类器骨干网络。与使用固定时间分辨率的先前方法相比,基于DiffRes的方法能够以至少25%的计算成本降低实现相当或更好的分类精度。我们进一步表明,DiffRes可以通过提高输入声学特征的时间分辨率来提升分类精度,而不会增加计算成本。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑