Abstract
Discrete representation learning has shown promising results across various domains, including generation and understanding in image, speech and language. Inspired by these advances, we propose MuseTok, a tokenization method for symbolic music, and investigate its effectiveness in both music generation and understanding tasks. MuseTok employs the residual vector quantized-variational autoencoder (RQ-VAE) on bar-wise music segments within a Transformer-based encoder-decoder framework, producing music codes that achieve high-fidelity music reconstruction and accurate understanding of music theory. For comprehensive evaluation, we apply MuseTok to music generation and semantic understanding tasks, including melody extraction, chord recognition, and emotion recognition. Models incorporating MuseTok outperform previous representation learning baselines in semantic understanding while maintaining comparable performance in content generation. Furthermore, qualitative analyses on MuseTok codes, using ground-truth categories and synthetic datasets, reveal that MuseTok effectively captures underlying musical concepts from large music collections.
Abstract (translated)
离散表示学习在图像、语音和语言等多个领域展示了令人鼓舞的结果,特别是在生成和理解方面。受这些进展的启发,我们提出了MuseTok,这是一种用于符号音乐的标记化方法,并研究了它在音乐生成和理解任务中的有效性。MuseTok采用残差向量量化变分自动编码器(RQ-VAE)处理小节级别的音乐片段,在基于Transformer的编解码框架内工作,从而产生能够实现高保真音乐重建和准确掌握音乐理论原理的音乐代码。 为了进行全面评估,我们将MuseTok应用于包括旋律提取、和弦识别以及情感识别在内的音乐生成和语义理解任务。包含MuseTok的模型在语义理解方面超越了之前的表示学习基准,在内容生成方面的表现也保持相当水平。此外,通过对真实类别和合成数据集进行定性分析,我们发现MuseTok能够有效地捕捉大型音乐集合中的底层音乐概念。
URL
https://arxiv.org/abs/2510.16273