Theme Transformer: Symbolic Music Generation with Theme-Conditioned Transformer
Not on the map. Why?
Abstract (arXiv)
Attention-based Transformer models have been increasingly employed for automatic music generation. To condition the generation process of such a model with a user-specified sequence, a popular approach is to take that conditioning sequence as a priming sequence and ask a Transformer decoder to generate a continuation. However, this prompt-based conditioning cannot guarantee that the conditioning sequence would develop or even simply repeat itself in the generated continuation. In this paper, we propose an alternative conditioning approach, called theme-based conditioning, that explicitly trains the Transformer to treat the conditioning sequence as a thematic material that has to manifest itself multiple times in its generation result. This is achieved with two main technical contributions. First, we propose a deep learning-based approach that uses contrastive representation learning and clustering to automatically retrieve thematic materials from music pieces in the training data. Second, we propose a novel gated parallel attention module to be used in a sequence-to-sequence (seq2seq) encoder/decoder architecture to more effectively account for a given conditioning thematic material in the generation process of the Transformer decoder. We report on objective and subjective evaluations of variants of the proposed Theme Transformer and the conventional prompt-based baseline, showing that our best model can generate, to some extent, polyphonic pop piano music with repetition and plausible variations of a given condition.
Key facts. Cited by 40 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Nov 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 6; 2023: 8; 2024: 11; 2025: 9; 2026: 6.
40 papers.
Sort:
By area:
- 2023Anticipatory Music Transformercited by 35
- 2022Multitrack Music Transformercited by 28
- 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 17
- 2024Frechet Music Distance: A Metric For Generative Symbolic Music Evaluationcited by 12
- 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
- 2024A Large-Scale Simulation on Large Language Models for Decision-Making in Political Sciencecited by 9
- 2022ComMU: Dataset for Combinatorial Music Generationcited by 8
- 2025The GigaMIDI Dataset with Features for Expressive Music Performance Detectioncited by 7
- 2023A Survey of Generative AI for Intelligent Transportation Systems: Road Transportation Perspectivecited by 6
- 2024An Order-Complexity Aesthetic Assessment Model for Aesthetic-aware Music Recommendationcited by 6
28 more
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generationcited by 6
- 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networkscited by 5
- 2022Melody Infilling with User-Provided Structural Contextcited by 4
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generationcited by 4
- 2024PerTok: Expressive Encoding and Modeling of Symbolic Musical Ideas and Variationscited by 4
- 2025A Survey on Music Generation from Single-Modal, Cross-Modal, and Multi-Modal Perspectivescited by 4
- 2022A Survey on Artificial Intelligence for Music Generation: Agents, Domains and Perspectivescited by 3
- 2025Diffusion-based Symbolic Music Generation with Structured State Space Modelscited by 2
- 2025Time-Shifted Token Scheduling for Symbolic Music Generationcited by 2
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeletoncited by 2
- 2023An Order-Complexity Model for Aesthetic Quality Assessment of Symbolic Homophony Music Scorescited by 1
- 2023Motif-Centric Representation Learning for Symbolic Musiccited by 1
- 2024Music Proofreading with RefinPaint: Where and How to Modify Compositions given Contextcited by 1
- 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddingscited by 1
- 2024Six Dragons Fly Again: Reviving 15th-Century Korean Court Music with Transformers and Novel Encodingcited by 1
- 2024Generating High-quality Symbolic Music Using Fine-grained Discriminatorscited by 1
- 2025Fretting-Transformer: Encoder-Decoder Model for MIDI to Tablature Transcriptioncited by 1
- 2025Segment-Factorized Full-Song Generation on Symbolic Piano Musiccited by 1
- 2023Combinatorial music generation model with song structure graph analysiscited by 0
- 2024Do we need more complex representations for structure? A comparison of note duration representation for Music Transformerscited by 0
- 2025Genre Controlled Music Generation via Activation Steeringcited by 0
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generationcited by 0
- 2025TinyMusician: On-Device Music Generation with Knowledge Distillation and Mixed Precision Quantizationcited by 0
- 2026Art2Mus: Artwork-to-Music Generation via Visual Conditioning and Large-Scale Cross-Modal Alignmentcited by 0
- 2026Fusing Memory and Attention: A study on LSTM, Transformer and Hybrid Architectures for Symbolic Music Generationcited by 0
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modelingcited by 0
- 2026From local kernels to global form: modeling the emergence of musical contentcited by 0
- 2026Getting Motif-ated: Controllable AI Compositions from Injected Motif Promptscited by 0
- 2026Getting Motif-ated: Controllable AI Compositions from Injected Motif Prompts26 Sep 2026
- 2026From local kernels to global form: modeling the emergence of musical content25 Aug 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026Fusing Memory and Attention: A study on LSTM, Transformer and Hybrid Architectures for Symbolic Music Generation22 Mar 2026
- 2026Art2Mus: Artwork-to-Music Generation via Visual Conditioning and Large-Scale Cross-Modal Alignment19 Feb 2026
- 2025Segment-Factorized Full-Song Generation on Symbolic Piano Music7 Oct 2025
- 2025Time-Shifted Token Scheduling for Symbolic Music Generation28 Sep 2025
- 2025TinyMusician: On-Device Music Generation with Knowledge Distillation and Mixed Precision Quantization31 Aug 2025
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generation27 Aug 2025
- 2025Diffusion-based Symbolic Music Generation with Structured State Space Models27 Jul 2025
- 2025Fretting-Transformer: Encoder-Decoder Model for MIDI to Tablature Transcription17 Jun 2025
28 more
- 2025Genre Controlled Music Generation via Activation Steering11 Jun 2025
- 2025A Survey on Music Generation from Single-Modal, Cross-Modal, and Multi-Modal Perspectives1 Apr 2025
- 2025The GigaMIDI Dataset with Features for Expressive Music Performance Detection24 Feb 2025
- 2024A Large-Scale Simulation on Large Language Models for Decision-Making in Political Science19 Dec 2024
- 2024Frechet Music Distance: A Metric For Generative Symbolic Music Evaluation10 Dec 2024
- 2024Do we need more complex representations for structure? A comparison of note duration representation for Music Transformers14 Oct 2024
- 2024PerTok: Expressive Encoding and Modeling of Symbolic Musical Ideas and Variations2 Oct 2024
- 2024Generating High-quality Symbolic Music Using Fine-grained Discriminators3 Aug 2024
- 2024Six Dragons Fly Again: Reviving 15th-Century Korean Court Music with Transformers and Novel Encoding2 Aug 2024
- 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddings29 Jul 2024
- 2024Music Proofreading with RefinPaint: Where and How to Modify Compositions given Context12 Jul 2024
- 2024Motifs, Phrases, and Beyond: The Modelling of Structure in Symbolic Music Generation12 Mar 2024
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey27 Feb 2024
- 2024An Order-Complexity Aesthetic Assessment Model for Aesthetic-aware Music Recommendation13 Feb 2024
- 2023Combinatorial music generation model with song structure graph analysis24 Dec 2023
- 2023A Survey of Generative AI for Intelligent Transportation Systems: Road Transportation Perspective13 Dec 2023
- 2023MelodyGLM: Multi-task Pre-training for Symbolic Melody Generation19 Sep 2023
- 2023Motif-Centric Representation Learning for Symbolic Music19 Sep 2023
- 2023EmoGen: Eliminating Subjective Bias in Emotional Music Generation3 Jul 2023
- 2023Anticipatory Music Transformer14 Jun 2023
- 2023GTR-CTRL: Instrument and Genre Conditioning for Guitar-Focused Music Generation with Transformers10 Feb 2023
- 2023An Order-Complexity Model for Aesthetic Quality Assessment of Symbolic Homophony Music Scores14 Jan 2023
- 2022ComMU: Dataset for Combinatorial Music Generation17 Nov 2022
- 2022A Survey on Artificial Intelligence for Music Generation: Agents, Domains and Perspectives25 Oct 2022
- 2022Melody Infilling with User-Provided Structural Context6 Oct 2022
- 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approach17 Sep 2022
- 2022MeloForm: Generating Melody with Musical Form based on Expert Systems and Neural Networks30 Aug 2022
- 2022Multitrack Music Transformer14 Jul 2022
- 2023Anticipatory Music Transformercited by 35
- 2022Multitrack Music Transformercited by 28
- 2022Compose & Embellish: Well-Structured Piano Performance Generation via A Two-Stage Approachcited by 17
- 2024Frechet Music Distance: A Metric For Generative Symbolic Music Evaluationcited by 12
- 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
- 2024A Large-Scale Simulation on Large Language Models for Decision-Making in Political Sciencecited by 9
- 2022ComMU: Dataset for Combinatorial Music Generationcited by 8
- 2025The GigaMIDI Dataset with Features for Expressive Music Performance Detectioncited by 7
- 2023A Survey of Generative AI for Intelligent Transportation Systems: Road Transportation Perspectivecited by 6
- 2024An Order-Complexity Aesthetic Assessment Model for Aesthetic-aware Music Recommendationcited by 6
12 most cited of 39 All 39 (JSON)
- 2026Getting Motif-ated: Controllable AI Compositions from Injected Motif Prompts26 Sep 2026
- 2026From local kernels to global form: modeling the emergence of musical content25 Aug 2026
- 2026RPPNet: Perceptually-Grouped Rhythm-Pitch Primitives for Long-Term Structure Melody Generation via Boundary-Aware Modeling22 Jul 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026Fusing Memory and Attention: A study on LSTM, Transformer and Hybrid Architectures for Symbolic Music Generation22 Mar 2026
- 2026Art2Mus: Artwork-to-Music Generation via Visual Conditioning and Large-Scale Cross-Modal Alignment19 Feb 2026
- 2025Segment-Factorized Full-Song Generation on Symbolic Piano Music7 Oct 2025
- 2025Time-Shifted Token Scheduling for Symbolic Music Generation28 Sep 2025
- 2025TinyMusician: On-Device Music Generation with Knowledge Distillation and Mixed Precision Quantization31 Aug 2025
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generation27 Aug 2025
- 2025Fretting-Transformer: Encoder-Decoder Model for MIDI to Tablature Transcription17 Jun 2025
- 2025Genre Controlled Music Generation via Activation Steering11 Jun 2025
12 newest of 39 All 39 (JSON)