Skip to main content
QUICK REVIEW

[Paper Review] C-RNN-GAN: Continuous recurrent neural networks with adversarial training

Olof Mogren|arXiv (Cornell University)|Nov 29, 2016
Generative Adversarial Networks and Image SynthesisComputer Science9 references381 citations
TL;DR

This paper introduces C-RNN-GAN, a generative adversarial network for continuous sequential data, applied to MIDI-classical music, using continuous tone representations and RNNs to model the joint distribution of sequences.

ABSTRACT

Generative adversarial networks have been proposed as a way of efficiently training deep generative neural networks. We propose a generative adversarial model that works on continuous sequential data, and apply it by training it on a collection of classical music. We conclude that it generates music that sounds better and better as the model is trained, report statistics on generated music, and let the reader judge the quality by downloading the generated songs.

Motivation & Objective

  • Motivate and evaluate adversarial training for sequential models that operate on continuous data rather than discrete tokens.
  • Demonstrate an end-to-end trainable model (C-RNN-GAN) that generates sequences of continuous musical events.
  • Assess quality of generated music using metrics like polyphony, scale consistency, and tone range.
  • Compare adversarial training with a baseline next-event predictive model to gauge variability and structure in outputs.

Proposed method

  • Propose a generator G and a bidirectional discriminator D built from LSTM networks to model continuous sequence data.
  • Represent each musical event as a real-valued quadruplet: tone length, frequency, intensity, and time since last tone.
  • Define GAN objectives for G and D with L_G = (1/m) sum log(1 - D(G(z))) and L_D = (1/m) sum [-log D(x) - log(1 - D(G(z)))] where z is uniform random input.
  • Pretrain G with a supervised squared error loss for next-event prediction, then switch to adversarial training with curriculum sequencing and mini-batch SGD.
  • Use feature matching as an alternative generator objective to encourage variance and stabilize training.
  • Incorporate training tricks like freezing D when its loss falls below a threshold relative to G’s loss to maintain useful gradients.

Experimental results

Research questions

  • RQ1Can adversarial training be effectively applied to recurrent networks that operate on fully continuous sequential data (not discrete tokens) like music?
  • RQ2Does a C-RNN-GAN produce more varied and polyphonic music than a purely likelihood-based baseline?
  • RQ3How does outputting multiple tones per time step affect polyphony and musical variety?
  • RQ4What training stabilizers (pretraining, freezing, feature matching) improve training dynamics and generated music quality?

Key findings

  • Adversarial training increases variability in generated music, with larger tone span and intensity span.
  • Allowing each LSTM cell to output up to three tones improves polyphony scores.
  • Feature matching and careful training stabilization yield a better trade-off between structure and surprise in generated music.
  • The generated music shows closer resemblance to real music than the baseline but does not yet reach human-evaluated quality.
  • Three-tone-per-cell variant (CRNN-GAN-3) achieves higher polyphony and span metrics after longer training.

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.