A Preplexity Based Cover Song Matching System for Short Length Queries

Erdem Unal, Elaine Chew, Panayiotis G. Georgiou, Shrikanth S. NarayananISMIR 2011

Abstract

Identifying "cover songs"—versions of a musical work with variations in instrumentation, tempo, or key—remains a significant challenge in music information retrieval, particularly when only short audio snippets are available. This paper describes a system that leverages harmonic signatures rather than low-level acoustic features. By mapping audio into a geometric tonal space and modeling chord sequences using n-gram perplexity, the system achieves robust matching for short-length queries.

Introduction

While audio fingerprinting excels at identifying exact copies of recordings, it fails when faced with the structural and stylistic changes inherent in cover songs. Standard transcription methods are often too fragile, and low-level features are overly sensitive to orchestration changes. This research addresses the problem of short-length query matching by focusing on the mid-level harmonic structure, which tends to remain stable across different versions of the same piece.

System Architecture and Methodology

The proposed system follows a multi-stage pipeline to transform raw audio into a statistical match against a database of known works.

System architecture for cover song matching using perplexity and n-gram models.

Tonal Space Mapping

The process begins by extracting 12-dimensional Pitch Class Profiles (PCP) from the audio. These are mapped into a toroidal version of the Spiral Array, a 3D geometric model where harmonically related notes are positioned close to one another. This geometric approach provides resilience against the "noise" introduced by different instruments and performance styles.

Mid-Level Representation and Key Invariance

Rather than a full polyphonic transcription, the system classifies audio frames into one of 24 major or minor triads based on their proximity to centroids in the tonal space. To ensure the system is robust to tempo changes, consecutive repetitions of the same chord are collapsed to focus on the sequence of harmonic changes. To handle variations in key, absolute chord labels are converted into relative intervals (e.g., a movement from C Major to G Major is recorded as a "perfect fifth" jump).

N-Gram Modeling and Perplexity

The core of the retrieval engine uses techniques borrowed from Natural Language Processing (NLP). Music is stored as $n$-gram models—sequences of $n$ chords. When a query is processed, the system calculates its perplexity against the models in the database. In information theory, perplexity measures how well a probability model predicts a sample; here, a lower perplexity score indicates a higher likelihood that the query belongs to that specific song.

Experimental Results

The system was evaluated using a dataset of 2,000 classical music pieces, consisting of 1,000 original recordings and 1,000 variations, including different arrangements and MIDI syntheses.

Retrieval performance (Accuracy and MRR) across different query lengths for top-1, top-5, and top-20 matches.

The results indicate that both query length and the order of the $n$-gram model significantly impact performance. For a 6-gram model, Top-1 accuracy reached 37.6% for 15-second queries and improved to 51.6% for full-length queries. The researchers found that increasing the $n$-gram order from 2 to 6 provided a major boost, as higher-order models capture enough harmonic context (roughly 1.5 seconds of musical progression) to uniquely identify a piece. Performance gains tended to level off around $n=6$, suggesting a "sweet spot" for capturing unique harmonic signatures without becoming too sparse.

Discussion and Limitations

The use of NLP-inspired perplexity and geometric tonal mapping proves effective for identifying covers from short snippets. However, the current model is limited to 24 basic triads, ignoring more complex harmonic structures like 7th or diminished chords. Additionally, the computational cost of calculating perplexity for high-order $n$-grams across large databases suggests a need for multi-stage search strategies in production environments. Future research will explore the applicability of this harmonic-centric approach to genres like Jazz and Pop, where rhythm and timbre may be more defining than harmony.

Summary updated

BibTeX
@inproceedings{unal2011preplexity,
  author = {Erdem Unal and Elaine Chew and Panayiotis G. Georgiou and Shrikanth S. Narayanan},
  title = {{A Preplexity Based Cover Song Matching System for Short Length Queries}},
  booktitle = {ISMIR},
  year = {2011},
}
Figure