arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21282cs.LGcs.AIcs.SD
收藏

融合记忆与注意力:关于LSTM、Transformer和混合架构在符号音乐生成中的研究

Fusing Memory and Attention: A study on LSTM, Transformer and Hybrid Architectures for Symbolic Music Generation

Kalinga Institute of Industrial Technology (KIIT)(凯林加工业技术学院(KIIT));IMC University of Applied Sciences Krems(应用科学克雷姆斯大学)

Soudeep Ghoshal, Sandipan Chakraborty, Pradipto Chowdhury, Himanshu Buckchash

AI总结:

本文比较LSTM与Transformer在符号音乐生成中的表现,发现LSTM擅长局部模式但缺乏长距离依赖,Transformer能保持全局结构但易产生不规则节奏,提出混合架构结合两者优势,实验显示混合方法在局部和全局连续性上表现更优。

摘要:

机器学习技术,如Transformer和长短期记忆网络(LSTM),在符号音乐生成(SMG)中起着关键作用。现有文献表明,LSTM和Transformer在建模局部旋律连续性与保持全局结构一致性方面存在差异。然而,它们在SMG中的具体特性尚未系统研究。本文通过在德语数据集上使用17个音乐质量指标,对LSTM和Transformer进行了细粒度比较分析,发现LSTM擅长捕捉局部模式但无法保持长距离依赖,而Transformer能有效建模全局结构但易产生不规则节奏。基于此分析并利用其各自优势,我们提出一种混合架构,结合Transformer编码器和LSTM解码器,并将其与基线模型进行比较。我们对三种架构各生成1000首旋律进行评估,结果表明混合方法在局部和全局连续性和一致性方面优于基线。本文强调了这些模型的关键特性,并展示了如何利用其属性设计更优模型。此外,我们通过消融研究和人类感知评估支持实验,统计结果支持发现并为本工作提供了稳健的验证。

英文摘要:

Machine learning techniques, such as Transformers and Long Short-Term Memory (LSTM) networks, play a crucial role in Symbolic Music Generation (SMG). Existing literature indicates a difference between LSTMs and Transformers regarding their ability to model local melodic continuity versus maintaining global structural coherence. However, their specific properties within the context of SMG have not been systematically studied. This paper addresses this gap by providing a fine-grained comparative analysis of LSTMs versus Transformers for SMG, examining local and global properties in detail using 17 musical quality metrics on the Deutschl dataset. We find that LSTM networks excel at capturing local patterns but fail to preserve long-range dependencies, while Transformers model global structure effectively but tend to produce irregular phrasing. Based on this analysis and leveraging their respective strengths, we propose a Hybrid architecture combining a Transformer Encoder with an LSTM Decoder and evaluate it against both baselines. We evaluated 1,000 generated melodies from each of the three architectures on the Deutschl dataset. The results show that the hybrid method achieves better local and global continuity and coherence compared to the baselines. Our work highlights the key characteristics of these models and demonstrates how their properties can be leveraged to design superior models. We also supported the experiments with ablation studies and human perceptual evaluations, which statistically support the findings and provide robust validation for this work.

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

↑