All models

MERT

A self-supervised acoustic music understanding model pre-trained with pseudo labels from teacher models.

Audio and speech · 330 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (34 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
94.4M
Operations
330
Framework
PyTorch
Recurrent
No
Published
ICLR 2024
Cited by
41 (as of 27 October 2026)
Authors
Yizhi Li, Ruibin Yuan, Ge Zhang and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18088
Graph hash
35760a053965e59dd4f461da7dfbfbcd6b4bcff6f922ab919ba8496a40e566a1
Skeleton hash
1a7833c9adc28e36c92ca27d7dba70fe36b8bee63ed1b881700e6b000277f1b3
Architecture hash
fed6c44f886d7aa588f70d175d6b5ed1bf219d71e325aec840e3bb9ce26b47b4
Diagram SHA-256
4db3bba1978142ca03acb411efcd450f6ef8c10f79dd15376fca10afabd037e8
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MERT is an acoustic music understanding model trained by large-scale self-supervised learning. The paper starts from the observation that self-supervised learning had proven effective in speech and audio, while its application to music audio had yet to be thoroughly explored.

Pre-training follows the masked language modeling (MLM) style, with teacher models providing the pseudo labels. The combination the authors identified has two teachers: an acoustic teacher based on RVQ-VAE, a residual vector quantization variational autoencoder, and a musical teacher based on the Constant-Q Transform (CQT). The paper reports that this setup scales from 95M to 330M parameters.

This model is MERT-v1-95M, which the authors describe as the base model trained with the RVQ-VAE acoustic teacher and the musical teacher. Its model card lists 12 transformer layers with 768-dimensional features, a feature rate of 75 Hz and a sample rate of 24K Hz. The card also notes that each layer performs differently in different downstream tasks, so the layer to read features from is chosen empirically.

Key idea. MERT uses an RVQ-VAE acoustic teacher and a Constant-Q Transform musical teacher to provide pseudo labels for masked-language-modeling-style self-supervised pre-training on music audio.

  • mert
  • mert-v1
  • mert-v1-95m
  • music understanding
  • acoustic music understanding
  • music audio pre-training
  • m-a-p
  • self-supervised music model
  • music representation
  • music information retrieval

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{li2024mertacousticmusicunderstanding,
      title={MERT: Acoustic Music Understanding Model with Large-Scale Self-supervised Training}, 
      author={Yizhi Li and Ruibin Yuan and Ge Zhang and Yinghao Ma and Xingran Chen and Hanzhi Yin and Chenghao Xiao and Chenghua Lin and Anton Ragni and Emmanouil Benetos and Norbert Gyenge and Roger Dannenberg and Ruibo Liu and Wenhu Chen and Gus Xia and Yemin Shi and Wenhao Huang and Zili Wang and Yike Guo and Jie Fu},
      year={2024},
      eprint={2306.00107},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2306.00107}, 
}