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

主题Transformer:基于主题制约的Transformer符号音乐生成

Theme Transformer: Symbolic Music Generation with Theme-Conditioned Transformer

Yi-Jen Shih, Shih-Lun Wu, Frank Zalkow, Meinard Müller, Yi-Hsuan Yang

摘要:

基于注意力的Transformer模型已经越来越多地用于自动音乐生成。为了用用户指定的序列来调节这种模型的生成过程,流行的方法是将该调节序列作为启动序列,并要求Transformer解码器生成延续。然而,这种基于提示的条件反射无法保证条件反射序列会发展,甚至只是在生成的延续中重复。在本文中,我们提出了一种替代的条件反射方法,称为基于主题的条件反射,明确训练的Transformer处理的条件反射序列作为一个主题的材料,必须表现出自己多次在其生成结果。这是通过两个主要的技术贡献实现的。首先,我们提出了一种基于深度学习的方法,该方法使用对比表示学习和聚类来自动从训练数据中的音乐片段中检索主题材料。其次,我们提出了一种新的门控并行注意模块中使用的序列到序列(seq 2seq)的编码器/解码器架构,以更有效地考虑到一个给定的空调专题材料的生成过程中的Transformer解码器。我们报告的客观和主观评价的变体的建议的主题Transformer和传统的基于bundle的基线,表明我们最好的模型可以产生,在一定程度上,复调流行钢琴音乐的重复和合理的变化的一个给定的条件。

英文摘要:

Attention-based Transformer models have been increasingly employed for automatic music generation. To condition the generation process of such a model with a user-specified sequence, a popular approach is to take that conditioning sequence as a priming sequence and ask a Transformer decoder to generate a continuation. However, this prompt-based conditioning cannot guarantee that the conditioning sequence would develop or even simply repeat itself in the generated continuation. In this paper, we propose an alternative conditioning approach, called theme-based conditioning, that explicitly trains the Transformer to treat the conditioning sequence as a thematic material that has to manifest itself multiple times in its generation result. This is achieved with two main technical contributions. First, we propose a deep learning-based approach that uses contrastive representation learning and clustering to automatically retrieve thematic materials from music pieces in the training data. Second, we propose a novel gated parallel attention module to be used in a sequence-to-sequence (seq2seq) encoder/decoder architecture to more effectively account for a given conditioning thematic material in the generation process of the Transformer decoder. We report on objective and subjective evaluations of variants of the proposed Theme Transformer and the conventional prompt-based baseline, showing that our best model can generate, to some extent, polyphonic pop piano music with repetition and plausible variations of a given condition.

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

↑