M0TET: role-agnostic vocal-ensemble multi-pitch estimation
Project page · Code · AAAI 2027
M0TET predicts a pitch track per singer from a vocal-ensemble mixture. It uses a fixed pool of 5 slots trained with utterance-level permutation-invariant matching, so it needs no Soprano/Alto/Tenor/Bass labels. It also learns a 64-d timbre embedding per slot with the Slot-Batch Contrastive Loss (SBCL), which assigns slots to voices across segments without a reference.
- Architecture: Conv2D pre-net → 12-block RoPE Conformer → 5 slots × (361-way pitch over a 20-cent grid from C1, voicing, 64-d timbre). 19.5M parameters. 44.1 kHz input, hop 256.
- Training data: jaCappella, ACappellaSet, Cantoria, a Korean ensemble set (AI-Hub) and solo-voice subsets. The reference F0 is RMVPE for jaCappella, ACappellaSet and Cantoria, and pYIN for the Korean set. The jaCappella test split is not used for training.
Checkpoints
| folder | input | notes |
|---|---|---|
/ (default) |
two-scale PQ-STFT (4096 + 16384) + phase derivative | model reported in the paper |
linear/ |
linear STFT (2048, first 360 bins) + phase derivative | alternative input front end |
Each folder contains model.safetensors, the training config (train_config.yaml) and
checkpoint_info.json. Both checkpoints are taken at the final training epoch (seed 0).
Results
Per-voice pitch F1 and crossover pitch F1 on the jaCappella test split (RMVPE reference).
| checkpoint | pitch F1 | crossover F1 |
|---|---|---|
| default (PQ-STFT) | .864 | .748 |
linear/ |
.889 | .765 |
Over the six seeds in seeds/ the PQ-STFT model reaches a per-voice pitch F1 of .850 ± .010
(mean ± 95% CI, Student's t; seeds range .841–.864).
Usage
Inference code: github.com/Junst/M0TET. It runs the
linear/ checkpoint, which is the recommended one; the PQ-STFT checkpoints are kept for the paper's results.
from m0tet import M0TET # pip install -e . in a clone of the GitHub repo
import soundfile as sf
model = M0TET.from_pretrained("solbon1212/m0tet", subfolder="linear")
audio, sr = sf.read("ensemble.wav")
out = model.transcribe(audio, sr) # out["f0"]: (5, T) Hz per slot, 0 where silent
License
The weights are released under CC BY-NC 4.0 (non-commercial use only), as the training data include corpora restricted to non-commercial use (e.g., jaCappella).
Citation
@inproceedings{koh2027m0tet,
title = {{M0TET}: Role-agnostic Multi-pitch Estimation for Vocal Ensembles},
author = {Koh, Junyoung and Dong, Hao-Wen},
booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2027}
}