Skip to main navigation Skip to search Skip to main content

Combined angular margin and cosine margin softmax loss for music classification based on spectrograms

  • Jingxian Li*
  • , Lixin Han*
  • , Yang Wang
  • , Baohua Yuan
  • , Xiaofeng Yuan
  • , Yi Yang
  • , Hong Yan
  • *Corresponding author for this work

Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review

Abstract

Spectrograms provide rich feature information of music data. Significant progress has been made in music classification using spectrograms and Convolutional Neural Networks (CNNs). However, the softmax loss commonly used in existing CNNs lacks sufficient power to discriminate deep features of music. To overcome this limitation, we propose a Combined Angular Margin and Cosine Margin Softmax Loss (AMCM-Softmax) approach in this paper to enhance intra-class compactness and inter-class discrepancy simultaneously. Specifically, normalization on the weight vectors and feature vectors is adopted to eliminate radial variations. Then, an angular margin parameter and a cosine margin parameter are introduced to maximize the decision margin by enforcing angular and cosine margin constraints. Consequently, the discrimination of features is enhanced by normalization and margin maximization. The decision boundary and the target logit curve of AMCM-Softmax can provide a clear geometric interpretation. Extensive experiments on music datasets show that AMCM-Softmax consistently outperforms the current state-of-the-art approaches in classifying genre and emotion. Our work also shows that a margin loss function can lead to better performance and be used in an advanced CNN model for music classification.
Original languageEnglish
Pages (from-to)10337–10353
JournalNeural Computing and Applications
Volume34
Issue number13
Online published12 Feb 2022
DOIs
Publication statusPublished - Jul 2022

Research Keywords

  • AMCM-Softmax
  • Discrimination
  • Margin constraints
  • Music classification

Fingerprint

Dive into the research topics of 'Combined angular margin and cosine margin softmax loss for music classification based on spectrograms'. Together they form a unique fingerprint.

Cite this