Online controlled experiments at large scale

Ron Kohavi, Alex Deng, Brian Frasca, Toby Walker, Ya Xu, Nils PohlmannKDD 2013

Abstract

In modern software development, relying on intuition often leads to suboptimal outcomes. This paper details the evolution of Bing's experimentation engine into a high-velocity "innovation factory." By scaling to over 200 concurrent daily experiments involving billions of user variants, Bing has demonstrated that successful large-scale experimentation requires a robust engineering architecture, rigorous statistical safeguards, and a fundamental cultural shift toward data-driven decision-making.

Introduction

The "humbling reality" of product development is that most ideas fail to improve the metrics they target. At Microsoft, only about one-third of proposed features actually move the needle in the desired direction. To navigate this high failure rate, organizations must lower the cost of experimentation and increase the velocity of validated learning. This paper explores how Bing transitioned from sporadic testing to a massive, automated system capable of handling millions of users and terabytes of daily logs.

Engineering Architecture

Scaling experimentation to the level of a major search engine introduces significant "Big Data" challenges. Bing utilizes a sophisticated infrastructure to manage concurrent "flights" while ensuring user isolation.

The experimentation system architecture, spanning online infrastructure for assignment and offline analysis for statistical evaluation.

The system is built on three pillars:

  1. Frontend Assignment: Uses a "Number Line" and "Layer" approach to assign users to multiple experiments simultaneously without interference.
  2. Management UI (Control Tower): Provides a centralized interface for engineers to launch and monitor experiments.
  3. Offline Analysis Pipeline: A massive data processing engine that generates automated "scorecards," allowing decentralized teams to analyze their own results.

Scaling and Growth

The demand for experimentation has grown exponentially as the organization embraced a data-driven culture. By 2013, the system was supporting hundreds of engineers testing hypotheses simultaneously.

Growth in the number of experiments per day at Bing from 2009 to 2013, illustrating the rapid scaling of the experimentation culture.

At this scale, the system processes over 3.2 billion queries per month from approximately 100 million monthly active users. A typical two-week experiment on 20% of traffic requires processing roughly 4TB of data. This volume necessitates a decentralized culture where any engineer can launch and analyze their own test using automated tools.

Statistical Rigor and Interaction Detection

Running hundreds of tests concurrently introduces the "multiple testing problem," where the probability of false positives increases. To maintain high confidence, Bing implements the O’Brien-Fleming procedure, allowing for early stopping of underperforming experiments while maintaining strict significance thresholds. Furthermore, an Empirical Bayesian False Discovery Rate algorithm is used to detect unexpected interactions between overlapping experiments, preventing feature clashes.

Key Insights and Results

The impact of this "innovation factory" is substantial. Small, data-driven tweaks to ad layouts have resulted in annual revenue increases exceeding $100 million. The system is sensitive enough to detect effects as small as 0.1%, where a 1% improvement in US revenue alone translates to over $10 million annually.

Beyond positive gains, Bing uses "negative" experiments—such as intentionally slowing the site—to quantify the precise value of performance. For instance, a 100ms increase in latency was found to decrease revenue by 0.6%, providing a clear ROI for optimization efforts. This underscores the importance of Twyman’s Law: "Any figure that looks interesting or different is usually wrong," encouraging healthy skepticism toward astounding results.

Conclusion and Future Work

While A/B testing is the gold standard for incremental optimization, it carries the risk of "incrementalism," where teams may avoid high-risk, high-reward bets. Future challenges include managing the quadratic computational burden of interaction detection as the number of experiments grows and improving sensitivity through pre-experiment variance reduction. Ultimately, the success of Bing's engine proves that scaling the scientific method is as much an engineering and cultural challenge as it is a statistical one.

Summary updated

BibTeX
@inproceedings{kohavi2013online,
  author = {Ron Kohavi and Alex Deng and Brian Frasca and Toby Walker and Ya Xu and Nils Pohlmann},
  title = {{Online controlled experiments at large scale}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2013},
  doi = {10.1145/2487575.2488217},
}
Figure