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

CLaMP:用于跨模态符号音乐信息检索的对比语言-音乐预训练

CLaMP: Contrastive Language-Music Pre-training for Cross-Modal Symbolic Music Information Retrieval

Central Conservatory of Music(中央音乐学院);Microsoft Research Asia(微软亚洲研究院);Tsinghua University(清华大学)

Shangda Wu, Dingyao Yu, Xu Tan, Maosong Sun

AI总结:

CLaMP通过对比学习联合训练音乐与文本编码器,利用140万配对数据和掩码音乐建模,实现符号音乐的语义搜索与零样本分类,性能媲美需微调的先进模型。

摘要:

我们提出了CLaMP:对比语言-音乐预训练,该方法使用音乐编码器和文本编码器联合训练,通过对比损失学习自然语言与符号音乐之间的跨模态表示。为了预训练CLaMP,我们收集了一个包含140万对音乐-文本配对的大型数据集。我们采用文本丢弃作为数据增强技术,并使用小节补丁(bar patching)高效表示音乐数据,将序列长度减少至不足10%。此外,我们开发了掩码音乐模型预训练目标,以增强音乐编码器对音乐上下文和结构的理解。CLaMP整合了文本信息,实现了符号音乐的语义搜索和零样本分类,超越了以往模型的能力。为了支持语义搜索和音乐分类的评估,我们公开发布了WikiMusicText(WikiMT)数据集,包含1010个ABC记谱法的领唱谱,每个谱表附有标题、艺术家、流派和描述。与需要微调的最先进模型相比,零样本CLaMP在面向乐谱的数据集上表现出相当或更优的性能。我们的模型和代码可在https://github.com/microsoft/muzic/tree/main/clamp获取。

英文摘要:

We introduce CLaMP: Contrastive Language-Music Pre-training, which learns cross-modal representations between natural language and symbolic music using a music encoder and a text encoder trained jointly with a contrastive loss. To pre-train CLaMP, we collected a large dataset of 1.4 million music-text pairs. It employed text dropout as a data augmentation technique and bar patching to efficiently represent music data which reduces sequence length to less than 10\%. In addition, we developed a masked music model pre-training objective to enhance the music encoder's comprehension of musical context and structure. CLaMP integrates textual information to enable semantic search and zero-shot classification for symbolic music, surpassing the capabilities of previous models. To support the evaluation of semantic search and music classification, we publicly release WikiMusicText (WikiMT), a dataset of 1010 lead sheets in ABC notation, each accompanied by a title, artist, genre, and description. In comparison to state-of-the-art models that require fine-tuning, zero-shot CLaMP demonstrated comparable or superior performance on score-oriented datasets. Our models and code are available at https://github.com/microsoft/muzic/tree/main/clamp.

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

↑