Reproduce “MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mingliang Zeng, Xu Tan, Rui Wang, Zeqian Ju, Tao Qin, Tie-Yan Liu

Researchers from Microsoft Research Asia developed MusicBERT, a large-scale pre-trained model for symbolic music understanding, employing a new OctupleMIDI encoding and bar-level masking. This approach, trained on the Million MIDI Dataset, improves performance on tasks like melody completion (MAP 0.985), accompaniment suggestion (MAP 0.946), and genre/style classification (F1-micro 0.784/0.645).

Key insights

  • Adapting large-scale pre-training techniques, like those from NLP, to symbolic music data can yield substantial improvements in representation learning when structural musical properties are considered.
  • Designing a compact yet comprehensive music encoding, such as OctupleMIDI, is critical for enabling Transformer models to effectively capture long-range musical dependencies and song-level context.
  • Domain-specific masking strategies, like bar-level masking, are crucial for structured data like music to prevent information leakage and force models to learn deeper, more robust contextual relationships.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.