Skip to main content
QUICK REVIEW

[论文解读] Anticipatory Music Transformer

John Thickstun, David C. Hall|arXiv (Cornell University)|Jun 14, 2023
Music Technology and Sound StudiesComputer Science被引用 3
一句话总结

该论文提出了预测性音乐变换器(Anticipatory Music Transformer),一种通过将事件与控制序列交错排列,使控制信号在时间上提前至相关事件之前的位置,从而实现对符号化音乐生成的条件控制的生成模型。该方法通过将控制信号置于事件之前,使模型能够高效地进行自回归建模,从而在和声伴奏生成中达到人类水平的音乐性,性能与自回归基线模型相当,同时支持强大的补全任务(如和声填充)。

ABSTRACT

We introduce anticipation: a method for constructing a controllable generative model of a temporal point process (the event process) conditioned asynchronously on realizations of a second, correlated process (the control process). We achieve this by interleaving sequences of events and controls, such that controls appear following stopping times in the event sequence. This work is motivated by problems arising in the control of symbolic music generation. We focus on infilling control tasks, whereby the controls are a subset of the events themselves, and conditional generation completes a sequence of events given the fixed control events. We train anticipatory infilling models using the large and diverse Lakh MIDI music dataset. These models match the performance of autoregressive models for prompted music generation, with the additional capability to perform infilling control tasks, including accompaniment. Human evaluators report that an anticipatory model produces accompaniments with similar musicality to even music composed by humans over a 20-second clip.

研究动机与目标

  • 开发一种用于符号化音乐中时间点过程的可控生成模型,使事件能够基于异步控制序列(如旋律)进行条件生成。
  • 解决在不依赖长上下文建模的前提下,对遥远或异步控制信号进行自回归模型条件化的问题。
  • 实现实际的音乐补全任务(如和声填充),即通过部分旋律生成音乐上连贯的伴奏。
  • 在引入来自未来控制信号的双向上下文的同时,保持高性能模型表现,通过一种新颖的交错机制实现。
  • 证明预测性建模可生成在人类听觉感知上与人类创作音乐无差别的伴奏。

提出的方法

  • 该方法提出‘预测’机制——一种序列交错策略,其中每个控制信号被放置在序列的停止时间点,确保其在预测附近事件时已处于模型的上下文之中。
  • 通过超参数 δ 将控制信号向前移动时间,使原本在时间 s_k 的控制信号被视作出现在 s_k - δ,从而让模型能够预判其影响。
  • 将事件与预测控制信号的联合序列输入自回归因果变换器,使模型能够同时关注近期事件与即将出现的控制信号。
  • 通过事件与控制联合分布的似然目标进行训练,控制序列通过控制序列的先验分布进行建模。
  • 采样过程具有可计算性,因为每个控制在序列中的位置是停止时间,从而保持了自回归因子分解的结构。
  • 该方法通过维持一致的前缀式上下文结构,即使在输入为异步信号时,也能实现高效的训练与推理。
Figure 1 : We construct conditional generative models for sequences of events $\mathbf{e}_{1:N}$ , conditioned on controls $\mathbf{u}_{1:K}$ . We serialize these paired sequences to define an autoregressive factorization of the joint distribution over events and controls. Anticipation interleaves e
Figure 1 : We construct conditional generative models for sequences of events $\mathbf{e}_{1:N}$ , conditioned on controls $\mathbf{u}_{1:K}$ . We serialize these paired sequences to define an autoregressive factorization of the joint distribution over events and controls. Anticipation interleaves e

实验结果

研究问题

  • RQ1生成模型能否在保持计算可处理性的前提下,有效基于异步控制序列进行符号化音乐生成?
  • RQ2与标准自回归或Seq2Seq方法相比,通过将控制信号置于相关事件之前(即‘预测’机制),在音乐补全任务中的性能提升程度如何?
  • RQ3预测性模型在多大程度上能够生成在感知上与人类创作音乐无差别的伴奏?
  • RQ4在不损害训练效率的前提下,利用双向上下文(过去事件与近未来控制)是否能提升生成质量?
  • RQ5该模型能否在不依赖长上下文建模的前提下,泛化至复杂音乐生成任务(如和声填充)?

主要发现

  • 预测性音乐变换器的困惑度得分与标准自回归模型相当,表明预测机制未造成性能下降。
  • 人类评估者对20秒音乐片段中生成伴奏的音乐性评价,与人类创作作品无显著差异,证明其具有出色的感知质量。
  • 该模型成功执行了补全任务,包括和声填充,能够生成连贯且在音乐上合理的部分旋律补全。
  • 模型保持1024个标记(约331个事件)的上下文长度,对应约15秒的音乐内容,仅使用最近的上下文进行预测。
  • 该方法通过确保控制信号在序列中的位置为停止时间,实现了高效的训练与采样,同时保持了自回归因子分解的结构。
  • 该模型未显式生成或建模诸如调号、节拍或力度等元数据,这在某些音乐维度上限制了其表达能力。
Figure 2 : The distribution of sequence lengths calculated for the arrival-time tokenized Lakh MIDI validation split. Mean sequence length is $12,071$ tokens, with a standard deviation of $9711$ tokens.
Figure 2 : The distribution of sequence lengths calculated for the arrival-time tokenized Lakh MIDI validation split. Mean sequence length is $12,071$ tokens, with a standard deviation of $9711$ tokens.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。