SlideShare a Scribd company logo
1 of 31
Download to read offline
Building a
Personalized Messaging
System at Netflix
Grace Huang
July 31th, 2020
Data Council SF 2020
When members find content
they love, they enjoy our
service more
Our messages are designed to
help them find content to enjoy
Some ways to reach out to our members
Email Push SMS
In-App: Notifications and Alerts
A Variety of Message Types
Recommendations New Arrival New Season Alert Coming Soon
Candidate Messages
Heuristics based:
● If a user watched Stranger Things
Season 1, then send a message
about Season 2 arrival
● Do not send if a user has had a
similar recommendation in the past
x days
● ….
Decision Engine
Email
Push Notifications
In-App Alerts
A Heuristics Driven Paradigm
Candidate Messages
ML-Driven
Decision Engine
Email
Push Notifications
In-App Alerts
A Heuristics Driven Paradigm
How many to send?
What to send?
Key Considerations for the System
● Making a personalized, timely decision for every Netflix subscriber
● Removing bias from the system
● Maximizing causal impact
● Balancing reward against cost
1
Personalizing the
messaging decision
NETFLIX
p(Y|X)
A Personalized Messaging Decision
Can be estimated using a variety of classification (or regression) techniques -
Linear (or Logistic)Regression, GBDT, Neural Network...etc
Outcome Features
But...
How to obtain data with the full range of messaging frequency
and message type variations?
2
Removing Bias
from the System
NETFLIX
The Obvious Candidate: Explore/Exploit
ε-greedy UCB Thompson
Sampling
chart source
● Take a random sample from
each arm's PDF
● Choose the arm with the
highest sampled value.
● Explore with probability ε
● Otherwise, choose arm
with best action
● Pull arm with the highest
upper confidence bound
An Example Approach: Personalized
Messaging using Contextual Bandit
Context Messages Chosen
Choose a random message:
Other Examples of Debiasing Techniques:
Propensity Correction
● Instrument Variables..
R YZ
Noise OutcomeRec
● Propensity Correction (e.g. IPS)
But...
Did a subscriber visit Netflix and watch a movie because the
message we sent was truly relevant and helpful?
Would they have watched a show even if we did not reach out?
3
Maximizing Causal
Impact
NETFLIX
● p(Y|X) only captures
correlation
● Every observation is
influenced by past actions
from our messaging system
A Causal Personalization System
https://xkcd.com/552/
p(Y|X)
Recall that we built a Correlational
Personalization Model for Messaging...
Outcome Features
p(Y|X, do(R))
Explicitly Model Past Actions
R∈ {∅, [ ], [ ], ….}
Personalized Decision Making
>
Member satisfaction with message Member satisfaction with no message
Send a Message when...
p(Y|X, do(∅))p(Y|X, do([ ] ))
4
Balancing Reward
against Cost
NETFLIX
More ≠ Better
How to impose a volume constraint?
How to Impose a Volume Constraint?
● A simple approach:
Set an Incrementality Threshold
● Other flavors of
Reinforcement Learning
An example of how to put this together….
A Causal Bandit
● Randomly sample from
frequency and candidate
message distributions
● Estimate incrementality
of a message
● Greedily assemble the
set of messages to
send, subject to an
incrementality threshold
Offline Evaluation
Simulate online metrics offline!
User 1 User 2 User 3 User 4 User 5 User 6
Explore policy
Reward
Policy to evaluate
● An A/B test still allows us to evaluate the long term behavior of a given policy
Evaluating Online
Non-personalized
Personalized variant 1
Personalized variant 2
Personalized variant 3
Recap
● Making a personalized, timely decision for every Netflix subscriber
● Removing bias from the system
● Maximizing causal impact
● Balancing reward against cost
● Lots of exciting future work…..
Check out more in Recap: Designing a more Efficient Estimator for
Off-policy Evaluation in Bandits with Large Action Spaces
Grace Huang
ghuang@netflix.com
Thank
You.

More Related Content

What's hot

Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
 Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se... Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...Sudeep Das, Ph.D.
 
Sequential Decision Making in Recommendations
Sequential Decision Making in RecommendationsSequential Decision Making in Recommendations
Sequential Decision Making in RecommendationsJaya Kawale
 
Artwork Personalization at Netflix
Artwork Personalization at NetflixArtwork Personalization at Netflix
Artwork Personalization at NetflixJustin Basilico
 
Deep Learning for Recommender Systems
Deep Learning for Recommender SystemsDeep Learning for Recommender Systems
Deep Learning for Recommender SystemsJustin Basilico
 
Deep Learning for Recommender Systems
Deep Learning for Recommender SystemsDeep Learning for Recommender Systems
Deep Learning for Recommender SystemsYves Raimond
 
Past, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry PerspectivePast, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry PerspectiveJustin Basilico
 
Déjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender SystemsDéjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender SystemsJustin Basilico
 
Artwork Personalization at Netflix Fernando Amat RecSys2018
Artwork Personalization at Netflix Fernando Amat RecSys2018 Artwork Personalization at Netflix Fernando Amat RecSys2018
Artwork Personalization at Netflix Fernando Amat RecSys2018 Fernando Amat
 
Tutorial on Deep Learning in Recommender System, Lars summer school 2019
Tutorial on Deep Learning in Recommender System, Lars summer school 2019Tutorial on Deep Learning in Recommender System, Lars summer school 2019
Tutorial on Deep Learning in Recommender System, Lars summer school 2019Anoop Deoras
 
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 PerspectiveJustin Basilico
 
Recommending for the World
Recommending for the WorldRecommending for the World
Recommending for the WorldYves Raimond
 
Shallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender SystemShallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender SystemAnoop Deoras
 
Making Netflix Machine Learning Algorithms Reliable
Making Netflix Machine Learning Algorithms ReliableMaking Netflix Machine Learning Algorithms Reliable
Making Netflix Machine Learning Algorithms ReliableJustin Basilico
 
Lessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixLessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixJustin Basilico
 
Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Sudeep Das, Ph.D.
 
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 NetflixJaya Kawale
 
Netflix Recommendations - Beyond the 5 Stars
Netflix Recommendations - Beyond the 5 StarsNetflix Recommendations - Beyond the 5 Stars
Netflix Recommendations - Beyond the 5 StarsXavier Amatriain
 
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 SpotifyChris Johnson
 
Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...
Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...
Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...Justin Basilico
 

What's hot (20)

Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
 Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se... Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
Deeper Things: How Netflix Leverages Deep Learning in Recommendations and Se...
 
Sequential Decision Making in Recommendations
Sequential Decision Making in RecommendationsSequential Decision Making in Recommendations
Sequential Decision Making in Recommendations
 
Artwork Personalization at Netflix
Artwork Personalization at NetflixArtwork Personalization at Netflix
Artwork Personalization at Netflix
 
Deep Learning for Recommender Systems
Deep Learning for Recommender SystemsDeep Learning for Recommender Systems
Deep Learning for Recommender Systems
 
Deep Learning for Recommender Systems
Deep Learning for Recommender SystemsDeep Learning for Recommender Systems
Deep Learning for Recommender Systems
 
Past, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry PerspectivePast, Present & Future of Recommender Systems: An Industry Perspective
Past, Present & Future of Recommender Systems: An Industry Perspective
 
Déjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender SystemsDéjà Vu: The Importance of Time and Causality in Recommender Systems
Déjà Vu: The Importance of Time and Causality in Recommender Systems
 
Recent Trends in Personalization at Netflix
Recent Trends in Personalization at NetflixRecent Trends in Personalization at Netflix
Recent Trends in Personalization at Netflix
 
Artwork Personalization at Netflix Fernando Amat RecSys2018
Artwork Personalization at Netflix Fernando Amat RecSys2018 Artwork Personalization at Netflix Fernando Amat RecSys2018
Artwork Personalization at Netflix Fernando Amat RecSys2018
 
Tutorial on Deep Learning in Recommender System, Lars summer school 2019
Tutorial on Deep Learning in Recommender System, Lars summer school 2019Tutorial on Deep Learning in Recommender System, Lars summer school 2019
Tutorial on Deep Learning in Recommender System, Lars summer school 2019
 
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
 
Recommending for the World
Recommending for the WorldRecommending for the World
Recommending for the World
 
Shallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender SystemShallow and Deep Latent Models for Recommender System
Shallow and Deep Latent Models for Recommender System
 
Making Netflix Machine Learning Algorithms Reliable
Making Netflix Machine Learning Algorithms ReliableMaking Netflix Machine Learning Algorithms Reliable
Making Netflix Machine Learning Algorithms Reliable
 
Lessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at NetflixLessons Learned from Building Machine Learning Software at Netflix
Lessons Learned from Building Machine Learning Software at Netflix
 
Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it! Crafting Recommenders: the Shallow and the Deep of it!
Crafting Recommenders: the Shallow and the Deep of it!
 
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
 
Netflix Recommendations - Beyond the 5 Stars
Netflix Recommendations - Beyond the 5 StarsNetflix Recommendations - Beyond the 5 Stars
Netflix Recommendations - Beyond the 5 Stars
 
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
 
Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...
Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...
Is that a Time Machine? Some Design Patterns for Real World Machine Learning ...
 

Similar to Data council SF 2020 Building a Personalized Messaging System at Netflix

Artificial Intelligence at LinkedIn
Artificial Intelligence at LinkedInArtificial Intelligence at LinkedIn
Artificial Intelligence at LinkedInBill Liu
 
Fairness, Transparency, and Privacy in AI @LinkedIn
Fairness, Transparency, and Privacy in AI @LinkedInFairness, Transparency, and Privacy in AI @LinkedIn
Fairness, Transparency, and Privacy in AI @LinkedInC4Media
 
Creating a customer segmentation workflow with knime
Creating a customer segmentation workflow with knimeCreating a customer segmentation workflow with knime
Creating a customer segmentation workflow with knimeKnoldus Inc.
 
Machine Learning in e commerce - Reboot
Machine Learning in e commerce - RebootMachine Learning in e commerce - Reboot
Machine Learning in e commerce - RebootMarion DE SOUSA
 
QuestBack - International Presentation
QuestBack - International PresentationQuestBack - International Presentation
QuestBack - International PresentationFalco Noort
 
Machine Learning AND Deep Learning for OpenPOWER
Machine Learning AND Deep Learning for OpenPOWERMachine Learning AND Deep Learning for OpenPOWER
Machine Learning AND Deep Learning for OpenPOWERGanesan Narayanasamy
 
Introducing Amazon Pinpoint – Targeted Push Notifications for Mobile Apps
Introducing Amazon Pinpoint – Targeted Push Notifications for Mobile AppsIntroducing Amazon Pinpoint – Targeted Push Notifications for Mobile Apps
Introducing Amazon Pinpoint – Targeted Push Notifications for Mobile AppsAmazon Web Services
 
DataScientist Job : Between Myths and Reality.pdf
DataScientist Job : Between Myths and Reality.pdfDataScientist Job : Between Myths and Reality.pdf
DataScientist Job : Between Myths and Reality.pdfJedha Bootcamp
 
Fairness, Transparency, and Privacy in AI @ LinkedIn
Fairness, Transparency, and Privacy in AI @ LinkedInFairness, Transparency, and Privacy in AI @ LinkedIn
Fairness, Transparency, and Privacy in AI @ LinkedInKrishnaram Kenthapadi
 
A Scalable, High-performance Algorithm for Hybrid Job Recommendations
A Scalable, High-performance Algorithm for Hybrid Job RecommendationsA Scalable, High-performance Algorithm for Hybrid Job Recommendations
A Scalable, High-performance Algorithm for Hybrid Job RecommendationsToon De Pessemier
 
IRIS.TV Talks Future of Video Personalization at Cross Campus LA
IRIS.TV Talks Future of Video Personalization at Cross Campus LAIRIS.TV Talks Future of Video Personalization at Cross Campus LA
IRIS.TV Talks Future of Video Personalization at Cross Campus LAIRIS.TV
 
Understanding and maintaining your market to maximise revenue generation opp...
Understanding and maintaining your market to maximise revenue generation opp...Understanding and maintaining your market to maximise revenue generation opp...
Understanding and maintaining your market to maximise revenue generation opp...Miguel Simões
 
Use of Analytics by Netflix - Case Study
Use of Analytics by Netflix - Case StudyUse of Analytics by Netflix - Case Study
Use of Analytics by Netflix - Case StudySaket Toshniwal
 
使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群
使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群
使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群Amazon Web Services
 
Deepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn WayDeepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn Wayyingfeng
 
Product marketing AV concept options
Product marketing AV concept optionsProduct marketing AV concept options
Product marketing AV concept optionsMomy Saikia
 
MailNinja Managed Services 2015
MailNinja Managed Services 2015MailNinja Managed Services 2015
MailNinja Managed Services 2015MailNinja
 

Similar to Data council SF 2020 Building a Personalized Messaging System at Netflix (20)

Artificial Intelligence at LinkedIn
Artificial Intelligence at LinkedInArtificial Intelligence at LinkedIn
Artificial Intelligence at LinkedIn
 
Fairness, Transparency, and Privacy in AI @LinkedIn
Fairness, Transparency, and Privacy in AI @LinkedInFairness, Transparency, and Privacy in AI @LinkedIn
Fairness, Transparency, and Privacy in AI @LinkedIn
 
Creating a customer segmentation workflow with knime
Creating a customer segmentation workflow with knimeCreating a customer segmentation workflow with knime
Creating a customer segmentation workflow with knime
 
Quest Back 2010
Quest Back 2010Quest Back 2010
Quest Back 2010
 
Machine Learning in e commerce - Reboot
Machine Learning in e commerce - RebootMachine Learning in e commerce - Reboot
Machine Learning in e commerce - Reboot
 
Quest Back 2010 En
Quest Back 2010 EnQuest Back 2010 En
Quest Back 2010 En
 
QuestBack - International Presentation
QuestBack - International PresentationQuestBack - International Presentation
QuestBack - International Presentation
 
Machine Learning AND Deep Learning for OpenPOWER
Machine Learning AND Deep Learning for OpenPOWERMachine Learning AND Deep Learning for OpenPOWER
Machine Learning AND Deep Learning for OpenPOWER
 
Introducing Amazon Pinpoint – Targeted Push Notifications for Mobile Apps
Introducing Amazon Pinpoint – Targeted Push Notifications for Mobile AppsIntroducing Amazon Pinpoint – Targeted Push Notifications for Mobile Apps
Introducing Amazon Pinpoint – Targeted Push Notifications for Mobile Apps
 
DataScientist Job : Between Myths and Reality.pdf
DataScientist Job : Between Myths and Reality.pdfDataScientist Job : Between Myths and Reality.pdf
DataScientist Job : Between Myths and Reality.pdf
 
Fairness, Transparency, and Privacy in AI @ LinkedIn
Fairness, Transparency, and Privacy in AI @ LinkedInFairness, Transparency, and Privacy in AI @ LinkedIn
Fairness, Transparency, and Privacy in AI @ LinkedIn
 
A Scalable, High-performance Algorithm for Hybrid Job Recommendations
A Scalable, High-performance Algorithm for Hybrid Job RecommendationsA Scalable, High-performance Algorithm for Hybrid Job Recommendations
A Scalable, High-performance Algorithm for Hybrid Job Recommendations
 
IRIS.TV Talks Future of Video Personalization at Cross Campus LA
IRIS.TV Talks Future of Video Personalization at Cross Campus LAIRIS.TV Talks Future of Video Personalization at Cross Campus LA
IRIS.TV Talks Future of Video Personalization at Cross Campus LA
 
Understanding and maintaining your market to maximise revenue generation opp...
Understanding and maintaining your market to maximise revenue generation opp...Understanding and maintaining your market to maximise revenue generation opp...
Understanding and maintaining your market to maximise revenue generation opp...
 
Use of Analytics by Netflix - Case Study
Use of Analytics by Netflix - Case StudyUse of Analytics by Netflix - Case Study
Use of Analytics by Netflix - Case Study
 
使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群
使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群
使用 Amazon Pinpoint 讓你的行動 App 更精準接觸客群
 
Deepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn WayDeepak-Computational Advertising-The LinkedIn Way
Deepak-Computational Advertising-The LinkedIn Way
 
GT_feed
GT_feedGT_feed
GT_feed
 
Product marketing AV concept options
Product marketing AV concept optionsProduct marketing AV concept options
Product marketing AV concept options
 
MailNinja Managed Services 2015
MailNinja Managed Services 2015MailNinja Managed Services 2015
MailNinja Managed Services 2015
 

Recently uploaded

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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...apidays
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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 DiscoveryTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
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...Martijn de Jong
 
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 Processorsdebabhi2
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 WorkerThousandEyes
 

Recently uploaded (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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...
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 

Data council SF 2020 Building a Personalized Messaging System at Netflix

  • 1. Building a Personalized Messaging System at Netflix Grace Huang July 31th, 2020 Data Council SF 2020
  • 2.
  • 3. When members find content they love, they enjoy our service more
  • 4. Our messages are designed to help them find content to enjoy
  • 5. Some ways to reach out to our members Email Push SMS
  • 7. A Variety of Message Types Recommendations New Arrival New Season Alert Coming Soon
  • 8. Candidate Messages Heuristics based: ● If a user watched Stranger Things Season 1, then send a message about Season 2 arrival ● Do not send if a user has had a similar recommendation in the past x days ● …. Decision Engine Email Push Notifications In-App Alerts A Heuristics Driven Paradigm
  • 9. Candidate Messages ML-Driven Decision Engine Email Push Notifications In-App Alerts A Heuristics Driven Paradigm How many to send? What to send?
  • 10. Key Considerations for the System ● Making a personalized, timely decision for every Netflix subscriber ● Removing bias from the system ● Maximizing causal impact ● Balancing reward against cost
  • 12. p(Y|X) A Personalized Messaging Decision Can be estimated using a variety of classification (or regression) techniques - Linear (or Logistic)Regression, GBDT, Neural Network...etc Outcome Features
  • 13. But... How to obtain data with the full range of messaging frequency and message type variations?
  • 14. 2 Removing Bias from the System NETFLIX
  • 15. The Obvious Candidate: Explore/Exploit ε-greedy UCB Thompson Sampling chart source ● Take a random sample from each arm's PDF ● Choose the arm with the highest sampled value. ● Explore with probability ε ● Otherwise, choose arm with best action ● Pull arm with the highest upper confidence bound
  • 16. An Example Approach: Personalized Messaging using Contextual Bandit Context Messages Chosen Choose a random message:
  • 17. Other Examples of Debiasing Techniques: Propensity Correction ● Instrument Variables.. R YZ Noise OutcomeRec ● Propensity Correction (e.g. IPS)
  • 18. But... Did a subscriber visit Netflix and watch a movie because the message we sent was truly relevant and helpful? Would they have watched a show even if we did not reach out?
  • 20. ● p(Y|X) only captures correlation ● Every observation is influenced by past actions from our messaging system A Causal Personalization System https://xkcd.com/552/
  • 21. p(Y|X) Recall that we built a Correlational Personalization Model for Messaging... Outcome Features
  • 22. p(Y|X, do(R)) Explicitly Model Past Actions R∈ {∅, [ ], [ ], ….} Personalized Decision Making
  • 23. > Member satisfaction with message Member satisfaction with no message Send a Message when... p(Y|X, do(∅))p(Y|X, do([ ] ))
  • 25. More ≠ Better How to impose a volume constraint?
  • 26. How to Impose a Volume Constraint? ● A simple approach: Set an Incrementality Threshold ● Other flavors of Reinforcement Learning
  • 27. An example of how to put this together…. A Causal Bandit ● Randomly sample from frequency and candidate message distributions ● Estimate incrementality of a message ● Greedily assemble the set of messages to send, subject to an incrementality threshold
  • 28. Offline Evaluation Simulate online metrics offline! User 1 User 2 User 3 User 4 User 5 User 6 Explore policy Reward Policy to evaluate
  • 29. ● An A/B test still allows us to evaluate the long term behavior of a given policy Evaluating Online Non-personalized Personalized variant 1 Personalized variant 2 Personalized variant 3
  • 30. Recap ● Making a personalized, timely decision for every Netflix subscriber ● Removing bias from the system ● Maximizing causal impact ● Balancing reward against cost ● Lots of exciting future work….. Check out more in Recap: Designing a more Efficient Estimator for Off-policy Evaluation in Bandits with Large Action Spaces