Skip to main content
QUICK REVIEW

[Paper Review] Generating Music with a Self-Correcting Non-Chronological Autoregressive Model

Wayne Chi, Prachi Kumar|arXiv (Cornell University)|Aug 18, 2020
Music and Audio ProcessingComputer Science28 references5 citations
TL;DR

This paper proposes ES-Net, a self-correcting, non-chronological autoregressive model that generates music by modeling sequences of note additions and removals rather than fixed-order sequences. By allowing the model to correct past errors through deletion, it reduces error accumulation and enables fine-grained, interactive music composition, outperforming orderless NADE and Gibbs sampling in both quantitative metrics and human evaluations.

ABSTRACT

We describe a novel approach for generating music using a self-correcting, non-chronological, autoregressive model. We represent music as a sequence of edit events, each of which denotes either the addition or removal of a note---even a note previously generated by the model. During inference, we generate one edit event at a time using direct ancestral sampling. Our approach allows the model to fix previous mistakes such as incorrectly sampled notes and prevent accumulation of errors which autoregressive models are prone to have. Another benefit is a finer, note-by-note control during human and AI collaborative composition. We show through quantitative metrics and human survey evaluation that our approach generates better results than orderless NADE and Gibbs sampling approaches.

Motivation & Objective

  • To address error accumulation in autoregressive music generation by enabling model self-correction through note removal.
  • To enable non-chronological, interactive music composition with fine-grained, note-by-note control for human-AI collaboration.
  • To improve music generation quality by modeling edit sequences (add/remove events) rather than direct piano roll generation.
  • To demonstrate that direct ancestral sampling with removal capability outperforms Gibbs sampling and orderless NADE in music quality and user preference.
  • To extend the model’s applicability to melody extension and expressive features like velocity and duration.

Proposed method

  • Represents music as a sequence of one-hot edit events (add or remove a single note), rather than a fixed piano roll.
  • Uses a 2D convolutional neural network to model the conditional probability of each edit event given the current piano roll state.
  • Employs direct ancestral sampling to generate edit sequences, allowing the model to iteratively add or remove notes in any order.
  • Re-inputs the updated piano roll after each edit to condition the next prediction, enabling error correction over time.
  • Trains the model by masking and adding erroneous notes during data augmentation to simulate and learn from mistakes.
  • Maps edit sequences back to piano rolls via a cumulative update function that applies all edits in sequence.

Experimental results

Research questions

  • RQ1Can a non-chronological autoregressive model that supports note removal reduce error accumulation in music generation?
  • RQ2Does direct ancestral sampling with edit sequences outperform Gibbs sampling and orderless NADE in music quality and user preference?
  • RQ3To what extent does the ability to remove notes improve the expressiveness and correctness of generated music?
  • RQ4How does the model support interactive, note-by-note collaboration between humans and AI in music composition?
  • RQ5Can the model generalize beyond Bach chorales and be extended to include expressive features like velocity and duration?

Key findings

  • The proposed edit sequence approach significantly outperformed both orderless NADE and Gibbs sampling in human evaluations for music quality (p < 0.001).
  • Human participants rated the model’s samples as more improved from input melodies compared to the baselines, with a statistically significant preference (p < 0.001).
  • The model achieved higher similarity to Bach-style compositions in user rankings, indicating better stylistic alignment.
  • The Kruskal-Wallis H-test confirmed a statistically significant difference (χ² = 73.07, p < 0.001) in music quality ratings across all three models.
  • The Wilcoxon signed-rank test showed that the proposed method was significantly preferred over both baselines in all evaluation dimensions (p < 0.001).
  • The model’s ability to remove notes was critical in correcting sampling errors and improving final output 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.