Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,32 +1,183 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
configs:
|
| 4 |
-
- config_name: default
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
dataset_info:
|
| 9 |
features:
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
splits:
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
download_size: 207988689
|
| 31 |
dataset_size: 209552791
|
| 32 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- question-answering
|
| 5 |
+
- visual-question-answering
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- music
|
| 10 |
+
- music-understanding
|
| 11 |
+
- sheet-music
|
| 12 |
+
- abc-notation
|
| 13 |
+
- benchmark
|
| 14 |
+
- multimodal
|
| 15 |
+
pretty_name: "MSU-Bench: Musical Score Understanding Benchmark"
|
| 16 |
+
size_categories:
|
| 17 |
+
- n<1K
|
| 18 |
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: test
|
| 22 |
+
path: data/test-*
|
| 23 |
dataset_info:
|
| 24 |
features:
|
| 25 |
+
- name: song_id
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: abc_notation
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: pdf
|
| 30 |
+
dtype: binary
|
| 31 |
+
- name: images
|
| 32 |
+
sequence: image
|
| 33 |
+
- name: questions
|
| 34 |
+
struct:
|
| 35 |
+
- name: level
|
| 36 |
+
sequence: int32
|
| 37 |
+
- name: question
|
| 38 |
+
sequence: string
|
| 39 |
+
- name: answer
|
| 40 |
+
sequence: string
|
| 41 |
splits:
|
| 42 |
+
- name: test
|
| 43 |
+
num_bytes: 209552791
|
| 44 |
+
num_examples: 150
|
| 45 |
download_size: 207988689
|
| 46 |
dataset_size: 209552791
|
| 47 |
---
|
| 48 |
+
|
| 49 |
+
# MSU-Bench: Musical Score Understanding Benchmark
|
| 50 |
+
|
| 51 |
+
[](https://arxiv.org/abs/2511.20697)
|
| 52 |
+
[](https://huggingface.co/datasets/Krinos/MSU-Bench)
|
| 53 |
+
|
| 54 |
+
**Evaluating Large Language Models' Comprehension of Complete Musical Scores**
|
| 55 |
+
|
| 56 |
+
> Accepted to **ACL 2026 Main Conference**
|
| 57 |
+
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## Overview
|
| 61 |
+
|
| 62 |
+
MSU-Bench is a human-curated benchmark for evaluating the musical score understanding capabilities of Large Language Models (LLMs) and Vision-Language Models (VLMs). It supports multimodal evaluation through both textual (ABC notation) and visual (PDF/image) inputs.
|
| 63 |
+
|
| 64 |
+
**Key Statistics:**
|
| 65 |
+
- 150 complete musical scores
|
| 66 |
+
- 1,800 generative question-answer pairs
|
| 67 |
+
- 4 hierarchical difficulty levels
|
| 68 |
+
- 12 questions per score (3 per level)
|
| 69 |
+
|
| 70 |
+
## Multi-level Understanding
|
| 71 |
+
|
| 72 |
+

|
| 73 |
+
|
| 74 |
+
## Data Curation and Evaluation
|
| 75 |
+
|
| 76 |
+

|
| 77 |
+
|
| 78 |
+
## Difficulty Levels
|
| 79 |
+
|
| 80 |
+
| Level | Focus | Examples |
|
| 81 |
+
|-------|-------|----------|
|
| 82 |
+
| **Level 1** - Onset Information | Metadata at the beginning of a score | Composer, title, key, time signature, tempo, instrumentation, anacrusis |
|
| 83 |
+
| **Level 2** - Notation & Note | Local bar-level notation details | Pitch range, accidentals, dynamics, articulations, ornaments, tempo changes |
|
| 84 |
+
| **Level 3** - Chord & Harmony | Harmonic structures and progressions | Chord qualities, inversions, cadences, modulations, pedal points |
|
| 85 |
+
| **Level 4** - Texture & Form | Large-scale structural analysis | Melodic motifs, thematic organisation, texture types, formal design |
|
| 86 |
+
|
| 87 |
+
## Dataset Structure
|
| 88 |
+
|
| 89 |
+
Each of the 150 samples contains:
|
| 90 |
+
|
| 91 |
+
| Column | Type | Description |
|
| 92 |
+
|--------|------|-------------|
|
| 93 |
+
| `song_id` | `string` | Unique identifier derived from the score filename |
|
| 94 |
+
| `abc_notation` | `string` | Full ABC notation of the score (text-based symbolic representation) |
|
| 95 |
+
| `pdf` | `binary` | The original rendered PDF of the score |
|
| 96 |
+
| `images` | `list[image]` | Individual page images (PNG) of the score (1-35 pages) |
|
| 97 |
+
| `questions` | `struct{level, question, answer}` | 12 questions per score (3 per difficulty level) with reference answers |
|
| 98 |
+
|
| 99 |
+
### Modalities for Evaluation
|
| 100 |
+
|
| 101 |
+
| Modality | Input | Target Models |
|
| 102 |
+
|----------|-------|---------------|
|
| 103 |
+
| Textual QA | ABC notation + question | LLMs |
|
| 104 |
+
| Visual QA | PDF/images + question | VLMs |
|
| 105 |
+
|
| 106 |
+
## Repertoire
|
| 107 |
+
|
| 108 |
+
The benchmark covers 150 scores from the Western art music canon, spanning:
|
| 109 |
+
- **Periods:** Baroque, Classical, Romantic, Impressionism, 20th Century
|
| 110 |
+
- **Composers:** Bach, Beethoven, Chopin, Brahms, Debussy, Liszt, Schubert, Mozart, Mussorgsky, Grieg, and others
|
| 111 |
+
- **Genres:** Sonatas, character pieces, fugues, waltzes, nocturnes, etudes, rhapsodies, symphonies, concertos, art songs
|
| 112 |
+
|
| 113 |
+
## Usage
|
| 114 |
+
|
| 115 |
+
### Loading the Dataset
|
| 116 |
+
|
| 117 |
+
```python
|
| 118 |
+
from datasets import load_dataset
|
| 119 |
+
|
| 120 |
+
ds = load_dataset("Krinos/MSU-Bench", split="test")
|
| 121 |
+
|
| 122 |
+
# Access a sample
|
| 123 |
+
sample = ds[0]
|
| 124 |
+
print(sample["song_id"]) # '1._Gnomus_The_Gnome__Promenade_...'
|
| 125 |
+
print(sample["abc_notation"][:200])
|
| 126 |
+
print(len(sample["images"])) # number of page images
|
| 127 |
+
print(sample["questions"]) # {'level': [...], 'question': [...], 'answer': [...]}
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
### Iterating Over Questions
|
| 131 |
+
|
| 132 |
+
```python
|
| 133 |
+
# Flatten to one row per question for evaluation
|
| 134 |
+
flat_data = []
|
| 135 |
+
for sample in ds:
|
| 136 |
+
levels = sample["questions"]["level"]
|
| 137 |
+
questions = sample["questions"]["question"]
|
| 138 |
+
answers = sample["questions"]["answer"]
|
| 139 |
+
for lvl, q, a in zip(levels, questions, answers):
|
| 140 |
+
flat_data.append({
|
| 141 |
+
"song_id": sample["song_id"],
|
| 142 |
+
"level": lvl,
|
| 143 |
+
"question": q,
|
| 144 |
+
"answer": a,
|
| 145 |
+
"abc_notation": sample["abc_notation"],
|
| 146 |
+
})
|
| 147 |
+
|
| 148 |
+
print(f"Total QA pairs: {len(flat_data)}") # 1800
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
### Visual QA with Page Images
|
| 152 |
+
|
| 153 |
+
```python
|
| 154 |
+
# Get page images for a score
|
| 155 |
+
sample = ds[0]
|
| 156 |
+
for i, img in enumerate(sample["images"]):
|
| 157 |
+
img.save(f"page_{i}.png")
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
## Evaluation Protocol
|
| 161 |
+
|
| 162 |
+
We adopt an **LLM-as-a-judge** framework using majority voting across three models (ChatGPT-5, Claude Sonnet 4, Gemini 2.5 Pro) to evaluate semantic correctness. This approach handles equivalent musical terminology (e.g., "V-I" vs. "authentic cadence") better than strict string matching.
|
| 163 |
+
|
| 164 |
+
**Inter-judge agreement:** 83.33% (95% CI: 79.44%-87.22%)
|
| 165 |
+
|
| 166 |
+
## Citation
|
| 167 |
+
|
| 168 |
+
```bibtex
|
| 169 |
+
@article{dai2025msubench,
|
| 170 |
+
title={Musical Score Understanding Benchmark: Evaluating Large Language Models' Comprehension of Complete Musical Scores},
|
| 171 |
+
author={Dai, Congren and Yang, Yue and Li, Krinos and Zhou, Huichi and Liang, Shijie and Zhang, Bo and Liu, Enyang and Jin, Ge and An, Hongran and Zhang, Haosen and Jing, Peiyuan and Lee, Kinhei and Zhang, Zhenxuan and Li, Xiaobing and Sun, Maosong},
|
| 172 |
+
journal={arXiv preprint arXiv:2511.20697},
|
| 173 |
+
year={2025}
|
| 174 |
+
}
|
| 175 |
+
```
|
| 176 |
+
|
| 177 |
+
## License
|
| 178 |
+
|
| 179 |
+
Apache 2.0. Please also refer to the repository for licensing information regarding the musical scores sourced from MuseScore.
|
| 180 |
+
|
| 181 |
+
## Acknowledgements
|
| 182 |
+
|
| 183 |
+
This work is supported by the Advanced Discipline Construction Project of Beijing Universities, the Special Programme of National Natural Science Foundation of China (Grant No. T2341003), and the Major Programme of National Social Science Fund of China (Grant No. 21ZD19).
|