继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.
NotaGen: Advancing Musicality in Symbolic Music Generation with Large Language Model Training Paradigms
Central Conservatory of Music(中央音乐学院);University of Rochester(罗切斯特大学);Beijing Flowingtech Ltd.(北京流音科技有限公司);Beihang University(北京航空航天大学);Tsinghua University(清华大学)
Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey
Univ. Lille(里尔大学);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Centrale Lille(里尔中央理工学院);Univ. Bordeaux(波尔多大学);Bordeaux INP(波尔多综合理工学院);Singapore University of Technology and Design(新加坡科技设计大学)
Multi-view MidiVAE: Fusing Track- and Bar-view Representations for Long Multi-track Symbolic Music Generation
Tsinghua University(清华大学);Huawei Technologies Co., Ltd.(华为技术有限公司);Skywork AI PTE. LTD.(昆仑万维人工智能(Skywork AI));The Chinese University of Hong Kong(香港中文大学)
ABC-Eval: Benchmarking Large Language Models on Symbolic Music Understanding and Instruction Following
Graduate School of Informatics, Kyoto University, Japan(京都大学信息科学研究生院);College of Computer Science and Artificial Intelligence, Fudan University, China(复旦大学计算机科学与人工智能学院);Graduate School of Engineering, Kyoto University, Japan(京都大学工学研究科)
Generating High-quality Symbolic Music Using Fine-grained Discriminators
Hangzhou Dianzi University(杭州电子科技大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Xi’an Jiaotong University(西安交通大学);Hangzhou Innovation Institute, Beihang University(北京航空航天大学杭州创新研究院);Macquarie University(麦考瑞大学)
Efficient Long-Sequence Diffusion Modeling for Symbolic Music Generation
School of Computer Science and Artificial Intelligence(计算机科学与人工智能学院);Wuhan University of Technology(武汉理工大学);School of Computer Science(计算机科学学院);Hubei University of Technology(湖北工业大学);School of Information Engineering(信息工程学院);Hubei University of Economics(湖北经济学院);Hubei Key Laboratory of Digital Finance Innovation(湖北省数字金融创新重点实验室)
MuPT: A Generative Symbolic Music Pretrained Transformer
M-A-P;HKUST(香港科技大学);University of Manchester(曼彻斯特大学);Shenzhen Institute of Advanced Technology, CAS(中国科学院深圳先进技术研究院);QMUL(伦敦玛丽女王大学);MBZUAI(穆罕默德·本·扎耶德人工智能大学);MILA(米拉人工智能研究所);Institute of Automation, CAS(中国科学院自动化研究所);Central Conservatory of Music(中央音乐学院);PKU(北京大学);SJTU(上海交通大学);MSRA(微软研究院);University of Waterloo(滑铁卢大学);Vector Institue(向量研究所)