CITATION — REFERENCE ENTRY
MT3: Multi-Task Multitrack Music Transcription — International Conference on Learning Representations (ICLR 2022)
- Key
- gardner2022-mt3
- Authors
- Gardner, Josh; Simon, Ian; Manilow, Ethan; Hawthorne, Curtis; Engel, Jesse
- Issued
- 2022
- Type
- paper-conference
- Container
- International Conference on Learning Representations (ICLR 2022)
Raw CSL JSON
{
"URL": "https://arxiv.org/abs/2111.03017",
"type": "paper-conference",
"title": "MT3: Multi-Task Multitrack Music Transcription",
"author": [
{
"given": "Josh",
"family": "Gardner"
},
{
"given": "Ian",
"family": "Simon"
},
{
"given": "Ethan",
"family": "Manilow"
},
{
"given": "Curtis",
"family": "Hawthorne"
},
{
"given": "Jesse",
"family": "Engel"
}
],
"issued": {
"date-parts": [
[
2022
]
]
},
"container-title": "International Conference on Learning Representations (ICLR 2022)"
}
Claims
-
The MT3 authors report evidence of timing errors in the reference labels of the MusicNet and possibly URMP datasets, larger than the standard 50 ms matching tolerance, and say that inconsistent metrics and test splits across research groups make evaluation inconsistent.
"even within current AMT datasets, evaluation is inconsistent, with different research efforts using different metrics and test splits for each dataset. [...] However, performance on URMP and MusicNet continues to increase as the threshold increases, which is suggestive of large timing errors beyond the standard 50 ms threshold used to evaluate the performance of all models in the experiments in our work."
-
The MT3 code was released at github.com/magenta/mt3.
"we will make our model code, along with the code we used to replicate prior baseline models, available at https://github.com/magenta/mt3."
-
MT3 was trained on six datasets: Slakh2100 (969 hours, synthesized), Cerberus4 (543 hours, derived from Slakh), MAESTRO v3 (199 hours of piano), and the low-resource MusicNet (34 hours), GuitarSet (3 hours) and URMP (1.3 hours).
"Slakh2100 Cerberus4 MAESTROv3 MusicNet GuitarSet URMP ... 969 543 199 34 3 1 ... we will refer to GuitarSet, MusicNet, and URMP as “low-resource” datasets, as they contain only 3, 34, and 1.3 hours of total audio, respectively."
-
Because standard transcription metrics ignore which instrument plays a note, the MT3 authors added a multi-instrument F1 score that also requires the predicted instrument to match.
"While these three metrics are standard for music transcription models, they offer only a limited view of the performance of a multi-instrument model, as none consider which instrument is predicted to play which notes in a sequence. ... Multi-instrument F1 adds to the Onset-Offset F1 score the additional requirement that the instrument predicted to play a note must match the instrument of the reference note."
-
Trained on the mixture of all six datasets, MT3's onset F1 was 0.95 on MAESTRO, 0.90 on GuitarSet, 0.77 on URMP and 0.50 on MusicNet; Melodyne scored 0.28 on GuitarSet. Mixture training raised onset-and-offset F1 over single-dataset training by 54% on MusicNet and 263% on URMP but lowered it by 5% on MAESTRO.
"Melodyne 0.52 0.24 0.28 0.04 0.30 0.09 ... MT3 (mixture) 0.95 0.92 0.90 0.50 0.76 0.77 ... Mixture (∆%) -5.3 +5.2 +19.5 +54.0 +0.1 +263 ... the mixture performance leads to an Onset-Offset F1 gain of 54% on MusicNet and 263% on URMP"
-
MT3 uses the off-the-shelf T5 encoder-decoder Transformer in its small size, about 60 million parameters, with greedy autoregressive decoding; larger models tended to overfit.
"The T5 architecture is an encoder-decoder Transformer model which closely follows the original form in Vaswani et al. (2017). ... In order to produce a sequence of output tokens, the model uses greedy autoregressive decoding ... We use the T5 “small” model, which contains approximately 60 million parameters. While much larger models are commonly used in language modeling tasks, we found that increasing model size tended to exacerbate overfitting."
-
MT3 reads log mel spectrograms and writes MIDI-like tokens: instrument (128 General MIDI programs), note (128 pitches), note-on/off, time in 10 ms steps within 2.048-second segments, drum, tie and end-of-sequence; velocity is omitted because most datasets lack it.
"MT3 uses log Mel spectrograms as inputs. For the outputs, we construct a token vocabulary inspired by the MIDI specification ... (2) removal of velocity, as most of our training datasets do not contain velocity annotations ... Instrument (128 values) ... Note (128 values): Represents a note-on or note-off event for one of the 128 MIDI pitches. On/Off (2 values) ... Time (205 values): Indicates the absolute time location of one or more events within a segment, quantized to 10 ms intervals. ... which is 2.048 seconds for all of our experiments."
-
MT3 is trained on and applicable only to Western music built from discrete notes in 12 pitch classes; music without a clear mapping to them is outside its scope.
"One limitation of our system (and the baseline systems against which we compare) is that it is trained on and applicable only to music from the “Western tradition”. The characteristic of Western music most relevant to this work is that it is typically composed of discrete notes belonging to one of 12 pitch classes ... music that does not have a well-defined mapping onto these 12 pitch classes is outside the scope of this work."
-
Trained without a given dataset, MT3 still transcribed it non-trivially but less well: onset F1 fell from 0.90 to 0.78 on GuitarSet and from 0.95 to 0.28 on MAESTRO, and without Slakh it could not learn to identify bass and synthesizer.
"Full mixture Zero-shot 0.95 0.28 ... Onset F1 0.92 0.90 0.50 0.21 0.78 0.18 ... these results show that our model can obtain non-trivial transcription performance even for datasets it has never seen during training ... the Slakh2100 + Cerberus4 combination is the only dataset in our LODO experiments that contains bass and synthesizer; without training on those datasets, the model is unable to learn to identify these instruments."
-
MT3 uses a general-purpose Transformer that reads audio frames and writes a sequence of MIDI-like tokens, including instrument-change tokens, so that one model can transcribe arbitrary combinations of instruments across several datasets. Its authors note that, unlike speech recognition of a single speaker, transcription must handle several instruments at once while keeping fine pitch and timing; that transcription datasets are low-resource because even experts find transcription slow and difficult, holding between one and a few hundred hours of audio against thousands for speech; and that training across datasets dramatically improved results for low-resource instruments such as guitar.
"Unlike Automatic Speech Recognition (ASR), which typically focuses on the words of a single speaker, AMT often requires transcribing multiple instruments simultaneously, all while preserving fine-scale pitch and timing information. Further, many AMT datasets are "low-resource", as even expert musicians find music transcription difficult and time-consuming. [...] we demonstrate that a general-purpose Transformer model can perform multi-task AMT, jointly transcribing arbitrary combinations of musical instruments across several transcription datasets. [...] dramatically improving performance for low-resource instruments (such as guitar) [...] Existing open-source music transcription datasets contain between one and a few hundred hours of audio (see Table 1), while standard ASR datasets LibriSpeech (Panayotov et al., 2015) and CommonVoice (Ardila et al., 2020) contain 1k and 9k+ hours of audio, respectively."
Available in