一种用于语言模型音乐生成的促进独立性的损失函数
An Independence-promoting Loss for Music Generation with Language Models
AI总结:
本文提出一种促进独立性的损失函数来正则化音乐生成语言模型中的自编码器,通过降低多码本间的统计依赖性,使边缘分布乘积建模在保证生成质量的同时大幅提升音频生成速度。
摘要:
使用语言建模的音乐生成方案依赖于音频标记的词汇表,这些标记通常以自编码器在离散潜空间中学习到的编码形式提供。多级量化器常被用来产生这些标记,因此用于标记预测的解码策略必须适应多个码本:要么对所有码本上的联合分布建模,要么拟合各码本边缘分布的乘积。对联合分布建模需要自回归步骤数量的大量增加,而拟合边缘分布的乘积会得到一个不精确的模型,除非各码本相互独立。在这项工作中,我们引入一种促进独立性的损失函数来正则化用作音乐生成语言模型中标记器的自编码器。所提出的损失是基于最大均值差异准则的互信息代理,应用于可再生核希尔伯特空间。我们的准则实现和训练简单,并且可推广到其他多流编解码器。我们表明,该损失在自编码过程中降低了码本之间的统计依赖性。这导致在对边缘分布乘积建模时生成音乐质量的提升,同时生成音频的速度远快于联合分布模型。
英文摘要:
Music generation schemes using language modeling rely on a vocabulary of audio tokens, generally provided as codes in a discrete latent space learnt by an auto-encoder. Multi-stage quantizers are often employed to produce these tokens, therefore the decoding strategy used for token prediction must be adapted to account for multiple codebooks: either it should model the joint distribution over all codebooks, or fit the product of the codebook marginal distributions. Modelling the joint distribution requires a costly increase in the number of auto-regressive steps, while fitting the product of the marginals yields an inexact model unless the codebooks are mutually independent. In this work, we introduce an independence-promoting loss to regularize the auto-encoder used as the tokenizer in language models for music generation. The proposed loss is a proxy for mutual information based on the maximum mean discrepancy principle, applied in reproducible kernel Hilbert spaces. Our criterion is simple to implement and train, and it is generalizable to other multi-stream codecs. We show that it reduces the statistical dependence between codebooks during auto-encoding. This leads to an increase in the generated music quality when modelling the product of the marginal distributions, while generating audio much faster than the joint distribution model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。