arXiv:2610.12250cs.SDOct 2026

Manuscript Offprint

arXiv:2610.12250

How Much Audio Is Left In An Embedding? An Inversion Audit Of Audio Encoders

Marios Glytsos, Brian McFee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Pretrained audio encoders are reused for downstream tasks that are often unknown when the encoder is trained, so their usefulness depends partly on which signal properties survive the pretext objective. We study this retained information through paired source reconstruction. Using a shared Stable Audio Open latent diffusion decoder, we reconstruct five-second, 44.1-kHz stereo music from frozen representations produced by supervised classifiers (VGGish, ConvNeXt), an audio-text contrastive model (CLAP), and a waveform-reconstruction model (EnCodec). These objectives impose different pressures to preserve source detail, while their exposed interfaces vary substantially in temporal and spectral resolution. Evaluating on the Million Song Dataset (MSD), we find clear differences in reconstructability across encoder families, while within encoder comparisons show improved recovery when finer temporal or spectral structure is exposed. Even compressed task oriented embeddings support reconstructions that preserve measurable source specificity and high level musical content.

Index Terms— audio embedding inversion, representation audit, latent diffusion, reconstruction, audio representations

1. INTRODUCTION

Pretrained audio encoders increasingly serve as reusable interfaces between audio and downstream systems. Unlike traditional engineered features, learned embeddings range from highly compressed task oriented vectors to dense representations trained for reconstruction, making it unclear how much source information survives these different abstractions. This matters when representations are reused for tasks unknown during training, and when embeddings are shared instead of audio in privacy or copyright sensitive settings. We therefore ask: how much source information, beyond what the training objective required, survives in the representation?

We study this through paired source reconstruction. Given a frozen encoder Φ\Phi and representation e=Φ(x)\mathbf{e} = \Phi(\mathbf{x}), we train a decoder to reconstruct the paired source x\mathbf{x}. Because Φ\Phi need not be injective, exact deterministic inversion is not always well defined. A conditional generative decoder is therefore natural. It can use the embedding for source structure that is preserved while relying on its learned audio prior for ambiguous details. Successful reconstruction provides evidence that source specific information is accessible from the embedding. Failure however, may also reflect limitations of the decoder.

We use a standardized reconstruction audit rather than an encoder specific worst case attack. Adaptive inversion can exploit the structure of each target encoder [1, 2], potentially recovering more information but confounding comparisons across representations. Instead, we start from a strong pretrained generator designed to synthesize audio from highly abstract text conditioning, providing an expressive prior for probing what source information an embedding can support without claiming maximal recoverability.

We compare four representative encoders spanning three training objectives. VGGish [3] provides a long-standing classification baseline, ConvNeXt [4] represents a recent AudioSet trained classifier used as a general purpose audio representation, CLAP [5] is a widely used audio/text representation, and EnCodec [6] provides a reconstruction trained contrast. Their objectives impose different requirements on source detail. Classification rewards discriminative information, contrastive learning emphasizes language aligned semantics, and reconstruction requires local signal detail.

We focus on music because reconstructing a recording requires preserving fine grained pitch, timbre, rhythm, and temporal structure, making it a demanding test of how much source information survives an embedding. Music is also a practically relevant setting because licensing constraints often motivate sharing derived representations rather than the original recordings, and instrumental music already lies within the pretrained decoder's domain, reducing domain shift.

The paper makes the following contributions: (1) we adapt a pretrained latent diffusion audio generator to paired source reconstruction from frozen embeddings, and (2) we compare classification, contrastive, and reconstruction trained encoders. The comparison quantifies reconstructability and provides caution when embeddings derived from sensitive recordings are distributed in place of audio.

Code, listening examples and more detailed per-genre scores are available at https://mariosgly.github.io/research/audio-embedding-inversion/.