Problem
A music streaming service built a generator that turns a text query into a playlist. Fixed-weight hybrids of semantic search and collaborative filtering fail both ways. For a query like "best hits of Queen", the user's own history pushes other artists into the list. For mood-based queries like "something for a run", ignoring personal preferences gives a worse list. A global mixing weight cannot fix both, because the right amount of personalization depends on the query.
Example from the article: a user says "play the best hits of Queen" and gets a list where half of the Queen tracks are replaced by bands they listened to earlier.
Solution in brief
Score each candidate track as a semantic score multiplied by the collaborative score raised to a power . A small text-only classifier predicts for every query. At the result is pure semantics, at the collaborative signal is fully on. An A/B test gave +3.0% in average active days per user.
Questions this case answers
- How to decide per request how strongly a result list should depend on the user's history when requests range from fully personal to fully literal
- How to combine a content-relevance score with a preference score from two independently released systems without a trained blending model
- How to decide per query whether a text-to-playlist generator should personalize or follow the literal request?
- How to blend a semantic text score with a collaborative recommender score without retraining either system?
Tools and methods
- Two-stage recommender — an embedder retrieves candidates, a collaborative ranker rescores them.
- GigaEmbedder (Giga-Embeddings-instruct) — query and track embeddings, fine-tuned with InfoNCE on triplets.
- Query classifier on RuModernBERT-base — predicts how personal a query is from its text only.
- Temperature scaling view — the exponent acts as the ranker's softmax temperature.
- Blind pairwise user study — ELO rating and Mann-Whitney test to compare variants.
Google or a one-time email code. No password.
