Audio ML PapersLandmark papers
← All papers
RESEARCH PAPER / 2023-06-14

Anticipatory Music Transformer

John Thickstun, David Hall, ★ Chris Donahue , ★ Percy Liang

Stanford University +2 · arxiv

Affiliations: Google DeepMind, Carnegie Mellon University, Stanford University

Abstract

We introduce anticipation: a method for constructing a controllable generative model of a temporal point process (the event process) conditioned asynchronously on realizations of a second, correlated process (the control process). We achieve this by interleaving sequences of events and controls, such that controls appear following stopping times in the event sequence. This work is motivated by problems arising in the control of symbolic music generation. We focus on infilling control tasks, whereby the controls are a subset of the events themselves, and conditional generation completes a sequence of events given the fixed control events. We train anticipatory infilling models using the large and diverse Lakh MIDI music dataset. These models match the performance of autoregressive models for prompted music generation, with the additional capability to perform infilling control tasks, including accompaniment. Human evaluators report that an anticipatory model produces accompaniments with similar musicality to even music composed by humans over a 20-second clip.

The following analysis is generated by AI and may contain errors. It is separate from the authors’ abstract and is not peer review.

Research summary

The main contribution of this paper is the introduction of the "Anticipatory Music Transformer," which innovatively combines event and control sequences to enhance controllable music generation. This work represents a significant advancement in the field of symbolic music generation, providing a robust framework for future research and applications.

Methodology

The paper introduces a novel method called "anticipation" for constructing a controllable generative model of temporal point processes, specifically applied to symbolic music generation. The methodology interleaves sequences of events and controls, allowing for asynchronous control over music generation tasks. The authors provide a detailed explanation of the arrival-time encoding and the interleaved structure of the anticipatory autoregressive model, which enhances the model's ability to perform infilling control tasks. The approach is well-grounded in existing literature, yet it innovatively addresses the limitations of traditional sequence-to-sequence models by maintaining locality and context relevance.

Results & evaluation

The authors conducted extensive experiments using the Lakh MIDI dataset, demonstrating that their anticipatory models match the performance of autoregressive models while adding new capabilities for infilling tasks. They employed both automatic metrics (log-loss) and human evaluations to assess the musicality of generated outputs. The human evaluation results indicate that the anticipatory model produces accompaniments comparable to those composed by humans, showcasing the practical effectiveness of the proposed method.

Reproducibility

The authors have committed to releasing all code and pre-trained model weights, which is a positive step towards reproducibility. They also provide detailed descriptions of their training procedures, model architectures, and dataset preprocessing, which further enhances the ability of other researchers to replicate their work.

Limitations

One limitation is the potential computational inefficiency when dealing with very sparse sequences, as noted in the discussion of inserting REST events. Additionally, while the anticipatory model shows promise, the authors acknowledge that the performance gap compared to standard autoregressive models may exist initially but diminishes with longer training schedules. The paper could also explore more diverse datasets or real-world applications to validate the robustness of the model further.

Broader impact

The anticipatory modeling techniques developed in this paper have the potential to significantly impact the field of music generation and broader applications in temporal point processes across various domains, such as e-commerce and healthcare. By facilitating controllable generative models, this work could enhance human-AI collaboration in creative processes, allowing for more nuanced and context-aware music generation. The main contribution of this paper is the introduction of the "Anticipatory Music Transformer," which innovatively combines event and control sequences to enhance controllable music generation. This work represents a significant advancement in the field of symbolic music generation, providing a robust framework for future research and applications.

Author of this paper? Send a correction.