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

探索使用 Transformer 语言模型生成旋律的采样技术

Exploring Sampling Techniques for Generating Melodies with a Transformer Language Model

Institute of Computational Perception, Johannes Kepler University Linz(约翰开普勒林茨大学计算感知研究所);Sony Computer Science Laboratories (CSL)(索尼计算机科学实验室);LIT AI Lab, Linz Institute of Technology(林茨理工学院LIT人工智能实验室)

Mathias Rose Bjare, Stefan Lattner, Gerhard Widmer

AI总结:

本文训练高容量 Transformer 生成爱尔兰民间旋律,对比核采样、典型采样与祖先采样在模型校准及性能退化场景下的主客观表现,揭示概率截断对多样性、结构和音乐性的不同影响。

摘要:

自然语言处理领域的研究已经表明,训练好的自回归语言模型所生成内容的质量,会显著受到所采用采样策略的影响。在本研究中,我们考察不同采样技术对多样性和结构等音乐品质的影响。为此,我们在大量高度结构化的爱尔兰民间旋律集合上训练一个高容量 transformer 模型,并分析使用分布截断采样技术所生成样本的音乐品质。具体而言,我们采用 nucleus sampling(核采样)、近期提出的“typical sampling”(典型采样)以及传统的 ancestral sampling(祖先采样)。我们在两种场景下评估这些采样策略的效果:模型经过良好校准的最优情形,以及我们系统性地降低模型性能的次优情形。我们使用客观评价和主观评价来评估生成的样本。我们发现,概率截断技术在最优情形下可能限制多样性和结构模式,但在次优情形下也可能产生更具音乐性的样本。

英文摘要:

Research in natural language processing has demonstrated that the quality of generations from trained autoregressive language models is significantly influenced by the used sampling strategy. In this study, we investigate the impact of different sampling techniques on musical qualities such as diversity and structure. To accomplish this, we train a high-capacity transformer model on a vast collection of highly-structured Irish folk melodies and analyze the musical qualities of the samples generated using distribution truncation sampling techniques. Specifically, we use nucleus sampling, the recently proposed "typical sampling", and conventional ancestral sampling. We evaluate the effect of these sampling strategies in two scenarios: optimal circumstances with a well-calibrated model and suboptimal circumstances where we systematically degrade the model's performance. We assess the generated samples using objective and subjective evaluations. We discover that probability truncation techniques may restrict diversity and structural patterns in optimal circumstances, but may also produce more musical samples in suboptimal circumstances.

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

↑