MIDI-RAE-JEPA: Hierarchical Representation Learning and Generation for Symbolic Music
Abstract
Rich internal representations of musical structure are essential for music understanding tasks such as machine-assisted music co-writing, yet self-supervised approaches for symbolic music representation remain underexplored, particularly those that encode the hierarchical multiscale nature of musical structures. We present MIDI-RAE-JEPA, combining a pitch- and time-shift equivariance objective with LeJEPA and a Swin Transformer V2 encoder to learn such hierarchical representations of symbolic music encoded as piano roll images. The time-shift equivariance objective encourages the model to internalize temporal musical relationships. The encoder is trained purely on self-supervised objectives -- including a masked embedding predictor (MEP) -- with collapse prevented via SIGReg. A separate decoder trained on the frozen encoder embeddings achieves reconstruction F1 of 0.995, and a flow matching generative model conditioned on those embeddings produces generations that closely match the pitch register and rhythmic density of the conditioning excerpt, while mismatched conditioning yields unrelated but musically plausible output. Learned representations outperform a Haar scattering transform baseline on a downstream emotion classification task, and embedding distances increase monotonically with pitch and time shift magnitude, confirming measurable equivariance. These results suggest that equivariance-based SSL objectives, combined with sufficient fine-level encoder capacity, provide a viable path toward semantically rich, generatively useful representations of symbolic music.
Create a lesson
Metadata
- Categories
- cs.SD, cs.LG, eess.AS
- Comments
- 8 pages, 8 figures
Related papers
UOT-IR: Structured Routing of High-Polyphony Symbolic Music into Fixed-Budget Representations
Shared title terminologycs.SDZiyue Kang, Nan Nan, Chenhao Lin et al.
BeatEdit: Symbolic Music Generation as Explicit Editing
Shared title terminologycs.SDHaoyu Gu, Lekai Qian, Haowu Zhou et al.
ARIMA: Reconstruction-Grounded Predictive Representation Learning for Symbolic Music
Shared title terminologycs.SDMingyang Yao, Zhaoxiang Feng
ReGen: Hierarchical Multi-Prompt Representation Generation for Efficient Waveform Diffusion Models
Shared title terminologycs.SDSang-Hoon Lee, Ha-Yeong Choi
IncrementDET: Continual AI-Generated Music Detection via Enrollment
Shared title terminologycs.SDRunbao Du, Wei Li, Qile He
MADlibs: Analyzing the Distribution of Generative Music
Shared title terminologycs.SDMatthew Keating, Noah Schaffer, Michael Casey et al.