Skip to main content
QUICK REVIEW

[Paper Review] Semi-Supervised Music Tagging Transformer

Minz Won, Keunwoo Choi|arXiv (Cornell University)|Nov 26, 2021
Music and Audio ProcessingComputer Science13 citations
TL;DR

This paper proposes the Music Tagging Transformer, a self-attention-based model that outperforms previous CNN-based music tagging models by effectively capturing both local and global audio features. Through semi-supervised training using noisy student distillation on the full Million Song Dataset, it achieves state-of-the-art performance by leveraging both labeled and unlabeled data, significantly improving generalization and robustness on long audio sequences.

ABSTRACT

We present Music Tagging Transformer that is trained with a semi-supervised approach. The proposed model captures local acoustic characteristics in shallow convolutional layers, then temporally summarizes the sequence of the extracted features using stacked self-attention layers. Through a careful model assessment, we first show that the proposed architecture outperforms the previous state-of-the-art music tagging models that are based on convolutional neural networks under a supervised scheme. The Music Tagging Transformer is further improved by noisy student training, a semi-supervised approach that leverages both labeled and unlabeled data combined with data augmentation. To our best knowledge, this is the first attempt to utilize the entire audio of the million song dataset.

Motivation & Objective

  • To develop a deep learning model that captures both local and global acoustic patterns in music for improved tagging performance.
  • To address the limitation of small labeled datasets in music tagging by leveraging semi-supervised learning with unlabeled data from the Million Song Dataset.
  • To design a model architecture that effectively handles long audio sequences, overcoming the limitations of chunk-based prediction in prior CNN-based models.
  • To provide a new, improved data split of the Million Song Dataset to resolve known issues in prior splits.
  • To demonstrate the effectiveness of noisy student training with data augmentation for music tagging using a large-scale, real-world dataset.

Proposed method

  • The model uses shallow convolutional layers to extract local acoustic features from mel-spectrogram inputs.
  • It employs stacked multi-head self-attention layers to temporally summarize the feature sequence and model long-range dependencies.
  • The architecture is trained under a supervised scheme first, then further improved via noisy student training—a semi-supervised method combining knowledge distillation and data augmentation.
  • Data augmentation is applied during student training to improve robustness and generalization.
  • The model is evaluated on the Million Song Dataset using standard metrics: ROC-AUC and PR-AUC.
  • A new data split is introduced to address known data leakage and imbalance issues in previous MSD splits.

Experimental results

Research questions

  • RQ1Can a transformer-based architecture outperform existing CNN-based music tagging models in a supervised setting?
  • RQ2To what extent can semi-supervised learning with unlabeled data improve music tagging performance on the Million Song Dataset?
  • RQ3How does the Music Tagging Transformer handle long audio sequences compared to chunk-based CNN models?
  • RQ4Does knowledge distillation with data augmentation (noisy student training) lead to consistent performance gains in music tagging?
  • RQ5Can a unified model architecture effectively learn both local and global audio representations for music tagging?

Key findings

  • The Music Tagging Transformer achieves a ROC-AUC of 0.9199 and PR-AUC of 0.3814 on the full 3-minute audio input, outperforming previous state-of-the-art CNN-based models.
  • The model shows consistent performance across varying input lengths, with optimal performance at 256×4 attention configuration (width×depth), indicating strong long-sequence modeling capability.
  • Noisy student training with data augmentation leads to consistent performance gains across both the Music Tagging Transformer and short-chunk ResNet, demonstrating the value of unlabeled data.
  • The student model with smaller parameters (DA + KD) outperformed larger models (DA + KE), suggesting that model capacity may be suboptimal when training data is limited.
  • The model achieves its best performance when using the full 3-minute audio input, with minimal degradation compared to shorter inputs, unlike chunk-based models that suffer from performance drops on longer sequences.
  • The proposed data split resolves known data leakage and imbalance issues in prior MSD splits, enabling more reliable and reproducible evaluation.

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.