Skip to main content
QUICK REVIEW

[Paper Review] Learning Style-Aware Symbolic Music Representations by Adversarial Autoencoders

Andrea Valenti, Antonio Carta|arXiv (Cornell University)|Jan 15, 2020
Music and Audio ProcessingComputer Science21 references8 citations
TL;DR

This paper proposes MusAE, a music-specific adversarial autoencoder that learns disentangled, style-aware symbolic music representations by using genre-conditional Gaussian mixture priors. It achieves higher reconstruction accuracy than state-of-the-art VAEs and enables smooth, meaningful interpolations between musical sequences while organizing the latent space according to both low-level features and high-level genre information.

ABSTRACT

We address the challenging open problem of learning an effective latent space for symbolic music data in generative music modeling. We focus on leveraging adversarial regularization as a flexible and natural mean to imbue variational autoencoders with context information concerning music genre and style. Through the paper, we show how Gaussian mixtures taking into account music metadata information can be used as an effective prior for the autoencoder latent space, introducing the first Music Adversarial Autoencoder (MusAE). The empirical analysis on a large scale benchmark shows that our model has a higher reconstruction accuracy than state-of-the-art models based on standard variational autoencoders. It is also able to create realistic interpolations between two musical sequences, smoothly changing the dynamics of the different tracks. Experiments show that the model can organise its latent space accordingly to low-level properties of the musical pieces, as well as to embed into the latent variables the high-level genre information injected from the prior distribution to increase its overall performance. This allows us to perform changes to the generated pieces in a principled way.

Motivation & Objective

  • To address the challenge of learning an effective, disentangled latent space for symbolic music data in generative modeling.
  • To improve upon standard variational autoencoders by replacing KL divergence with adversarial regularization for greater flexibility in prior distribution choice.
  • To embed high-level musical genre and style information into the latent space in a principled way using metadata-informed priors.
  • To enable intuitive, controllable music editing by allowing modifications to specific latent factors that affect desired musical properties.

Proposed method

  • The model uses a recurrent adversarial autoencoder (AAE) architecture with an encoder to map music scores into a latent vector and a decoder to reconstruct the score.
  • Instead of a standard Gaussian prior, the model employs a Gaussian mixture prior conditioned on music metadata (e.g., genre) to guide the latent space distribution.
  • Adversarial training is applied to enforce the latent code distribution to match the learned genre-conditioned prior, improving disentanglement and realism.
  • The model is trained end-to-end using reconstruction loss and adversarial loss, enabling high-fidelity generation and interpolation.
  • Latent space disentanglement is evaluated via PCA and t-SNE projections, showing meaningful separation between genres like rock and punk.
  • The approach allows for controlled generation by modifying specific latent factors, such as note density or genre style, while preserving musical coherence.

Experimental results

Research questions

  • RQ1Can adversarial regularization with a genre-informed prior improve the quality and disentanglement of symbolic music representations in a variational autoencoder?
  • RQ2How effectively can the latent space of a music autoencoder encode both low-level musical features and high-level genre information?
  • RQ3Can smooth, perceptually meaningful interpolations be achieved between musical sequences in the latent space?
  • RQ4To what extent can the latent space be structured to allow for intuitive, property-specific editing of generated music?
  • RQ5Can the model outperform standard VAEs in reconstruction accuracy while maintaining sample quality?

Key findings

  • MusAE achieves higher reconstruction accuracy on a large-scale benchmark than state-of-the-art VAE-based models, demonstrating improved modeling capacity.
  • Latent space interpolations between musical sequences are smooth and perceptually coherent, indicating a well-structured, hole-free latent space.
  • PCA and t-SNE visualizations show that the latent space organizes according to both low-level musical properties and high-level genre distinctions, such as a clear separation between punk and rock.
  • The model successfully embeds genre information into the latent variables through the prior distribution, enabling principled style transfer and editing.
  • The use of a genre-conditioned Gaussian mixture prior significantly enhances model performance compared to standard VAEs with fixed priors.
  • The model enables controllable generation by modifying specific latent factors, such as adjusting note density or shifting genre style, while maintaining musical coherence.

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.