MS-SincResNet: Joint learning of 1D and 2D kernels using multi-scale SincNet and ResNet for music genre classification

Pei-Chun Chang, Yong-Sheng Chen, Chang-Hsing Lee
9/18/2021
cs.SDcs.AIeess.AS

Official code: PeiChunChang/MS-SincResNet (20 stars, Python, last commit 2025-11-17).

Abstract

In this study, we proposed a new end-to-end convolutional neural network, called MS-SincResNet, for music genre classification. MS-SincResNet appends 1D multi-scale SincNet (MS-SincNet) to 2D ResNet as the first convolutional layer in an attempt to jointly learn 1D kernels and 2D kernels during the training stage.

Show full abstract

First, an input music signal is divided into a number of fixed-duration (3 seconds in this study) music clips, and the raw waveform of each music clip is fed into 1D MS-SincNet filter learning module to obtain three-channel 2D representations. The learned representations carry rich timbral, harmonic, and percussive characteristics comparing with spectrograms, harmonic spectrograms, percussive spectrograms and Mel-spectrograms. ResNet is then used to extract discriminative embeddings from these 2D representations. The spatial pyramid pooling (SPP) module is further used to enhance the feature discriminability, in terms of both time and frequency aspects, to obtain the classification label of each music clip. Finally, the voting strategy is applied to summarize the classification results from all 3-second music clips. In our experimental results, we demonstrate that the proposed MS-SincResNet outperforms the baseline SincNet and many well-known hand-crafted features. Considering individual 2D representation, MS-SincResNet also yields competitive results with the state-of-the-art methods on the GTZAN dataset and the ISMIR2004 dataset. The code is available at https://github.com/PeiChunChang/MS-SincResNet

View on arXivView PDF

Code Implementations(1)

This paper has been accepted in ACM ICMR 2021.

206PythonFeb 22, 20211 years ago

Similar Papers

Cite this paper

@article{chang2021mssincresnet,
  title  = {MS-SincResNet: Joint learning of 1D and 2D kernels using multi-scale SincNet and ResNet for music genre classification},
  author = {Pei-Chun Chang and Yong-Sheng Chen and Chang-Hsing Lee},
  year   = {2021},
  eprint = {2109.08910},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.08910}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.08910.svg)](https://codeofpaper.com/paper/2109.08910)

Discussion