Audio Atlas: Visualizing and Exploring Audio Datasets

Luca A. Lanzendörfer, Florian Grötschla, Uzeyir Valizada, Roger WattenhoferarXiv 2024 · DOI

Abstract

Audio Atlas is an open-source, interactive web application designed to visualize and explore massive audio datasets containing millions of samples. By leveraging contrastive embeddings (CLAP) and high-performance vector databases, it allows users to perform semantic searches and zero-shot classification through an intuitive, browser-based 2D map.

Introduction

As machine learning datasets balloon in size, researchers face a "black box" problem—not just with models, but with the data itself. Managing and interpreting millions of unlabeled audio files is a monumental task. Traditional visualization tools often struggle to scale, lack the ability to handle custom user data, or fail to provide semantic context, often relying instead on brittle metadata.

Without a way to "see" the structure of an audio dataset, it is difficult to identify trends, detect outliers, or understand how an embedding model perceives the relationships between different sounds. Audio Atlas aims to bridge this gap by providing a scalable, responsive interface for navigating the "latent space" of audio.

Methodology

The authors combine several state-of-the-art technologies to create a seamless exploration experience:

  • Embeddings (CLAP): The system uses Contrastive Language-Audio Pretraining (CLAP) to map audio snippets and text descriptions into a shared vector space. This allows the system to associate acoustic features with semantic concepts (e.g., relating the sound of a bark to the word "dog").
  • Dimensionality Reduction: To transform high-dimensional vectors into a human-readable map, the authors employ t-SNE, projecting the embeddings onto a 2D plane.
  • Vector Database (Milvus & Annoy): To handle millions of samples efficiently, the backend utilizes Milvus for storage and Annoy (Approximate Nearest Neighbors Oh Yeah) for rapid semantic searches.
  • Visualization (DeepScatter): The frontend leverages DeepScatter, a WebGL-based library designed to render millions of points in a browser without lag, enabling smooth zooming and panning.
2D t-SNE visualization of music genres in the Audio Atlas interface.

Datasets

The initial implementation of Audio Atlas includes several prominent audio and music benchmarks:

  • FMA (Free Music Archive): A large-scale dataset for music analysis.
  • ESC-50: A collection of 2,000 environmental sound recordings.
  • MusicCaps: Professional-grade music captions.
  • MTG-Jamendo: An open dataset for music auto-tagging.
  • Disco-10m: A massive dataset containing ten million samples.

Key Insights and Features

Semantic Search via Disjoint Modalities

A core feature is the ability to search for audio using text (e.g., "heavy metal with synth") or by uploading an audio clip to find similar sounds. Because it uses a contrastive model, the search is based on semantic meaning rather than simple waveform similarity.

Zero-Shot Classification as a Discovery Tool

Users can define custom lists of classes on the fly. Audio Atlas then categorizes the entire dataset based on the embedding space, highlighting clusters with different colors. This allows researchers to observe how a model labels unlabeled data without additional training.

Interactive Debugging

By interacting with points in the 2D cloud, users can play audio and view metadata. This facilitates the identification of "mis-clustered" samples, revealing potential flaws in the dataset or biases in the embedding model.

Key Results

The system's utility is demonstrated through qualitative use cases:

  • Clustering Accuracy: In the ESC-50 dataset, Audio Atlas successfully grouped environmental sounds (such as "chirping birds" or "church bells") into distinct, visible pockets. This confirms that the t-SNE projection of CLAP embeddings effectively preserves semantic meaning.
  • Scalability: The system remains responsive even when displaying tens of millions of samples, overcoming a significant hurdle for previous visualization tools.
Semantic clustering of environmental sounds from the ESC-50 dataset.

Conclusion and Future Work

As a "Late-Breaking/Demo" abstract, the focus is on system architecture and qualitative exploration. Future work involves using Audio Atlas to further the study of large-scale datasets and to refine the assessment of contrastive models in the audio domain. Additionally, the tool holds potential for creative professionals to browse unannotated personal audio libraries using natural language descriptions.

Summary updated

BibTeX
@misc{lanzendorfer2024audio,
  author = {Luca A. Lanzendörfer and Florian Grötschla and Uzeyir Valizada and Roger Wattenhofer},
  title = {{Audio Atlas: Visualizing and Exploring Audio Datasets}},
  year = {2024},
  eprint = {2412.00591},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.00591},
}
Figure