Interpretable Personalized Experimentation

Han Wu, Sarah Tan, Weiwei Li, Mia R. Garrard, Adam Obeng, Drew Dimmery, Shaun Singh, Hanson Wang, Daniel Jiang, Eytan Bakshy

Abstract

Black-box heterogeneous treatment effect (HTE) models are increasingly being used to create personalized policies that assign individuals to their optimal treatments. However, they are difficult to understand, and can be burdensome to maintain in a production environment. In this paper, we present a scalable, interpretable personalized experimentation system, implemented and deployed in production at Meta. The system works in a multiple treatment, multiple outcome setting typical at Meta to: (1) learn explanations for black-box HTE models; (2) generate interpretable personalized policies. We evaluate the methods used in the system on publicly available data and Meta use cases, and discuss lessons learnt during the development of the system.

Introduction

In large-scale industrial settings, A/B testing is the standard for decision-making, typically aiming to identify a single "best" version of a feature for the entire user base. However, treatment effects are often heterogeneous; a feature might benefit one segment of users while negatively impacting another. Personalization addresses this by predicting Heterogeneous Treatment Effects (HTE) to tailor experiences.

While complex "black-box" models like Gradient Boosted Decision Trees (GBDTs) or Neural Networks excel at HTE prediction, they present significant challenges in production:

  1. Lack of Trust: Product teams require transparency to understand why specific treatments are assigned to user segments.
  2. Technical Debt: Maintaining complex models in production pipelines is resource-intensive and brittle.
  3. Scalability: Many academic methods for optimal interpretable trees are computationally prohibitive for datasets with hundreds of millions of users.
Comparison of standard randomized experiments and the proposed personalized experimentation framework.

Methodology

The proposed system addresses these challenges through a two-stage process: model understanding and interpretable policy generation.

Model Understanding via Distill-HTE

Rather than training a simple model directly on noisy raw data, the system employs Model Distillation. A complex "teacher" model (e.g., a GBDT ensemble) is first trained to capture intricate patterns. A simpler "student" model—a Multi-Task Decision Tree (MTDT)—is then trained to mimic the teacher's predictions. This approach allows the student model to benefit from the noise-filtering capabilities of the complex model.

The "Multi-Task" aspect is critical for industrial applications where multiple outcomes (e.g., engagement vs. latency) must be balanced. The MTDT simultaneously predicts effects across these metrics, enabling product teams to visualize trade-offs within specific user segments.

The Distill-HTE workflow: distilling complex ensembles into interpretable multi-task decision trees.

Interpretable Policy Generation

Following model understanding, the system generates a Personalized Policy consisting of human-readable "if-else" rules. To enhance performance without sacrificing interpretability, the researchers introduced GUIDE, an ensemble method that uses "Guidance Trees" to combine multiple simple rules.

The system also includes a "Reject Option": if personalization does not offer a statistically significant improvement over a global "best" treatment, it defaults to the simpler non-personalized approach to minimize operational complexity.

Evaluation and Results

The system was validated using public benchmarks (IHDP, COVID-19 Remdesivir trial, Email Marketing), synthetic data for ground-truth accuracy, and internal Meta use cases such as UX layout designs and account login flows.

Key results include:

  • Accuracy: The Distill-HTE method outperformed existing interpretability methods like R2P in Precision in Estimation of Heterogeneous Effect (PEHE).
  • Real-World Impact: In a Meta UX design experiment, the interpretable policy captured over 80% of the gains achieved by the complex black-box model while maintaining secondary "guardrail" metrics.
  • Operational Efficiency: Replacing complex model calls with simple logic reduced app startup times and maintenance overhead.

Discussion and Lessons Learned

A key insight from deployment was that product teams preferred "unrolled" tree segments—visualized as bar plots of predicted lift—over raw tree diagrams. Furthermore, using greedy heuristics instead of seeking mathematically optimal trees was essential for scaling to datasets exceeding 100 million points.

While the system bridges the gap between performance and interpretability, a trade-off remains. Simple 3-level trees cannot fully replicate the nuance of a 1000-tree ensemble in high-dimensional spaces. Future work will focus on automating the discovery of optimal trade-off frontiers between competing metrics.

Paper Citation: Han Wu, Sarah Tan, Weiwei Li, et al.

  1. Interpretable Personalized Experimentation. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD ’22). https://doi.org/10.1145/3534678.3539175

Summary updated

BibTeX
@inproceedings{wu2021interpretable,
  author = {Han Wu and Sarah Tan and Weiwei Li and Mia R. Garrard and Adam Obeng and Drew Dimmery and Shaun Singh and Hanson Wang and Daniel Jiang and Eytan Bakshy},
  title = {{Interpretable Personalized Experimentation}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
}
Figure