Problem
Spotify targets podcasts on two channels: ads (audio, video, display) and promotions (display shelves, for example for Spotify Originals). Each had its own model. Every new objective needed a new model to build and validate. New ad products and new creators had too little data for a specialized model, and signals from one channel could not help the other.
Example from the article: ad cold start used the promotions model to score ad impressions, although it lacked ad creative, campaign and channel signals.
Solution in brief
One multi-task model learns ads and promotions together. A shared encoder feeds separate prediction heads for stream, click, like and follow. Directional loss masking and source-balanced batches keep ads from distorting promotions, and the click, like and follow heads add training signal. Against the promotions-model baseline it raised ad impression-to-stream rate by about 18% in A/B tests.
Questions this case answers
- How to predict user response on a data-scarce surface by reusing data from a related data-rich surface without negative transfer
- How to replace several per-surface prediction models with one model that launches new objectives quickly
- How to cold-start targeting for a new ad product when it has little data of its own?
- How to let data-rich promotion signals improve ad targeting without hurting the promotions?
Tools and methods
- Multi-task learning with a shared encoder — one representation of user, podcast, context and creative, task-specific towers on top.
- Directional loss masking — controls which impression source updates which tasks.
- Source-balanced sampling — equal ad and promotion impressions per batch.
- Ancillary objectives (click, like, follow) — extra supervision for the stream prediction task.
- Average Precision (AP) with temporal split — offline evaluation under class imbalance.
- Budget-split A/B tests — online check across markets.
Google or a one-time email code. No password.