arXiv:2607.11124cs.SDcs.AI2026-07

用可编辑的节拍网格表示法,让音乐生成像改稿一样精准修改。

BeatEdit: Symbolic Music Generation as Explicit Editing

论文配图:BeatEdit: Symbolic Music Generation as Explicit Editing
图 1 · 摘自论文原文
  • 用节拍对齐的编码方式支持逐段、迭代、补全式编辑
  • 单次推理低于100毫秒,精度和听感优于自回归与扩散模型
  • 适合需要精细调整音乐的作曲家与创作者

音乐创作本质是反复修改的过程。然而当前符号化音乐生成仍以从零生成完整序列为主,难以实现局部修改。尽管编辑方法在文本处理中已证明有效,但在符号音乐领域尚未被充分探索。其根源在于表示方式:传统事件编码缺乏显式编辑所需的结构特性。相比之下,基于节拍网格的BEAT编码(原为自回归生成设计)具备良好编辑适配性。我们提出BeatEdit,首个基于显式编辑操作的符号音乐生成框架,将生成过程重构为对草稿进行编辑而非重新生成。该框架包含三种渐进式编辑机制:逐标记纠错、迭代伴奏优化、标签后填充补全。三者共享同一编码与预训练主干网络,在三项任务中均实现更高精度与听觉质量,且推理仅需单次通过,耗时低于100毫秒。跨编码评估进一步表明,编码设计显著影响编辑效果,存在明显的编码-方法交互作用。代码已公开于https://github.com/Haoyu-Gu/BeatEdit-code。

原文摘要 · Abstract (English)

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

音乐生成编辑框架节拍编码高效生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。