SDAICLLGMMASOct 19, 2022

Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generation

Microsoft
arXiv:2210.10349v290 citationsh-index: 91
Originality Incremental advance
AI Analysis

This addresses the challenge of efficient and structured music generation for AI applications, though it is an incremental improvement over existing Transformer methods.

The paper tackles the problem of generating long symbolic music sequences with better repetition structures by proposing Museformer, a Transformer variant with fine- and coarse-grained attention, which can model over 3X longer sequences than full-attention Transformers and produces higher-quality music.

Symbolic music generation aims to generate music scores automatically. A recent trend is to use Transformer or its variants in music generation, which is, however, suboptimal, because the full attention cannot efficiently model the typically long music sequences (e.g., over 10,000 tokens), and the existing models have shortcomings in generating musical repetition structures. In this paper, we propose Museformer, a Transformer with a novel fine- and coarse-grained attention for music generation. Specifically, with the fine-grained attention, a token of a specific bar directly attends to all the tokens of the bars that are most relevant to music structures (e.g., the previous 1st, 2nd, 4th and 8th bars, selected via similarity statistics); with the coarse-grained attention, a token only attends to the summarization of the other bars rather than each token of them so as to reduce the computational cost. The advantages are two-fold. First, it can capture both music structure-related correlations via the fine-grained attention, and other contextual information via the coarse-grained attention. Second, it is efficient and can model over 3X longer music sequences compared to its full-attention counterpart. Both objective and subjective experimental results demonstrate its ability to generate long music sequences with high quality and better structures.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes