N-Gram Unsupervised Compoundation and Feature Injection for Better Symbolic Music Understanding
Not on the map. Why?
Abstract (arXiv)
The first step to apply deep learning techniques for symbolic music understanding is to transform musical pieces (mainly in MIDI format) into sequences of predefined tokens like note pitch, note velocity, and chords. Subsequently, the sequences are fed into a neural sequence model to accomplish specific tasks. Music sequences exhibit strong correlations between adjacent elements, making them prime candidates for N-gram techniques from Natural Language Processing (NLP). Consider classical piano music: specific melodies might recur throughout a piece, with subtle variations each time. In this paper, we propose a novel method, NG-Midiformer, for understanding symbolic music sequences that leverages the N-gram approach. Our method involves first processing music pieces into word-like sequences with our proposed unsupervised compoundation, followed by using our N-gram Transformer encoder, which can effectively incorporate N-gram information to enhance the primary encoder part for better understanding of music sequences. The pre-training process on large-scale music datasets enables the model to thoroughly learn the N-gram information contained within music sequences, and subsequently apply this information for making inferences during the fine-tuning stage. Experiment on various datasets demonstrate the effectiveness of our method and achieved state-of-the-art performance on a series of music understanding downstream tasks. The code and model weights will be released at https://github.com/CinqueOrigin/NG-Midiformer.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 22 of its 35 references that are in the map. First posted on arXiv 13 Dec 2023.
Builds on
22 of 35 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 215
- 2019Semantics-aware BERT for Language Understandingcited by 111
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
10 more
- 2020POP909: A Pop-song Dataset for Music Arrangement Generationcited by 83
- 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
- 2020High-resolution Piano Transcription with Pedals by Regressing Onset and Offset Timescited by 61
- 2021EMOPIA: A Multi-Modal Pop Piano Dataset For Emotion Recognition and Emotion-based Music Generationcited by 53
- 2020GiantMIDI-Piano: A large-scale MIDI dataset for classical piano musiccited by 37
- 2019ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram Representationscited by 35
- 2020Computer-Generated Music for Tabletop Role-Playing Gamescited by 23
- 2021Text Compression-aided Transformer Encodingcited by 13
- 2021BERT-like Pre-training for Symbolic Piano Music Classification Taskscited by 12
- 2018Effective Subword Segmentation for Text Comprehensioncited by 3
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025NOTA: Multimodal Music Notation Understanding for Visual Large Language Modelcited by 4
- 2025Label Drop for Multi-Aspect Relation Modeling in Universal Information Extractioncited by 1
- 2025Let the Model Learn to Feel: Mode-Guided Tonality Injection for Symbolic Music Emotion Recognitioncited by 0
- 2026SongSong: A Time Phonograph for Chinese SongCi Music from Thousand of Years Awaycited by 0
- 2026N-gram Injection into Transformers for Dynamic Language Model Adaptation in Handwritten Text Recognitioncited by 0
- 2026N-gram Injection into Transformers for Dynamic Language Model Adaptation in Handwritten Text Recognition4 Mar 2026
- 2026SongSong: A Time Phonograph for Chinese SongCi Music from Thousand of Years Away27 Feb 2026
- 2025Let the Model Learn to Feel: Mode-Guided Tonality Injection for Symbolic Music Emotion Recognition15 Dec 2025
- 2025Label Drop for Multi-Aspect Relation Modeling in Universal Information Extraction18 Feb 2025
- 2025NOTA: Multimodal Music Notation Understanding for Visual Large Language Model17 Feb 2025