Skip to main content
QUICK REVIEW

[Paper Review] Music Generation with Deep Learning

Vasanth Kalingeri, Srikanth Grandhe|arXiv (Cornell University)|Dec 15, 2016
Music and Audio ProcessingComputer Science2 references7 citations
TL;DR

This paper proposes a deep learning approach for raw audio music generation using frequency-domain representations, leveraging LSTM architectures enhanced with fully connected and convolutional layers to improve audio quality. The bilinear LSTM model achieved the highest perceptual quality in blind tests, outperforming baseline models by learning coherent, pleasant-sounding music without relying on musical notation or structured MIDI data.

ABSTRACT

The use of deep learning to solve problems in literary arts has been a recent trend that has gained a lot of attention and automated generation of music has been an active area. This project deals with the generation of music using raw audio files in the frequency domain relying on various LSTM architectures. Fully connected and convolutional layers are used along with LSTM's to capture rich features in the frequency domain and increase the quality of music generated. The work is focused on unconstrained music generation and uses no information about musical structure(notes or chords) to aid learning.The music generated from various architectures are compared using blind fold tests. Using the raw audio to train models is the direction to tapping the enormous amount of mp3 files that exist over the internet without requiring the manual effort to make structured MIDI files. Moreover, not all audio files can be represented with MIDI files making the study of these models an interesting prospect to the future of such models.

Motivation & Objective

  • To generate high-quality, unconstrained music directly from raw audio waveforms without using musical notation or MIDI files.
  • To improve music generation quality by modeling audio in the frequency domain using deep LSTM architectures with additional fully connected and convolutional layers.
  • To evaluate model performance through blind listening tests, focusing on perceptual quality rather than structural accuracy to musical theory.
  • To identify architectural improvements—such as bilinear and multi-layer LSTM designs—that enhance long-range dependency learning and audio coherence.
  • To explore alternatives to mean squared error loss by suggesting future use of adversarial training for better human perception alignment.

Proposed method

  • Audio samples are converted from time-domain waveforms to 8000-dimensional frequency-domain vectors using the Fourier transform, with real and imaginary components concatenated.
  • Models are trained on 10-second segments of audio, using 40 timesteps of context to process 10 seconds of audio per forward pass.
  • The base model uses a single LSTM on frequency-domain inputs; enhanced models include fully connected layers, 1D and 2D convolutional layers, and a bilinear LSTM architecture with parallel LSTM units.
  • Training uses RMSProp optimizer with a learning rate of 0.0001 and mean squared error loss; L2 regularization and dropout (0.2 for FC, 0.5 for LSTM) are applied for regularization.
  • Generated audio is sampled at 1200, 1500, 1800, and 2100 epochs, with the best-performing model selected based on manual pruning and blind testing.
  • Blindfolded listening tests with 10 raters assess audio quality on a 1–5 scale, using 30 generated clips from different models for evaluation.

Experimental results

Research questions

  • RQ1Can deep learning models generate perceptually pleasant music directly from raw audio without relying on musical notation or MIDI data?
  • RQ2How do different architectural components—such as fully connected layers, 1D/2D convolutions, and bilinear LSTM structures—affect the quality and coherence of generated audio?
  • RQ3Does increasing model capacity through additional layers improve music generation performance when training data is limited?
  • RQ4Can frequency-domain modeling with LSTMs capture long-range dependencies necessary for coherent music generation, despite hardware constraints on cell size?
  • RQ5How does the choice of loss function (e.g., mean squared error) compare to future alternatives like adversarial loss in terms of perceptual audio quality?

Key findings

  • The bilinear LSTM model achieved the highest average rating of 3.6 out of 5 in blind listening tests, significantly outperforming the base model (2.4).
  • The 2D-convolutional LSTM model ranked second with an average rating of 3.4, indicating that spatial convolutions in the frequency domain improve feature learning.
  • All proposed models—including FC, 1D-conv, and stacked LSTM—outperformed the base model, with average ratings between 2.8 and 3.4, demonstrating the benefit of architectural enhancements.
  • The bilinear LSTM converged faster and achieved better performance than other models due to parallel learning paths that allowed more efficient feature extraction.
  • Despite using piano recordings for training, the models generated electronically synthesized, non-instrumental music, indicating generalization beyond source instrument characteristics.
  • Loss curves during training were similar across models and did not correlate with perceptual quality, indicating that loss alone is not a reliable proxy for audio quality.

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.