cs.SDFeb 23, 2026

Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence

Authors: Yungang Yi, Weihua Li, Matthew Kuo, Catherine Shi, Quan Bai

Organizations: Auckland University of Technology, Auckland, New Zealand · University of Tasmania, Tasmania, Australia

Abstract

For computational efficiency, modern language models are typically trained on independently sampled fixed-length sequences. Symbolic music language models largely inherit this paradigm, despite musical structure naturally unfolding over complete compositions rather than isolated excerpts. Fragmenting compositions into independent training instances therefore prevents continuous conditioning over the complete work. We present a practical framework for whole-piece training of symbolic music language models via Full-Horizon Compressed Recurrence (FHCR). FHCR preserves the full temporal horizon of recurrent memory while reducing the dimensionality of its key-value (KV) representation, making continuous whole-piece training practical under limited GPU memory. To directly assess functional long-range dependence, we introduce KV-Reset Context Utilization (KRCU), an evaluation-time diagnostic. On the MAESTRO symbolic piano dataset, KRCU shows that full-horizon models utilize context far beyond the local segment window, whereas reducing the temporal extent of recurrent memory substantially weakens this measurable long-range dependence. FHCR preserves long-range context utilization while substantially reducing recurrent memory cost. These findings show that preserving the temporal extent of recurrent history is important for efficient whole-piece modeling, and that memory cost can instead be reduced through KV representation compression. The project demos and generated music samples are available at https://wholemusic.github.io.

Figures & tables

Explore similar work

CardsList
  1. Anchored Cyclic Generation: A Novel Paradigm for Long-Sequence Symbolic Music Generation

    Apr 7, 2026Boyu Cao, Lekai Qian, Dehan Li +3Symbolic Music GenerationMusic Generation

  2. How Far Back Should a Transformer Look? Repetition and Copying in Music Sequence Models

    Oct 2, 2026Amir FathiLong-Context ModelingSequence Modeling

  3. Efficient Long-Sequence Diffusion Modeling for Symbolic Music Generation

    Feb 28, 2026Jinhan Xu, Xing Tang, Houpeng Yang +7Symbolic Music GenerationDiffusion Models