Abstract
We investigate the problem of incorporating higher-level symbolic score-like information into Automatic Music Transcription (AMT) systems to improve their performance. We use recurrent neural networks (RNNs) and their variants as music language models (MLMs) and present a generative architecture for combining these models with predictions from a frame level acoustic classifier. We also compare different neural network architectures for acoustic modeling. The proposed model computes a distribution over possible output sequences given the acoustic input signal and we present an algorithm for performing a global search for good candidate transcriptions. The performance of the proposed model is evaluated on piano music from the MAPS dataset and we observe that the proposed model consistently outperforms existing transcription methods.
Introduction
Automatic Music Transcription (AMT) is the complex process of converting raw audio signals into symbolic musical scores, such as MIDI. Historically, AMT systems have focused primarily on acoustic modeling—identifying pitches directly from audio spectrograms. However, music, like speech, possesses deep structural and grammatical regularities.
This paper introduces a hybrid neural network architecture that integrates an acoustic classifier with a symbolic Music Language Model (MLM). By leveraging an RNN-NADE to model complex polyphonic structures and a novel acoustic-guided beam search for decoding, the system effectively smooths acoustic predictions and achieves state-of-the-art results in polyphonic piano transcription.
Methods
The authors adapt a generative architecture to combine two distinct components:
- Acoustic Model: The researchers evaluated Deep Neural Networks (DNNs), Recurrent Neural Networks (RNNs), and a hybrid DNN+RNN approach to predict pitch probabilities at the frame level from audio spectrograms.
- Language Model (MLM): An RNN-NADE (Neural Autoregressive Density Estimator) is employed. Unlike standard RNNs that assume output independence at a given time step, the NADE models the joint distribution of all notes, capturing the high correlation found in musical chords.
Inference via High-Dimensional Beam Search
To decode the final transcription, the system must navigate a massive output space. The authors propose a modified beam search algorithm that uses the acoustic model's top predictions to guide the search. This prevents the language model from "hallucinating" incorrect paths and ensures the transcription remains grounded in the actual audio signal.
Experimental Setup
The system was evaluated using the MAPS (MIDI Aligned Piano Sounds) dataset, containing 270 piano pieces with ground-truth MIDI. The dataset includes both software-synthesized tracks and real piano recordings. The evaluation used a standard split of 200 tracks for training, 20 for validation, and 50 for testing.
Key Results
The hybrid architecture consistently outperformed baseline methods, including raw acoustic predictions, simple thresholding, and traditional HMM post-processing.
- Superior Performance: The best setup utilized a DNN+RNN acoustic model combined with the hybrid architecture, achieving a Frame F-measure of 69.62% and a Note F-measure of 64.69%.
- Search Efficiency: The proposed beam search yielded a 3% absolute increase in frame-based F-measure and a 6% increase in note-onset F-measure compared to a simple greedy search.
- Temporal Smoothing: RNN-based acoustic models naturally perform temporal smoothing, making them significantly more accurate at predicting note onsets than raw DNNs.
Discussion and Future Work
While the hybrid model sets a new benchmark, it faces a significant computational cost. The high-dimensional beam search currently takes approximately 20 hours to decode 30 seconds of audio on a CPU, making it unsuitable for real-time use. Additionally, the system still struggles with precisely modeling note durations, leading to occasional false alarms.
Future research will focus on optimizing the beam search for real-time applications, refining the individual acoustic and language components, and expanding the model's capabilities to handle multi-instrumental ensembles beyond solo piano.
Summary updated