Deploying Semantic ID-based Generative Retrieval for Large-Scale Podcast Discovery at Spotify

Edoardo D'Amico, Marco De Nadai, Praveen Chandar, Divita Vohra, Shawn Lin, Max Lefarov, Paul Gigioli, Gustavo Penha, Ilya Kopysitsky, Ivo Joel Senese, Darren Mei, Francesco Fabbri, Oguz Semerci, Yu Zhao, Vincent Tang, Brian St. Thomas, Alexandra Ranieri, Matthew N. K. Smith, Aaron Bernkopf, Bryan Leung, Ghazal Fazelnia, Mark VanMiddlesworth, Timothy Christopher Heath, Petter Pehrson Skiden, Alice Y. Wang, Doug J. Cole, Andreas Damianou, Maya Hristakeva, Reid Wilbur, Tarun Chillara, Vladan Radosavljevic, Pooja Chitkara, Sainath Adapa, Juan Elenter, Bernd Huber, Jacqueline Wood, Saaketh Vedantam, Jan Stypka, Sandeep Ghael, Martin D. Gould, David Murgatroyd, Yves Raimond, Mounia Lalmas, Paul N. BennettarXiv 2026

TL;DR

Spotify researchers have introduced GLIDE, a production-scale generative recommender system designed to boost podcast discovery. By representing audio episodes as discrete "Semantic IDs" and injecting long-term user preferences via soft prompts, GLIDE turns recommendation into a controllable instruction-following task. In live A/B tests involving millions of users, it increased new-show discovery by up to 14.3% while comfortably meeting strict production latency constraints.

What Problem Does This Paper Address?

Podcast listening is notoriously habit-driven; users frequently return to the same shows week after week. While this creates strong user loyalty, it makes discovery—surfacing new, relevant shows that match a user's evolving interests—incredibly difficult for traditional recommender systems.

Standard sequential recommenders (like SASRec) rely on atomic item IDs, which struggle with sparse interaction data, long-tail content, and cold-start scenarios (newly published episodes). On the flip side, Large Language Models (LLMs) possess the semantic reasoning capabilities to understand complex user contexts and content themes, but deploying them in production introduces massive hurdles: catalog grounding (ensuring the LLM generates valid items), user personalization without inflating prompt lengths, and strict latency requirements for real-time serving.

Methods

GLIDE (Grounded LLM for Interest Discovery rEcommendations) addresses these challenges through a novel architecture that frames recommendation as an instruction-following task over a discretized catalog.

Figure 1: We extend the vocabulary of a pre-trained LLM with SID tokens. Then, we undergo a two phase training. First, we ground the model to speak SIDs, along with the original languages. Then, we add a soft prompt user vector projection to add individual-level personalization and train the model for language-steerable podcast recommendations.
  1. Semantic IDs (SIDs): Instead of using raw text or arbitrary database IDs, GLIDE represents each podcast episode as a short sequence of discrete tokens (SIDs). Continuous content embeddings (generated from episode titles and descriptions) are quantized using Residual K-Means (R-KMeans) into a 4-token sequence, creating a hierarchical, coarse-to-fine semantic structure.
  2. Two-Stage Training:
  3. Semantic Grounding: The base LLM (a 1B-parameter Llama 3.2 variant) is trained on a bidirectional translation task—translating SIDs to text descriptors and vice versa using LoRA. This teaches the model to "speak" the catalog's language without destroying its pre-trained knowledge.
  4. Instruction Tuning: The model is fine-tuned to follow specific recommendation prompts. Crucially, it includes a control token (familiar vs. unfamiliar) to explicitly steer the model toward either "pure discovery" or "familiar discovery."
  5. Soft Prompt Personalization: To avoid clogging the text prompt with a user's entire listening history, GLIDE projects a dense collaborative-filtering user embedding into the LLM's hidden dimension using a 2-layer MLP. This single "soft prompt" token is prepended to the input sequence, providing deep personalization efficiently.
  6. Serving Optimization: At inference time, GLIDE uses Beam Search (30 beams) to generate candidate sequences, resolving any token collisions (multiple episodes mapping to the same SID) using a daily updated, popularity-based tie-breaker.

Datasets

The model was trained and evaluated using internal Spotify interaction logs:

  • Offline Evaluation: Datasets were constructed from a 7-day sliding window of streaming logs, using a user-based split to evaluate non-habitual listening habits.
  • Online A/B Testing: Conducted over 21 days in English-speaking markets, exposing the model to millions of active users and generating approximately 20 million impressions per experimental cell.

Key Insights and Ideas

  • Simplicity Wins in Quantization: While deep neural quantizers like RQ-VAE or R-LFQ sound elegant in theory, the authors found that standard Residual K-Means (R-KMeans) performed significantly better (+9.52% HitRate@30 over RQ-VAE) and offered much higher semantic consistency within token buckets, all while avoiding training instabilities like codebook collapse.
  • Controllable Discovery via Multi-Tasking: Training a single model with explicit control tokens prevents the system from collapsing toward the dominant, safer mode of recommending familiar items. Swapping the token at inference time successfully shifts the generation distribution on command.
  • Beam Search is Non-Negotiable: Moving from beam search to greedy decoding caused a massive 27.07% drop in Recall@30. Analysis showed that while simpler sampling can find the right coarse semantic region (the first two tokens), beam search is required to navigate the fine-grained, exact identifiers at the end of the sequence.

Key Results

GLIDE demonstrated substantial improvements across both offline and online environments:

  • Offline Performance: As shown in the evaluation metrics, GLIDE achieved a +29.9% improvement in Recall@30 and a +31.2% improvement in NDCG@30 overall compared to a baseline SID-only model. The gains were most pronounced in the difficult "Non-Habitual and Unfamiliar" discovery segment.
Table 1: Offline evaluation. Relative improvement (%) over the baseline across content familiarity segments.
  • Online A/B Test Impact: When deployed on the Spotify Home surface, GLIDE drove a 5.4% increase in non-habitual podcast streams and a 14.3% lift in new-show discovery, without regressing overall user engagement metrics.
  • Alignment Over Time: The team utilized an automated LLM-judge to evaluate qualitative alignment, showing steady improvement throughout the development cycle.
Figure 3: Interest alignment scores from the LLM-judge across multiple model development iterations.

Limitations and Future Work

While highly successful, the authors note a few areas for improvement:

  • Collision Resolution: The current popularity-based tie-breaker for SID collisions is pragmatic but simple; future iterations could benefit from a more context-aware ranking step.
  • Broader Control: The authors plan to extend language-conditioned control to handle other constraints beyond familiarity, such as episode length, format, or specific topical themes.
  • World Knowledge: Further research is needed to understand exactly how the grounded LLM leverages its pre-trained world knowledge during the recommendation process.

Summary updated

BibTeX
@misc{damico2026deploying,
  author = {Edoardo D'Amico and Marco De Nadai and Praveen Chandar and Divita Vohra and Shawn Lin and Max Lefarov and Paul Gigioli and Gustavo Penha and Ilya Kopysitsky and Ivo Joel Senese and Darren Mei and Francesco Fabbri and Oguz Semerci and Yu Zhao and Vincent Tang and Brian St. Thomas and Alexandra Ranieri and Matthew N. K. Smith and Aaron Bernkopf and Bryan Leung and Ghazal Fazelnia and Mark VanMiddlesworth and Timothy Christopher Heath and Petter Pehrson Skiden and Alice Y. Wang and Doug J. Cole and Andreas Damianou and Maya Hristakeva and Reid Wilbur and Tarun Chillara and Vladan Radosavljevic and Pooja Chitkara and Sainath Adapa and Juan Elenter and Bernd Huber and Jacqueline Wood and Saaketh Vedantam and Jan Stypka and Sandeep Ghael and Martin D. Gould and David Murgatroyd and Yves Raimond and Mounia Lalmas and Paul N. Bennett},
  title = {{Deploying Semantic ID-based Generative Retrieval for Large-Scale Podcast Discovery at Spotify}},
  year = {2026},
  eprint = {2603.17540},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.17540},
}
Figure