SlideShare a Scribd company logo
Proprietary, Confidential, & Thoughtful
Rohan Singh Rajput
Senior Data Scientist
Headspace
Building Personalized Meditation
Experiences
Proprietary, Confidential, & Thoughtful
Agenda
● Introduction
● History
● Phase I - Modeling
● Phase II - A/B Testing
● Learnings
● Opportunities
● Q/A
2
Proprietary, Confidential, & Thoughtful
Headspace is an online meditation and
mindfulness company
3
Proprietary, Confidential, & Thoughtful
4
5
Proprietary, Confidential, & Thoughtful
History
● Launched in 2020, the content customizer started to
countering the declining retention rate.
● Every headspace user was getting the same editorial content
that used to refresh everyday.
● Headspace had over 1000+ unique content and more than 2
million B2C subscribers
6
Proprietary, Confidential, & Thoughtful
Hypothesis
Personalized recommendations will help members find
more relevant content, thereby increasing their engagement
with Headspace
● Content Customizer (a.k.a CC) is our recommendation
system that serves personalized recommendations
● It uses historical user-item interaction data to generate
recommendation everyday
Proprietary, Confidential, Thoughtful
Proprietary, Confidential, & Thoughtful
Proprietary, Confidential, & Thoughtful
7
Phase I
Modeling
Proprietary, Confidential, & Thoughtful
Components of Modeling
● Data
○ B2C and B2B Subscribers
○ Feature Store
■ User tenure, demographics, language, time of the day etc.
■ Item type, playtime duration, content creation date etc.
○ IOS and Android
● Evaluation
○ Offline: NDGC@K , HITRate@K, Precision@K, etc.
○ Online: A/B Testing
● Inference and Post processing
○ Nightly batched training
○ Payload to prediction service
○ Fix sequence, remove popular and recently completed
Proprietary, Confidential, & Thoughtful
8
9
Proprietary, Confidential, & Thoughtful
Modeling Pipeline
● Deployed for both B2C and B2B members
● Deployed to both iOS and Android platform
Data Pull Model Training
Generate
Prediction
Post
Processing
Send Data to
the Prediction
Service
10
Proprietary, Confidential, & Thoughtful
Version Name Model Type
LightFM model using user and item
features
Feature Based Model
Matrix Factorization model using
historical content interaction
NCF Model using user and item
features
Feature Based Model
Deep learning model that helps to
predict the nonlinear latent factors
and users explicit pos/neg feedback
TiSASRec Model using historical
sequences
Sequence Based Model
Transformer model to capture
sequences of content completes
History of Models
Proprietary, Confidential, & Thoughtful
LightFM Model
● Reasons
○ Matrix Factorization
○ Implicit and Explicit Feedback
○ GPU Optimization
○ Highly scalable
● Result
○ Offline: Precision@k and Recall@k
○ Online: No statistically significant lift (content
start/complete) in A/B test
Kula, Maciej. "Metadata embeddings for user and item
cold-start recommendations." arXiv preprint
arXiv:1507.08439 (2015)
11
Image Credit: Google Developer
Proprietary, Confidential, & Thoughtful
Neural Collaborative Filtering Model
● Reasons
○ Non-linearity
○ User-item features
○ Sparsity
● Result
○ Offline: Precision@k and Recall@k
○ Online: Over 2% statistically significant lift (content
start/complete) in A/B test
He, Xiangnan, et al. "Neural collaborative filtering." Proceedings of the 26th international
conference on world wide web. 2017.
12
Proprietary, Confidential, & Thoughtful
Time Interval Aware Self-Attention for Sequential Recommendation
(TiSASRec)
● Reasons
○ Sequential Data
○ Temporal Dynamics
○ Transformer Architecture
● Result
○ Offline: NDCG@k and HitRate@k
○ Online: Over 4.68% statistically significant lift
(content play) in A/B test
Li, Jiacheng, Yujie Wang, and Julian McAuley. "Time interval aware self-attention for sequential recommendation." Proceedings of the
13th international conference on web search and data mining. 2020.
13
Proprietary, Confidential, & Thoughtful
System Architecture
14
Proprietary, Confidential, & Thoughtful
Proprietary, Confidential, & Thoughtful
15
Phase II
A/B Testing
16
Proprietary, Confidential, & Thoughtful
Introduction
● “If you canʼt measure it, you canʼt improve it.” — Peter Drucker.
● Online Controlled Experiments, a.k.a A/B testing, are the gold
standard for estimating causality with high probability.
● A data-driven decision-making culture helps estimate the
measurement uncertainty to refute the null hypothesis based on
experimental data.
● Furthermore, a random assignment of the users into a
control-treatment group allows us to safely ignore the unobserved
factors and model the parameters as random variables
Proprietary, Confidential, & Thoughtful
17
Proprietary, Confidential, & Thoughtful
Experiment Design
● Recommendation surface area
○ Todayʼs tab
○ Hero and Recommended tab on
Meditate/Sleep/Move/Focus
● Platform Selection
○ iOS
○ Android
● Audience Selection
○ User type: B2C, B2B
○ Subscription type: Paid, Free trials
○ Language: English, German, French
○ Region: North America, International
● Driver Metrics and Business KPI
○ Metrics: Content Start, Content Complete, Content Play,
Content start to complete ratio
○ KPIs: DAU, WAU, MAU, Paid conversion, Churn Rate
Proprietary, Confidential, & Thoughtful
Proprietary, Confidential, & Thoughtful
18
Experiment Design
19
Proprietary, Confidential, & Thoughtful
Experiment Design
● Sample Size and Experiment Duration:
○ Baseline conversion rate
○ Minimum detectable lift
○ Use standard setting with alpha = 0.05 and beta =
20% for 1 sided test
○ Classical test:
https://www.statsig.com/calculator
○ Sequence test:
https://docs.statsig.com/experiments-plus/pow
er-analysis
Proprietary, Confidential, & Thoughtful
20
Proprietary, Confidential, & Thoughtful
Experiment Design
● Important details
○ Prefer A/B test over Multivariate test
○ Use 1 or 2 driver metrics
○ Use guardrail metrics for rollback
○ Avoid early peeking
○ Use confidence intervals over p-values
Proprietary, Confidential, & Thoughtful
21
Proprietary, Confidential, & Thoughtful
Experiment Architecture
● Content Customizer Model: A Machine Learning model
that generates personalized recommendations for every
eligible user. It sends its prediction to the prediction
service using offline inference.
● Prediction Service: A microservice that sends
predictions to the layout service asynchronously. It is
required to update the layout service after
post-processing of the content.
● Layout Service: A bundle of services that creates a
layout for the client for respective tabs. It receives
requests from the client and serves appropriate content
to the layout.
● A/B Testing Tool: A/B testing platform that helps to
administer the online controlled experiment. It
randomly buckets the eligible users into control and
treatment.
Proprietary, Confidential, & Thoughtful
A/B Testing
Tool
22
Proprietary, Confidential, & Thoughtful
Monitoring and Evaluation
● Confidence Interval is much more reliable
indicator of effectiveness than sole p-value
○ p = 0.06 (this)
○ -9% to 20% (v/s this)
● Always use practical significance threshold
along with statistical significance threshold
○ Statistical Significance is a theoretical
indicator of the impact
○ Practical significance is a practical
indicator of the impact
Proprietary, Confidential, & Thoughtful
Proprietary, Confidential, & Thoughtful
Learnings
● Feature Space
○ User features are not rich enough to understand the user behavior
■ Subscription mismatch
■ Sparse interaction
■ Privacy and Compliance
○ Item features are fragmented
■ Many features are stored in multiple system
■ Overlapping content type
● UI Rigidity
○ Fluid design for multiple screens
○ High performing static content
○ Single model everywhere
○ Explicit Feedback
Proprietary, Confidential, & Thoughtful
23
High Performing Content
Static Content
24
Proprietary, Confidential, & Thoughtful
Opportunities
● Client Reform
○ The new shelves based design helps to surface context based
recommendations
○ Provide separate screen to present notified recommendations
○ Search based recommendations
● Modeling
○ Long term value (Align with the productʼs vision)
○ Multi-modal recommendation (text, image, audio)
○ Personalized shelves ranking
○ Causal AI to get explainability
○ Optimize novelty, diversity and relevance
Proprietary, Confidential, & Thoughtful
Personalized
Personalized
24
25
Proprietary, Confidential, & Thoughtful
Opportunities
● Robust E2E System
○ Impression data
○ Analyze data drift, model drift and concept drift
○ Smart caching
○ Real time inference with continuous learning
○ Interconnected recommendation (email, push, notification)
Proprietary, Confidential, & Thoughtful
Personalized
Personalized
25
26
Proprietary, Confidential, & Thoughtful
References
○ Engineering Blog :
■ https://medium.com/headspace-engineering/mindful-experiment
ation-evaluate-recommendation-system-performance-using-a-b-t
esting-at-headspace-3c8c05d0ae3b
○ CXL Guide
■ https://cxl.com/blog/ab-testing-guide/
Proprietary, Confidential, & Thoughtful
27
Proprietary, Confidential, & Thoughtful
Thank you
27
https://www.linkedin.com/in/rohan3/

More Related Content

Similar to A_B Testing Personalized Meditation Recommendations.pdf

Architecting for analytics
Architecting for analyticsArchitecting for analytics
Architecting for analytics
Rob Winters
 
Agile enterprise analytics on aws
Agile enterprise analytics on awsAgile enterprise analytics on aws
Agile enterprise analytics on aws
Don Gillis
 
Machine Learning At Tubi
Machine Learning At TubiMachine Learning At Tubi
Machine Learning At Tubi
Jaya Kawale
 
Knowledge Discovery
Knowledge DiscoveryKnowledge Discovery
Knowledge Discovery
André Karpištšenko
 
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
IT Arena
 
Transition to a modern data platform
Transition to a modern data platform Transition to a modern data platform
Transition to a modern data platform
Michael Ghen
 
Video Recommendation Engines as a Service
Video Recommendation Engines as a ServiceVideo Recommendation Engines as a Service
Video Recommendation Engines as a Service
Kamil Sindi
 
ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...
ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...
ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...
DataWorks Summit/Hadoop Summit
 
Experience Matters: Understanding the New ROI of UX/CX
Experience Matters: Understanding the New ROI of UX/CX Experience Matters: Understanding the New ROI of UX/CX
Experience Matters: Understanding the New ROI of UX/CX
Mediacurrent
 
Introduction to business analysis
Introduction to business analysisIntroduction to business analysis
Introduction to business analysis
Michael Kramarenko
 
Analytics is Taking over the World (Again) - UKOUG Tech'17
Analytics is Taking over the World (Again) - UKOUG Tech'17Analytics is Taking over the World (Again) - UKOUG Tech'17
Analytics is Taking over the World (Again) - UKOUG Tech'17
Rittman Analytics
 
Planning For The Personalization Journey: From Empathy to Engagement
 Planning For The Personalization Journey: From Empathy to Engagement Planning For The Personalization Journey: From Empathy to Engagement
Planning For The Personalization Journey: From Empathy to Engagement
Rachel Wandishin
 
Using Data Science to Build an End-to-End Recommendation System
Using Data Science to Build an End-to-End Recommendation SystemUsing Data Science to Build an End-to-End Recommendation System
Using Data Science to Build an End-to-End Recommendation System
VMware Tanzu
 
National Wildlife Federation- OMS- Dreamcore 2011
National Wildlife Federation- OMS- Dreamcore 2011National Wildlife Federation- OMS- Dreamcore 2011
National Wildlife Federation- OMS- Dreamcore 2011
nonlinear creations
 
3 Challenges of Building Complex Dashboards with Open Source Components
3 Challenges of Building Complex Dashboards with Open Source Components3 Challenges of Building Complex Dashboards with Open Source Components
3 Challenges of Building Complex Dashboards with Open Source Components
Ryan MacCarrigan
 
Selecting a Digital Collections Management System: Getting Large Projects Don...
Selecting a Digital Collections Management System: Getting Large Projects Don...Selecting a Digital Collections Management System: Getting Large Projects Don...
Selecting a Digital Collections Management System: Getting Large Projects Don...
Cliff Landis
 
Customer Research For Product Managers - Dawn of The Data Age Lecture Series
Customer Research For Product Managers - Dawn of The Data Age Lecture SeriesCustomer Research For Product Managers - Dawn of The Data Age Lecture Series
Customer Research For Product Managers - Dawn of The Data Age Lecture Series
Luciano Pesci, PhD
 
Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...
Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...
Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...
Learnosity
 
GraphTour London 2020 - Customer Journey
GraphTour London 2020  - Customer Journey GraphTour London 2020  - Customer Journey
GraphTour London 2020 - Customer Journey
Neo4j
 
MVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost LabsMVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost Labs
Boost Labs
 

Similar to A_B Testing Personalized Meditation Recommendations.pdf (20)

Architecting for analytics
Architecting for analyticsArchitecting for analytics
Architecting for analytics
 
Agile enterprise analytics on aws
Agile enterprise analytics on awsAgile enterprise analytics on aws
Agile enterprise analytics on aws
 
Machine Learning At Tubi
Machine Learning At TubiMachine Learning At Tubi
Machine Learning At Tubi
 
Knowledge Discovery
Knowledge DiscoveryKnowledge Discovery
Knowledge Discovery
 
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
Learnings from Developing a New B2B SaaS Product (Suryaveer Lodha (Sunny) Pro...
 
Transition to a modern data platform
Transition to a modern data platform Transition to a modern data platform
Transition to a modern data platform
 
Video Recommendation Engines as a Service
Video Recommendation Engines as a ServiceVideo Recommendation Engines as a Service
Video Recommendation Engines as a Service
 
ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...
ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...
ING's Customer-Centric Data Journey from Community Idea to Private Cloud Depl...
 
Experience Matters: Understanding the New ROI of UX/CX
Experience Matters: Understanding the New ROI of UX/CX Experience Matters: Understanding the New ROI of UX/CX
Experience Matters: Understanding the New ROI of UX/CX
 
Introduction to business analysis
Introduction to business analysisIntroduction to business analysis
Introduction to business analysis
 
Analytics is Taking over the World (Again) - UKOUG Tech'17
Analytics is Taking over the World (Again) - UKOUG Tech'17Analytics is Taking over the World (Again) - UKOUG Tech'17
Analytics is Taking over the World (Again) - UKOUG Tech'17
 
Planning For The Personalization Journey: From Empathy to Engagement
 Planning For The Personalization Journey: From Empathy to Engagement Planning For The Personalization Journey: From Empathy to Engagement
Planning For The Personalization Journey: From Empathy to Engagement
 
Using Data Science to Build an End-to-End Recommendation System
Using Data Science to Build an End-to-End Recommendation SystemUsing Data Science to Build an End-to-End Recommendation System
Using Data Science to Build an End-to-End Recommendation System
 
National Wildlife Federation- OMS- Dreamcore 2011
National Wildlife Federation- OMS- Dreamcore 2011National Wildlife Federation- OMS- Dreamcore 2011
National Wildlife Federation- OMS- Dreamcore 2011
 
3 Challenges of Building Complex Dashboards with Open Source Components
3 Challenges of Building Complex Dashboards with Open Source Components3 Challenges of Building Complex Dashboards with Open Source Components
3 Challenges of Building Complex Dashboards with Open Source Components
 
Selecting a Digital Collections Management System: Getting Large Projects Don...
Selecting a Digital Collections Management System: Getting Large Projects Don...Selecting a Digital Collections Management System: Getting Large Projects Don...
Selecting a Digital Collections Management System: Getting Large Projects Don...
 
Customer Research For Product Managers - Dawn of The Data Age Lecture Series
Customer Research For Product Managers - Dawn of The Data Age Lecture SeriesCustomer Research For Product Managers - Dawn of The Data Age Lecture Series
Customer Research For Product Managers - Dawn of The Data Age Lecture Series
 
Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...
Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...
Educate 2017: Neverending Story: Exploring Learnosity's ongoing product evolu...
 
GraphTour London 2020 - Customer Journey
GraphTour London 2020  - Customer Journey GraphTour London 2020  - Customer Journey
GraphTour London 2020 - Customer Journey
 
MVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost LabsMVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost Labs
 

More from VWO

AI-Powered Personalization: Principles, Use Cases, and Its Impact on CRO
AI-Powered Personalization: Principles, Use Cases, and Its Impact on CROAI-Powered Personalization: Principles, Use Cases, and Its Impact on CRO
AI-Powered Personalization: Principles, Use Cases, and Its Impact on CRO
VWO
 
How to Run Landing Page Tests On and Off Paid Social Platforms
How to Run Landing Page Tests On and Off Paid Social PlatformsHow to Run Landing Page Tests On and Off Paid Social Platforms
How to Run Landing Page Tests On and Off Paid Social Platforms
VWO
 
Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...
Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...
Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...
VWO
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdf
VWO
 
Uncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 ReportsUncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 Reports
VWO
 
Fueling A_B experiments with behavioral insights (1).pdf
Fueling A_B experiments with behavioral insights (1).pdfFueling A_B experiments with behavioral insights (1).pdf
Fueling A_B experiments with behavioral insights (1).pdf
VWO
 
Research and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdf
Research and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdfResearch and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdf
Research and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdf
VWO
 
Life between variants by Tomas Voves.pdf
Life between variants by Tomas Voves.pdfLife between variants by Tomas Voves.pdf
Life between variants by Tomas Voves.pdf
VWO
 
Message-Market Fit VWO Workshop by Daphne tideman
Message-Market Fit VWO Workshop by Daphne tidemanMessage-Market Fit VWO Workshop by Daphne tideman
Message-Market Fit VWO Workshop by Daphne tideman
VWO
 
Converting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CROConverting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CRO
VWO
 
Unifying feature management with experiments - Server Side Webinar (1).pdf
Unifying feature management with experiments - Server Side Webinar (1).pdfUnifying feature management with experiments - Server Side Webinar (1).pdf
Unifying feature management with experiments - Server Side Webinar (1).pdf
VWO
 
Run more experiments with fewer resources
Run more experiments with fewer resourcesRun more experiments with fewer resources
Run more experiments with fewer resources
VWO
 
Crafting High-Converting eCommerce Landing Pages
Crafting High-Converting eCommerce Landing PagesCrafting High-Converting eCommerce Landing Pages
Crafting High-Converting eCommerce Landing Pages
VWO
 
Diseñando según la regulación actual de cookies para lograr más conversión
Diseñando según la regulación actual de cookies para lograr más conversiónDiseñando según la regulación actual de cookies para lograr más conversión
Diseñando según la regulación actual de cookies para lograr más conversión
VWO
 
VWO - Mark de Winter - Run more experiments with fewer resources.pdf
VWO - Mark de Winter - Run more experiments with fewer resources.pdfVWO - Mark de Winter - Run more experiments with fewer resources.pdf
VWO - Mark de Winter - Run more experiments with fewer resources.pdf
VWO
 
Turn Website Visits into Conversions (2).pdf
Turn Website Visits into Conversions (2).pdfTurn Website Visits into Conversions (2).pdf
Turn Website Visits into Conversions (2).pdf
VWO
 
Principales obstáculos de la experimentación y cómo abordarlos en StartUps...
Principales obstáculos de la experimentación y cómo abordarlos en StartUps...Principales obstáculos de la experimentación y cómo abordarlos en StartUps...
Principales obstáculos de la experimentación y cómo abordarlos en StartUps...
VWO
 
Understand user struggles. Optimize mobile app UX.
Understand user struggles. Optimize mobile app UX.Understand user struggles. Optimize mobile app UX.
Understand user struggles. Optimize mobile app UX.
VWO
 
Turn Website Visits into Conversions (1).pdf
Turn Website Visits into Conversions (1).pdfTurn Website Visits into Conversions (1).pdf
Turn Website Visits into Conversions (1).pdf
VWO
 
Converting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CROConverting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CRO
VWO
 

More from VWO (20)

AI-Powered Personalization: Principles, Use Cases, and Its Impact on CRO
AI-Powered Personalization: Principles, Use Cases, and Its Impact on CROAI-Powered Personalization: Principles, Use Cases, and Its Impact on CRO
AI-Powered Personalization: Principles, Use Cases, and Its Impact on CRO
 
How to Run Landing Page Tests On and Off Paid Social Platforms
How to Run Landing Page Tests On and Off Paid Social PlatformsHow to Run Landing Page Tests On and Off Paid Social Platforms
How to Run Landing Page Tests On and Off Paid Social Platforms
 
Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...
Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...
Erfolgreiche Checkout-Optimierung – wie bekommen ich meine User zum Produktab...
 
The Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdfThe Science of Landing Page Messaging.pdf
The Science of Landing Page Messaging.pdf
 
Uncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 ReportsUncover Insightful User Journey Secrets Using GA4 Reports
Uncover Insightful User Journey Secrets Using GA4 Reports
 
Fueling A_B experiments with behavioral insights (1).pdf
Fueling A_B experiments with behavioral insights (1).pdfFueling A_B experiments with behavioral insights (1).pdf
Fueling A_B experiments with behavioral insights (1).pdf
 
Research and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdf
Research and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdfResearch and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdf
Research and Discovery Tools for Experimentation - 17 Apr 2024 - v 2.3 (1).pdf
 
Life between variants by Tomas Voves.pdf
Life between variants by Tomas Voves.pdfLife between variants by Tomas Voves.pdf
Life between variants by Tomas Voves.pdf
 
Message-Market Fit VWO Workshop by Daphne tideman
Message-Market Fit VWO Workshop by Daphne tidemanMessage-Market Fit VWO Workshop by Daphne tideman
Message-Market Fit VWO Workshop by Daphne tideman
 
Converting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CROConverting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CRO
 
Unifying feature management with experiments - Server Side Webinar (1).pdf
Unifying feature management with experiments - Server Side Webinar (1).pdfUnifying feature management with experiments - Server Side Webinar (1).pdf
Unifying feature management with experiments - Server Side Webinar (1).pdf
 
Run more experiments with fewer resources
Run more experiments with fewer resourcesRun more experiments with fewer resources
Run more experiments with fewer resources
 
Crafting High-Converting eCommerce Landing Pages
Crafting High-Converting eCommerce Landing PagesCrafting High-Converting eCommerce Landing Pages
Crafting High-Converting eCommerce Landing Pages
 
Diseñando según la regulación actual de cookies para lograr más conversión
Diseñando según la regulación actual de cookies para lograr más conversiónDiseñando según la regulación actual de cookies para lograr más conversión
Diseñando según la regulación actual de cookies para lograr más conversión
 
VWO - Mark de Winter - Run more experiments with fewer resources.pdf
VWO - Mark de Winter - Run more experiments with fewer resources.pdfVWO - Mark de Winter - Run more experiments with fewer resources.pdf
VWO - Mark de Winter - Run more experiments with fewer resources.pdf
 
Turn Website Visits into Conversions (2).pdf
Turn Website Visits into Conversions (2).pdfTurn Website Visits into Conversions (2).pdf
Turn Website Visits into Conversions (2).pdf
 
Principales obstáculos de la experimentación y cómo abordarlos en StartUps...
Principales obstáculos de la experimentación y cómo abordarlos en StartUps...Principales obstáculos de la experimentación y cómo abordarlos en StartUps...
Principales obstáculos de la experimentación y cómo abordarlos en StartUps...
 
Understand user struggles. Optimize mobile app UX.
Understand user struggles. Optimize mobile app UX.Understand user struggles. Optimize mobile app UX.
Understand user struggles. Optimize mobile app UX.
 
Turn Website Visits into Conversions (1).pdf
Turn Website Visits into Conversions (1).pdfTurn Website Visits into Conversions (1).pdf
Turn Website Visits into Conversions (1).pdf
 
Converting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CROConverting with Comedy: Research Parallels for CRO
Converting with Comedy: Research Parallels for CRO
 

Recently uploaded

Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...
Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...
Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...
Valters Lauzums
 
Core Web Vitals SEO Workshop - improve your performance [pdf]
Core Web Vitals SEO Workshop - improve your performance [pdf]Core Web Vitals SEO Workshop - improve your performance [pdf]
Core Web Vitals SEO Workshop - improve your performance [pdf]
Peter Mead
 
Top 3 Ways to Align Sales and Marketing Teams for Rapid Growth
Top 3 Ways to Align Sales and Marketing Teams for Rapid GrowthTop 3 Ways to Align Sales and Marketing Teams for Rapid Growth
Top 3 Ways to Align Sales and Marketing Teams for Rapid Growth
Demandbase
 
Search Engine Marketing - Competitor and Keyword research
Search Engine Marketing  - Competitor and Keyword researchSearch Engine Marketing  - Competitor and Keyword research
Search Engine Marketing - Competitor and Keyword research
ETMARK ACADEMY
 
BLOOM_May2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024. Balmer Lawrie Online Monthly BulletinBLOOM_May2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024. Balmer Lawrie Online Monthly Bulletin
BalmerLawrie
 
20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf
20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf
20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf
levuag
 
A Guide to UK Top Search Engine Optimization
A Guide to UK Top Search Engine OptimizationA Guide to UK Top Search Engine Optimization
A Guide to UK Top Search Engine Optimization
Brand Highlighters
 
The What, Why & How of 3D and AR in Digital Commerce
The What, Why & How of 3D and AR in Digital CommerceThe What, Why & How of 3D and AR in Digital Commerce
The What, Why & How of 3D and AR in Digital Commerce
PushON Ltd
 
Monthly Social Media News Update May 2024
Monthly Social Media News Update May 2024Monthly Social Media News Update May 2024
Monthly Social Media News Update May 2024
Andy Lambert
 
BLOOM_May2024 (r). Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024 (r). Balmer Lawrie Online Monthly BulletinBLOOM_May2024 (r). Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024 (r). Balmer Lawrie Online Monthly Bulletin
BalmerLawrie
 
34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER
34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER
34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER
DeepakTripathi733493
 
Ash By Ash Benson Rebrand Creative Direction
Ash By Ash Benson Rebrand Creative DirectionAsh By Ash Benson Rebrand Creative Direction
Ash By Ash Benson Rebrand Creative Direction
Mark Milutin
 
Kế hoạch Digital Marketing cho bánh Cosy
Kế hoạch Digital Marketing cho bánh CosyKế hoạch Digital Marketing cho bánh Cosy
Kế hoạch Digital Marketing cho bánh Cosy
QunhTh53
 
Coca Cola Branding Strategy and strategic marketing plan
Coca Cola Branding Strategy and strategic marketing planCoca Cola Branding Strategy and strategic marketing plan
Coca Cola Branding Strategy and strategic marketing plan
Maswer Ali
 
SMM Cheap - No. 1 SMM panel in the world
SMM Cheap - No. 1 SMM panel in the worldSMM Cheap - No. 1 SMM panel in the world
SMM Cheap - No. 1 SMM panel in the world
smmpanel567
 
The_Canvas_of_Creative_Mastery_Newsletter_May_2024_Version
The_Canvas_of_Creative_Mastery_Newsletter_May_2024_VersionThe_Canvas_of_Creative_Mastery_Newsletter_May_2024_Version
The_Canvas_of_Creative_Mastery_Newsletter_May_2024_Version
AmirYakdi
 
Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...
Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...
Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...
focsh890
 
15 ideas and frameworks on the art of storytelling
15 ideas and frameworks on the art of storytelling15 ideas and frameworks on the art of storytelling
15 ideas and frameworks on the art of storytelling
Aatir Abdul Rauf
 
SAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdf
SAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdfSAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdf
SAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdf
Javeed khawaja
 
ThinkNow 2024 Consumer Financial Wellness Report
ThinkNow 2024 Consumer Financial Wellness ReportThinkNow 2024 Consumer Financial Wellness Report
ThinkNow 2024 Consumer Financial Wellness Report
ThinkNow
 

Recently uploaded (20)

Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...
Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...
Digital Commerce Lecture for Advanced Digital & Social Media Strategy at UCLA...
 
Core Web Vitals SEO Workshop - improve your performance [pdf]
Core Web Vitals SEO Workshop - improve your performance [pdf]Core Web Vitals SEO Workshop - improve your performance [pdf]
Core Web Vitals SEO Workshop - improve your performance [pdf]
 
Top 3 Ways to Align Sales and Marketing Teams for Rapid Growth
Top 3 Ways to Align Sales and Marketing Teams for Rapid GrowthTop 3 Ways to Align Sales and Marketing Teams for Rapid Growth
Top 3 Ways to Align Sales and Marketing Teams for Rapid Growth
 
Search Engine Marketing - Competitor and Keyword research
Search Engine Marketing  - Competitor and Keyword researchSearch Engine Marketing  - Competitor and Keyword research
Search Engine Marketing - Competitor and Keyword research
 
BLOOM_May2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024. Balmer Lawrie Online Monthly BulletinBLOOM_May2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024. Balmer Lawrie Online Monthly Bulletin
 
20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf
20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf
20221005110010_633d63baa84f6_learn___week_3_ch._5.pdf
 
A Guide to UK Top Search Engine Optimization
A Guide to UK Top Search Engine OptimizationA Guide to UK Top Search Engine Optimization
A Guide to UK Top Search Engine Optimization
 
The What, Why & How of 3D and AR in Digital Commerce
The What, Why & How of 3D and AR in Digital CommerceThe What, Why & How of 3D and AR in Digital Commerce
The What, Why & How of 3D and AR in Digital Commerce
 
Monthly Social Media News Update May 2024
Monthly Social Media News Update May 2024Monthly Social Media News Update May 2024
Monthly Social Media News Update May 2024
 
BLOOM_May2024 (r). Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024 (r). Balmer Lawrie Online Monthly BulletinBLOOM_May2024 (r). Balmer Lawrie Online Monthly Bulletin
BLOOM_May2024 (r). Balmer Lawrie Online Monthly Bulletin
 
34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER
34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER
34-Rahul-Mande.pdf PROJECT REPORT MBA 4TH SEMESTER
 
Ash By Ash Benson Rebrand Creative Direction
Ash By Ash Benson Rebrand Creative DirectionAsh By Ash Benson Rebrand Creative Direction
Ash By Ash Benson Rebrand Creative Direction
 
Kế hoạch Digital Marketing cho bánh Cosy
Kế hoạch Digital Marketing cho bánh CosyKế hoạch Digital Marketing cho bánh Cosy
Kế hoạch Digital Marketing cho bánh Cosy
 
Coca Cola Branding Strategy and strategic marketing plan
Coca Cola Branding Strategy and strategic marketing planCoca Cola Branding Strategy and strategic marketing plan
Coca Cola Branding Strategy and strategic marketing plan
 
SMM Cheap - No. 1 SMM panel in the world
SMM Cheap - No. 1 SMM panel in the worldSMM Cheap - No. 1 SMM panel in the world
SMM Cheap - No. 1 SMM panel in the world
 
The_Canvas_of_Creative_Mastery_Newsletter_May_2024_Version
The_Canvas_of_Creative_Mastery_Newsletter_May_2024_VersionThe_Canvas_of_Creative_Mastery_Newsletter_May_2024_Version
The_Canvas_of_Creative_Mastery_Newsletter_May_2024_Version
 
Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...
Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...
Fortschrittliches Ki unterstütztes Marketing über WhatsApp Digital - membersh...
 
15 ideas and frameworks on the art of storytelling
15 ideas and frameworks on the art of storytelling15 ideas and frameworks on the art of storytelling
15 ideas and frameworks on the art of storytelling
 
SAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdf
SAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdfSAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdf
SAUDI ARABIA MARKET OVERVIEW-PARTICLE BOARD.docx.pdf
 
ThinkNow 2024 Consumer Financial Wellness Report
ThinkNow 2024 Consumer Financial Wellness ReportThinkNow 2024 Consumer Financial Wellness Report
ThinkNow 2024 Consumer Financial Wellness Report
 

A_B Testing Personalized Meditation Recommendations.pdf

  • 1. Proprietary, Confidential, & Thoughtful Rohan Singh Rajput Senior Data Scientist Headspace Building Personalized Meditation Experiences
  • 2. Proprietary, Confidential, & Thoughtful Agenda ● Introduction ● History ● Phase I - Modeling ● Phase II - A/B Testing ● Learnings ● Opportunities ● Q/A 2
  • 3. Proprietary, Confidential, & Thoughtful Headspace is an online meditation and mindfulness company 3
  • 5. 5 Proprietary, Confidential, & Thoughtful History ● Launched in 2020, the content customizer started to countering the declining retention rate. ● Every headspace user was getting the same editorial content that used to refresh everyday. ● Headspace had over 1000+ unique content and more than 2 million B2C subscribers
  • 6. 6 Proprietary, Confidential, & Thoughtful Hypothesis Personalized recommendations will help members find more relevant content, thereby increasing their engagement with Headspace ● Content Customizer (a.k.a CC) is our recommendation system that serves personalized recommendations ● It uses historical user-item interaction data to generate recommendation everyday Proprietary, Confidential, Thoughtful
  • 7. Proprietary, Confidential, & Thoughtful Proprietary, Confidential, & Thoughtful 7 Phase I Modeling
  • 8. Proprietary, Confidential, & Thoughtful Components of Modeling ● Data ○ B2C and B2B Subscribers ○ Feature Store ■ User tenure, demographics, language, time of the day etc. ■ Item type, playtime duration, content creation date etc. ○ IOS and Android ● Evaluation ○ Offline: NDGC@K , HITRate@K, Precision@K, etc. ○ Online: A/B Testing ● Inference and Post processing ○ Nightly batched training ○ Payload to prediction service ○ Fix sequence, remove popular and recently completed Proprietary, Confidential, & Thoughtful 8
  • 9. 9 Proprietary, Confidential, & Thoughtful Modeling Pipeline ● Deployed for both B2C and B2B members ● Deployed to both iOS and Android platform Data Pull Model Training Generate Prediction Post Processing Send Data to the Prediction Service
  • 10. 10 Proprietary, Confidential, & Thoughtful Version Name Model Type LightFM model using user and item features Feature Based Model Matrix Factorization model using historical content interaction NCF Model using user and item features Feature Based Model Deep learning model that helps to predict the nonlinear latent factors and users explicit pos/neg feedback TiSASRec Model using historical sequences Sequence Based Model Transformer model to capture sequences of content completes History of Models
  • 11. Proprietary, Confidential, & Thoughtful LightFM Model ● Reasons ○ Matrix Factorization ○ Implicit and Explicit Feedback ○ GPU Optimization ○ Highly scalable ● Result ○ Offline: Precision@k and Recall@k ○ Online: No statistically significant lift (content start/complete) in A/B test Kula, Maciej. "Metadata embeddings for user and item cold-start recommendations." arXiv preprint arXiv:1507.08439 (2015) 11 Image Credit: Google Developer
  • 12. Proprietary, Confidential, & Thoughtful Neural Collaborative Filtering Model ● Reasons ○ Non-linearity ○ User-item features ○ Sparsity ● Result ○ Offline: Precision@k and Recall@k ○ Online: Over 2% statistically significant lift (content start/complete) in A/B test He, Xiangnan, et al. "Neural collaborative filtering." Proceedings of the 26th international conference on world wide web. 2017. 12
  • 13. Proprietary, Confidential, & Thoughtful Time Interval Aware Self-Attention for Sequential Recommendation (TiSASRec) ● Reasons ○ Sequential Data ○ Temporal Dynamics ○ Transformer Architecture ● Result ○ Offline: NDCG@k and HitRate@k ○ Online: Over 4.68% statistically significant lift (content play) in A/B test Li, Jiacheng, Yujie Wang, and Julian McAuley. "Time interval aware self-attention for sequential recommendation." Proceedings of the 13th international conference on web search and data mining. 2020. 13
  • 14. Proprietary, Confidential, & Thoughtful System Architecture 14
  • 15. Proprietary, Confidential, & Thoughtful Proprietary, Confidential, & Thoughtful 15 Phase II A/B Testing
  • 16. 16 Proprietary, Confidential, & Thoughtful Introduction ● “If you canʼt measure it, you canʼt improve it.” — Peter Drucker. ● Online Controlled Experiments, a.k.a A/B testing, are the gold standard for estimating causality with high probability. ● A data-driven decision-making culture helps estimate the measurement uncertainty to refute the null hypothesis based on experimental data. ● Furthermore, a random assignment of the users into a control-treatment group allows us to safely ignore the unobserved factors and model the parameters as random variables Proprietary, Confidential, & Thoughtful
  • 17. 17 Proprietary, Confidential, & Thoughtful Experiment Design ● Recommendation surface area ○ Todayʼs tab ○ Hero and Recommended tab on Meditate/Sleep/Move/Focus ● Platform Selection ○ iOS ○ Android ● Audience Selection ○ User type: B2C, B2B ○ Subscription type: Paid, Free trials ○ Language: English, German, French ○ Region: North America, International ● Driver Metrics and Business KPI ○ Metrics: Content Start, Content Complete, Content Play, Content start to complete ratio ○ KPIs: DAU, WAU, MAU, Paid conversion, Churn Rate Proprietary, Confidential, & Thoughtful
  • 18. Proprietary, Confidential, & Thoughtful 18 Experiment Design
  • 19. 19 Proprietary, Confidential, & Thoughtful Experiment Design ● Sample Size and Experiment Duration: ○ Baseline conversion rate ○ Minimum detectable lift ○ Use standard setting with alpha = 0.05 and beta = 20% for 1 sided test ○ Classical test: https://www.statsig.com/calculator ○ Sequence test: https://docs.statsig.com/experiments-plus/pow er-analysis Proprietary, Confidential, & Thoughtful
  • 20. 20 Proprietary, Confidential, & Thoughtful Experiment Design ● Important details ○ Prefer A/B test over Multivariate test ○ Use 1 or 2 driver metrics ○ Use guardrail metrics for rollback ○ Avoid early peeking ○ Use confidence intervals over p-values Proprietary, Confidential, & Thoughtful
  • 21. 21 Proprietary, Confidential, & Thoughtful Experiment Architecture ● Content Customizer Model: A Machine Learning model that generates personalized recommendations for every eligible user. It sends its prediction to the prediction service using offline inference. ● Prediction Service: A microservice that sends predictions to the layout service asynchronously. It is required to update the layout service after post-processing of the content. ● Layout Service: A bundle of services that creates a layout for the client for respective tabs. It receives requests from the client and serves appropriate content to the layout. ● A/B Testing Tool: A/B testing platform that helps to administer the online controlled experiment. It randomly buckets the eligible users into control and treatment. Proprietary, Confidential, & Thoughtful A/B Testing Tool
  • 22. 22 Proprietary, Confidential, & Thoughtful Monitoring and Evaluation ● Confidence Interval is much more reliable indicator of effectiveness than sole p-value ○ p = 0.06 (this) ○ -9% to 20% (v/s this) ● Always use practical significance threshold along with statistical significance threshold ○ Statistical Significance is a theoretical indicator of the impact ○ Practical significance is a practical indicator of the impact Proprietary, Confidential, & Thoughtful
  • 23. Proprietary, Confidential, & Thoughtful Learnings ● Feature Space ○ User features are not rich enough to understand the user behavior ■ Subscription mismatch ■ Sparse interaction ■ Privacy and Compliance ○ Item features are fragmented ■ Many features are stored in multiple system ■ Overlapping content type ● UI Rigidity ○ Fluid design for multiple screens ○ High performing static content ○ Single model everywhere ○ Explicit Feedback Proprietary, Confidential, & Thoughtful 23 High Performing Content Static Content
  • 24. 24 Proprietary, Confidential, & Thoughtful Opportunities ● Client Reform ○ The new shelves based design helps to surface context based recommendations ○ Provide separate screen to present notified recommendations ○ Search based recommendations ● Modeling ○ Long term value (Align with the productʼs vision) ○ Multi-modal recommendation (text, image, audio) ○ Personalized shelves ranking ○ Causal AI to get explainability ○ Optimize novelty, diversity and relevance Proprietary, Confidential, & Thoughtful Personalized Personalized 24
  • 25. 25 Proprietary, Confidential, & Thoughtful Opportunities ● Robust E2E System ○ Impression data ○ Analyze data drift, model drift and concept drift ○ Smart caching ○ Real time inference with continuous learning ○ Interconnected recommendation (email, push, notification) Proprietary, Confidential, & Thoughtful Personalized Personalized 25
  • 26. 26 Proprietary, Confidential, & Thoughtful References ○ Engineering Blog : ■ https://medium.com/headspace-engineering/mindful-experiment ation-evaluate-recommendation-system-performance-using-a-b-t esting-at-headspace-3c8c05d0ae3b ○ CXL Guide ■ https://cxl.com/blog/ab-testing-guide/ Proprietary, Confidential, & Thoughtful
  • 27. 27 Proprietary, Confidential, & Thoughtful Thank you 27 https://www.linkedin.com/in/rohan3/