SlideShare a Scribd company logo
1 of 38
Download to read offline
Recommending and
Searching
Research @ Spotify
Mounia Lalmas
Chalmers University of Technology, 4-5 March 2019
Making AI works at Spotify
Qualitativeresearch
Businessmetrics
Algorithm(s)
Training & Datasets
Metric(s)
Evaluation offline and online
Interaction & feedbacks data
Features
(item)
Features
(user)
Features
(context)
What we do at Spotify
Spotify’s mission is to
unlock the potential of
human creativity — by
giving a million creative
artists the opportunity
to live off their art and
billions of fans the
opportunity to enjoy
and be inspired by it.
http://everynoise.com/
Our team mission:
Match fans and artists in a personal and relevant way.
ARTISTS FANS
songs
playlists
podcasts
...
catalog
search
browse
talk
users
What does it mean to match fans and artists
in a personal and relevant way?Artists
Fans
“We conclude that information retrieval and
information filtering are indeed two sides of
the same coin. They work together to help
people get the information needed to
perform their tasks.”
Information filtering and information retrieval: Two sides of the same coin? NJ Belkin & WB Croft,
Communications of the ACM, 1992.
“We can conclude that recommender
systems and search are also two sides of
the same coin at Spotify. They work
together to help fans get the music they will
enjoy listening”.
PULL
PARADIGM
PUSH
PARADIGM
is this the case?
Home … the push paradigm
Home
Home is the default screen of the mobile app
for all Spotify users worldwide.
It surfaces the best of what Spotify has to
offer, for every situation, personalized
playlists, new releases, old favorites, and
undiscovered gems.
Help users find something they are going to
enjoy listening to, quickly.
Streaming UserBaRT
Explore, Exploit, Explain: Personalizing Explainable Recommendations with Bandits. J McInerney, B Lacker, S Hansen, K Higley, H.Bouchard, A Gruson
& R Mehrotra, RecSys 2018.
BaRT: Machine learning algorithm for
Spotify Home
BaRT (Bandits for Recommendations as Treatments)
How to rank playlists (cards) in each shelf first, and then how to rank the shelves?
https://hackernoon.com/reinforcement-learning-part-2-152fb510cc54
Explore vs Exploit
Flip a coin with given probability of tail
If head, pick best card in M according to predicted reward r → EXPLOIT
If tail, pick card from M at random → EXPLORE
BaRT: Multi-armed bandit
algorithm for Spotify Home
Success is captured by the reward function
Reward
Binarised Streaming Time Success is when user
streams the playlist
for at least 30s.
BaRT UserStreaming
Is success the same for all playlists?
Consumption time of a sleep playlist is longer than average playlist consumption time.
Jazz listeners consume Jazz and other playlists for longer period than average users.
one reward function
for all users and all
playlists
success independent of
user and playlist
one reward function
per user x playlist
success depends on user and
playlist
too granular, sparse, noisy,
costly to generate & maintain
one reward function
per group of users x
playlists
success depends on group of
users listening to group of
playlists
Personalizing the reward function for BaRT
Co-clustering
Co-clustering
Dhillon, Mallela & Modha, "Information-theoretic co-clustering”, KDD 2003.
Caveat no theoretical foundation for
selecting the number of co-clusters apriori
group = cluster
group of user x playlist = co-cluster
Co-clustering for Spotify Home
Users
Playlists
User
groups
Playlist groups
Any (interaction) signal can be used to generate the co-clusters.
Reward function per co-cluster using
distribution of streaming time
continuousadditivemean
Counterfactual
methodology, which works
like offline A/B
Thresholding methods:
mean, additive, continuous
& random
Baseline (one threshold),
playlists only, users only,
both
One week of random
sample of 800K+ users,
900K+ playlists, 8M
user-playlist interactions
Expected stream rate
Experiments
Deriving User- and Content-specific Rewards for Contextual Bandits. P Dragone, R Mehrotra
& M Lalmas, WWW 2019.
Conclusions
Accounting for user experience and playlist consumption matters.
Co-clustering users and playlists surfaces patterns of user
experience x playlist consumption.
Using one interaction signal and a simple thresholding method can
already provide effective personalised success metrics.
Metric 1
Metric 2
Metric 3
Multiple objective functionsRecommendation
in a 2-sided
Marketplace
● Policy I: Optimizing Relevance
● Policy II: Optimizing Fairness
● Policy III: Probabilistic Policy
● Policy IV: Trade-off Relevance &
Fairness
● Policy V: Guaranteed Relevance
● Policy VI: Adaptive Policy I
● Policy VI: Adaptive Policy II
“Fairness” Relevance
Optimising for fairness
and satisfaction at the
same time
Towards a Fair Marketplace: Counterfactual Evaluation of the
trade-off between Relevance, Fairness & Satisfaction in
Recommendation Systems. R Mehrotra, J McInerney, H Bouchard,
M Lalmas & F Diaz, CIKM 2018.
Recommendation
in a 2-sided
Marketplace
ML Lab
An offline evaluation framework to
launch, evaluate and archive machine
learning studies, ensuring
reproducibility and allowing sharing
across teams.
Offline Evaluation to Make Decisions About Playlist
Recommendation Algorithms. A Gruson, P Chandar, C Charbuillet,
J McInerney, S Hansen, D Tardieu & B Carterette, WSDM 2019.
Offline
evaluation for
Home
Search … pull & push paradigms
Searching for music
Overview of the user journey in search
TYPE/TALK
User
communicates
with us
CONSIDER
User evaluates
what we show
them
DECIDE
User ends the
search session
INTENT
What the user
wants to do
MINDSET
How the user
thinks about
results
FOCUSED
One specific thing in mind
OPEN
A seed of an idea in mind
EXPLORATORY
A path to explore
● Find it or not
● Quickest/easiest
path to results is
important
● From nothing good
enough, good enough
to better than good
enough
● Willing to try things out
● But still want to fulfil
their intent
● Difficult for users to
assess how it went
● May be able to answer
in relative terms
● Users expect to be
active when in an
exploratory mindset
● Effort is expected
How the user
thinks about
results
Just Give Me What I Want: How People Use and Evaluate Music
Search. C Hosey, L Vujović, B St. Thomas, J Garcia-Gathright &
J Thom, CHI 2019.
Focused
mindset
Search Mindsets: Understanding Focused and Non-Focused
Information Seeking in Music Search. A Li, J Thom, P Ravichandran,
C Hosey, B St. Thomas & J Garcia-Gathright, WWW 2019.
65% of searches were focused.
When users search with a Focused
Mindset
Put MORE effort in search.
Scroll down and click on lower rank results.
Click MORE on album/track/artist and
LESS on playlist.
MORE likely to save/add but LESS likely
to stream directly.
Understanding mindset helps us understand
search satisfaction.
When users know what they want
to find.
The pull paradigm and how it
translates to the music context.
Findings from large-scale in-app
survey + behavioral analysis.
Search by
voice
A type of push paradigm and
how it translates to the music
context.
Findings from qualitative
research.
Users ask for Spotify to play music, without saying
what they would like to hear (open mindset)
Search as
recommendation
Delivering for the open mindset.
Conversational search.
Non-specific querying is a way for a user
to effortlessly start a listening session
via voice.
Non-specific querying is a way to remove
the burden of choice when a user is open
to lean-back listening.
User education matters as users will not
engage in a use-case they do not know
about.
Trust and control are central to a positive
experience. Users need to trust the
system enough to try it out.
Conclusions
Focused mindset is a typical and common case of pull paradigm.
Understanding the focus mindset can inform measures of search
satisfaction.
Open mindset is important for discovery and lean-back
experiences.
Conversational search (Voice) allows for pull & push paradigms if
done right.
Some final words
Making AI works at Spotify
Qualitativeresearch
Businessmetrics
Algorithm(s)
Training & Datasets
Metric(s)
Evaluation offline and online
Interaction & feedbacks data
Features
(item)
Features
(user)
Features
(context)
Making AI works at Spotify … in this talk
Qualitativeresearch
Businessmetrics
Algorithm(s)
Training & Datasets
Metric(s)
Evaluation offline and online
Interaction & feedbacks data
Features
(item)
Features
(user)
Features
(context)
BaRT
ML-Lab
Rewardfunction
forBaRT
Focused mindset in search
2-side marketplace
Conversational search (Voice)
Thank you!

More Related Content

What's hot

Interactive Recommender Systems with Netflix and Spotify
Interactive Recommender Systems with Netflix and SpotifyInteractive Recommender Systems with Netflix and Spotify
Interactive Recommender Systems with Netflix and Spotify
Chris Johnson
 
Interactive Recommender Systems
Interactive Recommender SystemsInteractive Recommender Systems
Interactive Recommender Systems
Roelof van Zwol
 
Artwork Personalization at Netflix
Artwork Personalization at NetflixArtwork Personalization at Netflix
Artwork Personalization at Netflix
Justin Basilico
 

What's hot (20)

Interactive Recommender Systems with Netflix and Spotify
Interactive Recommender Systems with Netflix and SpotifyInteractive Recommender Systems with Netflix and Spotify
Interactive Recommender Systems with Netflix and Spotify
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at Spotify
 
Machine Learning and Big Data for Music Discovery at Spotify
Machine Learning and Big Data for Music Discovery at SpotifyMachine Learning and Big Data for Music Discovery at Spotify
Machine Learning and Big Data for Music Discovery at Spotify
 
Interactive Recommender Systems
Interactive Recommender SystemsInteractive Recommender Systems
Interactive Recommender Systems
 
Building Data Pipelines for Music Recommendations at Spotify
Building Data Pipelines for Music Recommendations at SpotifyBuilding Data Pipelines for Music Recommendations at Spotify
Building Data Pipelines for Music Recommendations at Spotify
 
Scala Data Pipelines for Music Recommendations
Scala Data Pipelines for Music RecommendationsScala Data Pipelines for Music Recommendations
Scala Data Pipelines for Music Recommendations
 
Engagement, metrics and "recommenders"
Engagement, metrics and "recommenders"Engagement, metrics and "recommenders"
Engagement, metrics and "recommenders"
 
Collaborative Filtering at Spotify
Collaborative Filtering at SpotifyCollaborative Filtering at Spotify
Collaborative Filtering at Spotify
 
Artwork Personalization at Netflix
Artwork Personalization at NetflixArtwork Personalization at Netflix
Artwork Personalization at Netflix
 
Recent Trends in Personalization: A Netflix Perspective
Recent Trends in Personalization: A Netflix PerspectiveRecent Trends in Personalization: A Netflix Perspective
Recent Trends in Personalization: A Netflix Perspective
 
Spotify Discover Weekly: The machine learning behind your music recommendations
Spotify Discover Weekly: The machine learning behind your music recommendationsSpotify Discover Weekly: The machine learning behind your music recommendations
Spotify Discover Weekly: The machine learning behind your music recommendations
 
Music Recommendations at Scale with Spark
Music Recommendations at Scale with SparkMusic Recommendations at Scale with Spark
Music Recommendations at Scale with Spark
 
A Multi-Armed Bandit Framework For Recommendations at Netflix
A Multi-Armed Bandit Framework For Recommendations at NetflixA Multi-Armed Bandit Framework For Recommendations at Netflix
A Multi-Armed Bandit Framework For Recommendations at Netflix
 
Recent Trends in Personalization at Netflix
Recent Trends in Personalization at NetflixRecent Trends in Personalization at Netflix
Recent Trends in Personalization at Netflix
 
Context Aware Recommendations at Netflix
Context Aware Recommendations at NetflixContext Aware Recommendations at Netflix
Context Aware Recommendations at Netflix
 
Deep Learning for Recommender Systems
Deep Learning for Recommender SystemsDeep Learning for Recommender Systems
Deep Learning for Recommender Systems
 
Big data and machine learning @ Spotify
Big data and machine learning @ SpotifyBig data and machine learning @ Spotify
Big data and machine learning @ Spotify
 
CF Models for Music Recommendations At Spotify
CF Models for Music Recommendations At SpotifyCF Models for Music Recommendations At Spotify
CF Models for Music Recommendations At Spotify
 
Personalization at Netflix - Making Stories Travel
Personalization at Netflix -  Making Stories Travel Personalization at Netflix -  Making Stories Travel
Personalization at Netflix - Making Stories Travel
 
Recent Trends in Personalization at Netflix
Recent Trends in Personalization at NetflixRecent Trends in Personalization at Netflix
Recent Trends in Personalization at Netflix
 

Similar to Recommending and Searching (Research @ Spotify)

Adv 206 spring 14 class 9 strat research 2
Adv 206 spring 14 class 9 strat research 2Adv 206 spring 14 class 9 strat research 2
Adv 206 spring 14 class 9 strat research 2
Lucas Spain
 
Opinion Leadership Edited
Opinion Leadership EditedOpinion Leadership Edited
Opinion Leadership Edited
GOEL'S WORLD
 
Social Media Monitoring as a Tool to Assess Customer Satisfaction_Abstract
Social Media Monitoring as a Tool to Assess Customer Satisfaction_AbstractSocial Media Monitoring as a Tool to Assess Customer Satisfaction_Abstract
Social Media Monitoring as a Tool to Assess Customer Satisfaction_Abstract
Valeria Aguerri
 
AccountPlanning_Debrief
AccountPlanning_DebriefAccountPlanning_Debrief
AccountPlanning_Debrief
Yue Ru
 

Similar to Recommending and Searching (Research @ Spotify) (20)

Discovering the future of podcasting
Discovering the future of podcastingDiscovering the future of podcasting
Discovering the future of podcasting
 
Going Deep with Social: Methods to Listen and
Going Deep with Social: Methods to Listen andGoing Deep with Social: Methods to Listen and
Going Deep with Social: Methods to Listen and
 
Netnography
NetnographyNetnography
Netnography
 
Spotify Recommender System
Spotify Recommender SystemSpotify Recommender System
Spotify Recommender System
 
Adv 206 spring 14 class 9 strat research 2
Adv 206 spring 14 class 9 strat research 2Adv 206 spring 14 class 9 strat research 2
Adv 206 spring 14 class 9 strat research 2
 
MixMap Pitch - MD5217
MixMap Pitch - MD5217MixMap Pitch - MD5217
MixMap Pitch - MD5217
 
The future of market research in heatlhcare - EphMRA presentation
The future of market research in heatlhcare - EphMRA presentationThe future of market research in heatlhcare - EphMRA presentation
The future of market research in heatlhcare - EphMRA presentation
 
Opinion Leadership Edited
Opinion Leadership EditedOpinion Leadership Edited
Opinion Leadership Edited
 
Social Media Monitoring as a Tool to Assess Customer Satisfaction_Abstract
Social Media Monitoring as a Tool to Assess Customer Satisfaction_AbstractSocial Media Monitoring as a Tool to Assess Customer Satisfaction_Abstract
Social Media Monitoring as a Tool to Assess Customer Satisfaction_Abstract
 
Social Media for PR webinar with Simon Collister
Social Media for PR webinar with Simon CollisterSocial Media for PR webinar with Simon Collister
Social Media for PR webinar with Simon Collister
 
C018211723
C018211723C018211723
C018211723
 
Social media research of the future is here right now
Social media research of the future is here right nowSocial media research of the future is here right now
Social media research of the future is here right now
 
CROWDSOURCING EMOTIONS IN MUSIC DOMAIN Erion Çano and Maurizio Morisio
CROWDSOURCING EMOTIONS IN MUSIC DOMAIN Erion Çano and Maurizio Morisio CROWDSOURCING EMOTIONS IN MUSIC DOMAIN Erion Çano and Maurizio Morisio
CROWDSOURCING EMOTIONS IN MUSIC DOMAIN Erion Çano and Maurizio Morisio
 
A survey on recommendation system
A survey on recommendation systemA survey on recommendation system
A survey on recommendation system
 
I017654651
I017654651I017654651
I017654651
 
Frontiers of Computational Journalism week 3 - Information Filter Design
Frontiers of Computational Journalism week 3 - Information Filter DesignFrontiers of Computational Journalism week 3 - Information Filter Design
Frontiers of Computational Journalism week 3 - Information Filter Design
 
AccountPlanning_Debrief
AccountPlanning_DebriefAccountPlanning_Debrief
AccountPlanning_Debrief
 
Sharing the Loves: Understanding the How and Why of Online Content Curation
Sharing the Loves: Understanding the How and Why of Online Content CurationSharing the Loves: Understanding the How and Why of Online Content Curation
Sharing the Loves: Understanding the How and Why of Online Content Curation
 
What To Do In A Post Reach World (Attracting An Audience In A Competitive Fie...
What To Do In A Post Reach World (Attracting An Audience In A Competitive Fie...What To Do In A Post Reach World (Attracting An Audience In A Competitive Fie...
What To Do In A Post Reach World (Attracting An Audience In A Competitive Fie...
 
Putting Music in Context: Improving the listening experience through context-...
Putting Music in Context: Improving the listening experience through context-...Putting Music in Context: Improving the listening experience through context-...
Putting Music in Context: Improving the listening experience through context-...
 

More from Mounia Lalmas-Roelleke

Tutorial on Online User Engagement: Metrics and Optimization
Tutorial on Online User Engagement: Metrics and OptimizationTutorial on Online User Engagement: Metrics and Optimization
Tutorial on Online User Engagement: Metrics and Optimization
Mounia Lalmas-Roelleke
 
Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...
Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...
Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...
Mounia Lalmas-Roelleke
 
Story-focused Reading in Online News and its Potential for User Engagement
Story-focused Reading in Online News and its Potential for User EngagementStory-focused Reading in Online News and its Potential for User Engagement
Story-focused Reading in Online News and its Potential for User Engagement
Mounia Lalmas-Roelleke
 
From “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity Search
From “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity SearchFrom “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity Search
From “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity Search
Mounia Lalmas-Roelleke
 

More from Mounia Lalmas-Roelleke (20)

Metrics, Engagement & Personalization
Metrics, Engagement & Personalization Metrics, Engagement & Personalization
Metrics, Engagement & Personalization
 
Tutorial on Online User Engagement: Metrics and Optimization
Tutorial on Online User Engagement: Metrics and OptimizationTutorial on Online User Engagement: Metrics and Optimization
Tutorial on Online User Engagement: Metrics and Optimization
 
Tutorial on metrics of user engagement -- Applications to Search & E- commerce
Tutorial on metrics of user engagement -- Applications to Search & E- commerceTutorial on metrics of user engagement -- Applications to Search & E- commerce
Tutorial on metrics of user engagement -- Applications to Search & E- commerce
 
An introduction to system-oriented evaluation in Information Retrieval
An introduction to system-oriented evaluation in Information RetrievalAn introduction to system-oriented evaluation in Information Retrieval
An introduction to system-oriented evaluation in Information Retrieval
 
Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...
Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...
Friendly, Appealing or Both? Characterising User Experience in Sponsored Sear...
 
Social Media and AI: Don’t forget the users
Social Media and AI: Don’t forget the usersSocial Media and AI: Don’t forget the users
Social Media and AI: Don’t forget the users
 
Advertising Quality Science
Advertising Quality ScienceAdvertising Quality Science
Advertising Quality Science
 
Describing Patterns and Disruptions in Large Scale Mobile App Usage Data
Describing Patterns and Disruptions in Large Scale Mobile App Usage DataDescribing Patterns and Disruptions in Large Scale Mobile App Usage Data
Describing Patterns and Disruptions in Large Scale Mobile App Usage Data
 
Story-focused Reading in Online News and its Potential for User Engagement
Story-focused Reading in Online News and its Potential for User EngagementStory-focused Reading in Online News and its Potential for User Engagement
Story-focused Reading in Online News and its Potential for User Engagement
 
Mobile advertising: The preclick experience
Mobile advertising: The preclick experienceMobile advertising: The preclick experience
Mobile advertising: The preclick experience
 
Predicting Pre-click Quality for Native Advertisements
Predicting Pre-click Quality for Native AdvertisementsPredicting Pre-click Quality for Native Advertisements
Predicting Pre-click Quality for Native Advertisements
 
Improving Post-Click User Engagement on Native Ads via Survival Analysis
Improving Post-Click User Engagement on Native Ads via Survival AnalysisImproving Post-Click User Engagement on Native Ads via Survival Analysis
Improving Post-Click User Engagement on Native Ads via Survival Analysis
 
Evaluating the search experience: from Retrieval Effectiveness to User Engage...
Evaluating the search experience: from Retrieval Effectiveness to User Engage...Evaluating the search experience: from Retrieval Effectiveness to User Engage...
Evaluating the search experience: from Retrieval Effectiveness to User Engage...
 
A Journey into Evaluation: from Retrieval Effectiveness to User Engagement
A Journey into Evaluation: from Retrieval Effectiveness to User EngagementA Journey into Evaluation: from Retrieval Effectiveness to User Engagement
A Journey into Evaluation: from Retrieval Effectiveness to User Engagement
 
Promoting Positive Post-click Experience for In-Stream Yahoo Gemini Users
Promoting Positive Post-click Experience for In-Stream Yahoo Gemini UsersPromoting Positive Post-click Experience for In-Stream Yahoo Gemini Users
Promoting Positive Post-click Experience for In-Stream Yahoo Gemini Users
 
From “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity Search
From “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity SearchFrom “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity Search
From “Selena Gomez” to “Marlon Brando”: Understanding Explorative Entity Search
 
How Big Data is Changing User Engagement
How Big Data is Changing User EngagementHow Big Data is Changing User Engagement
How Big Data is Changing User Engagement
 
Measuring user engagement: the do, the do not do, and the we do not know
Measuring user engagement: the do, the do not do, and the we do not knowMeasuring user engagement: the do, the do not do, and the we do not know
Measuring user engagement: the do, the do not do, and the we do not know
 
An Engaging Click ... or how can user engagement measurement inform web searc...
An Engaging Click ... or how can user engagement measurement inform web searc...An Engaging Click ... or how can user engagement measurement inform web searc...
An Engaging Click ... or how can user engagement measurement inform web searc...
 
Social Media News Communities: Gatekeeping, Coverage, and Statement Bias
 Social Media News Communities: Gatekeeping, Coverage, and Statement Bias Social Media News Communities: Gatekeeping, Coverage, and Statement Bias
Social Media News Communities: Gatekeeping, Coverage, and Statement Bias
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 

Recommending and Searching (Research @ Spotify)

  • 1. Recommending and Searching Research @ Spotify Mounia Lalmas Chalmers University of Technology, 4-5 March 2019
  • 2. Making AI works at Spotify Qualitativeresearch Businessmetrics Algorithm(s) Training & Datasets Metric(s) Evaluation offline and online Interaction & feedbacks data Features (item) Features (user) Features (context)
  • 3. What we do at Spotify
  • 4. Spotify’s mission is to unlock the potential of human creativity — by giving a million creative artists the opportunity to live off their art and billions of fans the opportunity to enjoy and be inspired by it.
  • 6. Our team mission: Match fans and artists in a personal and relevant way. ARTISTS FANS
  • 7.
  • 8. songs playlists podcasts ... catalog search browse talk users What does it mean to match fans and artists in a personal and relevant way?Artists Fans
  • 9. “We conclude that information retrieval and information filtering are indeed two sides of the same coin. They work together to help people get the information needed to perform their tasks.” Information filtering and information retrieval: Two sides of the same coin? NJ Belkin & WB Croft, Communications of the ACM, 1992.
  • 10. “We can conclude that recommender systems and search are also two sides of the same coin at Spotify. They work together to help fans get the music they will enjoy listening”. PULL PARADIGM PUSH PARADIGM is this the case?
  • 11. Home … the push paradigm
  • 12. Home Home is the default screen of the mobile app for all Spotify users worldwide. It surfaces the best of what Spotify has to offer, for every situation, personalized playlists, new releases, old favorites, and undiscovered gems. Help users find something they are going to enjoy listening to, quickly.
  • 13. Streaming UserBaRT Explore, Exploit, Explain: Personalizing Explainable Recommendations with Bandits. J McInerney, B Lacker, S Hansen, K Higley, H.Bouchard, A Gruson & R Mehrotra, RecSys 2018. BaRT: Machine learning algorithm for Spotify Home
  • 14. BaRT (Bandits for Recommendations as Treatments) How to rank playlists (cards) in each shelf first, and then how to rank the shelves?
  • 15. https://hackernoon.com/reinforcement-learning-part-2-152fb510cc54 Explore vs Exploit Flip a coin with given probability of tail If head, pick best card in M according to predicted reward r → EXPLOIT If tail, pick card from M at random → EXPLORE BaRT: Multi-armed bandit algorithm for Spotify Home
  • 16. Success is captured by the reward function Reward Binarised Streaming Time Success is when user streams the playlist for at least 30s. BaRT UserStreaming
  • 17. Is success the same for all playlists? Consumption time of a sleep playlist is longer than average playlist consumption time. Jazz listeners consume Jazz and other playlists for longer period than average users.
  • 18. one reward function for all users and all playlists success independent of user and playlist one reward function per user x playlist success depends on user and playlist too granular, sparse, noisy, costly to generate & maintain one reward function per group of users x playlists success depends on group of users listening to group of playlists Personalizing the reward function for BaRT
  • 19. Co-clustering Co-clustering Dhillon, Mallela & Modha, "Information-theoretic co-clustering”, KDD 2003. Caveat no theoretical foundation for selecting the number of co-clusters apriori group = cluster group of user x playlist = co-cluster
  • 20. Co-clustering for Spotify Home Users Playlists User groups Playlist groups Any (interaction) signal can be used to generate the co-clusters.
  • 21. Reward function per co-cluster using distribution of streaming time continuousadditivemean
  • 22. Counterfactual methodology, which works like offline A/B Thresholding methods: mean, additive, continuous & random Baseline (one threshold), playlists only, users only, both One week of random sample of 800K+ users, 900K+ playlists, 8M user-playlist interactions Expected stream rate Experiments Deriving User- and Content-specific Rewards for Contextual Bandits. P Dragone, R Mehrotra & M Lalmas, WWW 2019.
  • 23. Conclusions Accounting for user experience and playlist consumption matters. Co-clustering users and playlists surfaces patterns of user experience x playlist consumption. Using one interaction signal and a simple thresholding method can already provide effective personalised success metrics.
  • 24. Metric 1 Metric 2 Metric 3 Multiple objective functionsRecommendation in a 2-sided Marketplace
  • 25. ● Policy I: Optimizing Relevance ● Policy II: Optimizing Fairness ● Policy III: Probabilistic Policy ● Policy IV: Trade-off Relevance & Fairness ● Policy V: Guaranteed Relevance ● Policy VI: Adaptive Policy I ● Policy VI: Adaptive Policy II “Fairness” Relevance Optimising for fairness and satisfaction at the same time Towards a Fair Marketplace: Counterfactual Evaluation of the trade-off between Relevance, Fairness & Satisfaction in Recommendation Systems. R Mehrotra, J McInerney, H Bouchard, M Lalmas & F Diaz, CIKM 2018. Recommendation in a 2-sided Marketplace
  • 26. ML Lab An offline evaluation framework to launch, evaluate and archive machine learning studies, ensuring reproducibility and allowing sharing across teams. Offline Evaluation to Make Decisions About Playlist Recommendation Algorithms. A Gruson, P Chandar, C Charbuillet, J McInerney, S Hansen, D Tardieu & B Carterette, WSDM 2019. Offline evaluation for Home
  • 27. Search … pull & push paradigms
  • 29. Overview of the user journey in search TYPE/TALK User communicates with us CONSIDER User evaluates what we show them DECIDE User ends the search session INTENT What the user wants to do MINDSET How the user thinks about results
  • 30. FOCUSED One specific thing in mind OPEN A seed of an idea in mind EXPLORATORY A path to explore ● Find it or not ● Quickest/easiest path to results is important ● From nothing good enough, good enough to better than good enough ● Willing to try things out ● But still want to fulfil their intent ● Difficult for users to assess how it went ● May be able to answer in relative terms ● Users expect to be active when in an exploratory mindset ● Effort is expected How the user thinks about results Just Give Me What I Want: How People Use and Evaluate Music Search. C Hosey, L Vujović, B St. Thomas, J Garcia-Gathright & J Thom, CHI 2019.
  • 31. Focused mindset Search Mindsets: Understanding Focused and Non-Focused Information Seeking in Music Search. A Li, J Thom, P Ravichandran, C Hosey, B St. Thomas & J Garcia-Gathright, WWW 2019. 65% of searches were focused. When users search with a Focused Mindset Put MORE effort in search. Scroll down and click on lower rank results. Click MORE on album/track/artist and LESS on playlist. MORE likely to save/add but LESS likely to stream directly. Understanding mindset helps us understand search satisfaction. When users know what they want to find. The pull paradigm and how it translates to the music context. Findings from large-scale in-app survey + behavioral analysis.
  • 32. Search by voice A type of push paradigm and how it translates to the music context. Findings from qualitative research. Users ask for Spotify to play music, without saying what they would like to hear (open mindset)
  • 33. Search as recommendation Delivering for the open mindset. Conversational search. Non-specific querying is a way for a user to effortlessly start a listening session via voice. Non-specific querying is a way to remove the burden of choice when a user is open to lean-back listening. User education matters as users will not engage in a use-case they do not know about. Trust and control are central to a positive experience. Users need to trust the system enough to try it out.
  • 34. Conclusions Focused mindset is a typical and common case of pull paradigm. Understanding the focus mindset can inform measures of search satisfaction. Open mindset is important for discovery and lean-back experiences. Conversational search (Voice) allows for pull & push paradigms if done right.
  • 36. Making AI works at Spotify Qualitativeresearch Businessmetrics Algorithm(s) Training & Datasets Metric(s) Evaluation offline and online Interaction & feedbacks data Features (item) Features (user) Features (context)
  • 37. Making AI works at Spotify … in this talk Qualitativeresearch Businessmetrics Algorithm(s) Training & Datasets Metric(s) Evaluation offline and online Interaction & feedbacks data Features (item) Features (user) Features (context) BaRT ML-Lab Rewardfunction forBaRT Focused mindset in search 2-side marketplace Conversational search (Voice)