[Paper Review] Graph Representation learning for Audio & Music genre Classification.
This paper proposes GrahAM, a novel graph neural network (GNN) framework that combines Siamese networks with graph representation learning for audio and music genre classification. By modeling spectrograms as nodes and learning edge weights via Siamese similarity, GrahAM achieves state-of-the-art accuracy of 99.5% on GTZAN and 91.3% on the imbalanced AudioSet dataset, outperforming prior methods through enhanced feature representation and relational inductive bias.
Music genre is arguably one of the most important and discriminative information for music and audio content. Visual representation based approaches have been explored on spectrograms for music genre classification. However, lack of quality data and augmentation techniques makes it difficult to employ deep learning techniques successfully. We discuss the application of graph neural networks on such task due to their strong inductive bias, and show that combination of CNN and GNN is able to achieve state-of-the-art results on GTZAN, and AudioSet (Imbalanced Music) datasets. We also discuss the role of Siamese Neural Networks as an analogous to GNN for learning edge similarity weights. Furthermore, we also perform visual analysis to understand the field-of-view of our model into the spectrogram based on genre labels.
Motivation & Objective
- To address the challenge of limited and imbalanced audio data in music genre classification.
- To improve feature representation in spectrograms by capturing fine-grained similarities between audio segments.
- To leverage graph neural networks for modeling relational structures among audio samples beyond local spatial patterns.
- To develop a data-efficient method that maximizes representation capability without relying on image-based data augmentation.
Proposed method
- The method uses a Siamese neural network with shared weights to learn robust, discriminative embeddings from MEL spectrograms, enabling comparison of audio pairs.
- Edge weights in the graph are learned via a Siamese similarity function sij = Λ(φ(xi), φ(xj)), where φ is a feature extractor (XceptionNet) and Λ is a top conjoining layer.
- Graph convolutional layers process node and edge features using message passing: h_i^{(l+1)} = σ(∑_{j∈N(i)} W_l * h_j^{(l)} + b_l), with features concatenated from distance and dot product operations.
- The model uses a graph neural network (GNN) for node-level classification, treating each spectrogram segment as a node with learned embeddings.
- To ensure balanced training, the authors sample a fraction of positive and negative pairs from the full set of combinations to maintain a 1:1 ratio between similar and dissimilar pairs.
- Visual interpretability is enhanced using Grad-CAM to generate heatmaps that highlight frequency-time regions critical for genre prediction.
Experimental results
Research questions
- RQ1Can graph neural networks effectively model relational structures in audio spectrograms for improved genre classification?
- RQ2How does combining Siamese networks with GNNs enhance feature representation compared to standalone CNNs or traditional classifiers?
- RQ3To what extent can GNNs generalize to imbalanced and complex audio datasets like AudioSet, where genre boundaries are ambiguous?
- RQ4What regions of the spectrogram are most predictive for genre classification, and how do they align with human perception?
Key findings
- GrahAM achieves a state-of-the-art accuracy of 99.5% on the GTZAN dataset, significantly outperforming prior methods such as the broadcast mechanism (93.9%) and multi-DNN (93.4%).
- On the imbalanced AudioSet dataset, GrahAM achieves 91.3% accuracy when trained on 100 labeled samples per class, surpassing Random Forest (86.0%) and a 2-layer neural network (87.0%).
- t-SNE visualization shows that features learned by GrahAM form tighter, more separable clusters than those from the Siamese network alone, indicating improved representation learning.
- Grad-CAM heatmaps consistently highlight texture patterns in the frequency-time domain as critical for genre classification, rather than isolated frequency bands.
- The model maintains high performance even with small labeled splits (e.g., 30, 50, 100 samples per class), demonstrating strong data efficiency.
- The method avoids image-based data augmentation due to the semantic sensitivity of spectrogram pixels, preserving audio-specific information integrity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.