Beyond File-Level Splits: Rethinking Symbolic Music Evaluation via Multi-View Alignment
Authors: Kun Bai, Yinghan Wang, Canran Xiao, Jiachen Luo, Huy Phan, Yong Dai, Jiaqi Zhang, Yunwei Li, Lin Wang, Joshua Reiss, Björn W. Schuller
Organizations: School of Intelligence Science and Technology, Beijing University of Civil Engineering and Architecture, Beijing 102616, China · College of Science, Beijing Forestry University, Beijing 100083, China · Sun Yat-sen University, Shenzhen 518107, China · School of Computation, Information and Technology, Technical University of Munich, Munich 80333, Germany · Centre for Digital Music, School of Electronic Engineering and Computer Science, Queen Mary University of London, London E1 4NS, UK · German Research Center for Artificial Intelligence (DFKI), Luebeck 23562, Germany · X-Humanoid, Beijing 101111, China · School of Computer Science and Telecommunication Engineering, Jiangsu University, Zhenjiang 212013, China · University of Washington, Seattle, WA 98195, USA · Chair of Health Informatics, Technical University of Munich, Munich 81675, Germany · Group on Language, Audio and Music, Imperial College London, London SW7 2AZ, UK
Symbolic music generation often continues MIDI passages by predicting subsequent notes or events. Held-out prediction loss can overestimate generalization to unseen compositions when training contains another performance or arrangement of a test work. We introduce Multi-View Alignment-Aware Same-Work Identification, combining complementary musical representations with temporal alignment of shared passages to remove test-work versions from training while preserving unrelated material and fixing evaluation files. In a controlled cohort of 100 manually verified pairs selected for high embedding similarity, replacing 3.29% of training windows with test-work versions reduces mean per-group NLL by up to 30.16% relative to matched unrelated content. Across two datasets and two generators, our method brings test losses closest to a reference built from independent work labels. Compared with removing the same number of files at random, it leaves fewer test works exposed and retains more eligible content, including about 99% of eligible tokens on the piano-performance dataset. A separate study on that dataset matches training tokens and updates: no test works remain exposed under the dataset labels, and mean relative test loss is 2.15% higher than an independently selected reference. These findings support keeping all versions of each composition in one split when evaluating generalization to unseen works. The project is available at https://kunbai05-nb.github.io/.
Figures & tables
Fig. 1: Illustrative example of work-level isolation. A1 and A2 are different performances of Twinkle, Twinkle, Little Star , while B is another tune. MVA-SWI aligns shared passages to exclude A1 from training while retaining B and keeping the evaluation file A2 fixed.
Mean loss
Control contrasts
Relative effect
Model
Objective
Clean
Unrelated (U)
Repeated (R)
Same (S)
R − U
R − S
Reduction [95% CI] (%)
Transformer-S
NLL
0.816
0.813
0.817
0.657
+0.004
+0.160
20.30 [17.62, 23.13]
Transformer-M
NLL
0.812
0.800
0.810
0.638
+0.010
+0.172
21.46 [18.65, 24.44]
Transformer-L
NLL
0.798
0.791
0.816
0.589
+0.025
+0.227
27.09 [23.75, 30.58]
MIDI-GPT
NLL
0.736
0.732
0.747
0.526
+0.015
+0.221
30.16 [27.35, 33.02]
LSTM
NLL
1.220
1.210
1.237
1.153
+0.027
+0.084
4.74 [3.69, 5.88]
TABLE I: Controlled exposure with fixed test content. U/R/S denote Unrelated/Repeated-unrelated/Same. The last column averages within-group U-to-S reductions ( 1 ), with paired 95% work-group bootstrap CIs conditional on three trained seeds and the selected high-similarity cohort. Dataset labels define R; two reviewers verify each nominated pair. – denotes unavailable conditions. Comparisons are within each model and objective.
Fig. 2: Overview of the MVA-SWI workflow. (a) HNSW retrieves up to 100 neighbors per view for rank features; pairs that are mutual Top-50 neighbors within the same view are united across the five views. (b) Zero-shift local alignment supplies 18 path features, complemented by two chroma auxiliary features. (c) The 57-dimensional evidence vector is scored by a classifier ensemble and sigmoid calibration. (d) Connected components of threshold-positive edges guide training-data removal while validation and test sets remain fixed.
ATEPP
ASAP
LMD-clean
MAESTRO
Method
P
R
F1
FN
P
R
F1
FN
P
R
F1
FN
P
R
F1
FN
SHA-256
–
0.00
0.00
3339
100.00
0.02
0.04
4987
–
0.00
0.00
2037
–
0.00
0.00
880
Event fingerprint
–
0.00
0.00
3339
100.00
0.02
0.04
4987
96.72
20.27
33.52
1624
–
0.00
0.00
880
CAugBERT
12.69
31.84
18.14
2276
35.67
50.36
41.76
2476
94.09
28.92
44.24
1448
62.45
38.18
47.39
544
CLaMP
62.71
69.54
65.95
1017
86.64
30.03
44.60
3490
94.64
26.02
40.82
1507
88.45
53.98
67.04
405
CAugBERT ∪ CLaMP
22.86
76.61
35.21
781
40.34
64.43
49.61
1774
94.13
33.04
48.91
1364
70.48
70.00
70.24
264
TABLE II: Pairwise identification at fixed operating points. P, R, and F1 are percentages; FN counts missed reference-positive pairs, including unretrieved pairs. CAugBERT and CLaMP use thresholds 0.93 and 0.87, respectively; ∪ denotes their prediction union. MVA-SWI uses 0.597596. A dash denotes undefined precision when no positive pair is predicted.
Fig. 3: Calibration gains and precision–recall tradeoffs. Coordinates show calibrated-minus-fixed recall and precision in percentage points (pp); numeric labels give the corresponding F1 change. Vienna denotes Vienna 4×22 . Table V gives the calibrated 95% F1 confidence intervals.
Verifier components
Macro performance (%)
Global
Retr.
Local
Clf.
D
P
R
F1
AP
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
57
98.03
88.45
92.43
95.95
{\color[rgb]{0,0,0}\times}
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
28
98.37
85.14
90.51
94.99
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\times}
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
49
97.68
87.37
91.49
95.27
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\checkmark}
{\color[rgb]{0,0,0}\times}
{\color[rgb]{0,0,0}\checkmark}
37
97.99
82.07
88.32
94.53
{\color[rgb]{0,0,0}\times}
{\color[rgb]{0,0,0}\checkmark}^{\dagger}
{\color[rgb]{0,0,0}\times}
{\color[rgb]{0,0,0}\times}
–
43.29
88.45
57.30
75.59
TABLE III: Verifier ablations: macro percentages over LMD-clean, ATEPP, and ASAP. {\color[rgb]{0,0,0}\checkmark} / {\color[rgb]{0,0,0}\times} : used/omitted; Clf.: classifier; D: input dimension. † : mutual Top-100 support in at least two bass/harmony/motif views; candidates remain same-view mutual Top-50. Feature-removal variants are retrained and recalibrated. AP uses candidates; recall includes unretrieved positives.
Fig. 4: Retrieval coverage by dataset and macro ensemble F1 over three datasets. (a) View subsets are independently selected on MAESTRO-validation at each size. (b) Candidate recall as the neighbor budget Top- k increases. (c) Error bars are population standard deviations over all subsets of five trained classifiers, with calibration refitted for each subset. Zero spread at five classifiers reflects a single combination.
Fig. 5: Detected exposure across seven MIDI collections. Bars show mean group/file exposure over 200 random 80/10/10 file splits; whiskers show 2.5th–97.5th empirical percentiles. Diamonds and group/file labels indicate official splits; counts below the names give the number of input files. Intervals quantify split variability conditional on the inferred groups.
MVA-SWI
CAugBERT ∪ CLaMP
CAugBERT ∩ CLaMP
CAugBERT ∪ CLaMP
Metadata matching
Default
Intersection
Calibrated
(0.597596)
(0.93/0.87)
(0.99/0.99)
(0.964/0.876)
Dataset
E↓
K↑
E↓
K↑
E↓
K↑
E↓
K↑
E↓
K↑
ATEPP
1.24
99.59
18.60
31.35
99.47
100.00
44.74
75.57
22.56
95.56
ASAP
1.61
98.82
34.81
42.66
90.69
100.00
72.54
89.18
–
–
LMD-clean
17.75
99.19
35.66
99.35
49.74
99.90
36.49
99.43
–
–
TABLE IV: Training-pool isolation with default and calibrated baselines, averaged over paired random splits. E is residual work exposure (%, lower is better); K is clean-token retention (%, higher is better). The ∪ and ∩ baselines use union and intersection, respectively; threshold pairs list CAugBERT first and CLaMP second. – denotes an unreported metadata baseline.
Fig. 6: Absolute per-work relative NLL deviation Babs from the independent-label reference (lower is closer), including the calibrated union baseline. Bars show means and whiskers ±1 SD across three paired training seeds. Training-pool details and the distinction from Fig. 7 are in Appendix C-E .
Fig. 7: Budget-controlled ATEPP isolation: (a) training files, (b) test works exposed under ATEPP labels (%), and (c) mean per-work relative NLL deviation from the independent-label reference (%), with paired 95% intervals. Negative deviations indicate lower loss. Every condition uses 20,000 updates, 11,316 training windows, and 5,884,369 scored tokens.
Fig. 8: Blinded ratings (1–5; higher is better). Bars show means with 95% CIs for overall musicality (primary), melodic coherence, rhythmic naturalness, and harmonic coherence.
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Dataset
MVA-SWI
95% CI
Union
SHS
72.99
[51.28, 85.71]
39.68
ASAP
99.73
[99.40, 99.93]
60.40
ATEPP
98.24
[97.15, 99.09]
68.20
LMD-clean
82.35
[78.77, 85.81]
51.12
Vienna 4×22
100.00
[100.00, 100.00]
90.92
PianoVAM
89.17
[71.50, 95.09]
57.33
Appendix
TABLE V: Calibrated F1 (%) and work-bootstrap 95% CIs. Union: CAugBERT ∪ CLaMP. Full calibration results: Extended Results on the project page .
Cohort
Model
P
R
F1
ATEPP
Fast
98.37
97.36
97.86
v1.9
98.08
97.72
97.90
LMD-clean
Fast
91.70
62.89
74.61
v1.9
96.18
67.99
79.67
ASAP
Fast
99.70
99.66
99.68
v1.9
99.84
99.62
99.73
Appendix
TABLE VI: Independent validation of the Fast auditor and v1.9 core. Pairwise P, R, and F1 are percentages; recall includes retrieval misses.
Corpus
Random edges
Targeted bridges
Mixed/ audited
PDMX
95/3/2
17/2/1
2/5
LMD-full
91/7/2
15/4/1
3/5
Aria-MIDI
93/4/3
16/3/1
2/5
GigaMIDI
94/5/1
16/4/0
2/5
Appendix
TABLE VII: Manual audit of unlabeled corpora. Edges/bridges report same-work/different-work/uncertain counts. Mixed components contain more than one confirmed work.
Condition
Files
Exposure
Retention
ATEPP
Uncorrected
1223
121/121
100.00
Random removal
486
72/121
63.97
MVA-SWI
486
0/121
98.91
Union
209
18/121
30.88
Label reference
495
0/121
100.00
Appendix
TABLE VIII: Training pools for the original five conditions. Exposure counts test works with a training version; retention is clean-token retention (%). Union is the default embedding union.
Condition
Exposed works
Dev. (%)
95% CI (%)
Uncorrected
119/121
−21.77
[−22.93,−20.59]
Exact dedup.
119/121
−21.77
[−22.93,−20.59]
Random removal
72/121
−10.11
[−11.31,−8.93]
MVA-SWI
0/121
+2.15
[+1.85,+2.48]
Original ref.
0/121
+0.89
[+0.63,+1.19]
Indep. ref.
0/121
0.00
[0.00,0.00]
Appendix
TABLE IX: Budget-matched ATEPP results. Dev. is mean signed per-work NLL deviation from the independent reference. Paired 95% CIs condition on trained seeds.
Condition
MIDI-GPT
Transformer
ATEPP
Uncorrected
22.42±0.92
23.89±0.71
Random removal
10.92±0.94
11.69±0.42
MVA-SWI
3.64±0.27
4.06±0.46
Default union
2.28±0.10
3.03±0.29
Label reference
3.33±0.17
3.94±0.43
Appendix
TABLE X: Long-passage match rates (%, mean ± SD across ten training seeds). These measure agreement with held-out continuations, not perceived quality.