Skip to main content
QUICK REVIEW

[Paper Review] Sample-level CNN Architectures for Music Auto-tagging Using Raw Waveforms

Tae‐Jun Kim, Jongpil Lee|arXiv (Cornell University)|Oct 28, 2017
Music and Audio ProcessingComputer Science17 references13 citations
TL;DR

This paper proposes sample-level 1D CNN architectures for music auto-tagging using raw waveforms, integrating ResNet skip connections and Squeeze-and-Excitation (SE) blocks to enhance feature learning. By combining multi-level feature aggregation with advanced building blocks, the model achieves state-of-the-art performance on the MagnaTagATune dataset and competitive results on the Million Song Dataset, with visualization showing hierarchical processing of audio features across network layers.

ABSTRACT

Recent work has shown that the end-to-end approach using convolutional neural network (CNN) is effective in various types of machine learning tasks. For audio signals, the approach takes raw waveforms as input using an 1-D convolution layer. In this paper, we improve the 1-D CNN architecture for music auto-tagging by adopting building blocks from state-of-the-art image classification models, ResNets and SENets, and adding multi-level feature aggregation to it. We compare different combinations of the modules in building CNN architectures. The results show that they achieve significant improvements over previous state-of-the-art models on the MagnaTagATune dataset and comparable results on Million Song Dataset. Furthermore, we analyze and visualize our model to show how the 1-D CNN operates.

Motivation & Objective

  • To improve music auto-tagging performance using raw waveforms instead of hand-crafted spectrograms.
  • To adapt advanced 2D image classification building blocks—ResNets and SENets—into 1D CNNs for audio.
  • To investigate the impact of multi-level feature aggregation on tag prediction performance.
  • To analyze and visualize how SE blocks recalibrate features across different network depths.

Proposed method

  • Adopts a sample-level 1D CNN architecture with fixed 3x1 kernel filters, processing raw waveforms directly.
  • Introduces SE blocks that recalibrate channel-wise feature maps using global average pooling and a two-layer fully connected gate with expansion ratio α=16.
  • Applies residual skip connections (Res-n) to enable training of deeper networks, with dropout in Res-2 blocks to prevent overfitting.
  • Employs ReSE-n blocks that combine residual and SE mechanisms for enhanced representational power.
  • Uses multi-level feature aggregation by concatenating outputs from the last three residual blocks before the final fully connected layers.
  • Trains models on the MagnaTagATune and Million Song Dataset, evaluating performance using mean average precision (mAP).

Experimental results

Research questions

  • RQ1How do ResNet-style skip connections and SE blocks improve 1D CNN performance in music auto-tagging on raw waveforms?
  • RQ2What is the effect of multi-level feature aggregation on tag prediction accuracy across different architectures?
  • RQ3How do SE block activations vary across network depth for different music genres?
  • RQ4Do the proposed building blocks generalize well across datasets with varying data distributions?
  • RQ5How do the learned excitation patterns in SE blocks reflect hierarchical audio representation learning?

Key findings

  • The ReSE-2 block, combining residual and SE mechanisms, achieved the best performance on the MagnaTagATune dataset, outperforming previous state-of-the-art models.
  • Multi-level feature aggregation significantly improved performance across all architectures, with the best results obtained when combined with SE or ReSE blocks.
  • The SE block increased training time by 8% compared to the basic block, while ReSE-2 increased it by 80%, indicating a trade-off between performance and efficiency.
  • Graphical and quantitative analysis revealed that SE blocks in early layers normalize audio loudness (e.g., high activation for quiet classical music), while deeper layers show more discriminative, noisy activation patterns for genre-specific features.
  • Standard deviation of excitation activations increased from the middle to the final layers, indicating progressive refinement of discriminative features across depth.
  • The model demonstrated hierarchical processing: early layers handle general features (e.g., loudness), middle layers extract shared patterns, and deeper layers specialize in genre-specific distinctions.

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.