[Paper Review] Automatic Instrument Recognition in Polyphonic Music Using Convolutional Neural Networks
This paper proposes an end-to-end convolutional neural network (CNN) that directly processes raw audio for automatic musical instrument recognition in polyphonic music, bypassing hand-crafted features. The model achieves 82.74% accuracy and outperforms traditional methods using MFCCs with logistic regression or random forests, demonstrating that deep learning can match or exceed traditional MIR approaches without domain-specific feature engineering.
Traditional methods to tackle many music information retrieval tasks typically follow a two-step architecture: feature engineering followed by a simple learning algorithm. In these "shallow" architectures, feature engineering and learning are typically disjoint and unrelated. Additionally, feature engineering is difficult, and typically depends on extensive domain expertise. In this paper, we present an application of convolutional neural networks for the task of automatic musical instrument identification. In this model, feature extraction and learning algorithms are trained together in an end-to-end fashion. We show that a convolutional neural network trained on raw audio can achieve performance surpassing traditional methods that rely on hand-crafted features.
Motivation & Objective
- To address the limitations of traditional music information retrieval (MIR) methods that rely on hand-crafted features requiring extensive domain expertise.
- To investigate whether end-to-end deep learning with raw audio input can achieve superior performance in musical instrument identification.
- To demonstrate that convolutional neural networks can learn effective audio representations directly from waveforms without intermediate feature engineering.
- To compare the performance of the proposed CNN model against standard MIR baselines using MFCCs and classical classifiers.
Proposed method
- The model uses a 3-layer temporal convolutional architecture with ReLU activation, max pooling, and dropout for regularization.
- Each convolutional layer applies learned filters to raw audio, extracting hierarchical features through stacked operations.
- The final layers consist of two fully connected layers with sigmoid output, producing 11 probability scores for instrument presence.
- The network is trained using binary cross-entropy loss to optimize multi-label classification of 11 instrument classes.
- Input audio is preprocessed with global contrast normalization to accelerate training.
- Labels are generated by computing the maximum of a 100ms moving average of instrument activation confidence, with a 0.5 threshold to define clip-level presence.
Experimental results
Research questions
- RQ1Can a convolutional neural network trained on raw audio outperform traditional MIR systems that rely on hand-crafted features like MFCCs for instrument recognition?
- RQ2Do end-to-end deep learning models learn meaningful auditory representations when trained directly on waveforms?
- RQ3How does the performance of a CNN trained on raw audio compare to classical models using MFCCs and standard classifiers like logistic regression or random forests?
- RQ4What kind of filters do the first convolutional layers learn, and do they resemble known auditory filter banks?
- RQ5Can the model generalize to instrument detection in polyphonic music without explicit feature engineering?
Key findings
- The CNN model achieved 82.74% accuracy on instrument recognition, outperforming the best baseline (MFCC + Random Forest) at 82.13%.
- The model achieved a micro-F1 score of 0.7208 and macro-F1 of 0.6433, indicating strong performance across all instrument classes.
- The first convolutional layer learned frequency-selective filters that resemble an auditory filter bank, suggesting the model learns perceptually relevant features.
- The model's exact match rate was 25.78%, significantly higher than the 17.53% achieved by the MFCC + Random Forest baseline.
- Visual analysis of learned filters showed translational patterns, indicating the network learns phase-invariant, perceptually meaningful representations.
- The results confirm that end-to-end training on raw audio can surpass traditional MIR pipelines that depend on domain-specific feature engineering.
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.