[论文解读] ERNIE-Music: Text-to-Waveform Music Generation with Diffusion Models
ERINE-Music 是一种基于扩散的模型,直接从自由文本提示生成音乐波形,训练于网页来源的文本-音乐对,文本-音乐相关性与质量优于以往方法。
In recent years, the burgeoning interest in diffusion models has led to significant advances in image and speech generation. Nevertheless, the direct synthesis of music waveforms from unrestricted textual prompts remains a relatively underexplored domain. In response to this lacuna, this paper introduces a pioneering contribution in the form of a text-to-waveform music generation model, underpinned by the utilization of diffusion models. Our methodology hinges on the innovative incorporation of free-form textual prompts as conditional factors to guide the waveform generation process within the diffusion model framework. Addressing the challenge of limited text-music parallel data, we undertake the creation of a dataset by harnessing web resources, a task facilitated by weak supervision techniques. Furthermore, a rigorous empirical inquiry is undertaken to contrast the efficacy of two distinct prompt formats for text conditioning, namely, music tags and unconstrained textual descriptions. The outcomes of this comparative analysis affirm the superior performance of our proposed model in terms of enhancing text-music relevance. Finally, our work culminates in a demonstrative exhibition of the excellent capabilities of our model in text-to-music generation. We further demonstrate that our generated music in the waveform domain outperforms previous works by a large margin in terms of diversity, quality, and text-music relevance.
研究动机与目标
- 通过收集一个来自网页的带弱监督的文本-音乐数据集,解决并行文本-音乐波形数据缺乏的问题。
- 开发一个文本条件扩散模型,以从无限制的文本提示生成音乐波形。
- 通过对比自由文本与音乐标签,研究文本格式对文本-音乐相关性的影响。
- 证明 ERINE-Music 生成的波形音乐在多样性和高质量输出方面具有强文本-音乐相关性。
提出的方法
- 使用一个连续时间扩散模型,预测去噪速度分量以在文本 y 条件下生成音乐波形。
- 用多语言的 ERNIE 文本编码器对文本进行编码,获得序列表示 S,以及分类标记 s0。
- 将文本表示与时间步嵌入融合,形成对 UNet 基扩散网络的文本感知条件。
- 通过 CSA(条件自注意力)将条件整合到扩散骨干网的自注意力中,以捕捉全局信息。
- 使用带权的 L2 损失(SNR+1 加权)对目标速度 v_t = α_t ε − σ_t x,采用余弦噪声日程(α_t^2 + σ_t^2 = 1)进行训练。
- 在两种文本条件格式(端到端自由文本 vs. 音乐标签)上进行实验,并分析融合操作(拼接 vs. 元素级求和)。
实验结果
研究问题
- RQ1自由文本条件是否在文本-音乐相关性方面优于传统的音乐标签条件?
- RQ2融合操作和文本表示如何影响文本到音乐扩散中的生成质量与相关性?
- RQ3在网络来源的文本-音乐对上训练的扩散模型是否能够直接从文本提示生成多样且高质量的波形音乐?
- RQ4使用多语言文本编码器(ERNIE-M)对跨语言文本到音乐生成有什么影响?
- RQ5波形基音乐生成在文本-音乐相关性和音频质量方面与现有方法相比如何?
主要发现
- 该模型在人工评估中的文本-音乐相关性得分高于竞争方法。
- 由 ERNIE-Music 生成的波形音乐在音乐质量方面相比近期的波形基方法有所提升。
- 端到端自由文本条件在文本-音乐相关性方面优于基于预定义音乐标签的条件。
- 采用 UNet 扩散骨干网并配合基于 CSA 的条件编码,能有效将文本编码到音乐生成中。
- 定性结果显示在乐器、节奏与情感上具有多样性输出(如钢琴、吉他、二胡;从柔和到快节奏)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。