mlsanityData to 7 Oct 2026

Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs

arXiv 2101.02402 ↗First posted 7 Jan 2021cs.SD cs.AI eess.AScited by 109

Not on the map. Why?

Abstract (arXiv)

To apply neural sequence models such as the Transformers to music generation tasks, one has to represent a piece of music by a sequence of tokens drawn from a finite set of pre-defined vocabulary. Such a vocabulary usually involves tokens of various types. For example, to describe a musical note, one needs separate tokens to indicate the note's pitch, duration, velocity (dynamics), and placement (onset time) along the time grid. While different types of tokens may possess different properties, existing models usually treat them equally, in the same way as modeling words in natural languages. In this paper, we present a conceptually different approach that explicitly takes into account the type of the tokens, such as note types and metric types. And, we propose a new Transformer decoder architecture that uses different feed-forward heads to model tokens of different types. With an expansion-compression trick, we convert a piece of music to a sequence of compound words by grouping neighboring tokens, greatly reducing the length of the token sequences. We show that the resulting model can be viewed as a learner over dynamic directed hypergraphs. And, we employ it to learn to compose expressive Pop piano music of full-song length (involving up to 10K individual tokens per song), both conditionally and unconditionally. Our experiment shows that, compared to state-of-the-art models, the proposed model converges 5--10 times faster at training (i.e., within a day on a single GPU with 11 GB memory), and with comparable quality in the generated music.

Key facts. Cited by 109 papers in the map (data through 7 Oct 2026). Builds on 25 of its 36 references that are in the map. First posted on arXiv 7 Jan 2021.

Builds on

25 of 36 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  5. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  7. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  8. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  9. 2020Temporal Graph Networks for Deep Learning on Dynamic Graphscited by 521
  10. 2018Hypergraph Neural Networkscited by 482
  11. 2019Representation Learning for Dynamic Graphs: A Surveycited by 260
  12. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
13 more
  1. 2018Music Transformercited by 207
  2. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  3. 2017Onsets and Frames: Dual-Objective Piano Transcriptioncited by 93
  4. 2013Multilayer Networkscited by 86
  5. 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
  6. 2016madmom: a new Python Audio and Music Signal Processing Librarycited by 63
  7. 2019LakhNES: Improving multi-instrumental music generation with cross-domain pre-trainingcited by 54
  8. 2020The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-composed Music through Quantitative Measurescited by 53
  9. 2020MMM : Exploring Conditional Multi-Track Music Generation with the Transformercited by 48
  10. 2020MusPy: A Toolkit for Symbolic Music Generationcited by 37
  11. 2019Encoding Musical Style with Transformer Autoencoderscited by 35
  12. 2020Automatic Composition of Guitar Tabs by Transformers and Groove Modelingcited by 14
  13. 2019Music Performance Analysis: A Surveycited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 13; 2022: 16; 2023: 23; 2024: 22; 2025: 26; 2026: 9.

109 papers.

Sort:

By area:

  1. 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
  2. 2024Symbolic Music Generation with Non-Differentiable Rule Guided Diffusioncited by 52
  3. 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 48
  4. 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 39
  5. 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 38
  6. 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
  7. 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
  8. 2023Anticipatory Music Transformercited by 35
  9. 2022Multitrack Music Transformercited by 28
  10. 2022Video Background Music Generation: Dataset, Method and Evaluationcited by 28
  11. 2023miditok: A Python package for MIDI file tokenizationcited by 26
  12. 2021The Piano Inpainting Applicationcited by 23
38 more
  1. 2025Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Modelscited by 23
  2. 2024Beyond Language Models: Byte Models are Digital World Simulatorscited by 21
  3. 2021DadaGP: A Dataset of Tokenized GuitarPro Songs for Sequence Modelscited by 20
  4. 2023Byte Pair Encoding for Symbolic Musiccited by 19
  5. 2022MusIAC: An extensible generative framework for Music Infilling Applications with multi-level Controlcited by 17
  6. 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 17
  7. 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
  8. 2023Discrete Diffusion Probabilistic Models for Symbolic Music Generationcited by 16
  9. 2021Variable-Length Music Score Infilling via XLNet and Musically Specialized Positional Encodingcited by 14
  10. 2022SongDriver: Real-time Music Accompaniment Generation without Logical Latency nor Exposure Biascited by 13
  11. 2023GETMusic: Generating Any Music Tracks with a Unified Representation and Diffusion Frameworkcited by 13
  12. 2021BERT-like Pre-training for Symbolic Piano Music Classification Taskscited by 12
  13. 2024PianoBART: Symbolic Piano Music Generation and Understanding with Large-Scale Pre-Trainingcited by 12
  14. 2024CLaMP 2: Multimodal Music Information Retrieval Across 101 Languages Using Large Language Modelscited by 12
  15. 2021Structure-Enhanced Pop Music Generation via Harmony-Aware Learningcited by 11
  16. 2022Controlling Perceived Emotion in Symbolic Music Generation with Monte Carlo Tree Searchcited by 11
  17. 2022Generating music with sentiment using Transformer-GANscited by 11
  18. 2023GTR-CTRL: Instrument and Genre Conditioning for Guitar-Focused Music Generation with Transformerscited by 11
  19. 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generationcited by 10
  20. 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
  21. 2023AI-Based Affective Music Generation Systems: A Review of Methods, and Challengescited by 9
  22. 2023Composer's Assistant: An Interactive Transformer for Multi-Track MIDI Infillingcited by 9
  23. 2023A Survey of AI Music Generation Tools and Modelscited by 9
  24. 2023Structured Multi-Track Accompaniment Arrangement via Style Prior Modellingcited by 9
  25. 2025MIDI-VALLE: Improving Expressive Piano Performance Synthesis Through Neural Codec Language Modellingcited by 8
  26. 2021Score Transformer: Generating Musical Score from Note-level Representationcited by 7
  27. 2022Conditional Drums Generation using Compound Word Representationscited by 7
  28. 2022YM2413-MDB: A Multi-Instrumental FM Video Game Music Dataset with Emotion Annotationscited by 7
  29. 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performancecited by 7
  30. 2023Reconstructing Human Expressiveness in Piano Performances with a Transformer Networkcited by 6
  31. 2023Impact of time and note duration tokenizations on deep learning symbolic music modelingcited by 6
  32. 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
  33. 2021Towards Automatic Instrumentation by Learning to Separate Parts in Symbolic Multitrack Musiccited by 5
  34. 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networkscited by 5
  35. 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learningcited by 5
  36. 2023N-Gram Unsupervised Compoundation and Feature Injection for Better Symbolic Music Understandingcited by 5
  37. 2024Structure-informed Positional Encoding for Music Generationcited by 5
  38. 2024Let Network Decide What to Learn: Symbolic Music Understanding Model Based on Large-scale Adversarial Pre-trainingcited by 5

50 most cited of 109 All 109 (JSON)