mlsanityData to 7 Oct 2026

A Domain-Knowledge-Inspired Music Embedding Space and a Novel Attention Mechanism for Symbolic Music Modeling

arXiv 2212.00973 ↗First posted 2 Dec 2022cs.SD cs.AI eess.AScited by 17

Not on the map. Why?

Abstract (arXiv)

Following the success of the transformer architecture in the natural language domain, transformer-like architectures have been widely applied to the domain of symbolic music recently. Symbolic music and text, however, are two different modalities. Symbolic music contains multiple attributes, both absolute attributes (e.g., pitch) and relative attributes (e.g., pitch interval). These relative attributes shape human perception of musical motifs. These important relative attributes, however, are mostly ignored in existing symbolic music modeling methods with the main reason being the lack of a musically-meaningful embedding space where both the absolute and relative embeddings of the symbolic music tokens can be efficiently represented. In this paper, we propose the Fundamental Music Embedding (FME) for symbolic music based on a bias-adjusted sinusoidal encoding within which both the absolute and the relative attributes can be embedded and the fundamental musical properties (e.g., translational invariance) are explicitly preserved. Taking advantage of the proposed FME, we further propose a novel attention mechanism based on the relative index, pitch and onset embeddings (RIPO attention) such that the musical domain knowledge can be fully utilized for symbolic music modeling. Experiment results show that our proposed model: RIPO transformer which utilizes FME and RIPO attention outperforms the state-of-the-art transformers (i.e., music transformer, linear transformer) in a melody completion task. Moreover, using the RIPO transformer in a downstream music generation task, we notice that the notorious degeneration phenomenon no longer exists and the music generated by the RIPO transformer outperforms the music generated by state-of-the-art transformer models in both subjective and objective evaluations.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 16 of its 30 references that are in the map. First posted on arXiv 2 Dec 2022.

Builds on

16 of 30 references.

References · 16

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  7. 2018Self-Attention with Relative Position Representationscited by 1,112
  8. 2019Neural Text Generation with Unlikelihood Trainingcited by 489
  9. 2018A Hierarchical Latent Vector Model for Learning Long-Term Structure in Musiccited by 131
  10. 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
  11. 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
  12. 2018A Functional Taxonomy of Music Generation Systemscited by 31
4 more
  1. 2020PIANOTREE VAE: Structured Representation Learning for Polyphonic Musiccited by 25
  2. 2020PiRhDy: Learning Pitch-, Rhythm-, and Dynamics-aware Embeddings for Symbolic Musiccited by 24
  3. 2021Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structurecited by 12
  4. 2018From Context to Concept: Exploring Semantic Relationships in Music with Word2Veccited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 5; 2025: 4; 2026: 4.

17 papers.

Sort:

By area:

  1. 2023Mustango: Toward Controllable Text-to-Music Generationcited by 100
  2. 2023Anticipatory Music Transformercited by 35
  3. 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
  4. 2024Structure-informed Positional Encoding for Music Generationcited by 5
  5. 2025Moonbeam: A MIDI Foundation Model Using Both Absolute and Relative Music Attributescited by 4
  6. 2025SyMuPe: Affective and Controllable Symbolic Music Performancecited by 3
  7. 2023An Comparative Analysis of Different Pitch and Metrical Grid Encoding Methods in the Task of Sequential Music Generationcited by 2
  8. 2024Why Perturbing Symbolic Music is Necessary: Fitting the Distribution of Never-used Notes through a Joint Probabilistic Diffusion Modelcited by 2
  9. 2025F-StrIPE: Fast Structure-Informed Positional Encoding for Symbolic Music Generationcited by 2
  10. 2024Practical and Reproducible Symbolic Music Generation by Large Language Models with Structural Embeddingscited by 1
  11. 2024Six Dragons Fly Again: Reviving 15th-Century Korean Court Music with Transformers and Novel Encodingcited by 1
  12. 2026PianoCoRe: Combined and Refined Piano MIDI Datasetcited by 1
5 more
  1. 2023LooPy: A Research-Friendly Mix Framework for Music Information Retrieval on Electronic Dance Musiccited by 0
  2. 2025Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generationcited by 0
  3. 2026Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generationcited by 0
  4. 2026Equivariant Music Transformercited by 0
  5. 2026How Far Should Tokenization Go? Predictive Effectiveness and Relational Losslessnesscited by 0