Skip to main content
QUICK REVIEW

[Paper Review] MIDI-Sandwich2: RNN-based Hierarchical Multi-modal Fusion Generation VAE networks for multi-track symbolic music generation

Xia Liang, Junmin Wu|arXiv (Cornell University)|Sep 8, 2019
Music and Audio ProcessingComputer Science20 references9 citations
TL;DR

This paper proposes MIDI-Sandwich2, a novel RNN-based hierarchical VAE framework for multi-track symbolic music generation that uses independent Binary VAEs (BVAEs) for track-specific modeling and a Multi-modal Fusion Generation VAE (MFG-VAE) for cross-track integration. By reformulating binarization as a multi-label classification task, it improves training stability and generation quality, achieving music generation quality close to state-of-the-art models like MuseGAN, with VAE-based reconstruction yielding even more expressive and harmonious results.

ABSTRACT

Currently, almost all the multi-track music generation models use the Convolutional Neural Network (CNN) to build the generative model, while the Recurrent Neural Network (RNN) based models can not be applied in this task. In view of the above problem, this paper proposes a RNN-based Hierarchical Multi-modal Fusion Generation Variational Autoencoder (VAE) network, MIDI-Sandwich2, for multi-track symbolic music generation. Inspired by VQ-VAE2, MIDI-Sandwich2 expands the dimension of the original hierarchical model by using multiple independent Binary Variational Autoencoder (BVAE) models without sharing weights to process the information of each track. Then, with multi-modal fusion technology, the upper layer named Multi-modal Fusion Generation VAE (MFG-VAE) combines the latent space vectors generated by the respective tracks, and uses the decoder to perform the ascending dimension reconstruction to simulate the inverse operation of multi-modal fusion, multi-modal generation, so as to realize the RNN-based multi-track symbolic music generation. For the multi-track format pianoroll, we also improve the output binarization method of MuseGAN, which solves the problem that the refinement step of the original scheme is difficult to differentiate and the gradient is hard to descent, making the generated song more expressive. The model is validated on the Lakh Pianoroll Dataset (LPD) multi-track dataset. Compared to the MuseGAN, MIDI-Sandwich2 can not only generate harmonious multi-track music, the generation quality is also close to the state of the art level. At the same time, by using the VAE to restore songs, the semi-generated songs reproduced by the MIDI-Sandwich2 are more beautiful than the pure autogeneration music generated by MuseGAN. Both the code and the audition audio samples are open source on https://github.com/LiangHsia/MIDI-S2.

Motivation & Objective

  • To address the lack of effective RNN-based models for multi-track symbolic music generation, which are currently dominated by CNN-based architectures.
  • To overcome the gradient vanishing and non-differentiable binarization issues in existing GAN-based multi-track models like BMuseGAN.
  • To enable hierarchical, multi-modal fusion of latent representations across multiple music tracks using a shared, low-dimensional latent space.
  • To improve generation quality and expressiveness by leveraging VAE-based reconstruction and semi-automatic adaptation of generated music.
  • To demonstrate that RNN-based models can achieve state-of-the-art performance in multi-track music generation when combined with hierarchical VAE and multi-modal fusion.

Proposed method

  • The model employs independent, non-shared BVAEs for each music track to learn track-specific representations using RNN-based VRAE architecture.
  • A Multi-modal Fusion Generation VAE (MFG-VAE) encoder fuses the latent vectors from individual BVAEs into a shared, low-dimensional latent space for cross-track modeling.
  • The MFG-VAE decoder performs inverse multi-modal fusion to reconstruct and generate multi-track pianoroll sequences from the fused latent code.
  • The binarization step is redefined as a multi-label classification problem instead of a differentiable hard threshold, improving gradient flow during training.
  • The hierarchical architecture enables joint modeling of local (track-level) and global (multi-track) musical structures through stacked VAE components.
  • The model is trained on the Lakh Pianoroll Dataset (LPD), with both direct generation and VAE-based reconstruction evaluated.

Experimental results

Research questions

  • RQ1Can RNN-based models effectively generate multi-track symbolic music when structured with a hierarchical VAE and multi-modal fusion?
  • RQ2Does reformulating the binarization step as a multi-label classification task improve training stability and generation quality in multi-track music generation?
  • RQ3How does the performance of an RNN-based model compare to CNN-based state-of-the-art models like MuseGAN in multi-track music generation?
  • RQ4To what extent can VAE-based reconstruction enhance the expressiveness and musical coherence of generated multi-track music?
  • RQ5Can independent BVAEs for each track, combined with a shared MFG-VAE, better capture instrument-specific performance styles than shared-weight models?

Key findings

  • MIDI-Sandwich2 achieves music generation quality comparable to MuseGAN, a state-of-the-art CNN-based GAN model, demonstrating that RNN-based models can match CNN performance in multi-track music generation.
  • The VAE-based reconstruction of generated music yields higher-quality, more harmonious, and expressive results than direct generation, with a user evaluation average score of 3.62 compared to MuseGAN’s 3.47.
  • The multi-label classification reformulation of binarization significantly improves training stability and gradient flow, solving the non-differentiability issue in BMuseGAN’s refinement step.
  • Independent BVAEs per track outperform shared BVAEs in capturing unique instrumental performance styles, as shown by improved visual and user evaluation results.
  • User evaluation confirms that MIDI-Sandwich2’s reconstructed music is rated highest in harmony (4.08), integrity (3.22), and overall quality (3.62), surpassing both direct generation and MuseGAN.
  • The model enables semi-automatic music adaptation, where generated music is subtly modified to be more musically coherent and expressive, a capability not found in GANs or standard RNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.