case study 9 min read

How Spotify Solved the Conversational Agent Cold-Start Problem

Ludovico Bessi

By Ludovico Bessi

Senior Machine Learning Engineer at Google · Zurich

Inside Spotify's conversational RecSys paper: decoupling dialog planning from execution, closed-loop UserLLM simulation, and +14% listening time across 15M users.

Spotify AI agents recommendation systems synthetic data LLM evaluation
Spotify Conversational Recommendation Agent architecture: Dialog Plan LLM, closed-loop UserLLM realization, and capability-specific LLM judge
Spotify's decoupled synthetic dialog pipeline: abstract Dialog Plans drive a closed-loop UserLLM against the live Recs Agent, scored by an instance-level LLM judge.

TL;DR

  • Spotify bootstrapped its multi-turn conversational recommendation agent without pre-existing dialog logs by decoupling abstract Dialog Plans from live execution.
  • A closed-loop UserLLM interacts with the live Recs Agent and dynamically adapts follow-up prompts whenever tool outputs diverge, evaluated on the final turn by a capability-specific LLM judge.
  • Pairing this synthetic eval harness with a variance-isolating coding-agent optimization loop delivered +8% offline pass@1, +14% listening time, and -5% skip rate across 15M users.

Direct answer: Spotify solved the multi-turn conversational agent cold-start problem by decoupling dialog planning from live execution: a DialogPlanLLM turns single-turn seeds into abstract multi-turn scripts across five core capabilities, a UserLLM realizes those plans interactively against the live recommendation agent (adapting follow-ups when tool outputs diverge), and an instance-level LLM-as-a-Judge scores the final turn. Pairing this synthetic pipeline with a variance-isolating coding-agent optimization loop delivered +8% offline pass@1 over a hand-tuned prompt — translating to +14% listening time and -5% skip rate in a 15-million-user A/B test.

This is a structured breakdown of Spotify's paper based on our newsletter coverage — read the full Substack edition with deep root-cause optimization details at How Spotify solved the agent cold-start problem.

Why Conversational Agents Hit a Severe Cold-Start Wall

Most production recommender systems rely on single-shot queries or passive implicit feedback (clicks, skips, watch time). Moving to a conversational recommendation agent lets users steer, refine, and pivot intent across multiple turns — but it introduces a brutal pre-launch bottleneck:

  • No realistic multi-turn training or eval data exists before launch. You have single-turn search logs, not multi-step clarification dialogues.
  • Single-turn evals hide real failures. An agent can ace initial playlist retrieval and still collapse on turn 3 when a user adds a constraint, uses a pronoun ("make that more upbeat"), or pivots genres mid-session.
  • Manual trace review and prompt tweaking do not scale. Editing prompts by hand across dozens of failure modes creates regressions as fast as it fixes bugs.

Spotify's paper ("Bootstrapping Conversational Recommendation Agents At Spotify: Synthetic Data Generation and Self-Improvement Loops") tackles both halves of the problem: how to generate grounded multi-turn evaluation data before users arrive, and how to systematically optimize the agent without overfitting to noisy tool failures.

Step 1: Decouple Abstract Dialog Plans from Live Execution

Naively pointing a simulated user LLM at an agent produces unrepeatable trajectories that drift away from the capabilities you actually want to measure. Spotify avoids this by splitting generation into three clean stages:

1. Define a Concrete Multi-Turn Capability Taxonomy

Instead of vague "good conversation" scores, Spotify breaks multi-turn competence into five measurable capabilities, each with its own rubric and few-shot exemplars:

Capability Code What the Agent Must Handle
Content Refinement CR Update recommendations based on follow-up constraints (e.g., "more old-school rock")
Instruction Retention IR Remember earlier constraints across multiple subsequent turns
Anaphora Resolution AR Resolve pronouns and references to previously returned playlists or items
Intent Shift IS Detect when the user pivots to a completely new mood or task cleanly
Separate Input SI Handle compound or multi-part requests arriving across separate turns

2. Generate Abstract Dialog Plans (DialogPlanLLM)

A DialogPlanLLM takes a real single-turn seed prompt (from existing production queries or synthetic seeds) plus one target capability rubric and outputs an abstract multi-turn dialog plan — specifying what the user is trying to accomplish without locking in verbatim phrasing.

3. Closed-Loop Realization with a UserLLM

Instead of replaying canned user utterances regardless of what the agent returns, a UserLLM talks to the live recommendation agent runtime:

  • At turn k, the UserLLM inspects both the target dialog plan and the agent's actual structured output (real playlist IDs, returned tracks, tool responses).
  • If the live agent deviates from what the plan expected (for example, returning modern hits when the plan assumed classic rock), the UserLLM dynamically adapts its follow-up prompt so the dialogue stays realistic while still testing the target capability.

4. Final-Turn, Capability-Specific LLM-as-a-Judge

Rather than paying to judge every intermediate turn with a generic rubric, Spotify's judge inspects the full conversation history and scores only the final Nth agent response against an instance-level rubric tied to the target capability. That slashes evaluation token cost while sharply isolating multi-turn quality drops — the same rubric-driven evaluation philosophy covered in our Production LLM Evaluation guide and RLHF with Rubrics as Rewards.

Step 2: Automated Self-Improvement Without Optimizing Noise

Generating synthetic evals is only half the loop. Spotify then runs an automated coding-agent optimization loop that diagnoses failure traces and proposes prompt/planning improvements — with one critical engineering discipline: isolating planning variance from infrastructure and tool noise.

In production agent stacks, failed runs often come from transient tool timeouts, catalog edge cases, or non-deterministic retrieval rather than bad prompt logic. By separating repeatable planning errors from noisy environment variance, the self-improvement loop avoids chasing ghosts and converges on genuine behavioral gains.

Production Results (15M-User A/B Test)

The decoupled synthetic pipeline + self-improvement loop delivered measurable wins both offline and online:

  • +8% offline pass@1 over an already hand-optimized production prompt
  • +14% listening time in live production
  • -5% skip rate across a 15-million-user A/B test

Engineering Takeaways for Your Own Agent Stack

  1. Never replay static multi-turn test scripts against live tool-using agents. Real tool outputs diverge; use a closed-loop UserLLM that adapts follow-ups to actual structured responses.
  2. Score capabilities, not vibes. Decompose multi-turn behavior into 4–6 concrete failure modes (refinement, retention, anaphora, intent shift) with binary instance-level rubrics.
  3. Separate planning failures from tool/infra flakiness before letting automated prompt or code optimizers hillclimb on traces.

Read the complete technical breakdown — including the full variance-based coding-agent optimization loop — in the full Substack edition: How Spotify solved the agent cold-start problem.

Go deeper: LLM Evaluation in Production · Recommendation Systems at Scale (Free Book) · Agent Context Engineering Guide.

Frequently Asked Questions

How did Spotify solve the cold-start problem for conversational recommendation agents?

Spotify generated synthetic multi-turn dialogues by feeding single-turn queries and a five-capability taxonomy into a DialogPlanLLM, then having a UserLLM dynamically execute those plans against the live agent runtime so follow-up turns stay grounded in real tool outputs.

Why not replay static synthetic multi-turn scripts against an AI agent?

Live tool-using agents return dynamic recommendations and catalog items that frequently diverge from pre-written scripts. Closed-loop UserLLM realization adapts each follow-up turn to the agent's actual output while preserving the target evaluation capability.

What multi-turn capabilities did Spotify evaluate for its conversational agent?

Spotify decomposed multi-turn performance into five core capabilities: Content Refinement (CR), Instruction Retention (IR), Anaphora Resolution (AR), Intent Shift (IS), and Separate Input (SI), scored on the final turn using instance-level rubrics.

Get the Machine Learning at Scale newsletter

Join 13k+ ML engineers reading weekly deep dives on production ML systems and growing your ML career to Senior and beyond. Free on Substack.

Subscribe Free on Substack
Ludovico Bessi, Senior ML Engineer at Google

Ludovico Bessi

Senior Machine Learning Engineer at Google in Zurich. Previously worked on large-scale abuse ML systems, end-to-end YouTube Ads, YouTube Shopping recommendations, CERN, and Volvo. Writes the weekly Machine Learning at Scale newsletter.

Related Articles