[Paper Review] Data Augmentation for Instrument Classification Robust to Audio Effects
This paper evaluates the robustness of a state-of-the-art deep learning model for instrument classification when applied to audio effects commonly used in electronic music production. It demonstrates that data augmentation with effects like heavy distortion and chorus improves classification accuracy on unprocessed data, but the model remains highly sensitive to effects such as reverb and saturation, indicating a need for more diverse augmentation strategies to enhance robustness.
Reusing recorded sounds (sampling) is a key component in Electronic Music Production (EMP), which has been present since its early days and is at the core of genres like hip-hop or jungle. Commercial and non-commercial services allow users to obtain collections of sounds (sample packs) to reuse in their compositions. Automatic classification of one-shot instrumental sounds allows automatically categorising the sounds contained in these collections, allowing easier navigation and better characterisation. Automatic instrument classification has mostly targeted the classification of unprocessed isolated instrumental sounds or detecting predominant instruments in mixed music tracks. For this classification to be useful in audio databases for EMP, it has to be robust to the audio effects applied to unprocessed sounds. In this paper we evaluate how a state of the art model trained with a large dataset of one-shot instrumental sounds performs when classifying instruments processed with audio effects. In order to evaluate the robustness of the model, we use data augmentation with audio effects and evaluate how each effect influences the classification accuracy.
Motivation & Objective
- To assess the robustness of a state-of-the-art instrument classification model when applied to one-shot instrumental sounds processed with common audio effects.
- To investigate whether data augmentation using audio effects improves model generalization and classification accuracy on both unprocessed and processed audio.
- To identify which audio effects most severely degrade classification performance and which augmentations yield the most benefit.
- To explore the limitations of current models in generalizing across timbral variations introduced by audio effects.
Proposed method
- The study uses the NSynth dataset, a large-scale collection of one-shot instrumental notes with diverse timbres and pitches.
- A convolutional neural network (CNN) model trained on log mel-spectrograms is used as the baseline state-of-the-art instrument classifier.
- The training set is augmented by applying 8 common audio effects—such as heavy distortion, reverb, chorus, flanger, echo, saturation, pitch shifting, and chorus—using different parameter settings.
- The model is fine-tuned on each augmented training set and evaluated on both unprocessed and effect-processed test sets.
- Performance is measured via classification accuracy, comparing models trained with and without augmentation across different effect types.
- The study analyzes discrepancies in performance between training and test sets with varying effect implementations to assess generalization.
Experimental results
Research questions
- RQ1How does the classification accuracy of a state-of-the-art instrument classifier degrade when applied to one-shot instrumental sounds processed with common audio effects?
- RQ2Which audio effects most significantly reduce classification accuracy, and which have minimal or even positive effects on performance?
- RQ3Can data augmentation with audio effects improve the model's accuracy on unprocessed test data?
- RQ4Does training with augmented data improve the model's robustness when classifying audio effects that were not seen during training?
Key findings
- The baseline model achieved 73.78% accuracy on unprocessed test data, which increased to 74.73% when trained with heavy distortion augmentation.
- The highest improvement from augmentation was observed for chorus (0.6436 accuracy) and heavy distortion (0.3518 on augmented test set), indicating some benefit from effect-based data augmentation.
- Classification accuracy dropped significantly on processed test sets, with the largest drops observed for reverb (-59.6%), saturation (-28.3%), and echo (-29.8%) compared to the unprocessed baseline.
- The model showed relatively higher robustness to flanger and pitch shifting, with accuracy drops below 4% on the test set when those effects were applied.
- Training with augmented data improved performance on the corresponding effect (e.g., heavy distortion) but did not generalize well to other effects, suggesting limited transferability.
- The study identifies that differences in audio effect implementations between training and test sets may hinder generalization, highlighting the need for more diverse augmentation strategies.
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.