arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.00973cs.SDcs.AIeess.ASeess.SP
收藏

面向符号音乐建模的领域知识启发式音乐嵌入空间与一种新型注意力机制

A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modeling

Singapore University of Technology and Design(新加坡科技设计大学)

Z. Guo, J. Kang, D. Herremans

AI总结:

针对现有符号音乐建模忽略相对音乐属性的问题,提出兼具绝对与相对属性表征的基础音乐嵌入FME,及结合领域知识的RIPO注意力机制,在旋律补全与生成任务上性能优于现有最优Transformer模型,解决了生成退化问题。

摘要:

继Transformer架构在自然语言领域取得成功后,类Transformer架构近来已被广泛应用于符号音乐领域。然而,符号音乐与文本属于两种不同的模态。符号音乐包含多重属性,既包括绝对属性(如音高),也包括相对属性(如音程)。这些相对属性塑造了人类对音乐动机的感知。但这些重要的相对属性在现有符号音乐建模方法中大多被忽略,主要原因是缺乏具有音乐意义的嵌入空间,无法高效表征符号音乐令牌的绝对嵌入与相对嵌入。本文提出了基于偏置调整正弦编码的符号音乐基础音乐嵌入(Fundamental Music Embedding,FME),该嵌入空间可同时嵌入绝对属性与相对属性,并明确保留基础音乐特性(如平移不变性)。借助所提出的FME,我们进一步提出了一种基于相对索引、音高与起始点嵌入的新型注意力机制(RIPO attention),从而能将音乐领域知识充分应用于符号音乐建模。实验结果表明,我们提出的采用FME与RIPO注意力的RIPO transformer,在旋律补全任务中性能优于当前最优的Transformer模型(即music transformer、linear transformer)。此外,将RIPO transformer应用于下游音乐生成任务时,我们发现广受诟病的退化现象不再出现,且RIPO transformer生成的音乐在主观与客观评估中均优于当前最优Transformer模型生成的音乐。

英文摘要:

Following the success of the transformer architecture in the natural language domain, transformer-like architectures have been widely applied to the domain of symbolic music recently. Symbolic music and text, however, are two different modalities. Symbolic music contains multiple attributes, both absolute attributes (e.g., pitch) and relative attributes (e.g., pitch interval). These relative attributes shape human perception of musical motifs. These important relative attributes, however, are mostly ignored in existing symbolic music modeling methods with the main reason being the lack of a musically-meaningful embedding space where both the absolute and relative embeddings of the symbolic music tokens can be efficiently represented. In this paper, we propose the Fundamental Music Embedding (FME) for symbolic music based on a bias-adjusted sinusoidal encoding within which both the absolute and the relative attributes can be embedded and the fundamental musical properties (e.g., translational invariance) are explicitly preserved. Taking advantage of the proposed FME, we further propose a novel attention mechanism based on the relative index, pitch and onset embeddings (RIPO attention) such that the musical domain knowledge can be fully utilized for symbolic music modeling. Experiment results show that our proposed model: RIPO transformer which utilizes FME and RIPO attention outperforms the state-of-the-art transformers (i.e., music transformer, linear transformer) in a melody completion task. Moreover, using the RIPO transformer in a downstream music generation task, we notice that the notorious degeneration phenomenon no longer exists and the music generated by the RIPO transformer outperforms the music generated by state-of-the-art transformer models in both subjective and objective evaluations.

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

↑