Skip to main content
QUICK REVIEW

[Paper Review] Few-Shot Drum Transcription in Polyphonic Music

Yu Wang, Justin Salamon|arXiv (Cornell University)|Aug 6, 2020
Music and Audio ProcessingComputer Science29 references9 citations
TL;DR

This paper proposes a few-shot learning approach for open-vocabulary automatic drum transcription in polyphonic music, using a prototypical network trained on a synthetic dataset to recognize new drum sounds with only a few labeled examples at inference time. The method achieves performance on par with or better than state-of-the-art supervised models under fixed-vocabulary settings and generalizes effectively to unseen, finer-grained instrument classes.

ABSTRACT

Data-driven approaches to automatic drum transcription (ADT) are often limited to a predefined, small vocabulary of percussion instrument classes. Such models cannot recognize out-of-vocabulary classes nor are they able to adapt to finer-grained vocabularies. In this work, we address open vocabulary ADT by introducing few-shot learning to the task. We train a Prototypical Network on a synthetic dataset and evaluate the model on multiple real-world ADT datasets with polyphonic accompaniment. We show that, given just a handful of selected examples at inference time, we can match and in some cases outperform a state-of-the-art supervised ADT approach under a fixed vocabulary setting. At the same time, we show that our model can successfully generalize to finer-grained or extended vocabularies unseen during training, a scenario where supervised approaches cannot operate at all. We provide a detailed analysis of our experimental results, including a breakdown of performance by sound class and by polyphony.

Motivation & Objective

  • Address the limitation of supervised ADT models that are restricted to a fixed, small vocabulary of drum sounds.
  • Enable automatic drum transcription for out-of-vocabulary or fine-grained percussion instrument classes not seen during training.
  • Minimize human labeling effort by requiring only a few example sounds per target instrument at inference time.
  • Develop a few-shot learning framework that generalizes to polyphonic music with multiple simultaneous drum hits.
  • Investigate the impact of polyphony in support set examples on model performance and provide guidance for effective example selection.

Proposed method

  • Train a prototypical network on a large synthetic drum dataset (Slakh2100) to learn discriminative embeddings for drum sounds.
  • Use episodic training to simulate few-shot classification tasks, where each episode involves a few support examples per class.
  • During inference, represent each target drum sound as a prototype by averaging the embeddings of its few labeled examples.
  • Classify each audio frame by computing its distance to each prototype, selecting the nearest class as the predicted instrument.
  • Transcribe one instrument at a time as a binary classification problem to handle polyphony, avoiding multi-label complexity.
  • Apply post-processing to refine onset times and generate symbolic drum transcriptions from likelihood scores.

Experimental results

Research questions

  • RQ1Can a few-shot learning model achieve competitive performance on standard ADT benchmarks with only a few labeled examples per instrument?
  • RQ2How does the model perform when transcribing instrument classes not present in the training data (i.e., open-vocabulary generalization)?
  • RQ3How does the polyphony of the support set examples (i.e., target examples) affect the model’s ability to correctly transcribe drum events?
  • RQ4Does the model outperform or match state-of-the-art supervised ADT systems under a fixed-vocabulary setting?
  • RQ5What is the optimal strategy for selecting support examples in terms of polyphony and instrument content to maximize transcription accuracy?

Key findings

  • The few-shot model matches or outperforms a state-of-the-art supervised ADT system on standard benchmarks, achieving F-measures of 0.66 (Slakh2100) and 0.62 (FMA) under fixed-vocabulary settings.
  • The model generalizes effectively to unseen, finer-grained instrument classes: when training with 10 classes and testing on 3 held-out classes, it achieves an F-measure of 0.83.
  • Performance is highest when the polyphony of the support set matches that of the query audio, with F-measure increasing as polyphony increases due to more consistent instrument combinations.
  • When polyphony is mismatched, models perform better when the support set has lower polyphony than the query, suggesting that high-polyphony support examples confuse the model.
  • The model maintains strong performance even when transcribing instruments not in the original training vocabulary, demonstrating successful open-vocabulary generalization.
  • The results indicate that support set composition—particularly polyphony and instrument content—significantly impacts performance, highlighting the need for informed example selection at inference time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.