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

YNote:一种用于微调音乐生成中大型语言模型的新型音乐记谱法

YNote: A Novel Music Notation for Fine-Tuning LLMs in Music Generation

Yuan Ze University(元智大学);National Central University(中央大学)

Shao-Chien Lu, Chen-Chen Yeh, Hui-Lin Cho, Chun-Chieh Hsu, Tsai-Ling Hsu, Cheng-Han Wu, Timothy K. Shih, Yu-Cheng Lin

AI总结:

针对 MIDI 等记谱格式复杂、不利于 LLM 微调的问题,本文提出仅用四字符表示音符及音高的 YNote,并在 GPT-2(124M)上验证其可由两个音符提示生成连贯音乐。

摘要:

使用大型语言模型(LLM)进行音乐生成的领域正在快速发展,然而现有的音乐记谱系统(如 MIDI、ABC Notation 和 MusicXML)仍然过于复杂,难以有效微调 LLM。由于其多变性和复杂结构,这些格式对机器和人类来说都难以解读。为应对这些挑战,我们提出了 YNote,这是一种简化的音乐记谱系统,仅使用四个字符来表示一个音符及其音高。YNote 的固定格式确保了一致性,使其易于阅读,并且更适合微调 LLM。在实验中,我们在一个 YNote 编码的数据集上微调了 GPT-2(124M),并分别取得了 0.883 和 0.766 的 BLEU 与 ROUGE 分数。仅以两个音符作为提示,该模型就能够生成连贯且风格相关的音乐。我们认为,YNote 为机器学习应用中的现有音乐记谱法提供了一种实用替代方案,并有可能显著提升使用 LLM 进行音乐生成的质量。

英文摘要:

The field of music generation using Large Language Models (LLMs) is evolving rapidly, yet existing music notation systems, such as MIDI, ABC Notation, and MusicXML, remain too complex for effective fine-tuning of LLMs. These formats are difficult for both machines and humans to interpret due to their variability and intricate structure. To address these challenges, we introduce YNote, a simplified music notation system that uses only four characters to represent a note and its pitch. YNote's fixed format ensures consistency, making it easy to read and more suitable for fine-tuning LLMs. In our experiments, we fine-tuned GPT-2 (124M) on a YNote-encoded dataset and achieved BLEU and ROUGE scores of 0.883 and 0.766, respectively. With just two notes as prompts, the model was able to generate coherent and stylistically relevant music. We believe YNote offers a practical alternative to existing music notations for machine learning applications and has the potential to significantly enhance the quality of music generation using LLMs.

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

↑