Abstract
Since the advent of deep learning, it has been used to solve various problems using many different architectures. The application of such deep architectures to auditory data is also not uncommon. However, these architectures do not always adequately consider the temporal dependencies in data. We thus propose a new generic architecture called the Deep Belief Network - Bidirectional Long Short-Term Memory (DBN-BLSTM) network that models sequences by keeping track of the temporal information while enabling deep representations in the data. We demonstrate this new architecture by applying it to the task of music generation and obtain state-of-the-art results.
Introduction
In machine learning, different architectures excel at different tasks. Deep Belief Networks (DBNs) are proficient at learning hierarchical representations, identifying high-level features from raw data. However, standard DBNs are inherently stateless, treating each time step as an isolated event. This makes them less effective for sequential data like music or speech. Conversely, Recurrent Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks are designed for sequences but often lack the representational depth of DBNs. This research addresses the gap by proposing a model that captures both complex instantaneous structures and long-term temporal dependencies.
Methods: The DBN-BLSTM Architecture
The proposed DBN-BLSTM architecture evolves from the earlier RNN-DBN model by integrating the hierarchical power of DBNs with the temporal memory of Bidirectional LSTMs.
- DBN Component: Comprised of stacked Restricted Boltzmann Machines (RBMs), this component models the joint probability distribution of data at each time step.
- BLSTM Component: A Bidirectional LSTM processes the sequence, utilizing both past and future context to inform the current state. Unlike standard LSTMs, the bidirectional nature allows for a more coherent global understanding of the sequence.
- Integration via Dynamic Biasing: The BLSTM outputs are used to dynamically calculate the biases for the DBN's visible and hidden layers at each time step. This allows the BLSTM to act as a temporal conductor, steering the DBN's internal state based on the sequence's progression.
Datasets and Evaluation
The model was evaluated on four MIDI-based polyphonic music datasets:
- JSB Chorales: Four-part chorales by J.S. Bach.
- MuseData: Classical music scores.
- Nottingham: British and American folk tunes.
- Piano-midi.de: Classical piano performances.
Input data consisted of 88 binary units representing the full piano range (A0 to C8).
Key Results
The DBN-BLSTM was evaluated using Log-Likelihood (LL), where higher (less negative) values indicate better data modeling. The results demonstrate that the DBN-BLSTM significantly outperforms previous architectures, including the RNN-DBN and standard RBMs, across all tested datasets.
The substantial performance gain suggests that combining bidirectional temporal context with deep hierarchical representations is highly effective for modeling complex sequences. The use of LSTMs over standard RNNs also helps mitigate issues with repetition, leading to more varied generative output.
Conclusion and Future Work
The DBN-BLSTM achieves state-of-the-art results in music generation by leveraging long-term memory and bidirectional context to influence a deep generative model. Future work includes extending the model to real-valued data using Gaussian units, incorporating modern techniques like ReLU and Dropout, and exploring qualitative measures of creativity in generative tasks.
Summary updated