Beyond Spectrograms: Rethinking Audio Classification from EnCodec's Latent Space

This paper presents a novel approach to audio classification leveraging the latent representation generated by Meta's EnCodec neural audio codec. We hypothesize that the compressed latent space representation captures essential audio features more suitable for classification tasks than the trad...

Descripción completa

Detalles Bibliográficos
Autores: Perianez-Pascual, Jorge, Gutiérrez Gallardo, Juan Diego, Escobar-Encinas, Laura, Rubio-Largo, Álvaro, Rodriguez-Echeverria, Roberto
Tipo de recurso: artículo
Fecha de publicación:2025
País:España
Institución:Universidad de Santiago de Compostela (USC)
Repositorio:Minerva. Repositorio Institucional de la Universidad de Santiago de Compostela
Idioma:inglés
OAI Identifier:oai:minerva.usc.gal:10347/40815
Acceso en línea:https://hdl.handle.net/10347/40815
Access Level:acceso abierto
Palabra clave:Artificial Intelligence
Audio Classification
Deep Learning
Foundation Models
Descripción
Sumario:This paper presents a novel approach to audio classification leveraging the latent representation generated by Meta's EnCodec neural audio codec. We hypothesize that the compressed latent space representation captures essential audio features more suitable for classification tasks than the traditional spectrogram-based approaches. We train a vanilla convolutional neural network for music genre, speech/music, and environmental sound classification using EnCodec's encoder output as input to validate this. Then, we compare its performance training with the same network using a spectrogram-based representation as input. Our experiments demonstrate that this approach achieves comparable accuracy to state-of-the-art methods while exhibiting significantly faster convergence and reduced computational load during training. These findings suggest the potential of EnCodec's latent representation for efficient, faster, and less expensive audio classification applications. We analyze the characteristics of EnCodec's output and compare its performance against traditional spectrogram-based approaches, providing insights into this novel approach’s advantages.