arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2301.13383cs.SDcs.AIcs.LGeess.AS
收藏

序列音乐生成任务中不同音高和格律网格编码方法的比较分析

An Comparative Analysis of Different Pitch and Metrical Grid Encoding Methods in the Task of Sequential Music Generation

Queen Mary University of London(伦敦玛丽女王大学)

Yuqiang Li, Shengchen Li, George Fazekas

摘要:

音高和节拍是符号音乐生成任务中的两个基本音乐特征,研究者通常根据特定的目标选择不同的编码方法。然而,不同编码方法的优点和缺点并没有经常讨论。本文综合分析了音高和节拍这两个低层特征对基于标记的顺序音乐生成模型性能的影响。首先,比较了常用的二进制数编码和较少使用的类倍频程编码。第二,密集的条内度量网格被施加到编码序列作为辅助特征。比较了不同复杂度和分辨率的度量网格。对于复杂性,比较了单标记方法和多标记方法;对于网格分辨率,比较了0(消融)、1(小节级)、4(下拍级)、12(第8个三重音符级)至64(第64个音符网格级);对于持续时间分辨率,比较了每拍4、8、12和16次细分。所有不同的编码都在单独训练的Transformer-XL模型上进行测试,以完成旋律生成任务。关于几个客观评价指标与测试数据集的分布相似性,结果表明,类八度编码在音高相关指标上明显优于想当然的编码;更细的网格和多标记网格提高了节奏质量,但在早期训练阶段也会出现过拟合。结果表明,单标记网格编码在基音嵌入空间和测试损失两个方面存在普遍的过拟合现象。从实际的角度来看,我们既证明了可行性,也提出了使用较小的网络和较低的嵌入维数的生成任务上容易过拟合问题的关注。研究结果也有助于未来的模型特征工程方面。

英文摘要:

Pitch and meter are two fundamental music features for symbolic music generation tasks, where researchers usually choose different encoding methods depending on specific goals. However, the advantages and drawbacks of different encoding methods have not been frequently discussed. This paper presents a integrated analysis of the influence of two low-level feature, pitch and meter, on the performance of a token-based sequential music generation model. First, the commonly used MIDI number encoding and a less used class-octave encoding are compared. Second, an dense intra-bar metric grid is imposed to the encoded sequence as auxiliary features. Different complexity and resolutions of the metric grid are compared. For complexity, the single token approach and the multiple token approach are compared; for grid resolution, 0 (ablation), 1 (bar-level), 4 (downbeat-level) 12, (8th-triplet-level) up to 64 (64th-note-grid-level) are compared; for duration resolution, 4, 8, 12 and 16 subdivisions per beat are compared. All different encodings are tested on separately trained Transformer-XL models for a melody generation task. Regarding distribution similarity of several objective evaluation metrics to the test dataset, results suggest that the class-octave encoding significantly outperforms the taken-for-granted MIDI encoding on pitch-related metrics; finer grids and multiple-token grids improve the rhythmic quality, but also suffer from over-fitting at early training stage. Results display a general phenomenon of over-fitting from two aspects, the pitch embedding space and the test loss of the single-token grid encoding. From a practical perspective, we both demonstrate the feasibility and raise the concern of easy over-fitting problem of using smaller networks and lower embedding dimensions on the generation task. The findings can also contribute to futural models in terms of feature engineering.

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

↑