arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.22290cs.SDcs.MMeess.AS
收藏

基于Transformer的使用节拍注释的表演MIDI节奏量化

Transformer-Based Rhythm Quantization of Performance MIDI Using Beat Annotations

Klangio GmbH;Institute of Industrial Information Technology(工业信息信息技术研究所);Karlsruhe Institute of Technology(卡尔斯鲁厄理工大学)

Maximilian Wachter, Sebastian Murgul, Michael Heizmann

AI总结:

本文提出基于Transformer的节奏量化方法,利用节拍信息对MIDI表演进行量化,通过数据增强和模型优化提升鲁棒性,实现在不同拍号下的高精度量化性能。

摘要:

节奏转录是音乐自动转录(AMT)的关键子任务。尽管深度学习模型已被广泛用于检测音频和MIDI表演中的音律网格,但基于节拍的节奏量化仍鲜有研究。本文介绍了一种新的深度学习方法,利用先验节拍信息对MIDI表演进行量化。我们的方法利用Transformer架构,有效处理同步乐谱和表演数据,以训练量化模型。关键组件包括数据集准备、基于节拍的预量化方法,以在统一框架内对齐表演和乐谱时间,以及针对该任务的MIDI分词器。我们采用基于T5架构的Transformer模型以满足节奏量化的特定需求。模型通过一组针对量化性能的乐谱级指标进行评估。通过系统评估,我们优化了数据表示和模型架构。此外,我们应用了表演和乐谱增强,如转调、音符删除和表演侧时间抖动,以增强模型的鲁棒性。最后,通过定性分析,将我们的模型的量化性能与最先进的概率和深度学习模型在各种示例作品上进行比较。我们的模型在ASAP数据集上实现了97.3%的起始F1分数和83.3%的音符值准确性。它在不同拍号上表现良好,包括训练过程中未见过的拍号,并产生可读的乐谱输出。在乐器特定数据集上微调进一步提高了性能,通过捕捉具有特征的节奏和旋律模式。本文贡献了一个稳健且灵活的基于Transformer的节拍MIDI量化框架。

英文摘要:

Rhythm transcription is a key subtask of notation-level Automatic Music Transcription (AMT). While deep learning models have been extensively used for detecting the metrical grid in audio and MIDI performances, beat-based rhythm quantization remains largely unexplored. In this work, we introduce a novel deep learning approach for quantizing MIDI performances using a priori beat information. Our method leverages the transformer architecture to effectively process synchronized score and performance data for training a quantization model. Key components of our approach include dataset preparation, a beat-based pre-quantization method to align performance and score times within a unified framework, and a MIDI tokenizer tailored for this task. We adapt a transformer model based on the T5 architecture to meet the specific requirements of rhythm quantization. The model is evaluated using a set of score-level metrics designed for objective assessment of quantization performance. Through systematic evaluation, we optimize both data representation and model architecture. Additionally, we apply performance and score augmentations, such as transposition, note deletion, and performance-side time jitter, to enhance the model's robustness. Finally, a qualitative analysis compares our model's quantization performance against state-of-the-art probabilistic and deep-learning models on various example pieces. Our model achieves an onset F1-score of 97.3% and a note value accuracy of 83.3% on the ASAP dataset. It generalizes well across time signatures, including those not seen during training, and produces readable score output. Fine-tuning on instrument-specific datasets further improves performance by capturing characteristic rhythmic and melodic patterns. This work contributes a robust and flexible framework for beat-based MIDI quantization using transformer models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑