TL;DR
This paper introduces the CIPI (Can I Play It?) dataset, the largest open-source collection of piano scores with expert difficulty labels. By combining machine learning models that "understand" both the physical mechanics of fingering and the nuances of musical expression, the authors achieve state-of-the-art results in predicting how hard a piece actually is to perform.
What Problem Does This Paper Address?
For a piano student, the question "Can I play it?" is often met with a shrug or a vague "maybe." In Music Information Retrieval (MIR), automatically classifying score difficulty is notoriously hard because difficulty is subjective and multi-dimensional. It isn’t just about the number of notes per second; it’s about hand stretches, complex fingerings, and the emotional maturity required for expressive performance.
Previous attempts at automation were hampered by two things:
- Data Scarcity: Most datasets were small or used inconsistent, crowd-sourced labels.
- Narrow Focus: Models often looked only at the "notation" (the notes on the page) while ignoring how a human actually interacts with the instrument.
Methods
The researchers grounded their approach in musicological theory—specifically Nicholas Cook’s definition of performance, which spans three dimensions: notation (the score), physical gesture (fingering), and sound (expressiveness).
To capture these, they used a "backbone" strategy:
- Physical Gesture: They used ArGNN, a pre-trained Graph Neural Network that predicts piano fingering. The model’s internal "embeddings" (mathematical representations) capture the physical struggle of moving hands across keys.
- Sound/Expressiveness: They used VirtuosoNet, a model designed to generate expressive performances. Its embeddings capture "musicality"—knowing when to slow down or play louder.
- The Classifier: These embeddings were fed into a Gated Recurrent Unit (GRU) with a hierarchical context attention mechanism. This allows the model to "pay attention" to specific difficult passages in a long piece rather than just averaging the difficulty of every measure.
Crucially, they treated the task as ordinal classification. Since difficulty levels are ordered (Level 5 is harder than 4, but easier than 6), they tested specific loss functions like OrdinalLoss and CoralLoss to ensure the model understood this progression.
Datasets
The paper introduces the Can I Play It? (CIPI) dataset:
- Size: 652 classical piano pieces by 29 composers.
- Labels: Difficulty levels (1–9) from Henle Verlag, a world-renowned music publisher.
- Validation: Every match between public domain scores and Henle labels was manually reviewed by an expert pianist (over 100 hours of work).
- Comparison: They also evaluated on the smaller MKD (Mikrokosmos-difficulty) dataset (147 pieces) to show how their model generalizes.
Key Insights and Ideas
- Difficulty is an Ensemble: The biggest "aha moment" was that no single representation (just notes, just fingering, or just expression) was enough. The Ensemble model, which averaged predictions from all three dimensions, significantly outperformed individual models. This confirms that difficulty is a "holistic" property.
- Ordinality Matters: Standard classification (treating Level 1 and Level 9 as equally "different" as Level 1 and Level 2) performs poorly. Using loss functions that penalize the model more for being "far off" (e.g., predicting Level 1 for a Level 9 piece) is essential for musical accuracy.
- The "Hard Part" Problem: Training on small fragments of a piece (e.g., 256 notes) actually decreased performance. This suggests that a piece's difficulty is often defined by its most challenging section, and models need the context of the entire work to make an accurate judgment.
Key Results
- Balanced Accuracy: The ensemble model achieved 39.5% balanced accuracy across 9 distinct levels. While that number might look low to a computer vision researcher, in the context of 9 subjective levels, it is a significant step forward.
- Relaxed Accuracy (Acc±1): When allowing the model to be off by just one level, the accuracy jumped to 87.3%.
- Error Margin: The model reported a Median Square Error of 1.1, meaning its "guess" is typically very close to the expert human label.
- Performance vs. Notation: Models using fingering and expressiveness features consistently beat those using raw "pitch" information alone.
Limitations and Future Work
The authors acknowledge several hurdles:
- Data Imbalance: The dataset follows a "long-tail" distribution—there are many more pieces by famous composers like Chopin and Liszt than by lesser-known or historically under-represented composers.
- The "Fragment" Challenge: They found it difficult to train models on short snippets. Future work might involve "weakly supervised learning," where the model learns to identify exactly which measure makes a piece a "Level 9."
- Multi-modal Expansion: The current work uses symbolic data (MusicXML). The authors suggest that incorporating actual audio or video of performances could provide even deeper insights into technical difficulty.
Reference: Ramoneda, P., et al. (2023). Combining piano performance dimensions for score difficulty classification. Preprint submitted to Expert Systems with Applications. arXiv:2306.08480
Summary updated