Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphs
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
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Temporal Graph Networks for Deep Learning on Dynamic Graphscited by 521
- 2018Hypergraph Neural Networkscited by 482
- 2019Representation Learning for Dynamic Graphs: A Surveycited by 260
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
13 more
- 2018Music Transformercited by 207
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2017Onsets and Frames: Dual-Objective Piano Transcriptioncited by 93
- 2013Multilayer Networkscited by 86
- 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
- 2016madmom: a new Python Audio and Music Signal Processing Librarycited by 63
- 2019LakhNES: Improving multi-instrumental music generation with cross-domain pre-trainingcited by 54
- 2020The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-composed Music through Quantitative Measurescited by 53
- 2020MMM : Exploring Conditional Multi-Track Music Generation with the Transformercited by 48
- 2020MusPy: A Toolkit for Symbolic Music Generationcited by 37
- 2019Encoding Musical Style with Transformer Autoencoderscited by 35
- 2020Automatic Composition of Guitar Tabs by Transformers and Groove Modelingcited by 14
- 2019Music Performance Analysis: A Surveycited by 5
Built on by
Citing papers per year: 2021: 13; 2022: 16; 2023: 23; 2024: 22; 2025: 26; 2026: 9.
109 papers.
Sort:
By area:
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2024Symbolic Music Generation with Non-Differentiable Rule Guided Diffusioncited by 52
- 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 48
- 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 39
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 38
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2023Anticipatory Music Transformercited by 35
- 2022Multitrack Music Transformercited by 28
- 2022Video Background Music Generation: Dataset, Method and Evaluationcited by 28
- 2023miditok: A Python package for MIDI file tokenizationcited by 26
- 2021The Piano Inpainting Applicationcited by 23
38 more
- 2025Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Modelscited by 23
- 2024Beyond Language Models: Byte Models are Digital World Simulatorscited by 21
- 2021DadaGP: A Dataset of Tokenized GuitarPro Songs for Sequence Modelscited by 20
- 2023Byte Pair Encoding for Symbolic Musiccited by 19
- 2022MusIAC: An extensible generative framework for Music Infilling Applications with multi-level Controlcited by 17
- 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 17
- 2022A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modelingcited by 17
- 2023Discrete Diffusion Probabilistic Models for Symbolic Music Generationcited by 16
- 2021Variable-Length Music Score Infilling via XLNet and Musically Specialized Positional Encodingcited by 14
- 2022SongDriver: Real-time Music Accompaniment Generation without Logical Latency nor Exposure Biascited by 13
- 2023GETMusic: Generating Any Music Tracks with a Unified Representation and Diffusion Frameworkcited by 13
- 2021BERT-like Pre-training for Symbolic Piano Music Classification Taskscited by 12
- 2024PianoBART: Symbolic Piano Music Generation and Understanding with Large-Scale Pre-Trainingcited by 12
- 2024CLaMP 2: Multimodal Music Information Retrieval Across 101 Languages Using Large Language Modelscited by 12
- 2021Structure-Enhanced Pop Music Generation via Harmony-Aware Learningcited by 11
- 2022Controlling Perceived Emotion in Symbolic Music Generation with Monte Carlo Tree Searchcited by 11
- 2022Generating music with sentiment using Transformer-GANscited by 11
- 2023GTR-CTRL: Instrument and Genre Conditioning for Guitar-Focused Music Generation with Transformerscited by 11
- 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generationcited by 10
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2023AI-Based Affective Music Generation Systems: A Review of Methods, and Challengescited by 9
- 2023Composer's Assistant: An Interactive Transformer for Multi-Track MIDI Infillingcited by 9
- 2023A Survey of AI Music Generation Tools and Modelscited by 9
- 2023Structured Multi-Track Accompaniment Arrangement via Style Prior Modellingcited by 9
- 2025MIDI-VALLE: Improving Expressive Piano Performance Synthesis Through Neural Codec Language Modellingcited by 8
- 2021Score Transformer: Generating Musical Score from Note-level Representationcited by 7
- 2022Conditional Drums Generation using Compound Word Representationscited by 7
- 2022YM2413-MDB: A Multi-Instrumental FM Video Game Music Dataset with Emotion Annotationscited by 7
- 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performancecited by 7
- 2023Reconstructing Human Expressiveness in Piano Performances with a Transformer Networkcited by 6
- 2023Impact of time and note duration tokenizations on deep learning symbolic music modelingcited by 6
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
- 2021Towards Automatic Instrumentation by Learning to Separate Parts in Symbolic Multitrack Musiccited by 5
- 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networkscited by 5
- 2023WuYun: Exploring hierarchical skeleton-guided melody generation using knowledge-enhanced deep learningcited by 5
- 2023N-Gram Unsupervised Compoundation and Feature Injection for Better Symbolic Music Understandingcited by 5
- 2024Structure-informed Positional Encoding for Music Generationcited by 5
- 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)
- 2026DigitCode: Symbolic Tokenization of Hand Motion by Anatomical Units4 Aug 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026Rubato: Transcribing Piano Music with Timestamps22 May 2026
- 2026PianoCoRe: Combined and Refined Piano MIDI Dataset7 May 2026
- 2026Empirical Study of Pop and Jazz Mix Ratios for Genre-Adaptive Chord Generation6 May 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026BEAT: Tokenizing and Generating Symbolic Music by Uniform Temporal Steps21 Apr 2026
- 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generation7 Apr 2026
- 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composing22 Mar 2026
- 2025Let the Model Learn to Feel: Mode-Guided Tonality Injection for Symbolic Music Emotion Recognition15 Dec 2025
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generation12 Dec 2025
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Training2 Dec 2025
38 more
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Models6 Nov 2025
- 2025SyMuPe: Affective and Controllable Symbolic Music Performance5 Nov 2025
- 2025MuseTok: Symbolic Music Tokenization for Generation and Semantic Understanding18 Oct 2025
- 2025Segment-Factorized Full-Song Generation on Symbolic Piano Music7 Oct 2025
- 2025SAGE-Music: Low-Latency Symbolic Music Generation via Attribute-Specialized Key-Value Head Sharing1 Oct 2025
- 2025Time-Shifted Token Scheduling for Symbolic Music Generation28 Sep 2025
- 2025Etude: Piano Cover Generation with a Three-Stage Approach -- Extract, strucTUralize, and DEcode20 Sep 2025
- 2025Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Music28 Aug 2025
- 2025RUMAA: Repeat-Aware Unified Music Audio Analysis for Score-Performance Alignment, Transcription, and Mistake Detection16 Jul 2025
- 2025MIDI-VALLE: Improving Expressive Piano Performance Synthesis Through Neural Codec Language Modelling11 Jul 2025
- 2025Improving BERT for Symbolic Music Understanding Using Token Denoising and Pianoroll Prediction7 Jul 2025
- 2025Exploring Classical Piano Performance Generation with Expressive Music Variational AutoEncoder2 Jul 2025
- 2025Scaling Self-Supervised Representation Learning for Symbolic Piano Performance30 Jun 2025
- 2025From Generality to Mastery: Composer-Style Symbolic Music Generation via Large-Scale Pre-training20 Jun 2025
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKV16 Jun 2025
- 2025Style-based Composer Identification and Attribution of Symbolic Music Scores: a Systematic Survey14 Jun 2025
- 2025Automatic Stage Lighting Control: Is it a Rule-Driven Process or Generative Task?2 Jun 2025
- 2025Moonbeam: A MIDI Foundation Model Using Both Absolute and Relative Music Attributes21 May 2025
- 2025A Survey on Music Generation from Single-Modal, Cross-Modal, and Multi-Modal Perspectives1 Apr 2025
- 2025Vision-to-Music Generation: A Survey27 Mar 2025
- 2025A Comprehensive Survey on Generative AI for Video-to-Music Generation18 Feb 2025
- 2025Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Models17 Feb 2025
- 2025Video Soundtrack Generation by Aligning Emotions and Temporal Boundaries14 Feb 2025
- 2024PIAST: A Multimodal Piano Dataset with Audio, Symbolic and Text4 Nov 2024
- 2024MidiTok Visualizer: a tool for visualization and analysis of tokenized MIDI symbolic music27 Oct 2024
- 2024CLaMP 2: Multimodal Music Information Retrieval Across 101 Languages Using Large Language Models17 Oct 2024
- 2024Efficient Fine-Grained Guidance for Diffusion Model Based Symbolic Music Generation11 Oct 2024
- 2024MMT-BERT: Chord-aware Symbolic Music Generation Based on Multitrack Music Transformer and MusicBERT2 Sep 2024
- 2024Why Perturbing Symbolic Music is Necessary: Fitting the Distribution of Never-used Notes through a Joint Probabilistic Diffusion Model4 Aug 2024
- 2024Generating High-quality Symbolic Music Using Fine-grained Discriminators3 Aug 2024
- 2024Nested Music Transformer: Sequentially Decoding Compound Tokens in Symbolic Music and Audio Generation2 Aug 2024
- 2024Emotion-driven Piano Music Generation via Two-stage Disentanglement and Functional Representation30 Jul 2024
- 2024Emotion-Driven Melody Harmonization via Melodic Variation and Functional Representation29 Jul 2024
- 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddings29 Jul 2024
- 2024Let Network Decide What to Learn: Symbolic Music Understanding Model Based on Large-scale Adversarial Pre-training11 Jul 2024
- 2024MuDiT & MuSiT: Alignment with Colloquial Expression in Description-to-Song Generation3 Jul 2024
- 2024PianoBART: Symbolic Piano Music Generation and Understanding with Large-Scale Pre-Training26 Jun 2024
- 2024Generating Music with Structure Using Self-Similarity as Attention21 Jun 2024
50 newest of 109 All 109 (JSON)
- 2024Symbolic Music Generation with Non-Differentiable Rule Guided Diffusioncited by 52
- 2023Discrete Diffusion Probabilistic Models for Symbolic Music Generationcited by 16
- 2024Why Perturbing Symbolic Music is Necessary: Fitting the Distribution of Never-used Notes through a Joint Probabilistic Diffusion Modelcited by 2
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generationcited by 2
- 2024Efficient Fine-Grained Guidance for Diffusion Model Based Symbolic Music Generationcited by 1
- 2025PhraseVAE and PhraseLDM: Latent Diffusion for Full-Song Multitrack Symbolic Music Generation12 Dec 2025
- 2024Efficient Fine-Grained Guidance for Diffusion Model Based Symbolic Music Generation11 Oct 2024
- 2024Why Perturbing Symbolic Music is Necessary: Fitting the Distribution of Never-used Notes through a Joint Probabilistic Diffusion Model4 Aug 2024
- 2024Symbolic Music Generation with Non-Differentiable Rule Guided Diffusion22 Feb 2024
- 2023Discrete Diffusion Probabilistic Models for Symbolic Music Generation16 May 2023
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
- 2022Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generationcited by 48
- 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 39
- 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 38
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2023Anticipatory Music Transformercited by 35
- 2022Multitrack Music Transformercited by 28
- 2022Video Background Music Generation: Dataset, Method and Evaluationcited by 28
- 2023miditok: A Python package for MIDI file tokenizationcited by 26
- 2021The Piano Inpainting Applicationcited by 23
- 2025Training-Free Guidance Beyond Differentiability: Scalable Path Steering with Tree Search in Diffusion and Flow Modelscited by 23
12 most cited of 104 All 104 (JSON)
- 2026DigitCode: Symbolic Tokenization of Hand Motion by Anatomical Units4 Aug 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026Rubato: Transcribing Piano Music with Timestamps22 May 2026
- 2026PianoCoRe: Combined and Refined Piano MIDI Dataset7 May 2026
- 2026Empirical Study of Pop and Jazz Mix Ratios for Genre-Adaptive Chord Generation6 May 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026BEAT: Tokenizing and Generating Symbolic Music by Uniform Temporal Steps21 Apr 2026
- 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generation7 Apr 2026
- 2026SqueezeComposer: Temporal Speed-up is A Simple Trick for Long-form Music Composing22 Mar 2026
- 2025Let the Model Learn to Feel: Mode-Guided Tonality Injection for Symbolic Music Emotion Recognition15 Dec 2025
- 2025Pianist Transformer: Towards Expressive Piano Performance Rendering via Scalable Self-Supervised Pre-Training2 Dec 2025
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Models6 Nov 2025
12 newest of 104 All 104 (JSON)