Skip to main content
QUICK REVIEW

[论文解读] MIDI-LLaMA: An Instruction-Following Multimodal LLM for Symbolic Music Understanding

Meng Yang, Jon McCormack|arXiv (Cornell University)|Jan 29, 2026
Music and Audio ProcessingComputer Science被引用 0
一句话总结

MIDI-LLaMA 在两阶段训练流水线中将 MusicBERT MIDI 嵌入与 Llama-3-8B 对齐,形成一个用于符号音乐的指令跟随多模态大语言模型,在问答和音乐字幕任务上超越仅文本的 ABC 符号表示基线。

ABSTRACT

Recent advances in multimodal large language models (MLLM) for audio music have demonstrated strong capabilities in music understanding, yet symbolic music, a fundamental representation of musical structure, remains unexplored. In this work, we introduce MIDI-LLaMA, the first instruction-following MLLM for symbolic music understanding. Our approach aligns the MIDI encoder MusicBERT and Llama-3-8B via a two-stage pipeline comprising feature alignment and instruction tuning. To support training, we design a scalable annotation pipeline that annotates GiantMIDI-Piano with fine-grained metadata, resulting in a MIDI-text dataset. Compared with the baseline trained on converting MIDI into ABC notation under the same instruction-tuning procedure, MIDI-LLaMA substantially outperforms in captioning and semantic alignment in question answering. Human evaluation further confirms the advantages of MIDI-LLaMA in music understanding, emotion recognition, creativity, and overall preference. These findings demonstrate that incorporating symbolic music into large language models enhances their capacity for musical understanding.

研究动机与目标

  • 通过创建大规模符号音乐–文本数据集,解决多模态 LLM 的符号音乐–文本数据稀缺问题。
  • 开发一个端到端架构,通过可训练投影将符号 MIDI 嵌入与语言模型融合。
  • 证明符号音乐嵌入在理解、情感识别和字幕方面较文本-only 基线的提升。
  • 提供人工评估以验证音乐理解与情感表达的改进。

提出的方法

  • 使用 MusicBERT 作为 MIDI 编码器,Llama-3-8B 作为语言骨干。
  • 引入两阶段训练流水线:第一阶段在指令微调数据上通过投影层将 MIDI 嵌入与 LLM 对齐;第二阶段进行 LoRA 指令微调,同时保持 MIDI 编码器冻结。
  • 通过用 GPT-4o 派生元数据与人工验证来标注 GiantMIDI-Piano,生成类型、风格、背景、表达意图与情感标签,创建大规模符号音乐–文本数据集。
  • 将作品切分成 20 秒片段,产生 29,409 个片段和约 230 万个问答对,用于指令微调。
  • 将 MIDI-LLaMA 与仅文本的 ABC-LLaMA 基线进行对比,以隔离符号 MIDI 嵌入的价值。
  • 使用 QA 和音乐字幕任务进行评估,指标包括 BLEU、METEOR、ROUGE-L 和 BERTScore;并辅以对字幕质量与情感表达的人类评估。

实验结果

研究问题

  • RQ1符号 MIDI 嵌入与 LLM 对齐是否能在问答和字幕任务中,超越文本表示(ABC 符号)在符号音乐理解上的表现?
  • RQ2两阶段对齐与在 MIDI 编码器冻结情况下进行指令微调,对下游符号音乐任务有何影响?
  • RQ3自动化、GPT 辅助标注是否为符号音乐的指令微调提供可靠、可扩展的数据?
  • RQ4与仅文本基线相比,人类评判对 MIDI-LLaMA 的字幕在音乐理解与情感捕捉方面有何差异?

主要发现

  • MIDI-LLaMA 在音乐字幕任务上在 BLEU、METEOR、ROUGE-L、和 BERTScore 指标上优于 ABC-LLaMA 基线。
  • 在问答中,MIDI-LLaMA 实现更强的 ROUGE-L 与 BERTScore,表明语义对齐更好,尽管在某些情况下表层词汇指标对 ABC 基线更有利。
  • 无符号音乐对齐的零-shot LLaMA 基线表现较差,验证了符号音乐嵌入整合的必要性。
  • 人工评估者更倾向于 MIDI-LLaMA 的音乐理解与情感识别的字幕,并且也偏好创造性。
  • 数据集与标注流程产生高质量的音乐–文本对,类别标签的通过率为 89%,描述性注释的通过率为 93%。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。