Abstract
This paper introduces a new large-scale music dataset, MusicNet, to serve as a source of supervision and evaluation of machine learning methods for music research. MusicNet consists of hundreds of freely-licensed classical music recordings by 10 composers, written for 11 instruments, together with instrument/note annotations resulting in over 1 million temporal labels on 34 hours of chamber music performances under various studio and microphone conditions. The paper defines a multi-label classification task to predict notes in musical recordings, along with an evaluation protocol, and benchmarks several machine learning architectures for this task: i) learning from spectrogram features; ii) end-to-end learning with a neural net; iii) end-to-end learning with a convolutional neural net. These experiments show that end-to-end models trained for note prediction learn frequency selective filters as a low-level representation of audio.
Introduction
The "ImageNet revolution" in computer vision demonstrated that large-scale labeled datasets enable neural networks to learn hierarchical features directly from raw data, often outperforming hand-crafted descriptors. In contrast, Music Information Retrieval (MIR) has historically been limited by small datasets. For instance, the Bach10 dataset contains less than seven minutes of music, which is insufficient for training deep end-to-end models. This paper addresses this gap by introducing MusicNet, a large-scale, human-verified dataset for classical music, and investigating whether models can learn fundamental musical features like pitch and timbre from scratch.
Methodology
The core of this work is the MusicNet dataset, comprising 330 freely licensed classical recordings (34 hours) with over 1.2 million note labels. To generate these labels, the authors employed Dynamic Time Warping (DTW) to align symbolic MIDI scores with real-world audio performances. This alignment accounts for expressive timing variations inherent in human performance, mapping symbolic notes to specific timestamps in the recording.
The note prediction task is framed as a multi-label classification problem: given a raw audio segment, the model predicts which of the 128 MIDI notes are active at the center. Three architectures were benchmarked: a linear regression baseline on log-spectrograms, a two-layer Multi-Layer Perceptron (MLP) on raw audio, and a Convolutional Neural Network (CNN) on raw audio.
Results and Key Insights
The end-to-end models, particularly the CNN, significantly outperformed the spectrogram-based baseline. The CNN achieved an Average Precision of 67.8%, compared to 39.8% for the baseline.
A key finding is that models trained on raw audio "rediscover" the Fourier transform. The first-layer weights of the MLP naturally evolve into modulated sinusoids, effectively learning a frequency-selective representation tailored to the musical content. Unlike standard spectrograms with linearly spaced bins, these learned filters mirror the actual frequency distribution of the music.
Furthermore, the scale of MusicNet was found to be critical; these clean filters only emerge when training on the full dataset. On smaller subsets, the learned features remain noisy, highlighting why previous small-scale MIR research struggled with end-to-end learning.
Discussion and Future Work
While MusicNet is a significant advancement, it possesses biases, such as a heavy concentration on Beethoven and piano music due to score availability. Additionally, the alignment process has an estimated 4% error rate, particularly with complex musical ornaments like trills or rolled chords.
Future directions include expanding the dataset with commercial recordings using the established alignment protocol and exploring more complex architectures, such as Recurrent Neural Networks (RNNs), to better capture the temporal dependencies and long-term structure of music.
Summary updated