Audio ML PapersLandmark papers
← All papers
RESEARCH PAPER / 2026-07-13

BeatEdit: Symbolic Music Generation as Explicit Editing

Haoyu Gu, Lekai Qian, Haowu Zhou ...Full author list in the original paper.

South China University of Technology +1 · ACM International Conference on Multimedia (MM '26)

Affiliations: South China University of Technology, Nanjing University

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. 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

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 paper presents a novel and theoretically grounded approach to symbolic music generation by framing it as an explicit editing problem, leveraging specific structural properties of the BEAT encoding to achieve high precision and efficiency.

Methodology

The paper proposes BeatEdit, a framework that recasts symbolic music generation as an explicit editing task. The core innovation lies in the representational level: the authors argue that conventional encodings (like REMI) lack the structural properties (atomicity, alignment, locality) required for effective edit-based generation. They adopt the BEAT encoding, which uses a beat-grid-anchored structure with ternary pattern encoding and relative pitch compression. This encoding allows for trivial source-target alignment and bounded edit propagation. The framework implements three mechanisms: per-token sequence tagging for error correction, iterative refinement for accompaniment editing, and tag-then-fill for segment completion. All mechanisms share a single BERT-based backbone pre-trained via Masked Language Modeling (MLM) on piano pieces. The methodology is theoretically sound and addresses a genuine gap in the field, moving beyond autoregressive or diffusion-based "scratch" generation to a more musically intuitive revision paradigm. The analysis of encoding properties (R1-R3) is a strong theoretical contribution.

Results & evaluation

The experiments are conducted on a dataset of 192K piano pieces. The paper compares BeatEdit against autoregressive and diffusion baselines across three tasks: error correction, accompaniment editing, and segment completion. Results indicate that BeatEdit achieves higher precision and perceptual quality than baselines. A key metric highlighted is inference speed, with single-pass inference completing in under 100ms, which is two orders of magnitude faster than autoregressive generation. The paper also includes a cross-encoding evaluation, revealing significant interaction effects between encoding design and editing method, which adds depth to the empirical analysis. However, the truncated text limits the visibility of detailed statistical significance tests or extensive human evaluation protocols (e.g., MUSHRA scores) in the provided snippet, though "perceptual quality" is mentioned. The ablation studies on pre-training and encoding variants appear robust.

Reproducibility

The paper provides a GitHub repository link (https://github.com/Haoyu-Gu/BeatEdit-code). The methodology describes the BEAT encoding in detail, including the ternary pattern conversion and relative pitch offset calculations. The pre-training setup (BERT, 8 layers, 512 hidden, MLM on 192K pieces) is specified. The synthetic perturbation strategy for training pairs is mentioned but truncated. Overall, the technical details provided are sufficient for reproduction, assuming access to the code and the specific dataset version used.

Limitations

The primary limitation is the scope of the musical content: the method is evaluated on piano pieces, which are relatively structured compared to full orchestral or polyphonic music with complex timbres. The reliance on the BEAT encoding, while effective, ties the method to a specific representational choice; the generalizability to other encodings or raw audio is not demonstrated. The "cascading dependencies" in relative encoding are handled but represent a complexity that might not exist in absolute encodings, which the paper notes as a trade-off. The paper claims "first framework," but the field is evolving rapidly, and the distinction between "explicit editing" and "conditional generation with masks" can sometimes be subtle in implementation.

Broader impact

This work has significant implications for music information retrieval and creative AI tools. By enabling efficient, precise, and musically intuitive editing, it lowers the barrier for human-AI collaboration in music production. The emphasis on speed (100ms inference) makes it suitable for real-time interactive applications. The theoretical framework for encoding requirements (R1-R3) provides a checklist for designing future music representations, potentially benefiting the broader symbolic music community. The paper presents a novel and theoretically grounded approach to symbolic music generation by framing it as an explicit editing problem, leveraging specific structural properties of the BEAT encoding to achieve high precision and efficiency.

Author of this paper? Send a correction.