Spotify's Sliding Doors-style 'what if?' AI to suggest new music sounds… scary, honestly

A woman with digital interface projected across her face.
(Image credit: Cottonbro Studio (via Pexels))

Oh, Spotify. I'd love for you to make good on your Spotify HiFi promise, (and I can take or leave the TikTok-style revamp, thank you) but it seems you have other plans.

The concept I'm about to share is a cerebral one and something most of us likely have a tenuous grasp of, at best. It's all about counterfactuals, causation, and causal inference in machine-learning mathematics (so, if something didn't happen, but what if it had happened? Now add that to math!) and Spotify is all set to use it to help the streaming giant suggest your next favorite album or playlist. 

Think of the movie Sliding Doors but with your music collection, and you've got the basic idea – but the concept is a complex one and no mistake. 

What actually is it though? As reported by the bimonthly Massachusetts-based tech publication, MIT Technology Review, a team of researchers at Spotify just built a new kind of machine-learning model which, for the first time, captures the complex math behind counterfactual analysis. And apparently, it can be used to identify the causes of past events – and predict the effects of future ones.

How does that translate to the 90s mix you streamed from 1 AM 'til 4 AM last night after sharing a bottle of wine with a friend… and possibly texting your ex? Well, if Spotify knows about it, it could improve the accuracy of automated decision-making, especially personalized recommendations.

Analysis: Music of the Mind? Or Spotify's road to Virtual Insanity?

Spotify app on a smartphone next to a pair of true wireless earbuds

I have served. I will be of service…  (Image credit: Shutterstock / Chubo - my masterpiece)

Well done if you noticed I just put two Jamiroquai songs in a sub-head – we'll probably get similar acid-jazz playlists beamed to us later. High five!

Now let's go up a level. Stay with me and we can relax with a nice chill mix later. The whole counterfactual math approach is inspired by Einstein’s light cones. Think of a 'futures cone' where the narrowest circle, created by the thinnest cone, is 'probable', then 'plausible' going out and out as the cone gets wider towards 'possible' and finally 'preposterous' – ie. highly unlikely. 

Got that? Good. Now, the basic theory behind counterfactuals is to ask what would have happened in a situation had certain things been different – if Helen (aka Gwyneth Paltrow) had neither made the train nor missed the train in Sliding Doors in 1998, but had instead decided to go see a movie and ended up spilling popcorn all over the true love of her life… By altering the correct variables, it should be possible to distinguish genuine causation from association and coincidence. So we narrow the cone! 

All sound a bit pie in the sky? I agree. I, for example, might have crammed the same Falco songs into my brain on repeat for two months in 2009 because I was dancing to them, for work. What does that say about me, Spotify? Perhaps it was not my music of choice… perhaps I also listened to Ella Fitzgerald on vinyl to chill out. Did you know about that? What of it? 

But see, where it gets truly mind-melting is that counterfactual AI works on the outcome of an event even if the event never actually happened… yes, really. 

Not content with the recent and highly specific niche mix rollout, Spotify? Think this is a better way to understand our deepest unspoken musical wants and desires? I'm not so sure. 

The Spotify team has tested the model out using real-world case studies, including one looking at the health implications of a water source in Kenya. And it really is the future – Spotify is not the only tech giant galloping towards machine-learning models with the ability to perform cause-and-effect reasoning; Meta, LinkedIn, Amazon, and TikTok’s owner ByteDance have also been working on similar technology. Meta is apparently using causal inference in a machine-learning tool to manage how many notifications (and what kind) Instagram can send its users and still keep them hooked. 

Will it be any better than "You like Fontaines D.C. so have a bang on Yard Act" when Spotify implements it? Impossible to say. Do I want it? No, no – but then, I look upon Spotify as an old friend from simpler times, rather than one of the best music streaming services of 2023. Also, I've been known to listen to the same 1984 XTC song on loop for 90 minutes (Wake Up, if you're wondering) just to appreciate the backing vocals… I do not care to know what Spotify thinks of that. 

Becky Scarrott
Audio Editor

Becky became Audio Editor at TechRadar in 2024, but joined the team in 2022 as Senior Staff Writer, focusing on all things hi-fi. Before this, she spent three years at What Hi-Fi? testing and reviewing everything from wallet-friendly wireless earbuds to huge high-end sound systems. Prior to gaining her MA in Journalism in 2018, Becky freelanced as an arts critic alongside a 22-year career as a professional dancer and aerialist – any love of dance starts with a love of music. Becky has previously contributed to Stuff, FourFourTwo and The Stage. When not writing, she can still be found throwing shapes in a dance studio, these days with varying degrees of success.  

Read more
Screenshot of Spotify daylist hub
Help, I think Spotify is making me boring! And it's all AI's fault
The Bandcamp home page on a laptop. Badge reads: Tech resolutions 2025
Forget Spotify – I’m going all-in on Bandcamp for music in 2025, here’s why you should too
Hand holding a phone with the Spotify app logo
Spotify will 'double down' on music in 2025, but does that mean Hi-Fi or AI?
Shazam Fast Forward 2025
Shazam’s going full fortune teller in 2025, predicting the music you will listen to (rather than something you just heard)
AI-generated image of an android standing in front of a circuit board background with a giant padlock in the middle
We’re locked inside a creative bubble, will AI burst it or throw away the key?
Spotify logo on a mobile device
Spotify HiFi: release date rumors, price predictions, and everything we know so far
Latest in Spotify
Spotify's new Concerts Near You playlist feature showing a list of songs by local touring artists
Spotify has launched a new Concerts Near You playlist, making it easier for you to see if your favorite artists are performing in your area
Spotify AI DJ on a phone being held in a hand
Hey AI DJ, put a record on: Spotify seems set to let you speak to its AI DJ
Lady Gaga sat at a press conference table for Spotify's fan event
Spotify’s press conference with Lady Gaga shows that music streaming services really do think about the fans after all
Woman holding phone in field with Spotify app onscreen
The Spotify bug that shows ads to Premium subscribers has finally been fixed - for now at least
A screen shot of Lady Gaga in her interview with Zane Lowe for Apple Music
Lady Gaga’s Spotify press conference is being live streamed today – here’s where you can watch Spotify’s big step forward in fan inclusion
Spotify logo on a mobile device
Had Spotify problems recently? It's clamped down on Premium APK 'modded' apps – here's what's happening
Latest in News
Nintendo Switch 2 Joy-Con up-close from app store
Nintendo's new app gave us another look at the Switch 2, and there's something different with the Joy-Con
cheap Nintendo Switch game deals sales
Nintendo didn't anticipate that Mario Kart 8 Deluxe was 'going to be the juggernaut' for the Nintendo Switch when it was ported to the console, according to former employees
Three angles of the Apple MacBook Air 15-inch M4 laptop above a desk
Apple MacBook Air 15-inch (M4) review roundup – should you buy Apple's new lightweight laptop?
Witchbrook
Witchbrook, the life-sim I've been waiting years for, finally has a release window and it's sooner than you think
Amazon Echo Smart Speaker
Amazon is experimenting with renaming Echo speakers to Alexa speakers, and it's about time
Shigeru Miyamoto presents Nintendo Today app
Nintendo Today smartphone app is out now on iOS and Android devices – and here's what it does