English

Learning Normal Patterns in Musical Loops

Sound 2025-06-02 v1 Information Retrieval Machine Learning Multimedia Audio and Speech Processing

Abstract

This paper introduces an unsupervised framework for detecting audio patterns in musical samples (loops) through anomaly detection techniques, addressing challenges in music information retrieval (MIR). Existing methods are often constrained by reliance on handcrafted features, domain-specific limitations, or dependence on iterative user interaction. We address these limitations through an architecture combining deep feature extraction with unsupervised anomaly detection. Our approach leverages a pre-trained Hierarchical Token-semantic Audio Transformer (HTS-AT), paired with a Feature Fusion Mechanism (FFM), to generate representations from variable-length audio loops. These embeddings are processed using one-class Deep Support Vector Data Description (Deep SVDD), which learns normative audio patterns by mapping them to a compact latent hypersphere. Evaluations on curated bass and guitar datasets compare standard and residual autoencoder variants against baselines like Isolation Forest (IF) and and principle component analysis (PCA) methods. Results show our Deep SVDD models, especially the residual autoencoder variant, deliver improved anomaly separation, particularly for larger variations. This research contributes a flexible, fully unsupervised solution for processing diverse audio samples, overcoming previous structural and input limitations while enabling effective pattern identification through distance-based latent space scoring.

Keywords

Cite

@article{arxiv.2505.23784,
  title  = {Learning Normal Patterns in Musical Loops},
  author = {Shayan Dadman and Bernt Arild Bremdal and Børre Bang and Rune Dalmo},
  journal= {arXiv preprint arXiv:2505.23784},
  year   = {2025}
}

Comments

27 pages, 10 figures

R2 v1 2026-07-01T02:49:01.953Z