[论文解读] Efficient Neural Music Generation
MeLoDy 是一个由 LM 引导的扩散模型,使用双路径扩散和一个音频 VAE-GAN 将语义令牌解码为波形,以远少于 MusicLM 的前向推理次数生成高质量音乐。
Recent progress in music generation has been remarkably advanced by the state-of-the-art MusicLM, which comprises a hierarchy of three LMs, respectively, for semantic, coarse acoustic, and fine acoustic modelings. Yet, sampling with the MusicLM requires processing through these LMs one by one to obtain the fine-grained acoustic tokens, making it computationally expensive and prohibitive for a real-time generation. Efficient music generation with a quality on par with MusicLM remains a significant challenge. In this paper, we present MeLoDy (M for music; L for LM; D for diffusion), an LM-guided diffusion model that generates music audios of state-of-the-art quality meanwhile reducing 95.7% or 99.6% forward passes in MusicLM, respectively, for sampling 10s or 30s music. MeLoDy inherits the highest-level LM from MusicLM for semantic modeling, and applies a novel dual-path diffusion (DPD) model and an audio VAE-GAN to efficiently decode the conditioning semantic tokens into waveform. DPD is proposed to simultaneously model the coarse and fine acoustics by incorporating the semantic information into segments of latents effectively via cross-attention at each denoising step. Our experimental results suggest the superiority of MeLoDy, not only in its practical advantages on sampling speed and infinitely continuable generation, but also in its state-of-the-art musicality, audio quality, and text correlation. Our samples are available at https://Efficient-MeLoDy.github.io/.
研究动机与目标
- 在不牺牲音乐质量的前提下,推动高效、可实时的文本到音乐生成。
- 利用 MusicLM 的高级语义语言模型来构建长时域的音乐性,同时用扩散来建模声学特征。
- 开发一个双路径扩散模型,在语义令牌条件下联合建模粗粒度与细粒度的声学信息。
- 引入音频 VAE-GAN 潜在表示,以实现从扩散潜变量高效重建波形。
提出的方法
- 采用 MusicLM 的最高级语义 LM(MuLan)对音乐结构进行语义建模。
- 使用双路径扩散(DPD)模型,通过对语义令牌的交叉注意力同时建模粗粒度和细粒度声学信息。
- 在音频 VAE-GAN 学习的低维潜在空间中进行扩散解码以还原波形。
- 用多块分段目标训练速度预测,以处理长上下文的生成。
- 应用带角度参数的连续时间扩散,采用线性角度计划以提升采样稳定性。
- 引入基于令牌的语义条件和角度嵌入,在采样过程中引导扩散过程。
实验结果
研究问题
- RQ1在相比 MusicLM 极大减少采样次数的情况下,基于 LM 指导的扩散是否能产生具有竞争力的音乐质量?
- RQ2双路径扩散模型是否能有效在语义令牌条件下捕捉粗粒度和细粒度声学信息?
- RQ3音频 VAE-GAN 潜在空间是否能实现适用于扩散式生成的高保真波形重建?
- RQ4在此设定下,将语义 LM 与扩散结合时能实现的速度和音乐性质量提升有哪些?
- RQ5与最先进的文本到音乐系统相比,MeLoDy 在文本相关性和感知质量方面的表现如何?
主要发现
- MeLoDy 将 MusicLM 的前向推理减少 95.7% 或 99.6%,可采样 10s 或 30s 音乐,并在 V100 GPU 上实现实时以上的运行速度。
- MeLoDy 在保持强文本相关性的同时,实现了最先进的音乐性和音频质量。
- 双路径扩散设计实现了在语义条件下对粗粒度与细粒度声学信息的高效建模。
- 音频 VAE-GAN 提供稳定的高质量潜在表示,能够有效重构波形。
- MeLoDy 在显著更低的 NFEs(采样步数)下,与 MusicLM 和 Noise2Music 相当的性能。
- 该模型支持基于 MuLan 条件生成的修复、续写和提示。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。