A/B Testing in Dense Large-Scale Networks: Design and Inference

Preetam Nandy, Kinjal Basu, Shaunak Chatterjee, Ye TuNeurIPS 2020

Introduction

OASIS is a two-step framework designed to conduct A/B testing in dense, large-scale networks where traditional randomization fails due to "interference"—a phenomenon where one user's treatment affects another. By combining an optimization-based treatment allocation with an importance sampling correction, OASIS allows for high-power causal inference even in highly connected "hairball" graphs that cannot be easily clustered.

The Problem: Network Interference

Standard A/B testing relies on the Stable Unit Treatment Value Assumption (SUTVA): the idea that the treatment assigned to one person doesn't affect the outcome of another. In social networks or two-sided marketplaces (like LinkedIn, Uber, or Airbnb), SUTVA is almost always violated.

Producer-consumer network and causal pathways of network vs. direct effects.

If a "producer" (e.g., a content creator) gets more exposure due to an algorithm change, they might receive more feedback, which in turn changes their subsequent behavior. This "spillover" or "interference" makes it impossible to measure the true effect of a feature using simple random assignment. Existing solutions usually involve Graph Cluster Randomization, where users are grouped into isolated clusters and the whole cluster is treated. However, real-world social networks are often too dense to be broken into clean, isolated clusters. As network density increases, these traditional methods lose statistical power or suffer from massive bias.

The OASIS Framework

The authors propose OASIS (Optimal Allocation Strategy and Importance Sampling Adjustment), which moves away from trying to find isolated clusters and instead focuses on "matching" the intended experience.

Optimized treatment allocation across network edges.
  1. Design (Optimization): Instead of binary "all-or-nothing" treatment for a neighborhood, OASIS treats the problem as a Quadratic Program (QP). It attempts to allocate treatments to a subset of edges such that the "total exposure" (a mediator variable like total feedback or views) for a treated unit matches what they would experience in a 100% treated universe.
  2. Inference (Bias Correction): Because the optimization is an approximation, the resulting allocation isn't perfect. The authors apply an Importance Sampling (IS) adjustment. This statistical "weighting" corrects for the leftover bias between the experimental state and the theoretical "fully treated" state, ensuring the final estimate of the Average Treatment Effect (ATE) is unbiased.
  3. Scalability: Since solving a QP for billions of edges is impossible, they use an iterative "Operator Splitting" method that breaks the problem into overlapping sub-problems, making it feasible for industrial-scale networks.

Key Insights

  • Density as an Advantage: Counter-intuitively, OASIS performs better as the network gets denser. In a dense network, the optimizer has more "knobs to turn" (more edges to adjust) to reach the target exposure level for a node, whereas cluster-based methods completely fall apart.
  • The "Intervening Variable" Shortcut: The method relies on the existence of a mediator (e.g., total feedback). If you can capture the network effect through a single sufficient statistic, you don't need to treat the entire network; you just need to manipulate the local environment to produce that specific value of the statistic.
  • Shadow Populations: The design includes a "shadow population" that receives the treatment experience but isn't used for the primary measurement. This helps in detecting the presence of network effects by comparing them against the main treatment group.

Real-World Impact and Results

The framework was rigorously tested through both simulation and real-world deployment.

  • Simulation Study: The authors generated synthetic graphs with 50,000 nodes. In dense settings where Cluster-Based methods saw their confidence interval coverage drop to ~60% (indicating high bias), OASIS maintained the nominal 95% coverage.
  • LinkedIn Deployment: The method was deployed on the LinkedIn Newsfeed, involving over 675 million members. The experiment showed statistically significant "lifts" in producer-side metrics that traditional A/B tests would have missed, including a +0.52% increase in Daily Unique Contributors and a +1.14% increase in Members in Active Community. The results confirmed that the new recommender system actually encouraged more content creation and community health—a network effect that standard testing would have underestimated.

Limitations and Future Work

  • Knowledge of Edge Weights: The current model assumes we know (or can estimate) the weights representing the strength of the relationship between nodes. Highly inaccurate weights could degrade performance.
  • Dynamic Networks: While the design can be updated periodically, a truly "streaming" or real-time version of OASIS for highly volatile marketplaces remains a direction for future research.
  • Hybrid Approaches: The authors suggest that combining clustering for sparse parts of a graph and OASIS for the dense "hairball" centers could be the ultimate solution.

Summary updated

BibTeX
@inproceedings{nandy2020b,
  author = {Preetam Nandy and Kinjal Basu and Shaunak Chatterjee and Ye Tu},
  title = {{A/B Testing in Dense Large-Scale Networks: Design and Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure