Stability-AI/stable-audio-metrics
Metrics for evaluating music and audio generative models – with a focus on long-form, full-band, and stereo generations.
What it solves
It provides a standardized way to evaluate the quality of music and audio generative models, specifically focusing on long-form, full-band stereo audio. It ensures fair comparisons between different models by handling resampling and mono/stereo conversion automatically.
How it works
The project implements three primary evaluation metrics based on established models:
- Fréchet Distance (at 48kHz) using OpenL3.
- Kullback–Leibler (KL) divergence (at 32kHz) using PaSST.
- CLAP score (at 48kHz) using CLAP-LAION.
These metrics can process audio files of variable lengths and are designed to run on GPUs for efficiency.
Who it’s for
Researchers and developers building generative audio and music AI models who need to quantitatively measure their output quality against benchmarks like MusicCaps, AudioCaps, and Song Describer.
Highlights
- Standardized Benchmarking: Supports evaluation against the MusicCaps, AudioCaps, and Song Describer datasets.
- Flexible Input: Handles variable-length audio inputs and manages stereo/mono differences.
- Pre-computed Statistics: Includes "no-audio" examples that use pre-computed reference statistics and embeddings to speed up evaluation.
- GPU Optimized: Specifically designed for GPU execution to avoid slow CPU processing.
Related
- Project
- Dispatch
- Project
- Project
- Dispatch