paper-with-me

홈 › Papers

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

2022-10-19 · Botao Yu, Peiling Lu, Rui Wang, Wei Hu, Xu Tan, Wei Ye, Shikun Zhang, Tao Qin, Tie-Yan Liu

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.

📄 PDF Abstract BibTeX arXiv:2210.10349

Code (1)

microsoft/muzic 공식 구현 pytorch

Tasks

Music Generation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Adam 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…

Similar Papers 제목 키워드 기반

Focal Attention for Long-Range Interactions in Vision Transformers

2021-12-01 · NeurIPS 2021 12 · Jianwei Yang, Chunyuan Li, Pengchuan Zhang, Xiyang Dai 외

Recently, Vision Transformer and its variants have shown great promise on various computer vision tasks. The ability to capture local and global visual dependencies through self-attention is the key to its success. But i…

image-classificationImage Classificationobject-detectionObject Detection+1

3D-C2FT: Coarse-to-fine Transformer for Multi-view 3D Reconstruction

2022-05-29 · Leslie Ching Ow Tiong, Dick Sigmund, Andrew Beng Jin Teoh

Recently, the transformer model has been successfully employed for the multi-view 3D reconstruction problem. However, challenges remain on designing an attention mechanism to explore the multiview features and exploit th…

3D ReconstructionMulti-View 3D Reconstruction

Axially Expanded Windows for Local-Global Interaction in Vision Transformers

2022-09-19 · Zhemin Zhang, Xun Gong

Recently, Transformers have shown promising performance in various vision tasks. A challenging issue in Transformer design is that global self-attention is very expensive to compute, especially for the high-resolution vi…

MAFormer: A Transformer Network with Multi-scale Attention Fusion for Visual Recognition

2022-08-31 · Yunhao Wang, Huixin Sun, Xiaodi Wang, Bin Zhang 외

Vision Transformer and its variants have demonstrated great potential in various computer vision tasks. But conventional vision transformers often focus on global dependency at a coarse level, which suffer from a learnin…

Instance Segmentationobject-detectionObject DetectionSemantic Segmentation

Local-Global Shifting Vision Transformers

2021-09-29 · Shelly Sheynin, Sagie Benaim, Adam Polyak, Lior Wolf

Recent work has shown the potential of transformers for computer vision applications. An image is first partitioned into patches, which are then used as input tokens for the attention mechanism. Due to the expensive quad…

image-classificationImage Classification