Adaptive Instrument Design for Indirect Experiments

Yash Chandak, Shiv Shankar, Vasilis Syrgkanis, Emma Brunskill

Introduction: The Challenge of Indirect Experiments

In an ideal world, researchers rely on Randomized Controlled Trials (RCTs) to determine the true effect of a treatment—such as a new educational method or a medical intervention. However, in many real-world scenarios, forcing participants into a specific treatment group is either unethical or practically impossible.

To navigate this, researchers turn to indirect experiments. Instead of forcing a treatment, they provide "encouragements" or "recommendations," formally known as Instrumental Variables (IVs).

Causal graph illustrating an indirect experiment with an instrumental variable (Z), treatment (A), outcome (Y), and confounders (U).

The primary challenge with indirect experiments is that compliance varies—people do not always follow recommendations. Furthermore, hidden confounders often influence both a user's likelihood to comply and their eventual outcome. While statistical methods exist to handle these issues, the resulting estimates are notoriously noisy and suffer from high variance. This raises a critical question: If we have multiple ways to encourage a user, how do we adaptively choose the best instruments to achieve the most accurate treatment effect estimate with the least amount of data?

Methodology: Designing Instruments Adaptively (DIA)

To address this, the authors introduce DIA (Designing Instruments Adaptively), the first general framework for optimizing data collection policies in indirect experiments. DIA utilizes a gradient-based procedure to search for an optimal data collection policy, overcoming two massive technical hurdles in the process:

1. Efficient Gradient Estimation via Influence Functions

To improve a data collection policy, the system must understand how the Mean Squared Error (MSE) of the estimator changes when different data is collected. Traditionally, this requires retraining the model thousands of times, which is computationally prohibitive. DIA solves this by using Influence Functions—a technique akin to a Taylor expansion for statistical functionals. This allows the framework to approximate MSE changes in a single pass, making it highly scalable and compatible with complex, non-linear models like deep neural networks.

2. Off-Policy Evaluation via Multi-Rejection Sampling

Evaluating a new policy using data collected under an old policy typically relies on "Importance Sampling." However, in the context of adaptive experiment design, the variance of Importance Sampling explodes exponentially as more data is collected. To circumvent this, the authors introduce Multi-Rejection Sampling. This technique treats the historical data collection as a "mixture" of policies and uses rejection sampling to simulate data from the target policy, entirely avoiding the variance explosion.

Experimental Setup and Key Insights

The authors evaluated DIA across three distinct regimes:

  1. Synthetic IV: A basic linear setting with heteroskedastic noise and varying compliance levels.
  2. Conditional IV: A complex setting where encouragements are allocated based on user covariates, utilizing a logistic regression-based estimator.
  3. TripAdvisor (Semi-synthetic): Built from real-world customer data to estimate the effect of a "premier membership" on revenue. The authors used DeepIV (a neural network-based estimator) to test DIA in a high-dimensional, non-linear scenario.

The "U-Trend" of Complexity

The experiments revealed a fascinating tension: having more instruments provides greater potential for strategic allocation, but it also makes the optimization problem significantly harder. The authors identified a "sweet spot" in complexity where adaptive design yields the most dramatic efficiency gains.

Key Results: Massive Sample Efficiency

Across all tested domains, DIA consistently outperformed standard uniform data collection.

Performance comparison showing DIA achieving lower Mean Squared Error compared to Uniform data collection across varying confounder strengths.
  • Accuracy Gains: DIA improved the accuracy of base estimators by 1.2x to 10x.
  • Data Savings: To reach a specific target accuracy, DIA often required 80% less data than standard methods, and in some cases, an entire order of magnitude less.
  • Robustness: Thanks to the variance-reduction properties of the influence-function-based control variates, the method proved highly stable even when underlying models were misspecified.

Limitations and Future Work

While DIA represents a significant leap forward for indirect experiments, the authors note a few limitations. First, calculating Hessians for models with millions of parameters carries computational overhead, though techniques like Hessian-vector products can mitigate this. Second, the current framework assumes the impact of instruments is static over time, ignoring real-world phenomena like "recommendation fatigue" where compliance drops after repeated nudges.

A highly promising future direction is scaling this framework to natural language instruments. Instead of merely selecting a pre-defined button or banner to show a user, an AI could adaptively design the actual text of a recommendation to maximize learning and compliance simultaneously.

Summary updated

BibTeX
@inproceedings{chandak2024adaptive,
  author = {Yash Chandak and Shiv Shankar and Vasilis Syrgkanis and Emma Brunskill},
  title = {{Adaptive Instrument Design for Indirect Experiments}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=4Zz5UELkIt},
}
Figure