Abstract
Slate generation is a common task in streaming and e-commerce platforms, where multiple items are presented together as a list or "slate." Traditional systems focus mostly on item-level ranking and often fail to capture the coherence of the slate as a whole. A key challenge lies in the combinatorial nature of selecting multiple items jointly. To manage this, conventional approaches often assume users interact with only one item at a time, an assumption that breaks down when items are meant to be consumed together. In this paper, we introduce DMSG, a generative framework based on diffusion models for prompt-conditioned slate generation. DMSG learns high-dimensional structural patterns and generates coherent, diverse slates directly from natural language prompts. Unlike retrieval-based or autoregressive models, DMSG models the joint distribution over slates, enabling greater flexibility and diversity. We evaluate DMSG in two key domains: music playlist generation and e-commerce bundle creation. In both cases, DMSG produces high-quality slates from textual prompts without explicit personalization signals. Offline and online results show that DMSG outperforms strong baselines in both relevance and diversity, offering a scalable, low-latency solution for prompt-driven recommendation. A live A/B test on a production playlist system further demonstrates increased user engagement and content diversity.
Introduction
Most recommendation systems operate on item-level ranking: they look at a massive catalog and try to find the "best" individual items for a user. However, in many scenarios—like building a 50-track playlist or a bundle of electronics—the items are consumed together as a slate.
The challenge is combinatorial. If you have a catalog of a million songs, the number of possible 10-song combinations is astronomical. Traditional methods often simplify this by assuming users only interact with one item at a time or by using autoregressive models (predicting the next item based on the previous ones). These often fail to capture the "global coherence" or the overall "vibe" of the list. Furthermore, as we move toward natural language interfaces, models need to generate these slates based on vague or creative prompts (e.g., "lo-fi beats for a rainy afternoon in Seattle") without always having access to a user's specific history.
Methodology
The authors propose DMSG (Diffusion Model for Slate Generation), which treats slate generation as a generative modeling problem using Diffusion Models (DMs).
Core Architecture
The model operates in a continuous latent space. Instead of dealing with discrete item IDs, items are mapped into a continuous embedding space, and a slate is represented as a sequence of these embeddings. The diffusion process learns to reverse a process that adds Gaussian noise to these sequences. During inference, it starts with pure noise and iteratively "denoises" it into a coherent sequence of item embeddings.
The core architecture is a Diffusion Transformer, which is better at capturing long-range dependencies within a slate than standard U-Nets used in image diffusion. The model is conditioned on natural language prompts processed by a text encoder and injected into the diffusion process via cross-attention mechanisms.
To make it production-ready, DMSG utilizes DDIM (Denoising Diffusion Implicit Models), reducing the number of steps from thousands to just 50, achieving a latency of ~150ms. Once the model generates a sequence of continuous vectors, a simple nearest-neighbor lookup maps them back to actual items in the catalog.
Experimental Setup
The model was evaluated on three distinct datasets:
- Spotify Million Playlist Dataset (MPD): A public dataset of 100k user-created playlists including titles and descriptions.
- Curated Playlists: A proprietary Spotify dataset of 30,000 high-quality, editorially curated playlists.
- Bundle Recommendation Dataset (Bundle): An Amazon-based dataset containing 5,444 product bundles across 11,000 unique items.
Results and Discussion
DMSG demonstrates several key advantages over traditional ranking and autoregressive approaches:
- Holistic Coherence: Unlike autoregressive models that can "drift" as they generate long sequences, diffusion models refine the entire slate simultaneously, maintaining a consistent theme.
- Stochasticity and Diversity: The probabilistic nature of diffusion naturally generates different relevant slates for the same prompt, providing content freshness without explicit diversity constraints.
- Handling Dynamic Catalogs: The "rounding" step allows the model to handle catalogs where items change daily without retraining; only the nearest-neighbor index needs updating.
Performance Metrics
- Offline Superiority: On the Curated playlist dataset, DMSG achieved a +17% improvement in NDCG and +12.9% in Average Precision over the next-best baseline (BM25).
- Semantic Relevance: Using
BERTScoreto measure "vibe" matching, DMSG consistently scored around 0.8–0.9, significantly higher than retrieval-based methods. - Live A/B Test: In a two-week production test at Spotify, DMSG led to a +6.8% increase in active user interactions and a 13.4% reduction in duplicated content compared to the existing production system.
- Efficiency: The model achieved a P99 latency of 150ms on a single NVIDIA L4 GPU, making it more than 3x faster than the baseline control system.
Conclusion and Future Work
DMSG shows that high-quality, engaging content can be generated using only natural language prompts, which is vital for "cold-start" scenarios where user history is unavailable. While successful, future work could involve jointly training item encoders with the diffusion model, integrating richer item metadata (like tempo or price), and improving robustness to prompt variations. Additionally, adding user-specific "preference tokens" to the conditioning context could enable personalized slate generation.
Summary updated