What Do Audio Models Really Hear? Layer Selection and Mechanistic Structure in Sound Representations
Abstract
Frozen audio encoders are reused across speech, sound, and music, and a downstream head usually reads a single layer, often the last. Intermediate layers of speech self-supervised (SSL) models are known to transfer better than the last one on many tasks. We ask how this depends on the pretraining family and the task, how cheaply a good layer can be found, and how task information is stored there. We compare seven frozen encoders, covering audio–text contrastive training (CLAP), weakly supervised speech recognition (Whisper), and five speech SSL objectives, on environmental sound, urban sound, music, and speech emotion, and check the findings on larger checkpoints and on the audio encoders of Qwen-Audio and SALMONN. (i) The best layer depends on encoder and task: speech SSL encoders give their best non-speech features in layers 0–4 of 12, and the last layer costs up to 38 accuracy points, whereas CLAP peaks at its top stages and Whisper in its middle-to-late layers. (ii) Choosing the layer whose unlabeled outputs have the highest isotropy and participation ratio reduces character error rate by 21.3% relative to the last layer in low-resource ASR and matches a middle-layer default on classification with an earlier exit, but fails on speech emotion; one labeled clip per class recovers 85% of the best layer's gain over the last layer. (iii) Truncating wav2vec2-base after the layer selected for ESC-50 raises accuracy, nearly halves latency, and cuts resident memory by 77%. Sparse autoencoders, transcoders, corruption tests, and steering show that CLAP stores class evidence in a few class-specific features, whereas Whisper spreads it over many features that change across layers and under noise. We release all per-layer measurements.