Abstract
While simple popularity-based models often appear to perform as well as complex neural networks in music recommendation, this is largely an illusion caused by heavy popularity bias in datasets. This paper reveals that for the "long tail"—the 90% of songs that aren't mainstream hits—Recurrent Neural Networks (RNNs) that leverage the full sequence of previous songs (the "song context") significantly outperform simpler baselines.
Introduction
Automated music playlist generation is the task of predicting which song should follow a given sequence of tracks. Researchers have long debated the value of "song context"—the specific sequence of songs a user has just heard. Does knowing the last five songs actually help predict the sixth, or is music consumption so driven by global trends that a simple "what's popular right now" approach is sufficient?
The challenge is that music datasets are notoriously "top-heavy." A few superstar tracks appear everywhere, while millions of others appear rarely. This popularity bias can mask the effectiveness of sophisticated models, making it look like simple algorithms are "good enough" when they are actually failing to help users discover less common music.
Methodology
The authors compare three distinct modeling approaches to evaluate the impact of song context:
- Song Popularity (Baseline): A simple unigram model that ranks songs based on how often they appear in the training data, completely ignoring the current playlist context.
- Song-based Collaborative Filtering (CF): An item-based approach that represents songs as vectors of the playlists they appear in. It recommends songs similar to the current track using cosine similarity but ignores any songs played before the current one.
- Recurrent Neural Networks (RNNs): Specifically, the authors use a Gated Recurrent Unit (GRU) architecture. Unlike the other models, the RNN maintains a hidden state that evolves with every song played, allowing it to "remember" the entire sequence of the listening session to predict the next track.
A Random model was also included to provide a performance floor.
Datasets
The study utilized two datasets of hand-curated playlists: AotM-2011 (derived from "Art of the Mix") and 8tracks (a larger streaming platform dataset). Strict filtering was applied to ensure quality, removing themed playlists and ensuring sufficient observations for statistical significance.
Results and Analysis
The performance was measured by the predicted rank of the actual next song, where a lower rank indicates better performance.
The Popularity Mask
Aggregate results initially suggest that RNN and Popularity models perform nearly identically. However, segmenting the data reveals that for the top 10% most popular songs, the Popularity model is indeed hard to beat. The "aha moment" occurs in the "long tail" (the other 90% of the catalog), where the Popularity model performs no better than random guessing.
RNN Robustness and Context
While the Popularity model's performance collapses when moving from hits to niche tracks, the RNN's performance remains relatively stable. The RNN effectively uses song context to navigate the long tail. Surprisingly, the song-based CF model performed poorly, especially on the 8tracks dataset, suggesting that just looking at the "current song" is insufficient to capture the flow of a curated playlist.
Conclusion
This study proves that RNNs are significantly better at using context for the long tail of music catalogs. While popularity bias is inherent in music data, evaluating discovery requires looking beyond the top hits. Future work could explore combining the sequential power of RNNs with content-based features (like audio analysis) to further improve recommendations for "cold-start" songs.
Summary updated