Skip to main content
QUICK REVIEW

[Paper Review] A Deep Bag-of-Features Model for Music Auto-Tagging

Juhan Nam, Jorge Herrera|arXiv (Cornell University)|Aug 20, 2015
Music and Audio ProcessingComputer Science39 references11 citations
TL;DR

This paper proposes a two-stage deep bag-of-features (Deep-BoF) model for music auto-tagging that first learns local spectral patterns via unsupervised restricted Boltzmann machines (RBMs) and then stacks them into a hierarchical deep neural network (DNN) for end-to-end tag prediction. The model achieves state-of-the-art performance on the Magnatagatune dataset, outperforming prior methods across all metrics, including an AUC of 0.888 and P15 of 0.190.

ABSTRACT

Feature learning and deep learning have drawn great attention in recent years as a way of transforming input data into more effective representations using learning algorithms. Such interest has grown in the area of music information retrieval (MIR) as well, particularly in music audio classification tasks such as auto-tagging. In this paper, we present a two-stage learning model to effectively predict multiple labels from music audio. The first stage learns to project local spectral patterns of an audio track onto a high-dimensional sparse space in an unsupervised manner and summarizes the audio track as a bag-of-features. The second stage successively performs the unsupervised learning on the bag-of-features in a layer-by-layer manner to initialize a deep neural network and finally fine-tunes it with the tag labels. Through the experiment, we rigorously examine training choices and tuning parameters, and show that the model achieves high performance on Magnatagatune, a popularly used dataset in music auto-tagging.

Motivation & Objective

  • To address the limitations of hand-engineered audio features in music auto-tagging by learning data-driven representations.
  • To improve multi-label music tagging performance through hierarchical feature learning and deep neural network fine-tuning.
  • To reduce the computational burden of hyperparameter search by identifying optimal weight-cost settings across stacked RBMs.
  • To validate the effectiveness of the deep bag-of-features approach on a large-scale, real-world music tagging benchmark.

Proposed method

  • The model uses onset-based sampling to extract local spectral patches from audio tracks for unsupervised feature learning.
  • A stack of restricted Boltzmann machines (RBMs) learns a high-dimensional sparse representation of local audio features in an unsupervised manner.
  • The learned features are summarized via max-pooling and averaging to form a bag-of-features representation per audio track.
  • A deep neural network (DNN) is initialized using layer-wise RBM pretraining and then fine-tuned with tag labels for end-to-end classification.
  • Weight-cost hyperparameters are tuned to balance reconstruction error and sparsity, with a proposed heuristic setting to reduce training time.
  • The model is evaluated on the MIREX 2009 version of the Magnatagatune dataset using standard metrics including AUC, P3, P6, and P15.

Experimental results

Research questions

  • RQ1Can a two-stage deep learning model that combines unsupervised feature learning with supervised fine-tuning outperform existing methods in music auto-tagging?
  • RQ2How do different weight-cost settings in RBM pretraining affect the final performance of the deep neural network?
  • RQ3Does the proposed bag-of-features representation effectively summarize audio content for multi-label music tagging?
  • RQ4Can a structured weight-cost scheduling across stacked RBMs reduce training time without sacrificing performance?

Key findings

  • The proposed Deep-BoF model achieves an AUC of 0.888 and P15 of 0.190 on the Magnatagatune dataset, outperforming prior state-of-the-art methods.
  • The model surpasses Hamel et al.'s best-performing approach (Multi PMSCs) across all metrics, including AUC-T (0.888 vs. 0.870) and P15 (0.190 vs. 0.184).
  • A weight-cost setting of 0.001 for the first RBM layer and progressively increasing values for upper layers (
  • The proposed weight-cost heuristic (
  • The model demonstrates that unsupervised pretraining with RBMs effectively initializes deep networks for music auto-tagging, leading to superior generalization on downstream multi-label classification.

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.