Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Booking.com Data Science 15 min read Deep dive hardMaster

The Causality Gap: Measuring the True Impact of Voluntary Adoption in Digital Marketplaces

Standard A/B tests fail for opt-in features: low adoption dilutes the intention-to-treat effect (10% adoption turns a 15% lift into 1.5%), and comparing adopters to non-adopters via regression, propensity matching, IPW or naive DoubleML is biased by unobserved motivation and collider conditioning on adoption. Randomized Encouragement Design treats random feature access as an instrumental variable, and with one-sided compliance the LATE equals the effect on adopters (ATT). DoubleML with cross-fitting and Neyman orthogonality then tightens the IV estimate under heavy partner heterogeneity, and Monte Carlo simulations show it beats 2SLS on precision. Reporting both ITT and ATT shows whether to invest in product quality or the adoption funnel.

Assumes: A/B testingcausal inference basicsinstrumental variablesregression

Related posts

  • Correlation Lied to Us: Rethinking Product Impact with Causal Inference

    OLX Tech mediumAdept

    Naive comparisons at OLX suggested premium ad packages performed worse than cheaper ones, because sellers self-select into packages and the ads differ in price, mileage, brand and other traits. Propensity score matching with a regularized XGBoost classifier paired comparable vehicle ads across tiers. Matching cut overall standardized mean difference from 0.326 to 0.059, and a week-by-week divergence in performance served as behavioral validation. The matched estimates show uplift growing with the number of extra boosts (+17.6% for Package 1→2, +97.4% for 1→4), and these were checked against a randomized A/B test of 1 vs 2 boosts, with PSM positioned as the scalable alternative to running many experiments.

  • Improving Instagram notification management with machine learning and causal inference

    Meta Engineering mediumAdept

    Instagram replaced click-through-rate filtering for daily digest story notifications with a neural uplift model that estimates the incremental effect of sending versus not sending on user activity. The model was trained on data from a randomized experiment that dropped eligible notifications with 50% probability, and sending was framed as a budget allocation problem that favours high-uplift notifications. Because uplift scores drift online, raw estimates pass through an online quantile service that maps them to a uniform distribution while preserving order, so comparing against a fixed rate r keeps sending volume stable. The result was substantially fewer notifications than CTR-based filtering with no drop in engagement.

  • When Can You Ship on Offline Evals Alone?

    Spotify Engineering hardMaster

    Shipping AI changes on offline evals alone, without A/B tests, can bound the risk of harming online metrics only under strong assumptions: a homogeneous, exchangeable corpus of paired offline/online effects, known measurement error, and LLM-judge bias that doesn't depend on the treatment arm. Ignoring measurement noise badly attenuates the observed offline-online correlation (24% naive R² vs 60% true in the worked example), and pooling heterogeneous experiments can produce Simpson's-paradox false surrogacy. The proposed decision gate ships or kills only on sufficiently strong eval effects, with thresholds that scale with surrogate strength, routes the middle to A/B tests, and keeps a random audit pool to detect drift. Spotify still pairs offline evals with online experiments.

  • 10 Lessons Learned From Online Experiments

    Shopify Engineering mediumAdept

    Ten practical lessons from a year of online A/B experiments on Shopify's multi-currency, geolocation and translation features. Randomization units should be independent (user rather than session, to avoid carryover), and simulations are a fast way to check statistical worries such as false-positive inflation when randomization and analysis units differ. A/A tests with redirects surfaced sample ratio mismatch caused by bots and client-side pageview logging, and in another experiment SRM traced to cookie-based qualification logic flipped the result from negative to positive. Other lessons: understand your data pipeline and log generously, peek at results (without stopping early) to catch outliers like a single high-volume store, and slice results by segment because the overall number is only an average.

  • Measuring the Impact of Personalized Recommendations

    Netflix TechBlog hardMaster

    Netflix estimates the causal value of its personalized recommendations with a low-rank, day-by-day choice model that separates members' dynamic, history-driven preferences from an explicit recommendation "bonus," identified from natural variation such as algorithmic exploration. The model was validated against randomized A/B tests that nudged title visibility, predicting experimental diversion ratios with 0.86 correlation (R² 0.73). Counterfactual simulations show that replacing the current recommender reduces engagement by 16% with random recommendations, 12% with popularity-based recommendations and 4% with matrix factorization; the popularity and matrix-factorization alternatives also concentrate viewing on fewer titles. Decomposing recommendation-driven viewing into exposure, selection and targeting shows that exposure triples watch probability but explains only about 7% of the gap, while targeting is nearly seven times larger and strongest for mid-popularity titles.

The quest for software engineering knowledge.

Look:
Layout: