CoJEPA: Combining Contrastive Learning and JEPA for Global-Local Music Representations

Gabriel Meseguer-Brocal, Yuexuan Kong, Romain Hennequin
8/31/2026
cs.SDcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Joint-Embedding Predictive Architecture (JEPA) has shown strong performance in learning rich representations through self-supervised prediction in latent space. However, it typically relies on teacher--student architecture with an EMA to stabilise training, and can tend to yield uninformative representations. Contrastive learning is stable to train and produces strong global representations, but remains limited on local tasks by the global nature of its objective. In this work, we combine both into CoJEPA: a single shared backbone jointly trained with a JEPA objective on masked sequence tokens and a contrastive objective on the class token. The contrastive gradient provides stability, removing the need for an EMA teacher entirely, while JEPA enriches the sequence tokens via local predictions that contrastive learning alone cannot provide. Crucially, no extra parameters are added to the backbone: the same model is guided towards richer representations purely through the design of its training signal. CoJEPA takes the best of both worlds, outperforming or matching both individual methods across global and local MIR tasks, with a particularly strong advantage on tonal and harmonic understanding, and without any task-specific architectural changes. CoJEPA shows that combining objectives with complementary inductive biases can substitute for scale, encouraging future work to invest in smarter training objectives over ever-larger models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{meseguerbrocal2026cojepa,
  title  = {CoJEPA: Combining Contrastive Learning and JEPA for Global-Local Music Representations},
  author = {Gabriel Meseguer-Brocal and Yuexuan Kong and Romain Hennequin},
  year   = {2026},
  eprint = {2608.30974},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.30974v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.30974.svg)](https://codeofpaper.com/paper/2608.30974)

Discussion