BeatEdit: Symbolic Music Generation as Explicit Editing

Haoyu Gu, Lekai Qian, Haowu Zhou, Qi Liu, Shuai Wang
7/13/2026
1 citation
cs.SDcs.AI

Official code: Haoyu-Gu/BeatEdit-code (6 stars, HTML, MIT, last commit 2026-10-14). 1 more implementation below.

Abstract

Music creation is fundamentally a process of revision. Yet symbolic music generation remains dominated by paradigms that produce complete sequences from scratch, with limited support for selective modification.

Show full abstract

Edit-based methods have proven effective for text transformation tasks, but remain largely unexplored for symbolic music. We trace this absence to the representational level: conventional event-based music encodings lack the structural properties required by explicit music editing. In contrast, the BEAT encoding, a beat-grid-anchored representation originally designed for autoregressive generation, possesses structural properties amenable to editing. We propose BeatEdit, the first framework for symbolic music generation based on explicit edit operations, recasting generation as producing new content by editing a draft rather than synthesizing from scratch. BeatEdit comprises three complementary mechanisms along an axis of increasing edit density: per-token sequence tagging for error correction, iterative refinement for accompaniment editing, and tag-then-fill for segment completion. All these mechanisms share a single encoding and pre-trained backbone, achieving higher precision and perceptual quality than autoregressive and diffusion methods across all three tasks, while remaining efficient, with single-pass inference completing in under 100 ms. Cross-encoding evaluation further reveals that encoding design substantially influences editing effectiveness, with notable encoding-method interaction effects. Code is available at https://github.com/Haoyu-Gu/BeatEdit-code

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Haoyu-Gu/BeatEdit-codeOfficial6HTMLMIT2026-10-14
Haoyu-Gu/BeatEditOfficial0––2026-10-03
MIT

Official implementation of BeatEdit: Symbolic Music Generation as Explicit Editing (ACM MM 2026)

61HTML, PythonJul 11, 20261 months agoMIT
Haoyu-Gu/BeatEditOfficial100%

BeatEdit: Symbolic Music Generation as Explicit Editing — Demo Page

00Mar 9, 20261 months ago

Similar Papers

Cite this paper

@article{gu2026beatedit,
  title  = {BeatEdit: Symbolic Music Generation as Explicit Editing},
  author = {Haoyu Gu and Lekai Qian and Haowu Zhou and Qi Liu and Shuai Wang},
  year   = {2026},
  eprint = {2607.11124},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.11124v3}
}

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/2607.11124.svg)](https://codeofpaper.com/paper/2607.11124)

Discussion