arXiv:2412.09887eess.AScs.AI2024-12中稿 · AAAI被引 2

基于细粒度控制的歌词到旋律生成模型,可精准匹配歌词与音乐风格。

CSL-L2M: Controllable Song-Level Lyric-to-Melody Generation Based on Conditional Transformer with Fine-Grained Lyric and Musical Controls

  • 采用分层控制机制,融合句级语义、词性、声调等歌词特征
  • 引入人类标注标签与预训练模型提取的音乐特征实现多层级控制
  • 使用注意力内嵌解码器生成结构完整、质量更高的整首旋律

歌词到旋律生成是人工智能音乐生成领域的高难度任务。由于歌词与旋律之间存在严格但弱关联的对应关系,以往方法普遍存在可控性差、生成质量低和结构不完整的问题。为此,本文提出 CSL-L2M,一种基于条件 Transformer 的可控歌曲级歌词到旋律生成方法,支持在给定歌词和用户指定音乐属性下生成完整歌曲旋律。首先,提出 REMI-Aligned 音乐表示,实现歌词与旋律在音节和句子层面的严格对齐,便于精确建模。其次,将从句级 Transformer 编码器独立提取的句子级语义嵌入,结合词级词性嵌入和音节级声调嵌入作为细粒度歌词控制信号。同时引入人工标注的音乐标签、句级统计音乐属性以及由预训练 VQ-VAE 提取的音乐特征,分别作为粗粒度、细粒度和高保真度的音乐控制信号。最后,利用内注意力 Transformer 解码器,在上述多维度控制条件下实现对整首旋律的精细控制。实验结果表明,所提 CSL-L2M 在生成质量、可控性和结构完整性上均优于当前最优模型。演示与源码见 https://lichaiustc.github.io/CSL-L2M/。

原文摘要 · Abstract (English)

Lyric-to-melody generation is a highly challenging task in the field of AI music generation. Due to the difficulty of learning strict yet weak correlations between lyrics and melodies, previous methods have suffered from weak controllability, low-quality and poorly structured generation. To address these challenges, we propose CSL-L2M, a controllable song-level lyric-to-melody generation method based on an in-attention Transformer decoder with fine-grained lyric and musical controls, which is able to generate full-song melodies matched with the given lyrics and user-specified musical attributes. Specifically, we first introduce REMI-Aligned, a novel music representation that incorporates strict syllable- and sentence-level alignments between lyrics and melodies, facilitating precise alignment modeling. Subsequently, sentence-level semantic lyric embeddings independently extracted from a sentence-wise Transformer encoder are combined with word-level part-of-speech embeddings and syllable-level tone embeddings as fine-grained controls to enhance the controllability of lyrics over melody generation. Then we introduce human-labeled musical tags, sentence-level statistical musical attributes, and learned musical features extracted from a pre-trained VQ-VAE as coarse-grained, fine-grained and high-fidelity controls, respectively, to the generation process, thereby enabling user control over melody generation. Finally, an in-attention Transformer decoder technique is leveraged to exert fine-grained control over the full-song melody generation with the aforementioned lyric and musical conditions. Experimental results demonstrate that our proposed CSL-L2M outperforms the state-of-the-art models, generating melodies with higher quality, better controllability and enhanced structure. Demos and source code are available at https://lichaiustc.github.io/CSL-L2M/.

音乐生成歌词对齐可控生成Transformer

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。