One email each morning — yesterday's AI, sortedGet it in your inbox

METAL LAB

Evaluating Music Context Preservation: A Multi-facet Framework for Music Editing Systems

arXiv:2512.146292026-08-17

A new benchmark checks whether AI music editors accidentally wreck the parts of a song you didn't want changed

Music editing AI can change one thing (like genre or timbre) but often messes up rhythm, melody, or structure without meaning to. This paper builds MuseCPBench, the first standardized benchmark to measure this 'Music Context Preservation' across four musical facets. Testing five popular editing systems shows none of them reliably preserve everything, and each has different weak spots.

What they did

  1. Problem: existing music editing systems (e.g. MusiConGen, InstructME, MS-Diffusion, ZETA) each check different, inconsistent things when claiming they preserve the original music, making fair comparison impossible.
  2. Solution: MuseCPBench organizes what should stay unchanged into four categories - harmony, rhythm & meter, structural form, and melodic content & motifs - with specific measurable metrics for each.
  3. Method: five representative editing systems (MusicGen, MusiConGen, MusicMagus, ZETA, RefinPaint) were tested on real music/MIDI datasets, comparing edited output against the original using these metrics, plus a 'Vanilla' baseline that generates music without any editing instruction.
  4. Result: RefinPaint (which refines existing MIDI rather than generating from scratch) preserved context best overall. MusicMagus kept tonal color well but nearly destroyed rhythm. MusicGen struggled most with timing/rhythm. ZETA kept rhythm well but lost melodic motifs.
  5. Finding: strong performance on one musical facet doesn't guarantee strong performance on another - no single system excelled everywhere, revealing a general blind spot in current music editing AI.
Figure 1: The Overview of MuseCPBench.
Figure 1: The Overview of MuseCPBench.
Table 1: Comparison of music generation and editing systems by editing type, MCP evaluation, and evaluated facets.
MethodBackboneTaskEditMCP Evaluation?Facets
MusicGen [3]TransformerText / Music-conditioned generation
MusiConGen [8]TransformerText / Music-conditioned generationHarmony, RhythmHarmony, Rhythm
AUDIT [18]DiffusionInstruction-guided editingLocal attributes
InstructME [6]DiffusionInstruction-guided editingHarmony, RhythmHarmony, Rhythm
MusicMagus [20]DiffusionMusic inversionGlobal structure
RefinPaint [15]DiffusionIterative inpaintingLocal segments
MS-Diffusion [11]DiffusionJoint generation and separationStems (sources)Stem Fidelity
ZETA [10]DiffusionEditing and inversionStructureStructure (human-judged)
Table 2: MCP performance across music editing baselines. Bold: the best result. Underlined: the second-best result.
BaselineHarmony & TonalityRhythm & Meter
Circle of Fifth-distance ↓Chroma DTW Similarity ↑Major Minor Score ↑Δ BPM ↓Beat F-measure ↑Information Gain ↑
Vanilla0.3330.8600.18826.6380.2290.141
MusicGen0.1970.8700.33436.6900.2730.391
MusiConGen0.2100.9020.4740.0000.4920.362
MusicMagus0.0680.9550.73813.2620.0300.029
ZETA0.1770.9450.4414.1250.7320.604
RefinPaint0.0090.9880.9438.8250.9490.951

Why it matters

For anyone building or using AI music editing tools, this gives a concrete, comparable way to check if an edit tool ruins the rhythm or melody while changing style - something that was previously unmeasured. It also gives model builders a diagnostic map of exactly where their architecture (autoregressive vs diffusion vs refinement-based) tends to fail.

Terms in this paper

  • Music Context Preservation (MCP) · the ability of a music editing AI to keep the parts of a song unchanged that weren't meant to be edited
  • MuseCPBench · the benchmark introduced here to measure MCP consistently across systems
  • harmony / rhythm & meter / structural form / melodic content & motifs · the four musical dimensions the benchmark checks are preserved after editing
  • circle-of-fifths distance · a music-theory based measure of how close two musical keys are to each other
  • Beat F-measure / Information Gain · metrics for how well the timing of beats in edited music matches the original
  • Adjusted Rand Index (ARI) · a score measuring how well two segmentations of a song's sections agree with each other
  • autoregressive generation · generating audio step-by-step in sequence, which can drift or accumulate errors over longer pieces

Original abstract (English)

Music editing plays a vital role in modern music production, with applications in film, broadcasting, and game development. Recent advances in music editing systems have enabled diverse editing tasks such as timbre transfer, instrument substitution, and genre transformation. However, many existing works overlook evaluating their ability to preserve musical facets that should remain unchanged during editing, which we define as Music Context Preservation (MuseCP). While some studies do consider MuseCP, their evaluation protocols and metrics are not comprehensive. To address this, we introduce the first MuseCP evaluation framework, MuseCPEval, that covers four categories of music facets with fine-grained and well-tailored metrics to capture nuanced changes in music attributes. Objective validation and a human study demonstrate the effectiveness of these metrics. Moreover, the case studies on diverse music editing systems illustrate the practical utility of these metrics as a testbed and diagnostic tool, providing insights into the strengths and limitations of existing systems. We hope our metrics and findings can offer practical guidance for developing more effective and reliable music editing strategies with strong MuseCP capability

Authors · Yash Vishe

Read on arXiv

Latest papers

All papers →

Latest from METAL LAB

Figures: Yash Vishe et al., arXiv:2512.14629, CC BY 4.0