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

dc.contributor.affiliationUniversidade de Santiago de Compostela. Departamento de Electrónica e Computación
dc.contributor.authorPerianez-Pascual, Jorge
dc.contributor.authorGutiérrez, Juan D.
dc.contributor.authorEscobar-Encinas, Laura
dc.contributor.authorRubio-Largo, Álvaro
dc.contributor.authorRodriguez-Echeverria, Roberto
dc.date.accessioned2025-04-15T08:58:19Z
dc.date.available2025-04-15T08:58:19Z
dc.date.issued2025-02-16
dc.description.abstractThis 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.
dc.description.peerreviewedSI
dc.description.sponsorshipThis work was supported by Grant CPP2021-008491 funded by MICIU/AEI/10.13039/ 50100011033 and by the European Union NextGenerationEU/PRTR.
dc.identifier.citationPerianez-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
dc.identifier.doi10.3390/a18020108
dc.identifier.issn1999-4893
dc.identifier.urihttps://hdl.handle.net/10347/40815
dc.issue.number2
dc.journal.titleAlgorithms
dc.language.isoeng
dc.publisherMDPI
dc.relation.projectIDinfo:eu-repo/grantAgreement/AEI/Plan Estatal de Investigación Científica y Técnica y de Innovación 20231-2023/CPP2021-008491/ES/MUSICGENIA: Una Plataforma en la Nube para de Generación de Música bajo Demanda por medio de Inteligencia Artificial/
dc.relation.publisherversionhttps://doi.org/10.3390/a18020108
dc.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
dc.rightsAttribution 4.0 Internationalen
dc.rights.accessRightsopen access
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.subjectArtificial Intelligence
dc.subjectAudio Classification
dc.subjectDeep Learning
dc.subjectFoundation Models
dc.titleBeyond Spectrograms: Rethinking Audio Classification from EnCodec's Latent Space
dc.typejournal article
dc.type.hasVersionVoR
dc.volume.number18
dspace.entity.typePublication
relation.isAuthorOfPublication34f83200-7a0f-4455-a120-b9c6daf3bcd4
relation.isAuthorOfPublication.latestForDiscovery34f83200-7a0f-4455-a120-b9c6daf3bcd4

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
algorithms-18-00108-v2.pdf
Size:
876.52 KB
Format:
Adobe Portable Document Format