Text2Playlist: Generating Personalized Playlists from Text on Deezer

Mathieu Delcluze, Antoine Khoury, Clémence Vast, Valerio Arnaudo, Léa Briand, Walid Bendada, Thomas Bouabça

TL;DR

Deezer Research has introduced Text2Playlist, a production-grade system that transforms natural language "vibe" queries (e.g., "Chill vibes on a rainy afternoon") into personalized music playlists. By combining the semantic power of Large Language Models (LLMs) with traditional Collaborative Filtering and Retrieval-Augmented Generation (RAG), the system achieves a 45% "listen-back" rate, significantly outperforming manual playlist creation.

What Problem Does This Paper Address?

Most music streaming search engines are built for narrow intent—navigational queries where a user knows exactly what they want (e.g., "Bohemian Rhapsody"). However, roughly 20% of queries represent broad intent, where users have an exploratory mindset (e.g., "music for a 90s-themed workout").

Traditional search bars struggle with these for two reasons:

  1. UI Constraints: Small search bars discourage long, descriptive queries.
  2. Friction: Search results are typically lists of tracks that the user must manually curate into a playlist, which is time-intensive and breaks the "smooth listening experience."

Text2Playlist aims to bridge this gap by allowing users to describe a mood or scenario and receive a ready-to-play, personalized set of tracks.

The Text2Playlist user interface allows users to generate playlists from natural language prompts like 'romantic rock songs'.

Methods

The system uses a three-stage pipeline designed for both semantic accuracy and individual personalization:

  1. Tag Extraction (LLM + Retrieval): The system uses Gemini Flash 1.5 to parse the user's query into explicit and implicit tags. For example, "90s music for work" yields an explicit "90s" tag and an implicit "Focus" mood tag. These tags are then used to query an Elasticsearch index containing Deezer’s catalog, which is enriched with metadata from experts, audio analysis, and user-made playlists.
  2. Personalization (Collaborative Filtering): To ensure the results aren't just generic, the system leverages Deezer’s existing Collaborative Filtering (CF) models. It retrieves low-dimensional embedding vectors for both the user and the candidate tracks from a Cassandra database. Using the Faiss library, it calculates cosine similarities to reorder the tracks so the ones most relevant to the specific user's taste appear first.
  3. Tracklist Refinement (RAG): Inspired by Retrieval-Augmented Generation, the reordered list is sent back to the LLM. The model performs a final "sanity check," prioritizing tracks that best match the original unstructured query while enforcing business logic like artist diversity and overall playlist quality.
The three-stage Text2Playlist architecture: (1) Tag extraction and retrieval, (2) Collaborative filtering for personalization, and (3) LLM-based tracklist refinement.

Datasets

The paper does not use a standard public benchmark, as the system is built for a live production environment. Instead, it utilizes:

  • Deezer’s Internal Catalog: Over 120 million music tracks.
  • Proprietary Metadata: A mix of manual annotations, internal audio content analysis models, and data mined from millions of user-created playlists.
  • User Interaction Data: Historical search patterns and item clicks used to train the Collaborative Filtering embeddings.

Key Insights and Ideas

  • The Hybrid Advantage: The core "aha" moment is the realization that LLMs are great at understanding intent but bad at understanding individual taste. By sandwiching a Collaborative Filtering step between two LLM steps, Deezer creates a "Personalized RAG" that is both semantically smart and personally relevant.
  • Implicit vs. Explicit: The system doesn't just look for keywords; it infers needs. Recognizing that a user asking for "work music" might want "Focus" tracks is a level of nuance traditional keyword search lacks.
  • Cost-Effective Scaling: The choice of Gemini Flash 1.5 was driven by the need for a "pay-per-use" model. Since the tool is stand-alone and not used for every single search, this serverless approach prevents the high overhead of maintaining dedicated GPU clusters for a feature that has variable traffic.

Key Results

Text2Playlist was rolled out to 5% of premium users in July 2024 and expanded to 20% by October 2024.

  • User Retention: A key metric is the "listen-back" rate (playlists generated that are listened to again in the following days). For manual playlists, this rate is 27%. For Text2Playlist, it jumped to 45%, suggesting high user satisfaction.
  • Popular Use Cases: Nearly half of all requested moods fall into the "Chill" or "Party" categories, providing Deezer with valuable insights into the primary "exploratory" needs of their user base.

Limitations and Future Work

  • Query Reformulation: Initial data shows that users often need to try multiple queries to get the perfect result. The authors suggest refactoring the tool into a conversational interface (chatbot style) to handle these iterations more naturally.
  • Tag Coverage: While the current system relies on a robust set of tags, the authors plan to use LLMs to analyze song lyrics directly to further enrich the metadata and improve the retrieval of niche or highly specific requests.
  • Diversity vs. Accuracy: Balancing the LLM's desire to match a query perfectly with the need for artist diversity remains an ongoing area of optimization.

Summary updated

BibTeX
@inproceedings{delcluze2025text,
  author = {Mathieu Delcluze and Antoine Khoury and Clémence Vast and Valerio Arnaudo and Léa Briand and Walid Bendada and Thomas Bouabça},
  title = {{Text2Playlist: Generating Personalized Playlists from Text on Deezer}},
  booktitle = {ECIR},
  year = {2025},
  doi = {10.1007/978-3-031-88720-8\_27},
}
Figure