Skip to main content
QUICK REVIEW

[论文解读] Masked Spectrogram Modeling using Masked Autoencoders for Learning General-purpose Audio Representation

Daisuke Niizumi, Daiki Takeuchi|arXiv (Cornell University)|Apr 26, 2022
Music and Audio ProcessingComputer Science被引用 17
一句话总结

本文提出了一种基于掩码自编码器(MAE)的掩码谱图建模(MSM)方法,通过重建被掩码的谱图块来学习通用音频表征,以原始输入作为监督信号。该方法在 HEAR 2021 基准测试的 15 项任务中取得了 7 项的最先进性能,包括在 CREMA-D 上达到 73.4% 的准确率和在 LibriCount 上达到 85.8% 的准确率,证明了基于输入的自监督方法的有效性。

ABSTRACT

Recent general-purpose audio representations show state-of-the-art performance on various audio tasks. These representations are pre-trained by self-supervised learning methods that create training signals from the input. For example, typical audio contrastive learning uses temporal relationships among input sounds to create training signals, whereas some methods use a difference among input views created by data augmentations. However, these training signals do not provide information derived from the intact input sound, which we think is suboptimal for learning representation that describes the input as it is. In this paper, we seek to learn audio representations from the input itself as supervision using a pretext task of auto-encoding of masked spectrogram patches, Masked Spectrogram Modeling (MSM, a variant of Masked Image Modeling applied to audio spectrogram). To implement MSM, we use Masked Autoencoders (MAE), an image self-supervised learning method. MAE learns to efficiently encode the small number of visible patches into latent representations to carry essential information for reconstructing a large number of masked patches. While training, MAE minimizes the reconstruction error, which uses the input as training signal, consequently achieving our goal. We conducted experiments on our MSM using MAE (MSM-MAE) models under the evaluation benchmark of the HEAR 2021 NeurIPS Challenge. Our MSM-MAE models outperformed the HEAR 2021 Challenge results on seven out of 15 tasks (e.g., accuracies of 73.4% on CREMA-D and 85.8% on LibriCount), while showing top performance on other tasks where specialized models perform better. We also investigate how the design choices of MSM-MAE impact the performance and conduct qualitative analysis of visualization outcomes to gain an understanding of learned representations. We make our code available online.

研究动机与目标

  • 为了解决现有自监督音频表征学习中监督信号不充分的问题,即依赖于时间邻近性或数据增强差异等对比信号,而非原始输入本身。
  • 探究是否可以通过利用完整输入信号作为监督信号(即通过重建被掩码的谱图块)来获得更优的通用音频表征。
  • 将原本为图像设计的掩码自编码器(MAE)框架适配至音频谱图,用于自监督预训练。
  • 在涵盖语音、环境声音和音乐的多样化基准测试套件上评估所提出的 MSM-MAE 框架,并与先前的 SOTA 方法进行比较。

提出的方法

  • 该方法通过沿时间轴和频率轴将谱图划分为时空块,将掩码自编码器(MAE)应用于音频谱图。
  • 训练过程中随机掩码 75% 的谱图块,仅对可见的 25% 进行编码,由 Transformer 编码器处理。
  • 轻量级解码器从编码后的可见块和可学习的掩码标记中重建完整的谱图,并以被掩码的块作为监督信号。
  • 通过最小化重建谱图与原始被掩码块之间的均方误差(MSE),实现端到端训练。
  • 在输入编码器前,对谱图进行归一化并经过 patch embedding 层处理。
  • 该框架支持可变的块大小和输入时长,便于对网络架构超参数进行消融研究。

实验结果

研究问题

  • RQ1与对比或基于增强的方法相比,利用原始输入作为监督信号重建被掩码的谱图块,是否能带来更鲁棒且更具泛化能力的音频表征?
  • RQ2输入时长和块大小等设计选择如何影响 MSM-MAE 框架的性能?
  • RQ3通过定性分析,所学习的表征中编码了哪些结构信息(如时间或频谱模式)?
  • RQ4即使仅有一个可见块,模型是否仍能重建局部和全局的谱图模式?
  • RQ5编码器中的自注意力图如何反映模型对重复性与分段结构等音频结构的理解?

主要发现

  • MSM-MAE 模型在 HEAR 2021 基准测试的 15 项评估任务中,有 7 项优于基线模型,包括在 CREMA-D 上达到 73.4% 的准确率和在 LibriCount 上达到 85.8% 的准确率。
  • 随着输入时长增加和块尺寸减小,性能提升,表明更精细的时间与频谱分辨率有助于提升表征质量。
  • 在 75% 的掩码率下,重建质量保持较高水平,但在更高掩码率下显著下降,当掩码率达到 99% 时,仅保留局部和全局平均模式。
  • 即使仅有一个可见块,模型仍能重建局部频谱模式和全局平均谱图结构,表明学习到的表征具有丰富的归纳偏置。
  • 自注意力图显示,模型能够捕捉节奏性重复、持续性声音以及相似音频事件(如心跳或语音段落)的粗粒度分段。
  • 定性分析表明,模型能够学习重建有意义的谱图模式,包括谐波结构和时间连续性,表明其对音频结构具有有效的建模能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。