Automatic Playlist Continuation through a Composition of Collaborative Filters

Irene Teinemaa, Niek Tax, Carlos BentesarXiv 2018

Introduction

Automatic Playlist Continuation (APC) is a core task in music recommendation, where the goal is to suggest relevant tracks to extend a user-created playlist. This challenge was the focus of the RecSys Challenge 2018, utilizing the Spotify Million Playlist Dataset (MPD). Team Latte’s approach, which secured 12th place out of 112 teams, demonstrates that a well-tuned ensemble of simple collaborative filters can be highly effective, often rivaling more complex deep learning architectures.

Methodology

Multi-Model Collaborative Filtering

The proposed framework utilizes four distinct collaborative filtering (CF) models to capture various signals within the playlist metadata:

  • Track-Track ($M_u$): An item-item CF model based on track co-occurrence across playlists.
  • Word-Track ($M_w$): A model that maps keywords from playlist titles to specific tracks.
  • Album-Track ($M_{al}$): A model relating the albums of seed tracks to other tracks within those same albums.
  • Artist-Track ($M_{ar}$): A model relating the artists of seed tracks to other tracks by those artists.

Composition and Local Optimization

The final recommendation score for any candidate track is a weighted sum of the scores from these four models. A key innovation of Team Latte's approach was the move away from global weighting. Instead, they employed Tree-structured Parzen Estimators (TPE) to optimize weights locally for each of the ten challenge categories defined by the competition (e.g., playlists with only a title versus those with 100 seed tracks).

Table 1: Optimized weights for different challenge categories, showing how the importance of specific models (like Word-Track $W_w$) shifts based on the available context.

As seen in the weight distribution, the Word-Track model ($W_w$) is the sole contributor for the title_only category, whereas the Track-Track model ($M_u$) becomes dominant as more seed tracks are provided.

Post-processing Heuristics

To further refine the results, the team implemented two post-processing steps:

  1. Album Completion: If a playlist contains a significant portion of an album, the system prioritizes the remaining tracks from that album.
  2. Popularity Padding: To ensure every recommendation reaches the required 500 tracks, the list is padded with the most popular tracks from the overall dataset.

Results and Discussion

The effectiveness of local optimization and the album completion heuristic is clearly visible in the performance metrics. The model achieved its best results on playlists where seed tracks were selected randomly, while the "cold-start" scenario of title-only playlists remained the most challenging.

Figure 1: Performance comparison across NDCG, Clicks, and RPREC metrics, highlighting the incremental gains from local weight optimization and the album completion strategy.

On the final competition leaderboard, the ensemble achieved an R-precision of 0.2036, an NDCG of 0.3611, and a Clicks score of 2.024. These results underscore the importance of context-aware tuning. While the individual CF models are relatively simple, the Bayesian optimization of their combination allowed the system to adapt to the diverse "vibes" and structures of different playlist types.

Conclusion

Team Latte's success at the RecSys Challenge 2018 highlights that sophisticated optimization of linear ensembles can be as powerful as complex neural networks. Future improvements could involve replacing the basic Word-Track model with advanced NLP techniques like word embeddings (e.g., Word2Vec) to better capture the semantic nuances of playlist titles.

Summary updated

BibTeX
@misc{teinemaa2018automatic,
  author = {Irene Teinemaa and Niek Tax and Carlos Bentes},
  title = {{Automatic Playlist Continuation through a Composition of Collaborative Filters}},
  year = {2018},
  eprint = {1808.04288},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.04288},
}
Figure