Skip to main content
QUICK REVIEW

[Paper Review] Cover Detection Using Dominant Melody Embeddings

Guillaume Doras, Geoffroy Peeters|arXiv (Cornell University)|Jul 3, 2019
Music and Audio ProcessingComputer Science37 references22 citations
TL;DR

This paper proposes a neural network framework that uses dominant melody embeddings to enable scalable and accurate cover detection in large audio databases. By training a model to minimize Euclidean distances between cover pairs in embedding space while maximizing those between non-covers, the method achieves state-of-the-art accuracy on both small and large datasets, with inference times under 0.2 seconds for full database comparisons after offline embedding computation.

ABSTRACT

Automatic cover detection -- the task of finding in an audio database all the covers of one or several query tracks -- has long been seen as a challenging theoretical problem in the MIR community and as an acute practical problem for authors and composers societies. Original algorithms proposed for this task have proven their accuracy on small datasets, but are unable to scale up to modern real-life audio corpora. On the other hand, faster approaches designed to process thousands of pairwise comparisons resulted in lower accuracy, making them unsuitable for practical use. In this work, we propose a neural network architecture that is trained to represent each track as a single embedding vector. The computation burden is therefore left to the embedding extraction -- that can be conducted offline and stored, while the pairwise comparison task reduces to a simple Euclidean distance computation. We further propose to extract each track's embedding out of its dominant melody representation, obtained by another neural network trained for this task. We then show that this architecture improves state-of-the-art accuracy both on small and large datasets, and is able to scale to query databases of thousands of tracks in a few seconds.

Motivation & Objective

  • To address the scalability-accuracy trade-off in automatic cover detection for large audio databases.
  • To improve cover detection performance by learning robust, invariant embeddings from dominant melody representations.
  • To enable fast online inference by shifting computation to offline embedding extraction.
  • To demonstrate state-of-the-art performance on both small-scale and large-scale datasets.
  • To validate the effectiveness of dominant melody as a representation for learning cover-invariant features.

Proposed method

  • A convolutional neural network is trained to map each audio track into a single embedding vector in a latent space.
  • The model is trained using a contrastive loss to minimize Euclidean distance between cover pairs and maximize it between non-cover pairs.
  • Embeddings are derived from a dominant melody representation, extracted using a separate neural network trained for melody extraction.
  • The dominant melody is represented as a 2D time-frequency representation, preserving pitch and temporal structure.
  • Pairwise similarity is computed as Euclidean distance between pre-computed embeddings, enabling fast online retrieval.
  • The method supports large-scale databases by pre-computing embeddings offline, reducing online cost to O(N) per query.

Experimental results

Research questions

  • RQ1Can dominant melody representations improve the robustness of cover detection embeddings across tempo, key, and instrumentation variations?
  • RQ2Does learning embeddings from dominant melodies yield better generalization than spectral representations like chromagrams or CQTs?
  • RQ3Can a metric learning approach with contrastive loss achieve high accuracy while remaining scalable to thousands of tracks?
  • RQ4How does the model perform on unseen cover works when no query examples are present during training?
  • RQ5What is the inference efficiency of the method on large-scale audio databases?

Key findings

  • On a small dataset, the proposed method achieved a MAP of 0.782 and P@10 of 0.179, significantly outperforming prior methods [34] and [31].
  • For the hardest case (unseen query works during training), the model achieved a MAP of 0.675 and P@10 of 0.165, demonstrating strong zero-shot generalization.
  • On a large-scale dataset with 5,236 queries, the method achieved a MAP of 0.220 and MR1 of 430, outperforming [16] with a p-value < 0.001.
  • The model achieved a mean rank (MR1) of 78 in the full training set experiment, compared to 1,844 in [16], indicating a 24x improvement in retrieval precision.
  • Inference on a 3-minute track required only 0.2 seconds for full database distance computation after offline embedding extraction.
  • The method demonstrated significant improvement in both accuracy and scalability, with p-values < 0.001 for all key metrics compared to prior work.

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.