[Paper Review] Convolutional Neural Network Achieves Human-level Accuracy in Music Genre Classification
This paper proposes a convolutional neural network (CNN) that achieves human-level 70% accuracy in 10-genre music classification by processing 3-second mel-spectrogram segments, leveraging auditory system-inspired features. The method splits music into overlapping segments, applies a CNN with STRF-like filters, and aggregates predictions, outperforming prior methods and mimicking human perception mechanisms.
Music genre classification is one example of content-based analysis of music signals. Traditionally, human-engineered features were used to automatize this task and 61% accuracy has been achieved in the 10-genre classification. However, it's still below the 70% accuracy that humans could achieve in the same task. Here, we propose a new method that combines knowledge of human perception study in music genre classification and the neurophysiology of the auditory system. The method works by training a simple convolutional neural network (CNN) to classify a short segment of the music signal. Then, the genre of a music is determined by splitting it into short segments and then combining CNN's predictions from all short segments. After training, this method achieves human-level (70%) accuracy and the filters learned in the CNN resemble the spectrotemporal receptive field (STRF) in the auditory system.
Motivation & Objective
- To achieve human-level accuracy in music genre classification using deep learning.
- To bridge insights from human auditory perception and neurophysiology with deep learning models.
- To develop a scalable, efficient method for classifying music genres using raw audio without handcrafted features.
- To investigate whether CNN filters learn spectro-temporal receptive fields (STRFs) similar to those in the human auditory system.
- To improve classification beyond prior state-of-the-art methods that used engineered features or shorter segments.
Proposed method
- The method processes music signals by converting waveforms into mel-spectrograms using a 23ms Hanning window with 50% overlap.
- The mel-spectrograms are log-transformed to normalize dynamic range and better reflect human auditory perception.
- The model uses a 2D CNN with two convolutional layers (3×3 and 3×5 filters), max pooling (2×4), and ReLU activations to extract hierarchical features.
- The network employs fully connected layers with 32 and 10 neurons, softmax output, and L2 regularization and dropout to prevent overfitting.
- The model is trained using stochastic gradient descent on 3-second segments sampled from training tracks, with labels from the original music.
- Genre prediction for full tracks is made by averaging predicted probabilities across all overlapping 3-second segments.
Experimental results
Research questions
- RQ1Can a CNN trained on short audio segments achieve human-level performance in 10-genre music classification?
- RQ2Do the filters learned by the CNN resemble spectro-temporal receptive fields (STRFs) observed in the human auditory system?
- RQ3Is the representation learned by the CNN more linearly separable than raw mel-spectrograms for genre classification?
- RQ4Why do certain genres like country and rock show lower classification accuracy despite overall human-level performance?
- RQ5Can a divide-and-conquer approach using segment-wise processing overcome the high dimensionality of full music signals?
Key findings
- The proposed CNN achieves 70% accuracy on the 10-genre classification task, matching human performance in a 3-second forced-choice task.
- The model outperforms prior methods, including one that used PCA-whitened spectrograms and achieved 70% in a 5-genre task, by classifying 10 genres with higher accuracy.
- The filters learned by the CNN’s convolutional layers visually resemble STRFs from physiological studies, suggesting biological plausibility.
- After transformation by the CNN’s final hidden layer, testing data points become significantly more linearly separable than in the raw mel-spectrogram space, as shown by LDA projection.
- Country and rock genres show lower accuracy (below average), possibly due to reliance on long-term rhythmic or beat features not captured in 3-second segments.
- The method effectively reduces dimensionality while preserving perceptually relevant features through mel-spectrogram representation and segment-based processing.
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.