Beyond Spectrograms: Rethinking Audio Classification from EnCodec's Latent Space
Loading...
Identifiers
Publication date
Advisors
Tutors
Editors
Journal Title
Journal ISSN
Volume Title
Publisher
MDPI
Abstract
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.
Description
Bibliographic citation
Perianez-Pascual, J.; Gutiérrez, J.D.; Escobar-Encinas, L.; Rubio-Largo, Á.; Rodriguez-Echeverria, R. Beyond Spectrograms: Rethinking Audio Classification from EnCodec’s Latent Space. Algorithms 2025, 18, 108. https://doi.org/10.3390/a18020108
Relation
Has part
Has version
Is based on
Is part of
Is referenced by
Is version of
Requires
Publisher version
https://doi.org/10.3390/a18020108Sponsors
This work was supported by Grant CPP2021-008491 funded by MICIU/AEI/10.13039/ 50100011033 and by the European Union NextGenerationEU/PRTR.
Rights
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license
Attribution 4.0 International
Attribution 4.0 International







