An End-to-End Neural Network for Polyphonic Piano Music Transcription

2015·Arxiv

Abstract

Abstract

We present a supervised neural network model for polyphonic piano music transcription. The architecture of the proposed model is analogous to speech recognition systems and comprises an acoustic model and a music language model. The acoustic model is a neural network used for estimating the probabilities of pitches in a frame of audio. The language model is a recurrent neural network that models the correlations between pitch combinations over time. The proposed model is general and can be used to transcribe polyphonic music without imposing any constraints on the polyphony. The acoustic and language model predictions are combined using a probabilistic graphical model. Inference over the output variables is performed using the beam search algorithm. We perform two sets of experiments. We investigate various neural network architectures for the acoustic models and also investigate the effect of combining acoustic and music language model predictions using the proposed architecture. We compare performance of the neural network based acoustic models with two popular unsupervised acoustic models. Results show that convolutional neural network acoustic models yields the best performance across all evaluation metrics. We also observe improved performance with the application of the music language models. Finally, we present an efficient variant of beam search that improves performance and reduces runtimes by an order of magnitude, making the model suitable for real-time applications.

Index Terms—Automatic Music Transcription, Deep Learning, Recurrent Neural Networks, Music Language Models.

I. INTRODUCTION

AUTOMATIC Music Transcription (AMT) is a fundamen-tal problem in Music Information Retrieval (MIR). AMT aims to generate a symbolic, score-like transcription, given a polyphonic acoustic signal. Music transcription is considered to be a difficult problem even by human experts and current music transcription systems fail to match human performance [1]. Polyphonic AMT is a difficult problem because concurrently sounding notes from one or more instruments cause a complex interaction and overlap of harmonics in the acoustic signal. Variability in the input signal also depends on the specific type of instrument being used. Additionally, AMT systems with unconstrained polyphony have a combinatorially very large output space, which further complicates the modeling problem. Typically, variability in the input signal is captured by models that aim to learn the timbral properties

The authors are with the Centre for Digital Music, School of Electronic Engineering and Computer Science, Queen Mary University of London, E1 4NS, London, U.K.

EB is supported by a Royal Academy of Engineering Research Fellowship (grant no. RF/128).

of the instrument being transcribed [2], [3], while the issues relating to a large output space are dealt with by constraining the models to have a maximum polyphony [4], [5].

The majority of current AMT systems are based on the principle of describing the input magnitude spectrogram as a weighted combination of basis spectra corresponding to pitches. The basis spectra can be estimated by various techniques such as non-negative matrix factorisation (NMF) and sparse decomposition. Unsupervised NMF approaches [6], [7] aim to learn a dictionary of pitch spectra from the training examples. However purely unsupervised approaches can often lead to bases that do not correspond to musical pitches, therefore causing issues with interpreting the results at test time. These issues with unsupervised spectrogram factorisation methods are addressed by incorporating harmonic constraints in the training algorithm [8], [9]. Spectrogram factorisation based techniques were extended with the introduction of probabilistic latent component analysis (PLCA) [10]. PLCA aims to fit a latent variable probabilistic model to normalised spectrograms. PLCA based models are easy to train with the expectation-maximisation (EM) algorithm and have been extended and applied extensively to AMT problems [11], [3].

As an alternative to spectrogram factorisation techniques, there has been considerable interest in discriminative approaches to AMT. Discriminative approaches aim to directly classify features extracted from frames of audio to the output pitches. This approach has the advantage that instead of constructing instrument specific generative models, complex classifiers can be trained using large amounts of training data to capture the variability in the inputs. When using discriminative approaches, the performance of the classifiers is dependent on the features extracted from the signal. Recently, neural networks have been applied to raw data or low level representations to jointly learn the features and classifiers for a task [12]. Over the years there have been many experiments that evaluate discriminative approaches for AMT. Poliner and Ellis [13] use support vector machines (SVMs) to classify normalised magnitude spectra. Nam et. al. [14] superimpose an SVM on top of a deep belief network (DBN) in order to learn the features for an AMT task. Similarly, a bi-directional recurrent neural network (RNN) is applied to magnitude spectrograms for polyphonic transcription in [15].

In large vocabulary speech recognition systems, the information contained in the acoustic signal alone is often not sufficient to resolve ambiguities between possible outputs. A language model is used to provide a prior probability of the current word given the previous words in a sentence. Statistical language models are essential for large vocabulary speech recognition [16]. Similarly to speech, musical sequences exhibit temporal structure. In addition to an accurate acoustic model, a model that captures the temporal structure of music or a music language model (MLM), can potentially help improve the performance of AMT systems. Unlike speech, language models are not common in most AMT models due to the challenging problem of modelling the combinatorially large output space of polyphonic music. Typically, the outputs of the acoustic models are processed by pitch specific, two-state hidden Markov models (HMMs) that enforce smoothing and duration constraints on the output pitches [3], [13]. However, extending this to modelling the high-dimensional outputs of a polyphonic AMT system has proved to be challenging, although there are some studies that explore this idea. A dynamic Bayesian network is used in [17], to estimate prior probabilities of note combinations in an NMF based transcription framework. Similarly in [18], a recurrent neural network (RNN) based MLM is used to estimate prior probabilities of note sequences, alongside a PLCA acoustic model. A sequence transduction framework is proposed in [19], where the acoustic and language models are combined in a single RNN.

The ideas presented in this paper are extensions of the preliminary experiments in [20]. We propose an end-to-end architecture for jointly training both the acoustic and the language models for an AMT task. We evaluate the performance of the proposed model on a dataset of polyphonic piano music. We train neural network acoustic models to identify the pitches in a frame of audio. The discriminative classifiers can in theory be trained on complex mixtures of instrument sources, without having to account for each instrument separately. The neural network classifiers can be directly applied to the time-frequency representation, eliminating the need for a separate feature extraction stage. In addition to the deep feed-forward neural network (DNN) and RNN architectures in [20], we explore using convolutional neural nets (ConvNets) as acoustic models. ConvNets were initially proposed as classifiers for object recognition in computer vision, but have found increasing application in speech recognition [21], [22]. Although ConvNets have been applied to some problems in MIR [23], [24], they remain unexplored for transcription tasks. We also include comparisons with two state-of-the-art spectrogram factorisation based acoustic models [3], [8] that are popular in AMT literature. As mentioned before, the high dimensional outputs of the acoustic model pose a challenging problem for language modelling. We propose using RNNs as an alternative to state space models like factorial HMMs [25] and dynamic Bayesian networks [17], for modeling the temporal structure of notes in music. RNN based language models were first used alongside a PLCA acoustic model in [18]. However, in that setup, the language model is used to iteratively refine the predictions in a feedback loop resulting in a non-causal and theoretically unsatisfactory model. In the hybrid framework, approximate inference over the output variables is performed using beam search. However beam search can be computationally expensive when used to decode long temporal sequences. We apply the efficient hashed beam search algorithm proposed in [26] for inference. The new inference algorithm reduces decoding time by an order of magnitude and makes the proposed model suitable for real-time applications. Our results show that convolutional neural network acoustic models outperform the remaining acoustic models over a number of evaluation metrics. We also observe improved performance with the application of the music language models.

The rest of the paper is organised as follows: Section II describes the neural network models used in the experiment, Section III discusses the proposed model and the inference algorithm, Section IV details model evaluation and experimental results. Discussion, future work and conclusions are presented in Section V.

II. BACKGROUND

In this section we describe the neural network models used for the acoustic and language modelling. Although neural networks are an old concept, they have recently been applied to a wide range of machine learning problems with great success [12]. One of the primary reasons for their recent success has been the availability of large datasets and largescale computing infrastructure [27], which makes it feasible to train networks with millions of parameters. The parameters of any neural network architecture are typically estimated with numerical optimisation techniques. Once a suitable cost function has been defined, the derivatives of the cost with respect to the model parameters are found using the backpropagation algorithm [28] and parameters are updated using stochastic gradient descent (SGD) [29]. SGD has the useful property that the model parameters are iteratively updated using small batches of data. This allows the training algorithm to scale to very large datasets. The layered, hierarchical structure of neural nets makes end-to-end training possible, which implies that the network can be trained to predict outputs from lowlevel inputs without extracting features. This is in contrast to many other machine learning models whose performance is dependent on the features extracted from the data. Their ability to jointly learn feature transformations and classifiers makes neural networks particularly well suited to problems in MIR [30].

A. Acoustic Models

1) Deep Neural Networks: DNNs are powerful machine learning models that can be used for classification and regression tasks. DNNs are characterised by having one or more layers of non-linear transformations. Formally, one layer of a DNN performs the following transformation:

In Equation 1, are the weight matrix and bias for layer and f is some non-linear function that is applied element-wise. For the first layer, , where x is the input. In all our experiments, we fix f to be the sigmoid function (). The output of the final layer is transformed according to the given problem to yield a posterior probability distribution over the output variables . The parameters ,

Fig. 1. Neural network architectures for acoustic modelling.

are numerically estimated with the backpropagation algorithm and SGD. Figure 1a shows a graphical representation of the DNN architecture, the dashed arrows represent intermediate hidden layers. For acoustic modelling, the input to the DNN is a frame of features, for example a magnitude spectrogram or the constant Q transform (CQT) and the DNN is trained to predict the probability of pitches present in the frame at some time t.

2) Recurrent Neural Networks: DNNs are good classi-fiers for stationary data, like images. However, they are not designed to account for sequential data. RNNs are natural extensions of DNNs, designed to handle sequential or temporal data. This makes them more suited for AMT tasks, since consecutive frames of audio exhibit both short-term and long-term temporal patterns [31]. RNNs are characterised by recursive connections between the hidden layer activations at some time t and the hidden layer activations at , as shown in Figure 1b. Formally, the hidden layer of an RNN at time t performs the following computation:

In Equation 2, is the weight matrix from the input to the hidden units, is the weight matrix for the recurrent connection and are the biases for layer l. From Equation 2, we can see that the recursive update of the hidden state at time t, implies that is implicitly a function of all the inputs till time . Similar to DNNs, RNNs are made up of one or more layers of hidden units. The outputs of the final layer are transformed with a suitable function to yield the desired distribution over the ouputs. The RNN parameters are calculated using the back propagation through time algorithm (BPTT) [32] and SGD. For acoustic modelling, the RNN acts on a sequence of input features to yield a probability distribution over the outputs , where .

3) Convolutional Networks: ConvNets are neural nets with a unique structure. Convolutional layers are specifically designed to preserve the spatial structure of the inputs. In a

convolutional layer, a set of weights act on a local region of the input. These weights are then repeatedly applied to the entire input to produce a feature map. Convolutional layers are characterised by the sharing of weights across the entire input. As shown in Figure 1c, ConvNets are comprised of alternating convolutional and pooling layers, followed by one or more fully connected layers (same as DNNs). Formally, the repeated application of the shared weights to the input signal constitutes a convolution operation:

The input x is a vector of inputs from different channels, for example RGB channels for images. Formally, x = , where each input represents an input channel. Each input band has an associated weight matrix. All the weights of a convolutional layer are collectively represented as a four dimensional tensor. Given an region from a feature map h, the max pooling function returns the maximum activation in the region. At any time t, the input to the ConvNet is a window of 2k + 1 feature frames . The outputs of the final layer yield the posterior distribution distribution .

There are several motivations for using ConvNets for acoustic modelling. There are many experiments in MIR that suggest that rather than classifying a single frame of input, better prediction accuracies can be achieved by incorporating information over several frames of inputs [26], [33], [34]. Typically, this is achieved either by applying a context window around the input frame or by aggregating information over time by calculating statistical moments over a window of frames. Applying a context window around a frame of low level spectral features, like the short time fourier transform (STFT) would lead to a very high dimensional input, which is impractical. Secondly, taking mean, standard deviation or other statistical moments makes very simplistic assumptions about the distribution of data over time in neighbouring frames. ConvNets, due to their architecture [12], can be directly applied to several frames of inputs to learn features along both, the time and the frequency axes. Additionally, when using an input representation like the CQT, ConvNets can learn pitch-invariant features, since inter-harmonic spacings in music signals are constant across log-frequency. Finally, the weight sharing and pooling architecture leads to a reduction in the number of ConvNet parameters, compared to a fully connected DNN. This is a useful property given that very large quantities of labelled data are difficult to obtain for most MIR problems, including AMT.

B. Music Language Models

Given a sequence , we use the MLM to define a prior probability distribution is a high-dimensional binary vector that represents the notes being played at t (one time-step of a piano-roll representation). The high dimensional nature of the output space makes modelling a challenging problem. Most post-processing algorithms make the simplifying assumption that all the pitches are independent and model their temporal evolution with independent models [13]. However, for polyphonic music, the pitches that are active concurrently are highly correlated (harmonies, chords). In this section, we describe the RNN music language models first introduced in [35].

1) Generative RNN: The RNNs defined in the earlier sections were used to map a sequence of inputs x to a sequence of outputs y. At each time-step t, the RNN outputs the conditional distribution . However RNNs can be used to define a distribution over some sequence y by connecting the outputs of the RNN at to the inputs of the RNN at t, resulting in a distribution of the form:

Although an RNN predicts conditioned on the high dimensional inputs , the individual pitch outputs are independent, where i is the pitch index (Section IV-C). As mentioned earlier, this is not true for polyphonic music. Boulanger-Lewandowski et. al. [35] demonstrate that rather than predicting independent distributions, the parameters of a more complicated parametric output distribution can be conditioned on the RNN hidden state. In our experiments, we use the RNN to output the biases of a neural autoregressive distribution estimator (NADE) [35].

2) Neural Autogressive Distribution Estimator: The NADE is a distribution estimator for high dimensional binary data [36]. The NADE was initially proposed as a tractable alternative to the restricted Boltzmann machine (RBM). The NADE estimates the joint distribution over high dimensional binary variables as follows:

The NADE is similar to a fully visible sigmoid belief network [37], since the conditional probability of is a non-linear function of . The NADE computes the conditional distribu- tions according to:

where W, V are weight matrices, is a submatrix of W that denotes the first columns and are the hidden and visible biases, respectively. The gradients of the likelihood function P(x) with respect to the model parameters can be found exactly, which is not possible with RBMs [36]. This property allows the NADE to be readily combined with other models and the models can be jointly trained with gradient based optimisers.

3) RNN-NADE: In order to learn high dimensional, temporal distributions for the MLM, we combine the NADE and an RNN, as proposed in [35]. The resulting model yields a sequence of NADEs conditioned on an RNN, that describe a distribution over sequences of polyphonic music. The joint model is obtained by letting the parameters of the NADE at each time step be a function of the RNN hidden state is the hidden state of final layer of the RNN (Equation 2) at time t. In order to limit the number of free parameters in the model, we only allow the NADE biases to be functions of the RNN hidden state, while the remaining parameters (W, V ) are held constant over time. We compute the NADE biases as a linear transformation of the RNN hidden state plus an added bias term [35]:

and are weight matrices from the RNN hidden state to the visible and hidden biases, respectively. The gradients with respect to all the model parameters can be easily computed using the chain rule and the joint model is trained using the BPTT algorithm [35].

III. PROPOSED MODEL

In this section we review the proposed neural network model for polyphonic AMT. As mentioned earlier, the model comprises an acoustic model and a music language model. In addition to the acoustic models in [20], we propose the use of ConvNets for identifying pitches present in the input audio signal and compare their performance to various other acoustic models (Section IV-F). The acoustic and language models are combined under a single training objective using a hybrid RNN architecture, yielding an end-to-end model for AMT with unconstrained polyphony. We first describe the hybrid RNN model, followed by a description of the proposed inference algorithm.

A. Hybrid RNN

The hybrid RNN is a graphical model that combines the predictions of any arbitrary frame level acoustic model, with an RNN-based language model. Let be a sequence of inputs and let be the corresponding transcriptions. The joint probability of y, x can be factorised as follows:

Fig. 2. Graphical Model of the Hybrid Architecture

The factorisation in Equation 9 makes the following independence assumptions:

These independence assumptions are similar to the assumptions made in HMMs [38]. Figure 2 is a graphical representation of the hybrid model. In equation 9, is the emission probability of an input, given output . Using Bayes’s rule, the conditional distribution can be written as follows:

where the marginals and priors are assumed to be fixed w.r.t. the model parameters.

With this reformulation of the joint distribution, we observe that the conditional distribution P(y|x) is directly proportional to the product of two distributions. The prior distribution is obtained using a generative RNN (Section II-B1) and the posterior distribution over note-combinations can be modelled using any frame based classifier. The hybrid RNN graphical model is similar to an HMM, where the state transition probabilities for the HMM have been generalised to include connections from all previous outputs, resulting in the terms in Equation 12.

For the problem of automatic music transcription, the input time-frequency representation forms the input sequence x, while the output piano-roll sequence y denotes the transcriptions. The priors are obtained from the RNNNADE MLM, while the posterior distributions are obtained from the acoustic models. The models can then be trained by finding the derivatives of the acoustic and language model objectives with respect to the model parameters and training using gradient descent. The independent training of the acoustic and language models is a useful property since datasets available for music transcription are considerably smaller in size as compared to datasets in computer vision and speech. However large corpora of MIDI music are relatively easy to find on the internet. Therefore in theory, the MLMs can be trained on large corpora of MIDI music, analogous to language model training in speech.

B. Inference

At test time, we would like to find the mode of the conditional output distribution:

From Equation 12, we observe that the priors , tie the predictions of the acoustic model to all the predictions made till time t. This prior term encourages coherence between predictions over time and allows musicological structure learnt by the language models to influence successive predictions. However, this more general structure leads to a more complex inference (or decoding) procedure at test time. This is due to the fact that at time t, the history has not been optimally determined. Therefore, the optimum choice of depends on all the past model predictions. Proceeding greedily in a chronological manner by selecting that optimises does not necessarily yield good solutions. We are interested in solutions that globally optimise p(y|x). But exhaustively searching for the best sequence is intractable since the number of possible configurations of is exponential in the number of output pitches (for n pitches).

Beam search is a graph search algorithm that is commonly used to decode the conditional outputs of an RNN [39], [19], [26]. Beam search scales to arbitrarily long sequences and the computational cost versus accuracy trade-off can be controlled via the width of the beam. The inference algorithm is comprised of the following steps: at any time t, the algorithm maintains at most w partial solutions, where w is the beam width or the beam capacity. The solutions in the beam at t correspond to sub-sequences of length t. Next, all possible descendants of the w partial solutions in the beam are enumerated and then sorted in decreasing order of log-likelihood. From these candidate solutions, the top w solutions are retained as beam entries for further search. Beam search can be readily applied to problems where the number of candidate solutions at each step is limited, like speech recognition [40] and audio chord estimation [26]. However, using beam search for decoding sequences with a large output space is prohibitively inefficient.

When the space of candidate solutions is large, the algorithm can be constrained to consider only K new candidates for each partial solution in the beam, where K is known as the branching factor. The procedure for selecting the K candidates can be designed according to the given problem. For the hybrid architecture, from Equation 12 we note:

At time t, the partial solutions in the beam correspond to configurations of . Therefore given , the K configurations that maximise would be a suitable choice of candidates for . However for many families of distributions, it might not be possible to enumerate in decreasing order of likelihood. In [19], the authors propose forming a pool of K candidates by drawing random samples from the conditional output distributions. However, random sampling can be inefficient and obtaining independent samples can be very expensive for many types of distributions. As an alternative, we propose to sample solutions from the posterior distribution of the acoustic model [20]. There are 2 main motivations for doing this. Firstly, the outputs of the acoustic model are independent class probabilities. Therefore, it is easy to enumerate samples in decreasing order of log-likelihood [19]. Secondly, we avoid the accumulation of errors in the RNN predictions over time [41]. The RNN models are trained to predict , given the true outputs . However at test time, outputs sampled from the RNN are fed back as inputs at the next time step. This discrepancy between the training and test objectives can cause prediction errors to accumulate over time.

Although generating candidates from the acoustic model yields good results, it requires the use of large beam widths. This makes the inference procedure computationally slow and unsuitable for real-time applications [20]. In this study, we propose using the hashed beam search algorithm proposed in [26]. Beam search is fundamentally limited when decoding long temporal sequences. This is due to the fact that solutions that differ at only a few time-steps, can saturate the beam. This causes the algorithm to search a very limited space of possible solutions. This issue can be solved by efficient pruning. The hashed beam search algorithm improves efficiency by pruning solutions that are similar to solutions with a higher likelihood. The metric that determines the similarity of sequences can be chosen in a problem dependent manner and is encoded in the form of a locality sensitive hash function [26]. In Algorithm 1, we outline the beam search algorithm algorithm used for our experiments, while Algorithm 2 describes the hash table beam object. In Algorithms 1 and 2, s is a sequence is log-likelihood of are acoustic and language model objects and is the hash function.

There are two key differences between Algorithm 1 and the algorithm in [20]. First, the priority queue that stores the beam is replaced by a hash table beam object (see Algorithm 2). Secondly, for each entry in the beam we evaluate K candidate solutions. This is in contrast to the algorithm in [20], where once the beam is full, only w candidate solutions are evaluated per iteration. It might appear that the hashed beam search algorithm might be more expensive, since it evaluates candidates instead of w candidates. However, by efficiently pruning similar solutions, the algorithm yields better results for much smaller values of w, resulting in a significant increase in efficiency (Section IV-F, Figure 3).

Algorithm 2 describes the hash table beam object. The hashed beam search algorithm offers several advantages compared to the standard beam search algorithm. The notion of similarity of solutions can be encoded in the form of hash functions. For music transcription, we choose the similarity function to be the last n frames in a sequence s. n = 1 corresponds to a dynamic programming like decoding (similar to HMMs) where all sequences with the same final state are considered to be equivalent, and the sequence with the highest log-likelihood is retained. n = len(sequence) corresponds to regular beam search. Additionally, the hash beam search algorithm can maintain solution per hash key through a process called chaining [42].

IV. EVALUATION

In this section we describe how the performance of the proposed model is evaluated for a polyphonic transcription task.

A. Dataset

We evaluate the proposed model on the MAPS dataset [43]. The dataset consists of audio and corresponding annotations for isolated sounds, chords and complete pieces of piano music. For our experiments, we use only the full musical pieces for training and testing the neural network acoustic models and MLMs. The dataset consists of 270 pieces of classical music and MIDI annotations. There are 9 categories of recordings corresponding to different piano types and recording conditions, with 30 recordings per category. 7 categories of audio are produced by software piano synthesisers, while 2 sets of recordings are obtained from a Yamaha Disklavier upright piano. Therefore the dataset consists of 210 synthesised recordings and 60 real recordings.

We perform 2 sets of investigations in this paper. The first set of experiments investigate the effect of the RNN MLMs on the predictions of the acoustic models. For this task, we divide the entire dataset set into 4 disjoint train/test splits, as to ensure that the folds are music piece-independent. Specifically, for some of the musical pieces in the dataset, audio for each piece is rendered using more than one piano. Therefore while creating the splits, we ensure that the training and test data do not contain any overlapping pieces1. For each split, we select 80% of the data for training (216 musical pieces) and the remaining for testing (54 pieces). From each training split, we hold out 26 tracks as a validation set for selecting the hyperparameters for the training algorithm (Section IV-D). All the reported results are mean values of the evaluation metrics over the 4 splits. From now on, this evaluation configuration will be named as Configuration 1.

Although the above experimental setup is useful for investigating the effectiveness of the RNN MLMs, the training set contains examples from piano models which are used for testing. This is usually not true in practice, where the instrument models/sources at test time are unknown and usually do not coincide with the instruments used for training. A majority of experiments with the MAPS dataset train and test model on disjoint instrument types [3], [2], [44]. We thus perform a second set of experiments to compare performance of the different neural network acoustic models in a more realistic setting. We train the acoustic models using the 210 tracks created using synthesized pianos (180 tracks for training and 30 tracks for validation) and we test the acoustic models on the 60 audio recordings obtained from Yamaha Disklavier piano recordings (models ‘ENSTDkAm’ and ‘ENSTDkCl’ in the MAPS database). In this experiment, we do not apply the language models since the train and test sets contain overlapping musical pieces. In addition to the neural network acoustic models, we include comparisons with two state-of-the-art unsupervised acoustic models [3], [8] for both experiments. This instrument source-independent evaluation configuration will be named from now on as Configuration 2.

B. Metrics

We use both frame and note based metrics to assess the performance of the proposed system [45]. Frame-based evaluations are made by comparing the transcribed binary output and the MIDI ground truth frame-by-frame. For note-based evaluation, the system returns a list of notes, along with the corresponding pitches, onset and offset time. We use the Fmeasure, precision, recall and accuracy for both frame and note based evaluation. Formally, the frame-based metrics are defined as:

where TP[t] is the number of true positives for the event at t, FP is the number of false positives and FN is the number of false negatives. The summation over T is carried out over the entire test data. Similarly, analogous note-based metrics can be defined [45]. A note event is assumed to be correct if its predicted pitch onset is within a range of the ground truth onset.

C. Preprocessing

We transform the input audio to a time-frequency representation which is then input to the acoustic models. In [20], we used the magnitude short-time Fourier transform (STFT) as input to the acoustic models. However, here we experiment with the constant Q transform (CQT) as the input representation. There are two motivations for this. Firstly, the CQT is fundamentally better suited as a time-frequency representation for music signals, since the frequency axis is linear in pitch [46]. Another advantage of using the CQT is that the resulting representation is much lower dimensional than the STFT. Having a lower dimensional representation is useful when using neural network acoustic models as it reduces the number of parameters in the model.

We downsample the audio to 16 kHz from 44.1 kHz. We then compute CQTs over 7 octaves with 36 bins per octave and a hop size of 512 samples, resulting in a 252 dimensional input vector of real values, with a frame rate of 31.25 frames per second. Additionally, we compute the mean and standard deviation of each dimension over the training set and transform the data by subtracting the mean and diving by the standard deviation. These pre-processed vectors are used as inputs to the acoustic model. For the language model training, we sample the MIDI ground truth transcriptions of the training data at the same rate as the audio (32 ms). We obtain sequences of 88 dimensional binary vectors for training the RNN-NADE language models. The 88 outputs correspond to notes A0-C8 on a piano.

The test audio is sampled at a frame rate of 100 Hz yielding frames per test file. For 54 test files over 4 splits, we obtain a total of 648, 000 frames at test time2.

D. Network Training

In this section we describe the details of the training procedure for the various acoustic model architectures and the RNN-NADE language model. All the acoustic models have 88 units in the output layer, corresponding to the 88 output pitches. The outputs of the final layer are transformed by a sigmoid function and yield independent pitch probabilities . All the models are trained by maximising the log-likelihood over all the examples in the training set.

1) DNN Acoustic Models: For DNN training, we constrain all the hidden layers of the model to have the same number of units to simplify searching for good model architectures. We perform a grid search over the following parameters: number of layers , number of hidden units , hidden unit activations where ReLU is the rectified linear unit activation function [48]. We found Dropout [49] to be essential for improving generalisation performance. A Dropout rate of 0.3 was used for the input layer and all the hidden layers of the network. Rather than using learning rate and momentum update schedules, we use ADADELTA [50] to adapt the learning over iterations. In addition to Dropout, we use early stopping to minimise overfitting. Training was stopped if the cost over the validation set did not decrease for 20 epochs. We used mini batches of size 100 for the SGD updates.

2) RNN Acoustic Models: For RNN training, we constrain all the hidden layers to have the same number of units. We perform a grid search over the following parameters: . We fix the hidden activations of the recurrent layers to be the hyperbolic tangent function. We found that ADADELTA was not particularly well suited for training RNNs. We use an initial learning rate of 0.001 and linearly decrease it to 0 over 1000 iterations. We use a constant momentum rate of 0.9. The training sequences are further divided into sub-sequences of length 100. The SGD updates are made one sub-sequence at a time, without any mini batching. Similar to the DNNs, we use early stopping and stop training if validation cost does not decrease after 20 iterations. In order to prevent gradient explosion in the early stages of training, we use gradient clipping [51]. We clipped the gradients, when the norm of the gradient was greater than 5.

3) ConvNet Acoustic Models: The input to the ConvNet is a context window of frames and the target is the central frame in the window [26]. The frames at the beginning and end of the audio are zero padded so that a context window can be applied to each frame. Although pooling can be performed along both axes, we only perform pooling over the frequency axis. We performed a grid search over the following parameters: window size number of convolutional layers , number of filters per layer , number of fully connected layers , number of hidden units in fully connected layers . The convolution activation functions were fixed to be the hyperbolic tangent functions, while all the fully connected layer activations were set to the sigmoid function. The pooling size is fixed to be P = (1, 3) for all convolutional layers. Dropout with rate 0.5 is applied to all convolutional layers. We tried a large permutation of window shapes for the convolutional layer and the following subset of window shapes yielded good results: . We observed that classification performance deteriorated sharply for longer filters along the frequency axis. 0.5 Dropout was applied to all the fully connected layers. The model parameters were trained with SGD and a batch size of 256. An initial learning rate of 0.01 was linearly decreased to 0 over 1000 iterations. A constant momentum rate 0.9 was used for all the updates. We stopped training if the validation error did not decrease after 20 iterations over the entire training set.

4) RNN-NADE Language Models: The RNN-NADE models were trained with SGD and with sequences of length 100. We performed a grid search over the following parameters: number of recurrent units {50, 100, 150, 200, 250, 300} and number of hidden units for the NADE . The model was trained with an initial learning rate of 0.001 which was linearly reduced to 0 over 1000 iterations. A constant momentum rate of 0.9 was applied throughout training.

We selected the model architectures by performing a grid search over the parameter values described earlier in the section. The various models were evaluated on one train/test split and the best performing architecture was then used for all other experiments.

E. Comparative Approaches

For comparative purposes, two state-of-the-art polyphonic music transcription methods were used for experiments [3], [8]. In both cases, the non-binary pitch activation output of the aforementioned methods was extracted, for performing an in-depth comparison with the proposed neural network models. The multi-pitch detection method of [8] is based on non-negative matrix factorization (NMF) and operates by decomposing an input time-frequency representation as a series of basis spectra (representing pitches) and component activations (indicating pitch activity across time). This method models each basis spectrum as a weighted sum of narrowband spectra representing a few adjacent harmonic partials, enforcing harmonicity and spectral smoothness. As input time-frequency representation, an Equivalent Rectangular Bandwidth (ERB) filterbank is used. Since the method relies on a dictionary of (hand-crafted) narrowband harmonic spectra, system parameters remain the same for the two evaluation configurations.

The multiple-instrument transcription method of [3] is based on shift-invariant PLCA (a convolutive and probabilistic coun-

TABLE I F-MEASURES FOR MULTIPLE PITCH DETECTION ON THE MAPS DATASET, USING EVALUATION CONFIGURATION 1.

TABLE II PRECISION, RECALL AND ACCURACY FOR MULTIPLE PITCH DETECTION ON THE MAPS DATASET USING THE HYBRID ARCHITECTURE (USING EVALUATION CONFIGURATION 1.

TABLE III F-MEASURES FOR ACOUSTIC MODELS TRAINED ON SYNTHESISED PIANOS AND TESTED ON REAL RECORDINGS (EVALUATION CONFIGURATION 2).

terpart of NMF). In this model, the input time-frequency representation is decomposed into a series of basis spectra per pitch and instrument source which are shifted across log-frequency, thus supporting tuning changes and frequency modulations. Outputs include the pitch activation distribution and the instrument source contribution per pitch. Contrary to the parametric model of [8], the basis spectra are pre-extracted from isolated musical instrument sounds. As in the proposed method, the input time-frequency representation of [3] is the CQT. For the investigations with MLMs (configuration 1), the PLCA models are trained on isolated sound examples from all 9 piano models from the MAPS database (in order for the experiments to be comparable with the proposed method). For the second set of experiments which investigate the generalisation capabilities of the models (configuration 2), the PLCA acoustic model is trained on isolated sounds from the sysnthesised pianos and tested on recordings created using the Yamaha Disklavier piano.

F. Results

In this section we present results from the experiments on the MAPS dataset. As mentioned before, all results are the mean values of various metrics computed over the 4 different train/test splits. The acoustic models yield a sequence of probabilities for the individual pitches being active (posteriograms). The post-processing methods are used to transform the posteriograms to a binary piano-roll representation. The

TABLE IV MODEL CONFIGURATIONS FOR THE BEST PERFORMING ARCHITECTURES.

various performance metrics (both frame and note based) are then computed by comparing the outputs of the systems to the ground truth.

We consider 3 kinds of post-processing methods. The simplest post-processing method is to apply a threshold to the output pitch probabilities obtained from the acoustic model. We select the threshold that maximises the F-measure over the entire training set and use this threshold for testing. Pitches with probabilities greater than the threshold are set to 1, while the remaining pitches are set to 0. The second post-processing method considered uses individual pitch HMMs for post-processing similar to [13]. The HMM parameters (transition probabilities, pitch marginals) are obtained by counting the frequency of each event over the MIDI ground truth data. The binary pitch outputs are obtained using Viterbi decoding [38], where the scaled likelihoods are used as emission probabilities. Finally, we combine the acoustic model predictions with the RNN-NADE MLMs and obtain binary transcriptions using

Fig. 3. Effect of beam width (w) on F-measure using evaluation Configura-tion 1.

beam search.

In Table I, we present F-scores (both frame and note based) for all the acoustic models and the 3 post-processing methods using Configuration 1. From the table, we note that all the neural network models outperform the PLCA and NMF models in terms of frame-based F-measure by . The DNN and RNN acoustic model performance is similar, while the ConvNet acoustic model clearly outperforms all the other models. The ConvNets yield an absolute improvement of over the other neural network models, while outperforming the spectrogram factorisation models by in frame-wise F-measure. For the note-based F-measure, the RNN and ConvNet models perform better than the DNN acoustic model. This is largely due to the fact that these models include context information in their inputs, which implicitly smooths the output predictions.

We compare the different post-processing methods for Con-figuration 1 by observing the rows of Table I. We note that the MLM leads to improved performance on both frame-based and note-based F-measure for all the acoustic models. The performance increase is larger on the note-based F-measure. The relative improvement in performance is maximum for the DNN acoustic model, compared to the RNN and the ConvNet. This could be due to the fact that the independence assumption in Equation 11 is violated by the RNN and ConvNet, which include context information while making predictions. This leads to some factors being counted twice and we observe a smaller performance improvement in this case. From Rows 1 and 2 of Table I we observe that the RNN-NADE MLM yields a performance increase for the PLCA and NMF acoustic models, though the relative improvement is less as compared to the neural network acoustic models. This might be due to the fact that unlike the neural network models, these models are not trained to maximise the conditional probability of output pitches given the acoustic inputs. Another contributing factor is the fact that the PLCA and NMF posteriograms represent the energy distribution over pitches rather than explicit pitch probabilities, which results in many activations being greater than 1. This discrepancy in the scale of the acoustic and language predictions leads to an unequal weighting of predictions when used in the hybrid RNN framework. In Table I we observe that the acoustic model in [8] outperforms all other acoustic models on the note-based F-measure, while the frame based F-measure is significantly lower. This can be attributed to the use of an ERB filterbank input representation, which offers improved temporal resolution over the CQT for lower frequencies.

In Table II, we present additional metrics (precision, recall and accuracy) for the all the acoustic models after decoding with an RNN-MLM, using Configuration 1. We observe that that the NMF and PLCA models have low frame-based precision and high recall and the converse for the note-based precision. For the neural network models, we observe smaller differences between the both frame-based and note-based precision and recall values. Amongst all the neural network models, we observe that the ConvNet outperforms all the other models on all the metrics.

In Table III, we present F-measures for experiments where the acoustic models are trained on synthesised data and tested on real data (Configuration 2). From the table we note that frame based F-measure for the DNN and RNN models is similar to the PLCA model and the model in [8]. We note that the ConvNet outperforms all other models on the frame-based F-measure by . On the note based evaluations, we observe that both RNN and DNN are outperformed by all the other models. The ConvNet performance is similar to the PLCA model, while the acoustic model from [8] again has best performance on the note based metrics.

We now discuss details of the inference algorithm. The high dimensional hashed beam search algorithm has the following parameters: the beam width w, the branching factor K, number of entries per hash table entry k and the similarity metric (Algorithm 2). We observed that a value of produced good results. Larger values of K do not yield a significant performance increase and result in much longer run times, therefore we set K = 4 for all experiments. We observed that small values of k (number of solutions per hash table entry), produced good results. Decoding accuracies deteriorate sharply for large values of k, as observed in [26]. Therefore, we set the number of entries per hash key k = 2 for all experiments. We let the similarity metric be the last n emitted symbols, . We experimented with varying the values of n and observed that we were able to achieve good performance for small n, . We did not observe any performance improvement for large n, therefore for all experiments we fix . Figure 3 is a plot showing the effect of beam width w on transcription performance. The results are average values of decoding accuracies over 4 splits. We compare performance of the hashed beam search with the high dimensional beam search in [20]. From Figure 3 we observe that the hashed beam search algorithm is able to achieve performance improvement with significantly smaller beam-widths. For instance, the high dimensional beam search algorithm takes 20 hours to decode the entire test set with w = 100, while the hashed beam search takes 22 minutes, with w = 10 and achieves better decoding

Fig. 4. a) Pitch-activation (posteriogram) matrix for the first 30 seconds of track MAPS MUS-chpn op27 2 AkPnStgb produced by a ConvNet acoustic model. b) Binary piano-roll transcription obtained from posteriogram in a) after post processing with RNN MLM and beam search. c) Corresponding ground truth piano roll representation.

accuracy.

Figure 4 is a graphical representation of the outputs of a ConvNet acoustic model. We observe that some of the longer notes are fragmented and the offsets are estimated incorrectly. One reason for this is that the ground truth offsets don’t necessarily correspond to the offset in the acoustic signal (due to effects of the sustain pedal), implying noisy offsets in the ground truth. We also observe that the model does not make many harmonic errors in its predictions.

V. CONCLUSIONS AND FUTURE WORK

In this paper, we present a hybrid RNN model for poly- phonic AMT of piano music. The model comprises a neural network acoustic model and an RNN based music language model. We propose using a ConvNet for acoustic modelling, which to the best of the authors’ knowledge, has not been attempted before for AMT. Our experiments on the MAPS dataset demonstrate that the neural network acoustic models, especially the ConvNet, outperform 2 popular acoustic models from the AMT literature. We also observe that the RNN MLMs consistently improve performance on all evaluation metrics. The proposed inference algorithm with the hash beam search is able to yield good decoding accuracies with significantly shorter run times, making the model suitable for real-time applications.

We now discuss some of the limitations of the proposed model. As discussed earlier, one of the main contributing factors to the success of deep neural networks has been the availability of very large datasets. However datasets available for AMT research are considerably smaller than datasets available in speech, computer vision and natural language processing (NLP). Therefore the applicability of deep neural networks for acoustic modelling is limited to datasets with large amounts of labelled data, which is not common in AMT (at least in non-piano music). Although the neural network acoustic models perform competitively, their performance could be further improved in many ways. Noise or deformations can be added to training examples to encourage the classifiers to be invariant to commonly encountered input transformations. Additionally, the CQT input representation can be replaced by a representation with higher temporal resolution (like the ERB or a variable-Q transform), to improve performance on note based metrics.

The abundance of musical score data and recent progress in NLP tasks with neural networks provide strong motivation for further investigations into MLMs for AMT. Although our results demonstrate some improvement in transcription performance with MLMs, there are several limitations and open questions that remain. The MLMs are trained on binary vectors sampled from the MIDI ground truth. Depending on the sampling rate, most note events are repeated many times in this representation. The MLMs are trained to predict the next frame of notes, given an input sequence of binary note combinations. In cases where the same notes are repeated many times, log-likelihood can be trivially maximised by repeating previous inputs. This causes the MLM to perform a smoothing operation, rather than imposing any kind of musical structure on the outputs. A potential solution would be to perform beat-aligned language modelling for the training and the test data, rather than sampling the MIDI at some arbitrary sampling rate. Additionally, RNNs can be extended to include duration models for each of their pitch outputs, similar to second order HMMs. However, this is a challenging problem and currently remains unexplored. It would also be interesting to encourage RNNs to learn longer temporal note patterns by interfacing RNN controllers with external memory units [52] and also to incorporate a notion of timing or metre in the input representation for the MLMs.

The effect of tonality on the performance of the MLMs should be further investigated. The MLMs should ideally be invariant to transpositions of a musical piece to different pitches. The MIDI ground truth can be easily transposed to any tonality. MLMs can be trained on inputs with transposed tonalities or individual MLMs for each key can be trained. Additionally, the fully connected input layer of the RNN MLM can be substitued with a convolutive layer, with convolutions along the pitch axis to encourage the network to be invariant to pitch transpositions.

Another limitation of the proposed hybrid model is that the conditional probability in Equation 11 is derived by assuming that the predictions at time t are only a function of the input at t and independent of all other inputs and outputs. The violation of this assumption leads to certain factors being counted twice and therefore reduces the impact of the MLMs. The results clearly demonstrate that improvements with the MLM are maximum when the acoustic model is frame-based. The improvements are comparatively lower when combined with predictions from an RNN or ConvNet acoustic model. This is problematic since the ConvNet acoustic models yield the best performance.

REFERENCES

[1] A. Klapuri and M. Davy, Signal processing methods for music transcription. Springer Science & Business Media, 2007.

[2] T. Berg-Kirkpatrick, J. Andreas, and D. Klein, “Unsupervised transcrip- tion of piano music,” in Advances in Neural Information Processing Systems (NIPS), 2014, pp. 1538–1546.

[3] E. Benetos and S. Dixon, “A shift-invariant latent variable model for automatic music transcription,” Computer Music Journal, vol. 36, no. 4, pp. 81–94, 2012.

[4] A. P. Klapuri, “Multiple fundamental frequency estimation based on harmonicity and spectral smoothness,” IEEE Transactions on Speech and Audio Processing, vol. 11, no. 6, pp. 804–816, 2003.

[5] V. Emiya, R. Badeau, and B. David, “Automatic transcription of piano music based on hmm tracking of jointly-estimated pitches,” in 16th European on Signal Processing Conference. IEEE, 2008, pp. 1–5.

[6] P. Smaragdis and J. C. Brown, “Non-negative matrix factorization for polyphonic music transcription,” in 2003 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics. IEEE, 2003, pp. 177–180.

[7] S. A. Abdallah and M. D. Plumbley, “Polyphonic music transcription by non-negative sparse coding of power spectra,” in Proceedings of the 5th International Society for Music Information Retrieval Conference (ISMIR), 2004, pp. 318–325.

[8] E. Vincent, N. Bertin, and R. Badeau, “Adaptive harmonic spectral decomposition for multiple pitch estimation,” IEEE Transactions on Audio, Speech, and Language Processing., vol. 18, no. 3, pp. 528–537, 2010.

[9] N. Bertin, R. Badeau, and E. Vincent, “Enforcing harmonicity and smoothness in Bayesian non-negative matrix factorization applied to polyphonic music transcription,” IEEE Transactions on Audio, Speech, and Language Processing., vol. 18, no. 3, pp. 538–549, 2010.

[10] P. Smaragdis, B. Raj, and M. Shashanka, “A probabilistic latent vari- able model for acoustic modeling.” Advances in models for acoustic processing, NIPS, vol. 148, 2006.

[11] G. C. Grindlay and D. P. Ellis, “A probabilistic subspace model for multi-instrument polyphonic transcription,” in Proceedings of the 11th International Society for Music Information Retrieval Conference (ISMIR). International Society for Music Information Retrieval, 2010, pp. 21–26.

[12] Y. LeCun, Y. Bengio, and G. Hinton, “Deep learning,” Nature, vol. 521, no. 7553, pp. 436–444, 2015.

[13] G. E. Poliner and D. P. Ellis, “A discriminative model for polyphonic piano transcription,” EURASIP Journal on Applied Signal Processing, vol. 2007, no. 1, pp. 154–154, 2007.

[14] J. Nam, J. Ngiam, H. Lee, and M. Slaney, “A classification-based polyphonic piano transcription approach using learned feature representations.” in Proceedings of the 12th International Society for Music Information Retrieval Conference (ISMIR), 2011, pp. 175–180.

[15] S. B¨ock and M. Schedl, “Polyphonic piano note transcription with recur- rent neural networks,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2012, pp. 121–124.

[16] L. Rabiner and B.-H. Juang, “Fundamentals of speech recognition,” 1993.

[17] S. Raczynski, E. Vincent, and S. Sagayama, “Dynamic Bayesian net- works for symbolic polyphonic pitch modeling,” IEEE Transactions on Audio, Speech, and Language Processing, vol. 21, no. 9, pp. 1830–1840, 2013.

[18] S. Sigtia, E. Benetos, S. Cherla, T. Weyde, A. S. d. Garcez, and S. Dixon, “An RNN-based music language model for improving automatic music transcription,” in Proceedings of the 15th International Society for Music Information Retrieval Conference (ISMIR), 2014.

[19] N. Boulanger-Lewandowski, Y. Bengio, and P. Vincent, “Highdimensional sequence transduction,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2013, pp. 3178–3182.

[20] S. Sigtia, E. Benetos, N. Boulanger-Lewandowski, T. Weyde, A. S. d’Avila Garcez, and S. Dixon, “A Hybrid Recurrent Neural Network for Music Transcription,” in IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Brisbane, Australia, April 2015, pp. 2061–2065.

[21] O. Abdel-Hamid, A.-r. Mohamed, H. Jiang, and G. Penn, “Applying convolutional neural networks concepts to hybrid NN-HMM model for speech recognition,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2012, pp. 4277–4280.

[22] O. Abdel-Hamid, L. Deng, and D. Yu, “Exploring convolutional neural network structures and optimization techniques for speech recognition.” in INTERSPEECH, 2013, pp. 3366–3370.

[23] J. Schl¨uter and S. B¨ock, “Improved musical onset detection with convolutional neural networks,” in IEEE International Conference on Acoustics, Speech and Signal Processing. IEEE, 2014, pp. 6979–6983.

[24] E. J. Humphrey and J. P. Bello, “Rethinking automatic chord recog- nition with convolutional neural networks,” in Machine Learning and Applications (ICMLA), 2012 11th International Conference on, vol. 2. IEEE, 2012, pp. 357–362.

[25] E. Vincent and X. Rodet, “Music transcription with ISA and HMM,” in Independent Component Analysis and Blind Signal Separation. Springer, 2004, pp. 1197–1204.

[26] S. Sigtia, N. Boulanger-Lewandowski, and S. Dixon, “Audio chord recognition with a hybrid neural network,” in Proceedings of the 16th International Society for Music Information Retrieval Conference (ISMIR), 2015.

[27] J. Dean, G. Corrado, R. Monga, K. Chen, M. Devin, M. Mao, A. Senior, P. Tucker, K. Yang, and Q. V. Le, “Large scale distributed deep networks,” in Advances in Neural Information Processing Systems (NIPS), 2012, pp. 1223–1231.

[28] D. E. Rumelhart, G. E. Hinton, and R. J. Williams, “Learning represen- tations by back-propagating errors,” Cognitive Modeling, vol. 5, p. 3, 1988.

[29] Y. A. LeCun, L. Bottou, G. B. Orr, and K.-R. M¨uller, “Efficient backprop,” in Neural networks: Tricks of the Trade. Springer, 2012, pp. 9–48.

[30] E. J. Humphrey, J. P. Bello, and Y. LeCun, “Feature learning and deep architectures: new directions for music informatics,” Journal of Intelligent Information Systems, vol. 41, no. 3, pp. 461–481, 2013.

[31] D. Eck and J. Schmidhuber, “Finding temporal structure in music: Blues improvisation with lstm recurrent networks,” in Neural Networks for Signal Processing, 2002. Proceedings of the 2002 12th IEEE Workshop on. IEEE, 2002, pp. 747–756.

[32] P. J. Werbos, “Backpropagation through time: what it does and how to do it,” Proceedings of the IEEE, vol. 78, no. 10, pp. 1550–1560, 1990.

[33] N. Boulanger-Lewandowski, Y. Bengio, and P. Vincent, “Audio chord recognition with recurrent neural networks.” in Proceedings of the 13th International Society for Music Information Retrieval Conference (ISMIR), 2013, pp. 335–340.

[34] J. Bergstra, N. Casagrande, D. Erhan, D. Eck, and B. K´egl, “Aggre- gate features and adaboost for music classification,” Machine learning, vol. 65, no. 2-3, pp. 473–484, 2006.

[35] N. Boulanger-Lewandowski, Y. Bengio, and P. Vincent, “Modeling temporal dependencies in high-dimensional sequences: Application to polyphonic music generation and transcription,” in Proceedings of the 29th International Conference on Machine Learning (ICML), 2012, pp. 1159–1166.

[36] H. Larochelle and I. Murray, “The neural autoregressive distribution estimator,” in International Conference on Artificial Intelligence and Statistics, 2011, pp. 29–37.

[37] R. M. Neal, “Connectionist learning of belief networks,” Artificial Intelligence, vol. 56, no. 1, pp. 71–113, 1992.

[38] L. R. Rabiner, “A tutorial on hidden Markov models and selected applications in speech recognition,” Proceedings of the IEEE, vol. 77, no. 2, pp. 257–286, 1989.

[39] A. Graves, “Sequence transduction with recurrent neural networks,” in Representation Learning Workshop, ICML, 2012.

[40] N. Boulanger-Lewandowski, J. Droppo, M. Seltzer, and D. Yu, “Phone sequence modeling with recurrent neural networks,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2014, pp. 5417–5421.

[41] S. Bengio, O. Vinyals, N. Jaitly, and N. Shazeer, “Scheduled sampling for sequence prediction with recurrent neural networks,” in Advances in Neural Information Processing Systems, 2015, pp. 1171–1179.

[42] T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, Introduction to algorithms. MIT press Cambridge, 2001, vol. 2.

[43] V. Emiya, R. Badeau, and B. David, “Multipitch estimation of piano sounds using a new probabilistic spectral smoothness principle,” IEEE Transactions on Audio, Speech, and Language Processing, vol. 18, no. 6, pp. 1643–1654, 2010.

[44] K. O’Hanlon and M. D. Plumbley, “Polyphonic piano transcription using non-negative matrix factorisation with group sparsity,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2014, pp. 3112–3116.

[45] M. Bay, A. F. Ehmann, and J. S. Downie, “Evaluation of multiple-F0 estimation and tracking systems.” in Proceedings of the 9th International Society for Music Information Retrieval Conference (ISMIR), 2009, pp. 315–320.

[46] J. C. Brown, “Calculation of a constant q spectral transform,” The Journal of the Acoustical Society of America, vol. 89, no. 1, pp. 425– 434, 1991.

[47] E. Benetos, “Automatic transcription of polyphonic music exploiting temporal evolution,” Ph.D. dissertation, Queen Mary University of London, Dec. 2012.

[48] X. Glorot, A. Bordes, and Y. Bengio, “Deep sparse rectifier neural networks,” in International Conference on Artificial Intelligence and Statistics, 2011, pp. 315–323.

[49] N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhut- dinov, “Dropout: A simple way to prevent neural networks from over-fitting,” The Journal of Machine Learning Research, vol. 15, no. 1, pp. 1929–1958, 2014.

[50] M. D. Zeiler, “Adadelta: An adaptive learning rate method,” arXiv preprint arXiv:1212.5701, 2012.

[51] Y. Bengio, N. Boulanger-Lewandowski, and R. Pascanu, “Advances in optimizing recurrent networks,” in IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2013, pp. 8624–8628.

[52] E. Grefenstette, K. M. Hermann, M. Suleyman, and P. Blunsom, “Learning to transduce with unbounded memory,” arXiv preprint arXiv:1506.02516, 2015.

designed for accessibility and to further open science