# Mindful Experimentation: Evaluate Recommendation System Performance using A/B Testing at Headspace

DevFeed: [Mindful Experimentation: Evaluate Recommendation System Performance using A/B Testing at Headspace](<https://devfeed.tech/articles/mindful-experimentation-evaluate-recommendation-system-performance-using-a-b-testing-at-headspace-24577.md>)

Original publisher: [Read original article](<https://medium.com/headspace-engineering/mindful-experimentation-evaluate-recommendation-system-performance-using-a-b-testing-at-headspace-3c8c05d0ae3b?source=rss-3da90e297190------2>)

Author: Headspace

Published: 2021-11-29T23:34:41Z

Content type: article

Language: en

Sources: [Headspace](<https://devfeed.tech/sources/stories-by-headspace-on-medium.md>)

Topics: [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [product-experimentation](<https://devfeed.tech/topics/product-experimentation.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>)

Tags: [a-b-testing](<https://devfeed.tech/tags/a-b-testing.md>), [android](<https://devfeed.tech/tags/android.md>), [causal-inference](<https://devfeed.tech/tags/causal-inference.md>), [causality](<https://devfeed.tech/tags/causality.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [design](<https://devfeed.tech/tags/design.md>), [effectiveness](<https://devfeed.tech/tags/effectiveness.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [experimentation](<https://devfeed.tech/tags/experimentation.md>), [headspace](<https://devfeed.tech/tags/headspace.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ml](<https://devfeed.tech/tags/ml.md>), [online](<https://devfeed.tech/tags/online.md>), [performance](<https://devfeed.tech/tags/performance.md>), [platform](<https://devfeed.tech/tags/platform.md>), [product-experimentation](<https://devfeed.tech/tags/product-experimentation.md>), [production](<https://devfeed.tech/tags/production.md>), [recommendation](<https://devfeed.tech/tags/recommendation.md>), [recommendation-system](<https://devfeed.tech/tags/recommendation-system.md>), [train](<https://devfeed.tech/tags/train.md>), [uncertainty](<https://devfeed.tech/tags/uncertainty.md>), [users](<https://devfeed.tech/tags/users.md>)

## AI overview

Headspace's Content Customizer uses historical data to recommend content, and the article argues that its overall effectiveness should be evaluated before production because the model is only one part of the recommendation system. It describes using a randomized online A/B test to estimate impact with statistical evidence. The experiment places recommendations in 19 slots across the Today tab, Hero modules, and recommended sub-tabs, and selects iOS and Android based on technical and business requirements; Web is also mentioned as a supported platform but is not included in this experiment. The excerpt begins discussing audience selection and the need for inference users to resemble the model's training data, but does not provide the full criteria or results.

## Source excerpt

Author: Rohan Singh Rajput. Rohan is a Senior Data Scientist at Headspace. He combines his passion for Machine Learning with Causal Inference to improve the mindfulness and meditation practices of Headspace users. "If you can't measure it, you can't improve it." -- Peter Drucker. Motivation Content Customizer is Headspace's personalized recommendation system. Content Customizer uses historical data to train its machine learning model and provide personalized recommendations to the users, helping them discover more relevant content. There are various components involved in building a recommendation system, and the ML model is only one of them. Therefore, it is essential to evaluate the effectiveness of the recommendation system as a whole before deploying it to production. Online Controlled Experiments help us to assess our system's impact with statistical evidence. 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's 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 variables1. Experiment Design The following components are required to design the experiment. Recommendation Surface Area: We have a total of three surface areas for this experiment: First, in the Today tab, we will use the last three slots to display ML recommendations. Figure 1: Dynamic Playlist on Today's Tab Second is the Hero module, which is the top banner area of the Meditate/Sleep/Focus/Move tabs. Lastly, we will be using the recommended sub-tabs that also have three slots each for ML-powered content. Figure 2: Hero and Recommended Module of other four tabs In total, we have 19 places available for the experiment. The platform for Recommendation: Headspace serves on multiple platform