Ordinal Regression for Difficulty Estimation of StepMania Levels

Billy Joe Franks, Benjamin Dinkelmann, Sophie Fellenz, Marius KloftarXiv 2023 · DOI

Introduction

In the world of rhythm games like StepMania—an open-source clone of Dance Dance Revolution—community-generated content is the lifeblood of the game. However, this decentralized creation leads to a significant "difficulty problem": inconsistent labeling. A "Level 10" chart from one creator might be significantly harder than a "Level 12" from another. This inconsistency makes it difficult for players to find appropriate challenges.

Traditional machine learning often treats this as a standard classification problem (e.g., "is this level 10 or 11?"). However, difficulty is inherently ordinal. A level 5 is strictly harder than a level 4. Predicting a 6 when the true answer is 5 is a "better" error than predicting a 10. This research explores using Ordinal Regression (OR) as the "Goldilocks" solution to capture this underlying structure.

Methodology

The researchers moved away from traditional hand-picked features, opting for a deep learning architecture capable of processing the sequential nature of rhythm game charts.

The Transformer Backbone

The model utilizes a three-layer Transformer encoder with a 64-dimensional hidden state. Each "step" in a level is represented as a 19-dimensional vector containing:

  • Tempo (BPM)
  • Note type (e.g., quarter, eighth, or sixteenth notes)
  • Time delta since the previous note
  • One-hot encoding of arrow directions (Up, Down, Left, Right)

Ordinal Regression Heads

Instead of a standard softmax output layer, the authors evaluated several OR-specific heads designed to respect the ordering of labels:

  • NNRank: Decomposes the problem into multiple binary classification tasks (e.g., "Is the level > 1?", "Is the level > 2?").
  • RED-SVM: A reduction-based approach that transforms the task into a single binary classification problem.
  • Soft-Label Methods (Laplace & Binomial): These provide a probability distribution centered on the true label. This forces the model to penalize "far" predictions more heavily than "near" ones, effectively teaching the model the concept of proximity in difficulty.

Datasets

The study utilized a massive 602 GB dataset crawled from the StepMania Online repository. To ensure high-quality training, the researchers standardized this into five distinct datasets based on musical themes and prolific creators.

Summary of the five datasets used in the study, showing the number of songs, levels, and difficulty ranges.

Key Results and Insights

The Transformer-based models significantly outperformed the previous state-of-the-art method, PATTERN, which relied on shallow architectures. A key finding was the "Subjectivity Offset": models trained on one pack often showed a systematic bias when tested on another, confirming that difficulty labels are consistent within a creator's work but shifted relative to others.

Ranking vs. Absolute Prediction

While absolute difficulty prediction is challenging due to these subjective scales, the models excel at ranking. When asked to compare two levels, the model's ranking agreed with human players more often than the original author's labels did in almost every dataset except the professionally produced ITG set.

Confusion matrix showing the concentration of predictions along the diagonal, illustrating the effectiveness of ordinal regression in keeping errors 'close' to the true label.

As seen in the confusion matrix above, the model's errors are rarely far from the true label, forming a tight diagonal band. This concentration demonstrates that even when the model misses the exact label, it remains highly accurate in estimating the general difficulty tier.

Conclusion and Future Work

By treating difficulty as an ordinal sequence rather than a set of independent categories, the researchers have provided a robust tool for standardizing community content. Future work aims to incorporate audio features to "hear" the rhythm complexity directly and utilize multi-task learning to automatically adjust for individual creator biases.

Reference: Franks, B. J., Dinkelman, B., Fellenz, S., & Kloft, M. (2023). Ordinal Regression for Difficulty Estimation of StepMania Levels. arXiv:2301.09485v1 [cs.LG].

Summary updated

Abstract

StepMania is a popular open-source clone of a rhythm-based video game. As is common in popular games, there is a large number of community-designed levels. It is often difficult for players and level authors to determine the difficulty level of such community contributions. In this work, we formalize and analyze the difficulty prediction task on StepMania levels as an ordinal regression (OR) task. We standardize a more extensive and diverse selection of this data resulting in five data sets, two of which are extensions of previous work. We evaluate many competitive OR and non-OR models, demonstrating that neural network-based models significantly outperform the state of the art and that StepMania-level data makes for an excellent test bed for deep OR models. We conclude with a user experiment showing our trained models' superiority over human labeling.
BibTeX
@misc{franks2023ordinal,
  author = {Billy Joe Franks and Benjamin Dinkelmann and Sophie Fellenz and Marius Kloft},
  title = {{Ordinal Regression for Difficulty Estimation of StepMania Levels}},
  year = {2023},
  eprint = {2301.09485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.09485},
}
Figure