TL;DR
Pretrained audio embeddings excel at classification, but how well do they translate to music recommendation, especially in the new era of generative retrieval? This paper systematically benchmarks six major audio encoders across three recommendation paradigms, revealing that while music-domain and text-aligned models (like CLAP) shine out-of-the-box, downstream interaction data acts as a great equalizer. Furthermore, the authors show that when building discrete "Semantic IDs" for generative recommenders, wider and shallower codebooks are far more stable and effective than deeper ones.
What Problem Does This Paper Address?
Music recommendation relies heavily on understanding item relationships shaped by subjective listener preferences. While self-supervised audio models (trained on speech or music) have mastered acoustic classification, their embedding geometries aren't necessarily optimized for relational, behavior-dependent recommendation tasks.
This gap is especially pronounced for the emerging paradigm of Generative Recommendation (GenRec), which quantizes continuous embeddings into discrete "Semantic IDs" to autoregressively predict the next item. Until now, it has been unclear which embedding properties survive this quantization process, or how to best design these Semantic IDs from raw audio features.
Methods
The authors evaluate six representative audio encoders spanning different domains (speech, music, general audio) and pretraining objectives (masked prediction, teacher-student, contrastive language-audio): Wav2Vec 2.0, HuBERT, Music2Vec, MERT, CLAP-General (CLAP-G), and CLAP-Music. The exact configuration details for these embedders are outlined below:
They test these encoders across three distinct recommendation interfaces:
- Content-based Nearest Neighbors (KNN): Probes the raw, unadapted geometry of the embedding space using cosine similarity.
- Sequential Adaptation (SASRec): A self-attentive sequence model where audio embeddings initialize the item table and are fine-tuned via user interaction data.
- Generative Retrieval (TIGER): A GenRec model that uses Residual Vector Quantization (RVQ) to turn continuous embeddings into discrete Semantic IDs, modeled by an encoder-decoder Transformer.
Crucially, they perform systematic interventions on the RVQ process, varying codebook width ($W$), quantization depth ($D$), and evaluating prefix lengths to see how much information is retained at each layer.
Datasets
The experiments use subsets of two established music recommendation datasets, downsampled to ~5,000 tracks each to manage the high computational cost of audio processing:
- LFM1b: Contains 7,987 users, 4,996 tracks, and ~1.9 million unique user-track interactions.
- Music4All-Onion: Contains 8,855 users, 5,000 tracks, and ~1.97 million unique interactions.
Both datasets are evaluated using a chronological leave-one-out protocol.
Key Insights and Ideas
- Interaction is the Great Equalizer: When models are trained on user interaction sequences (like SASRec), the performance gap between different audio encoders drastically shrinks. Downstream behavioral data can correct for initial domain mismatches or suboptimal embedding geometries.
- Text Alignment Captures Preference Better: Audio-text aligned models (CLAP) consistently outperform purely acoustic, self-supervised models (like HuBERT or Wav2Vec) when used without heavy adaptation. Aligning audio to natural language seems to capture the high-level semantic concepts that align with human musical taste.
- More Quantization Depth $\neq$ Better Generative Performance: In GenRec, you might assume that deeper quantization (more layers of residual refinement) yields better representations. The authors find the opposite: deeper codebooks often cause training instability or performance collapse. Most recommendation-relevant info is captured in the first one or two layers; subsequent layers just encode fine-grained acoustic noise.
- Go Wide, Not Deep: For Semantic IDs, it is far better to increase codebook width (more tokens per layer) than depth (more layers).
Key Results
- Overall Performance: CLAP-Music was the top performer in 13 out of 18 evaluation settings, while SASRec achieved the strongest overall results across the board, ranking first in 34 out of 36 comparisons.
- Width vs. Depth: In the width sweep, larger codebooks ($W=1024$ or $4096$) won in 27 out of 36 comparisons. Conversely, a shallow depth of $D=3$ outperformed deeper configurations ($D=6$ or $12$) in 30 out of 36 settings, with deeper models frequently suffering from severe performance degradation.
- Prefix Analysis: Evaluating partial Semantic IDs showed that Prefix 12 (using just the first two layers) consistently beat Prefix 123 across all 36 tests, proving that the third layer added no value for recommendation.
Limitations and Future Work
- Scale: The evaluation was restricted to relatively small-scale catalogs (~5,000 tracks), so it remains to be seen how these findings scale to millions of songs.
- Offline Metrics Only: The study relies entirely on offline ranking metrics (Recall, NDCG, MRR) and does not capture real-world user satisfaction or online dynamics.
- Isolation of Audio: The models only consider raw audio content, ignoring critical metadata like artist identity, genre tags, and item popularity, which are vital components of commercial recommender systems. The authors suggest that future work should explore multimodal Semantic IDs that fuse audio with these collaborative and textual signals.
Summary updated