Modeling Musical Genre Trajectories through Pathlet Learning
Lilian Marey, Charlotte Laclau, Bruno Sguerra, Tiphaine Viard, Manuel Moussallam
TL;DR
This work introduces pathlet learning, a dictionary-learning-based framework to model the evolution of users' musical tastes by extracting recurring small-genres trajectories (pathlets) from listening histories. By constructing trajectory embeddings and learning a pathlet dictionary on a genre-graph, the approach provides interpretable representations that capture appearance and disappearance of genres over time, and improves predictive metrics like average total variation and new-classes emergence. The method is validated on a Deezer dataset and a Last.fm dataset, showing quantitative gains over baselines and revealing qualitative insights into genre dynamics, co-listening patterns, and diversity considerations for recommender systems. The released code and Deezer-derived dataset facilitate reproducibility, further research into explainable trajectory modeling, and potential applications in long-term taste modeling, playlist curation, and diversity-aware recommendations.
Abstract
The increasing availability of user data on music streaming platforms opens up new possibilities for analyzing music consumption. However, understanding the evolution of user preferences remains a complex challenge, particularly as their musical tastes change over time. This paper uses the dictionary learning paradigm to model user trajectories across different musical genres. We define a new framework that captures recurring patterns in genre trajectories, called pathlets, enabling the creation of comprehensible trajectory embeddings. We show that pathlet learning reveals relevant listening patterns that can be analyzed both qualitatively and quantitatively. This work improves our understanding of users' interactions with music and opens up avenues of research into user behavior and fostering diversity in recommender systems. A dataset of 2000 user histories tagged by genre over 17 months, supplied by Deezer (a leading music streaming company), is also released with the code.
