TL;DR
Spotify's new audiobook recommendation system, 2T-HGNN, tackles the challenges of data sparsity and cold-start users by leveraging podcast listening habits and a novel Heterogeneous Graph Neural Network (HGNN) combined with a Two-Tower (2T) model. This approach significantly boosts audiobook engagement and even improves podcast recommendations.
What Problem Does This Paper Address?
Spotify, a giant in music and podcast streaming, recently expanded into audiobooks. This presents a unique set of recommendation challenges:
- High Stakes for Relevance: Unlike music or podcasts, audiobooks often require a purchase before a user can sample them extensively. This means recommendations need to be highly accurate from the get-go to avoid user frustration and lost revenue.
- Data Sparsity & Cold-Start: Audiobooks are a new content type on Spotify. Most users are unfamiliar with them, leading to very few initial interactions. This "cold-start" problem makes it difficult to build personalized recommendations for new users or for new audiobooks.
- Scalability and Latency: Any recommendation system deployed at Spotify must handle millions of users in real-time, requiring extreme efficiency and scalability.
The paper aims to build a recommendation system that can effectively recommend audiobooks despite these challenges, while also being modular and scalable for Spotify's infrastructure.
Methods
The core of the proposed solution is the 2T-HGNN model, a hybrid architecture combining two key components:
- Heterogeneous Graph Neural Network (HGNN):
- Co-listening Graph: Instead of a traditional user-item graph, they construct a graph where nodes represent audiobooks and podcasts. An edge exists between two items if at least one user has listened to both. This "co-listening" graph captures item-item relationships.
- Decoupling Users: Crucially, users are not included as nodes in the HGNN graph. This significantly reduces the graph's complexity and makes it more scalable.
- LLM Embeddings: Content features (titles and descriptions) are encoded using Sentence-BERT to create rich item embeddings.
- Balanced Multi-Link Neighborhood Sampler: To address the imbalance in edge types (e.g., more podcast-podcast connections than audiobook-audiobook), they introduce a novel sampler that balances the number of different edge types during training. This prevents the model from being biased towards more frequent interactions.
- Two-Tower (2T) Model:
- This model takes the embeddings generated by the HGNN and combines them with user features (demographics, historical interactions with music, podcasts, and audiobooks) and audiobook metadata.
- It uses two separate deep neural networks ("towers") – one for users and one for audiobooks – to generate user and item embeddings.
- The 2T model is responsible for generating personalized recommendations at scale and ensuring low latency during inference. It also incorporates "weak signals" (like follows or previews) to further improve recommendations.
This modular design allows the HGNN to learn complex item relationships, while the 2T model handles scalable user-item matching.
Datasets
The study utilizes Spotify's internal user interaction data, specifically:
- 90 days of streaming data: This includes over 800 million streams, focusing on podcasts and audiobooks.
- Offline Evaluation Dataset: A subset of 10 million users, 3.5 million podcasts, and 250,000 audiobooks from the last 90 days, with a 14-day hold-out set for evaluation.
- Online A/B Test: Involved 11.5 million monthly active users.
No new public benchmarks were introduced; the evaluation was conducted on Spotify's proprietary data.
Key Insights and Ideas
- Podcasts are the Key to Audiobooks: The most striking insight is the strong correlation between podcast consumption and audiobook preferences. Over 70% of initial audiobook listeners had previously engaged with podcasts, making podcast listening habits a powerful signal for audiobook recommendations.
- Weak Signals Matter: User actions like "following" an audiobook, "previewing" a sample, or showing "intent to pay" (even without completing a purchase) are surprisingly strong predictors of future streams. This is crucial for overcoming the sparsity of explicit purchase data.
- Heterogeneity is Essential: Treating audiobooks and podcasts as distinct but related entities within a heterogeneous graph is vital. Simply treating them as the same type of content or relying on only one type of interaction (e.g., only podcasts) leads to significantly worse performance.
- Decoupling for Scalability: Removing users from the HGNN graph is a clever trick to manage complexity and enable scalability, allowing the HGNN to focus on item-item relationships while the 2T model handles user-specific predictions.
Key Results
- Offline Performance:
- 2T-HGNN significantly outperformed baselines (including popularity, LLM-KNN, HGNN, and a 2T model) in terms of Hit Rate@10 (HR@10), improving the best baseline by 36%.
- It also showed strong performance in Mean Reciprocal Rank (MRR).
- The model demonstrated significant improvements for cold-start users, with HR@10 increasing by 48% compared to the 2T model.
- An ablation study confirmed the importance of each component: removing the balanced sampler, weak signals, or specific edge types (like audiobook-audiobook) led to performance drops.
- Online A/B Test:
- New audiobook start rate increased by a remarkable 46%.
- Audiobook stream rates increased by 23%.
- Intriguingly, the model also improved podcast recommendations, showing a 7% increase in HR@10 and an 80% increase in coverage compared to the existing 2T model.
Limitations and Future Work
- Coverage vs. Precision Trade-off: While 2T-HGNN excels in prediction accuracy (HR@10, MRR), its coverage (the breadth of items recommended) is sometimes lower than simpler models like the 2T. The authors acknowledge this trade-off but consider it acceptable for now.
- Approximate Nearest Neighbor (k-NN) for Scale: Currently, they use brute-force search for audiobook candidates due to the relatively small catalog size. As the catalog grows, they plan to transition to approximate k-NN for more efficient retrieval.
- Inductive Inference: The HGNN can perform inductive inference, meaning it can generate embeddings for audiobooks not seen during training, leveraging their content features. This is a valuable capability for handling new content.
- Modular Cadence: The modular design allows for different training cadences for the HGNN and 2T models, which could be explored further to optimize costs and freshness.
- Generalizability: The authors believe this approach can be generalized to other content types beyond audiobooks and podcasts, suggesting future work in applying it to music or other emerging formats on Spotify.
Summary updated