Time-Shifted Token Scheduling for Symbolic Music Generation

Ting-Kang Wang, Chih-Pin Tan, Yi-Hsuan YangarXiv 2025 · DOI

Introduction

In the field of symbolic music generation, such as MIDI synthesis, researchers face a persistent trade-off between computational efficiency and musical quality. Traditional "fine-grained" tokenization methods (e.g., REMI) represent each note attribute—pitch, velocity, and duration—as individual tokens. While this enables high coherence through sequential prediction, it results in extremely long sequences that are slow to generate and memory-intensive.

To address this, "compound token" architectures were developed to group all attributes of a single note into one "super-token." Although this significantly increases generation speed, it introduces a structural "blind spot": the model predicts all attributes of a note in parallel. This lack of internal dependency often leads to musical incoherence, where the model fails to coordinate attributes like pitch and duration effectively.

The Delay-based Pattern (DP) Strategy

Researchers have introduced the Delay-based Pattern (DP) scheduling strategy to bridge this gap. Inspired by recent advances in audio generation, DP does not require changes to the underlying model architecture or the addition of new parameters. Instead, it alters the schedule of token prediction.

The DP strategy staggers note attributes across time steps to enable autoregressive modeling of intra-token dependencies.

As shown in the figure above, rather than predicting all $K$ attributes of a note at a single time step $t$, the DP strategy introduces a fixed delay. For instance, the note Type is predicted at step $t$, the Beat at $t+1$, and the Pitch and Duration at subsequent steps. This staggering allows the model's self-attention mechanism to "look back" at previously predicted attributes of the same note, enabling the duration to be conditioned on the pitch, for example, while maintaining the speed of a compact causal Transformer.

Experimental Setup

The proposed method, MMT-DP, was evaluated using SymphonyNet, a massive dataset comprising 46,359 orchestral MIDI scores (over 3,284 hours of music). This dataset provides a diverse range of classical and contemporary orchestration styles. To ensure robustness, the authors applied random pitch transpositions during training, allowing the model to generalize across different musical keys.

Results and Discussion

MMT-DP was compared against the standard Multitrack Music Transformer (MMT), the parameter-heavy Nested Music Transformer (NMT), and the fine-grained REMI+ model.

Efficiency and Speed

MMT-DP achieved a generation speed of 62.47 notes per second. This makes it 3x faster than fine-grained methods like REMI+ and 50% faster than the NMT, which relies on complex sub-decoders. The sequence length increase caused by the delay is constant $(K-1)$ and negligible compared to the $N \times K$ expansion required by fine-grained tokenization.

Subjective and Objective Quality

In blind listening tests involving 26 participants, MMT-DP consistently outperformed the baseline MMT across all qualitative metrics.

Subjective evaluation results showing MMT-DP's performance in coherence, richness, and consistency compared to baselines.

As illustrated in the mean rating chart, MMT-DP (pink) significantly improves upon the baseline MMT (dark grey) in Coherence, Richness, and Consistency, reaching levels competitive with the more complex Nested Music Transformer. Objective metrics further supported these findings, with MMT-DP producing Pitch Class Entropy and Groove Consistency scores closer to the ground truth than the baseline models.

Conclusion

The Delay-based Pattern strategy demonstrates that significant gains in generative quality can be achieved through clever data scheduling rather than increased model complexity. By enabling intra-token dependencies without adding parameters, MMT-DP offers a "best of both worlds" solution for efficient, high-quality symbolic music generation. Future work will explore the impact of different delay orders and the generalizability of this approach to solo instrument corpora.

Summary updated

BibTeX
@misc{wang2025time,
  author = {Ting-Kang Wang and Chih-Pin Tan and Yi-Hsuan Yang},
  title = {{Time-Shifted Token Scheduling for Symbolic Music Generation}},
  year = {2025},
  eprint = {2509.23749},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.23749},
}
Figure