Back to Discover
Curiosity

How Does Spotify Recommend Music?

Spotify's recommendations come from blending collaborative filtering (users similar to you liked these songs), content-based analysis (the audio features of songs you enjoy), and contextual signals — with collaborative filtering doing most of the heavy lifting.

Before you enter

A complete interactive classroom, not just a preview.

Start when you are ready to enter this Stage's 9 scenes and explore, respond, and learn as you go.

9
Scenes
18 min
Estimated
Content language: en-US
Start this Stage
Sign-in may be required to play
What happens inside
  1. 01The Mystery of the Perfect Playlistslide
    Question

    Set up the driving question with a relatable scenario: you open Spotify and a song you love is already waiting. How did it get there?

    • Every day, millions of users get recommendations that feel personally chosen
    • This investigation will unpack the engine behind that feeling
    • By the end, you'll know the three signals Spotify combines to predict your taste
  2. 02Your First Hypothesisquiz
    Prediction

    Commit to one prediction about how Spotify picks songs before seeing the evidence.

    • Test the intuitive guess: is it just about song similarity?
    • Get clear reason to explore collaborative filtering later
  3. 03Listen Patterns in 3Dinteractive
    Evidence

    Visualize how thousands of users and songs cluster in space when plotted by listening behavior. Drag to rotate and see whether users who like the same songs group together.

    • Each dot is a user; clusters reveal people with similar taste
    • Songs listened to by the same cluster get recommended to each other
    • The geometry of taste is the foundation of collaborative filtering
  4. 04The Listening Matrixslide
    Evidence

    Show the actual input Spotify works with: a huge table of users vs. songs, filled mostly with question marks (unheard songs).

    • Rows are users, columns are songs, cells are play counts
    • Most cells are empty — Spotify fills in the blanks
    • This sparse matrix is the raw material for recommendations
  5. 05Collaborative Filtering Simulatorinteractive
    Explanation

    Adjust how similar two fake users are and watch the recommendation change in real time. Discover the core idea: recommendations come from people like you, not from song features alone.

    • Slide a 'similarity' dial between User A and User B
    • See how User B's listening history shifts into User A's recommendations
    • Higher similarity means stronger recommendations from that user
  6. 06The Three Signals Spotify Combinesslide
    Explanation

    Reveal the full picture: collaborative filtering, content-based audio features, and contextual signals all blend together.

    • Collaborative filtering: users like you loved these songs
    • Content-based: songs with similar tempo, mood, or genre
    • Context: time of day, device, location — even the weather
    • Spotify's algorithm weighs all three together
  7. 07What If Spotify Only Used One Signal?interactive
    Transfer

    A game-style challenge: try to predict a user's next song using only collaborative filtering, then only audio features, then the full blend. See how the blend wins.

    • Round 1: recommendations from similar users only
    • Round 2: recommendations from audio similarity only
    • Round 3: the blend — and why it works better
    • Transfer the idea: combining weak signals often beats one strong signal
  8. 08Where Recommendations Breakslide
    Boundary

    Honestly address the limits: cold start for new users, filter bubbles, and the rare surprise hit.

    • New users have no history — Spotify falls back on popularity
    • Over time, recommendations can narrow your taste into a bubble
    • Surprises still happen — and Spotify deliberately leaves room for them
  9. 09The Answer Behind Your Playlistslide
    Resolution

    Directly answer the driving question and tie back to the opening tension.

    • Spotify combines three signals: your history, similar users, and audio features
    • Collaborative filtering does the heaviest lifting
    • That 'mind-reading' feeling is math working on millions of data points
    • You now see the engine behind every recommendation you receive
Discussion

Discussion threads for a Stage aren't available yet.

Where this leads
Explore more

More in Technology & Computing

See all