MIDI-RAE-JEPA: Hierarchical Representation Learning and Generation for Symbolic Music
Summary
MIDI-RAE-JEPA is a novel self-supervised approach for learning hierarchical representations of symbolic music, addressing the underexplored area of multiscale musical structure encoding. It integrates a pitch- and time-shift equivariance objective with LeJEPA and a Swin Transformer V2 encoder, processing symbolic music as piano roll images. The encoder is trained exclusively using self-supervised objectives, including a masked embedding predictor, with SIGReg preventing collapse. A separate decoder, trained on the frozen encoder embeddings, achieves a high reconstruction F1 score of 0.995. Furthermore, a flow matching generative model, conditioned on these embeddings, accurately reproduces the pitch register and rhythmic density of input excerpts. The learned representations surpass a Haar scattering transform baseline in a downstream emotion classification task, and demonstrate measurable equivariance, with embedding distances increasing monotonically with pitch and time shift magnitude.
Key takeaway
For Machine Learning Engineers building music AI, this research highlights a powerful approach for creating semantically rich symbolic music representations. You should consider integrating equivariance-based self-supervised learning objectives, like those in MIDI-RAE-JEPA, with high-capacity encoders. This method can significantly improve both music understanding tasks, such as emotion classification, and the quality of generative models by producing outputs that accurately reflect desired musical characteristics.
Key insights
MIDI-RAE-JEPA uses equivariance-based self-supervised learning to create rich, hierarchical representations for symbolic music generation and understanding.
Principles
- Equivariance objectives enhance music representation.
- Hierarchical encoders capture multiscale music structure.
- Self-supervised learning can yield generatively useful embeddings.
Method
Combines pitch/time-shift equivariance with LeJEPA and Swin Transformer V2. Encoder uses masked embedding prediction and SIGReg. Decoder reconstructs from frozen embeddings.
In practice
- Co-writing tools for machine-assisted music.
- Generating music matching specific styles.
- Emotion classification from music embeddings.
Topics
- Symbolic Music
- Representation Learning
- Self-Supervised Learning
- Swin Transformer V2
- Generative Music AI
- Equivariance
Best for: Research Scientist, AI Scientist, Machine Learning Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.