arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19816cs.SDcs.AIcs.LG
收藏

深度结构音乐递归:预算递归注意机制用于完整乐谱符号建模

Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence

Auckland University of Technology, Auckland, New Zealand(奥克兰理工大学);University of Tasmania, Tasmania, Australia(塔斯马尼亚大学)

Yungang Yi, Weihua Li, Matthew Kuo, Catherine Shi, Quan Bai

AI总结:

本研究提出双尺度DSMR模型,通过递归注意机制和预算约束实现高效完整乐谱符号建模,实现更低内存占用和更高吞吐量。

摘要:

长上下文建模对于符号音乐生成至关重要,因为动机重复和发展变化可以跨越数千个音乐事件,但实际工作流程通常依赖于资源受限的硬件。我们介绍了深度结构音乐递归(DSMR),这是一种训练时设计,通过从左到右流式传输每个作品,使用具有状态的递归注意机制,从而在固定递归状态预算下分配层间记忆范围来学习完整的作品。我们的主要实例,双尺度DSMR,将长历史窗口分配给下层,并将统一的短窗口分配给剩余的层。在MAESTRO钢琴表演数据集上,双尺度DSMR在困惑度(5.96 vs. 5.98)上与全记忆递归参考相匹配,同时使用大约59%更少的GPU内存,并实现了大约36%更高的吞吐量。变体分析进一步表明,在二进制范围调度下,层具有强替代性:性能主要取决于分配的总内存,而不是哪一层承载它。

英文摘要:

For computational efficiency, modern language models are typically trained on independently sampled fixed-length sequences. Symbolic music language models largely inherit this paradigm, despite musical structure naturally unfolding over complete compositions rather than isolated excerpts. Fragmenting compositions into independent training instances therefore prevents continuous conditioning over the complete work. We present a practical framework for whole-piece training of symbolic music language models via Full-Horizon Compressed Recurrence (FHCR). FHCR preserves the full temporal horizon of recurrent memory while reducing the dimensionality of its key-value (KV) representation, making continuous whole-piece training practical under limited GPU memory. To directly assess functional long-range dependence, we introduce KV-Reset Context Utilization (KRCU), an evaluation-time diagnostic. On the MAESTRO symbolic piano dataset, KRCU shows that full-horizon models utilize context far beyond the local segment window, whereas reducing the temporal extent of recurrent memory substantially weakens this measurable long-range dependence. FHCR preserves long-range context utilization while substantially reducing recurrent memory cost. These findings show that preserving the temporal extent of recurrent history is important for efficient whole-piece modeling, and that memory cost can instead be reduced through KV representation compression. The project demos and generated music samples are available at https://wholemusic.github.io.

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

↑