Variable-Length Music Score Infilling via XLNet and Musically Specialized Positional Encoding
Not on the map. Why?
Abstract (arXiv)
This paper proposes a new self-attention based model for music score infilling, i.e., to generate a polyphonic music sequence that fills in the gap between given past and future contexts. While existing approaches can only fill in a short segment with a fixed number of notes, or a fixed time span between the past and future contexts, our model can infill a variable number of notes (up to 128) for different time spans. We achieve so with three major technical contributions. First, we adapt XLNet, an autoregressive model originally proposed for unsupervised model pre-training, to music score infilling. Second, we propose a new, musically specialized positional encoding called relative bar encoding that better informs the model of notes' position within the past and future context. Third, to capitalize relative bar encoding, we perform look-ahead onset prediction to predict the onset of a note one time step before predicting the other attributes of the note. We compare our proposed model with two strong baselines and show that our model is superior in both objective and subjective analyses.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 30 of its 41 references that are in the map. First posted on arXiv 11 Aug 2021.
Builds on
30 of 41 references.
References · 30
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2019A Comparative Study on Transformer vs RNN in Speech Applicationscited by 210
- 2018Music Transformercited by 207
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2020Enabling Language Models to Fill in the Blankscited by 121
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2016DeepBach: a Steerable Model for Bach Chorales Generationcited by 90
18 more
- 2018MaskGAN: Better Text Generation via Filling in the______cited by 89
- 2020PopMAG: Pop Music Accompaniment Generationcited by 68
- 2018This Time with Feeling: Learning Expressive Musical Performancecited by 67
- 2020Felix: Flexible Text Editing Through Tagging and Insertioncited by 58
- 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
- 2020Blank Language Modelscited by 43
- 2019Counterpoint by Convolutioncited by 42
- 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 39
- 2016Music transcription modelling and composition using deep learningcited by 36
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2019Encoding Musical Style with Transformer Autoencoderscited by 35
- 2019Text Infillingcited by 32
- 2020Music SketchNet: Controllable Music Generation via Factorized Representations of Pitch and Rhythmcited by 28
- 2019Learning to Traverse Latent Spaces for Musical Score Inpaintingcited by 24
- 2020Automatic Composition of Guitar Tabs by Transformers and Groove Modelingcited by 14
- 2019NONOTO: A Model-agnostic Web Interface for Interactive Music Composition by Inpaintingcited by 10
- 2020Generating Music with a Self-Correcting Non-Chronological Autoregressive Modelcited by 5
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 4; 2024: 4; 2025: 2; 2026: 1.
14 papers.
Sort:
By area:
- 2023Anticipatory Music Transformercited by 35
- 2023Polyffusion: A Diffusion Model for Polyphonic Score Generation with Internal and External Controlscited by 35
- 2022Multitrack Music Transformercited by 28
- 2024Arrange, Inpaint, and Refine: Steerable Long-term Music Audio Generation and Editing via Content-based Controlscited by 17
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2023Composer's Assistant: An Interactive Transformer for Multi-Track MIDI Infillingcited by 9
- 2024Composer's Assistant 2: Interactive Multi-Track MIDI Infilling with Fine-Grained User Controlcited by 5
- 2022Melody Infilling with User-Provided Structural Contextcited by 4
- 2025ImprovNet -- Generating Controllable Musical Improvisations with Iterative Corruption Refinementcited by 3
- 2021Music Score Expansion with Variable-Length Infillingcited by 2
- 2025Time-Shifted Token Scheduling for Symbolic Music Generationcited by 2
- 2026BeatEdit: Symbolic Music Generation as Explicit Editingcited by 1
- 2026BeatEdit: Symbolic Music Generation as Explicit Editing13 Jul 2026
- 2025Time-Shifted Token Scheduling for Symbolic Music Generation28 Sep 2025
- 2025ImprovNet -- Generating Controllable Musical Improvisations with Iterative Corruption Refinement6 Feb 2025
- 2024Composer's Assistant 2: Interactive Multi-Track MIDI Infilling with Fine-Grained User Control19 Jul 2024
- 2024Pictures Of MIDI: Controlled Music Generation via Graphical Prompts for Image-Based Diffusion Inpainting1 Jul 2024
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey27 Feb 2024
- 2024Arrange, Inpaint, and Refine: Steerable Long-term Music Audio Generation and Editing via Content-based Controls14 Feb 2024
- 2023Polyffusion: A Diffusion Model for Polyphonic Score Generation with Internal and External Controls19 Jul 2023
- 2023Anticipatory Music Transformer14 Jun 2023
- 2023Exploring Softly Masked Language Modelling for Controllable Symbolic Music Generation5 May 2023
- 2023Composer's Assistant: An Interactive Transformer for Multi-Track MIDI Infilling29 Jan 2023
- 2022Melody Infilling with User-Provided Structural Context6 Oct 2022
2 more
- 2022Multitrack Music Transformer14 Jul 2022
- 2021Music Score Expansion with Variable-Length Infilling11 Nov 2021
- 2023Anticipatory Music Transformercited by 35
- 2022Multitrack Music Transformercited by 28
- 2024Arrange, Inpaint, and Refine: Steerable Long-term Music Audio Generation and Editing via Content-based Controlscited by 17
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
- 2023Composer's Assistant: An Interactive Transformer for Multi-Track MIDI Infillingcited by 9
- 2024Composer's Assistant 2: Interactive Multi-Track MIDI Infilling with Fine-Grained User Controlcited by 5
- 2022Melody Infilling with User-Provided Structural Contextcited by 4
- 2025ImprovNet -- Generating Controllable Musical Improvisations with Iterative Corruption Refinementcited by 3
- 2021Music Score Expansion with Variable-Length Infillingcited by 2
- 2025Time-Shifted Token Scheduling for Symbolic Music Generationcited by 2
- 2026BeatEdit: Symbolic Music Generation as Explicit Editingcited by 1
- 2023Exploring Softly Masked Language Modelling for Controllable Symbolic Music Generationcited by 0
12 most cited of 13 All 13 (JSON)
- 2026BeatEdit: Symbolic Music Generation as Explicit Editing13 Jul 2026
- 2025Time-Shifted Token Scheduling for Symbolic Music Generation28 Sep 2025
- 2025ImprovNet -- Generating Controllable Musical Improvisations with Iterative Corruption Refinement6 Feb 2025
- 2024Composer's Assistant 2: Interactive Multi-Track MIDI Infilling with Fine-Grained User Control19 Jul 2024
- 2024Pictures Of MIDI: Controlled Music Generation via Graphical Prompts for Image-Based Diffusion Inpainting1 Jul 2024
- 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Survey27 Feb 2024
- 2024Arrange, Inpaint, and Refine: Steerable Long-term Music Audio Generation and Editing via Content-based Controls14 Feb 2024
- 2023Anticipatory Music Transformer14 Jun 2023
- 2023Exploring Softly Masked Language Modelling for Controllable Symbolic Music Generation5 May 2023
- 2023Composer's Assistant: An Interactive Transformer for Multi-Track MIDI Infilling29 Jan 2023
- 2022Melody Infilling with User-Provided Structural Context6 Oct 2022
- 2022Multitrack Music Transformer14 Jul 2022
12 newest of 13 All 13 (JSON)