Skip to main content
QUICK REVIEW

[Paper Review] A nonparametric Bayesian analysis of heterogeneous treatment effects in digital experimentation

Matt Taddy, Matt Gardner|arXiv (Cornell University)|Dec 30, 2014
Advanced Causal Inference TechniquesMathematics48 references8 citations
TL;DR

This paper introduces a scalable Bayesian nonparametric framework for estimating heterogeneous treatment effects (HTE) in large-scale digital experiments, using flexible models like regression trees and forests to quantify uncertainty without strong parametric assumptions. It demonstrates that Bayesian forests provide reliable uncertainty quantification for HTE, with key results showing increased posterior uncertainty for more active users and minimal variance reduction from linear adjustments in large-sample settings.

ABSTRACT

Randomized controlled trials play an important role in how Internet companies predict the impact of policy decisions and product changes. In these `digital experiments', different units (people, devices, products) respond differently to the treatment. This article presents a fast and scalable Bayesian nonparametric analysis of such heterogeneous treatment effects and their measurement in relation to observable covariates. New results and algorithms are provided for quantifying the uncertainty associated with treatment effect measurement via both linear projections and nonlinear regression trees (CART and Random Forests). For linear projections, our inference strategy leads to results that are mostly in agreement with those from the frequentist literature. We find that linear regression adjustment of treatment effect averages (i.e., post-stratification) can provide some variance reduction, but that this reduction will be vanishingly small in the low-signal and large-sample setting of digital experiments. For regression trees, we provide uncertainty quantification for the machine learning algorithms that are commonly applied in tree-fitting. We argue that practitioners should look to ensembles of trees (forests) rather than individual trees in their analysis. The ideas are applied on and illustrated through an example experiment involving 21 million unique users of EBay.com.

Motivation & Objective

  • To develop a fast, scalable Bayesian nonparametric approach for estimating heterogeneous treatment effects in large-scale digital experiments.
  • To quantify uncertainty in treatment effect estimates derived from machine learning tools like CART and Random Forests without relying on parametric assumptions.
  • To provide practical guidance for A/B testing practitioners by decoupling the choice of statistical tool from the underlying data-generating process.
  • To demonstrate the method on a real-world EBay experiment with over 21 million users, showing how posterior distributions capture uncertainty in HTE predictions.
  • To compare the performance of linear adjustments and nonparametric tree-based models in low-signal, high-sample-size digital experimentation settings.

Proposed method

  • The method uses a distribution-free Bayesian nonparametric approach, where the data-generating process (DGP) is modeled flexibly using a Dirichlet-multinomial model for the observed sample.
  • Posterior inference is performed via a bootstrap algorithm to sample from the DGP, enabling efficient uncertainty quantification without computationally intensive MCMC.
  • For regression trees and forests, the posterior distribution over tree structures and splits is used to generate a distribution of treatment effect predictions at each covariate value.
  • The approach treats the statistic of interest (e.g., conditional average treatment effect) as decoupled from the DGP model, allowing practitioners to retain existing analysis pipelines.
  • Key outputs include posterior means and credible intervals for individual and group-level treatment effects, computed via repeated sampling from the posterior DGP.
  • The method applies to both linear projections (e.g., OLS with covariates) and nonlinear models like CART and Random Forests, with uncertainty quantified through ensemble-based posterior sampling.

Experimental results

Research questions

  • RQ1How can uncertainty in heterogeneous treatment effects be reliably quantified in large-scale digital experiments with tiny effect sizes?
  • RQ2To what extent do linear regression adjustments reduce variance in treatment effect estimation under low-signal, high-sample-size conditions?
  • RQ3Can Bayesian nonparametric methods provide valid uncertainty quantification for machine learning tools like regression trees and forests in A/B testing?
  • RQ4How does posterior uncertainty in treatment effects vary across user subgroups defined by covariates such as past spending or purchase frequency?
  • RQ5What are the practical implications of using ensemble forests versus single trees for HTE estimation in digital experiments?

Key findings

  • In the EBay experiment with over 21 million users, linear regression adjustment provided only vanishingly small variance reduction, confirming that such adjustments offer limited benefit in large-sample, low-signal settings.
  • Posterior uncertainty in treatment effects increased significantly for more active users, as measured by prior spending and purchase frequency, indicating higher variability in HTE estimates for this group.
  • Bayesian forests provided full posterior distributions over treatment effect predictions, enabling uncertainty quantification for any new user based on their covariates.
  • Conditional average treatment effects, computed via posterior means and credible intervals, showed strong skewness, particularly for high-spend user segments.
  • The posterior mean of the overall average treatment effect over 5 weeks was approximately 0.0015, with a standard deviation of 0.0003, indicating high precision despite tiny effect sizes.
  • The method successfully avoided the computational burden of MCMC by using a bootstrap-based posterior sampling strategy, enabling scalability to massive datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.