[Paper Review] Explaining Deep Convolutional Neural Networks on Music Classification
This paper proposes auralisation of deep convolutional neural networks (CNNs) for music classification by reconstructing audio from deconvolved spectrograms to interpret learned features. By listening to reconstructed signals and analyzing feature correlations, the study reveals that deeper layers learn robust, abstract textures rather than simple shapes, with features becoming increasingly invariant to key, chord, and instrument variations across layers.
Deep convolutional neural networks (CNNs) have been actively adopted in the field of music information retrieval, e.g. genre classification, mood detection, and chord recognition. However, the process of learning and prediction is little understood, particularly when it is applied to spectrograms. We introduce auralisation of a CNN to understand its underlying mechanism, which is based on a deconvolution procedure introduced in [2]. Auralisation of a CNN is converting the learned convolutional features that are obtained from deconvolution into audio signals. In the experiments and discussions, we explain trained features of a 5-layer CNN based on the deconvolved spectrograms and auralised signals. The pairwise correlations per layers with varying different musical attributes are also investigated to understand the evolution of the learnt features. It is shown that in the deep layers, the features are learnt to capture textures, the patterns of continuous distributions, rather than shapes of lines.
Motivation & Objective
- To understand how deep CNNs learn representations for music genre classification, particularly when applied to spectrograms.
- To address the lack of interpretability in CNNs for subjective music tasks like genre and mood classification.
- To extend deconvolution-based visualization by converting learned features back into audible signals for intuitive interpretation.
- To analyze the evolution of feature representations across network layers in response to musical attributes.
- To evaluate the robustness of learned features to variations in key, chord, and instrument.
Proposed method
- Applying deconvolution to reconstruct spectrograms from feature maps in each layer of a 5-layer CNN trained on music genre classification.
- Performing inverse STFT (short-time Fourier transform) on deconvolved spectrograms to reconstruct time-domain audio signals, enabling auralisation.
- Using model signals with controlled variations in instrument, chord type, and key to systematically probe feature responses.
- Computing pairwise correlation between feature activations across different musical attribute conditions to assess robustness.
- Visualizing and interpreting deconvolved spectrograms and auralised audio to assign musical meaning to learned filters.
- Analyzing feature evolution from low-level patterns (edges, lines) to high-level textures and harmonic-rhythmic structures across layers.
Experimental results
Research questions
- RQ1How do the features learned by a CNN in music classification tasks evolve across network layers?
- RQ2To what extent are the learned features robust to variations in musical key, chord type, and instrument?
- RQ3Can auralisation of deconvolved features provide more intuitive understanding than spectrogram visualization alone?
- RQ4What kind of musical structures do the filters in deeper layers respond to?
- RQ5Do high-level features in the final layer represent abstract, invariant patterns rather than specific shapes or frequencies?
Key findings
- In deeper layers, CNN filters learn to detect continuous textures and harmonic-rhythmic patterns rather than discrete shapes or edges.
- Feature responses become increasingly robust to key changes, with the highest correlation in Layer 5, indicating invariance to transposition.
- The network is most sensitive to instrument variations in early layers (Layer 1), but becomes more robust in deeper layers, with instrument robustness approaching that of chord variations in Layer 5.
- Chord-type variations have the strongest initial impact in Layer 1, but feature responses become more correlated across chord types in deeper layers, showing increasing invariance.
- Feature 5-56 specifically responds to overlapping strong percussive elements and harmonic patterns, suggesting it captures a distinct genre-relevant texture.
- The auralisation process enables direct auditory interpretation of filters, revealing that high-level features correspond to complex, abstract musical textures rather than simple spectral shapes.
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.