Symbolic Music Generation with Diffusion Models

Gautam Mittal, Jesse Engel, Curtis Hawthorne, Ian Simon
3/30/2021
cs.SDcs.LGeess.AS
diffusion-flow

Official code: magenta/symbolic-music-diffusion (279 stars, Python, Apache-2.0, last commit 2025-12-18).

Abstract

Score-based generative models and diffusion probabilistic models have been successful at generating high-quality samples in continuous domains such as images and audio. However, due to their Langevin-inspired sampling mechanisms, their application to discrete and sequential data has been limited.

Show full abstract

In this work, we present a technique for training diffusion models on sequential data by parameterizing the discrete domain in the continuous latent space of a pre-trained variational autoencoder. Our method is non-autoregressive and learns to generate sequences of latent embeddings through the reverse process and offers parallel generation with a constant number of iterative refinement steps. We apply this technique to modeling symbolic music and show strong unconditional generation and post-hoc conditional infilling results compared to autoregressive language models operating over the same continuous embeddings.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Symbolic Music Generation with Diffusion Models

27938PythonMar 5, 202111 months agoApache-2.0

Similar Papers

Cite this paper

@article{mittal2021symbolic,
  title  = {Symbolic Music Generation with Diffusion Models},
  author = {Gautam Mittal and Jesse Engel and Curtis Hawthorne and Ian Simon},
  year   = {2021},
  eprint = {2103.16091},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16091}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.16091.svg)](https://codeofpaper.com/paper/2103.16091)

Discussion