Integer Programming for Generalized Causal Bootstrap Designs

Jennifer Rogers Brennan, Sebastien Lahaie, Adel Javanmard, Nick Doudchenko, Jean Pouget-Abadie

Introduction

In experimental causal inference, practitioners must account for two distinct sources of uncertainty. Sampling uncertainty arises when a sample is drawn from a larger super-population, while design uncertainty stems from the specific treatment assignment mechanism used in the experiment.

While standard tools like the Efron bootstrap effectively estimate sampling uncertainty, they often fail to capture design uncertainty. This distinction becomes critical in "low-power" regimes—such as geographical experiments with small, fixed samples (e.g., 50 US states) and highly heterogeneous treatment effects. Existing "causal bootstrap" methods were developed to bridge this gap, but they have historically been limited to simple scenarios like completely randomized designs and basic difference-in-means estimators.

This paper introduces a novel integer programming (IP) framework to quantify design uncertainty in these challenging small-sample settings. By numerically solving for the worst-case joint distribution of potential outcomes, the authors extend the causal bootstrap to complex experimental designs and estimators, producing significantly tighter and more reliable confidence intervals.

The Challenge of Complex Designs

Real-world practitioners frequently rely on complex experimental designs (like matched-pair randomization) and sophisticated estimators (like regression adjustments) to maximize power in small samples. However, finding closed-form mathematical proofs for the variance in every possible experimental design is often intractable.

When standard bootstraps ignore design uncertainty in these fixed populations, they produce confidence intervals that are either unrealistically narrow or wastefully wide. The lack of a unified, valid way to calculate uncertainty for advanced experimental setups leaves a significant gap in the causal inference toolkit.

A Numerical Optimization Approach

Rather than attempting to derive analytical solutions for every design, the authors frame the problem as a numerical optimization task:

  • Integer Programming (IP) Formulation: The unknown "counterfactual" outcomes (e.g., what would have happened if a treated unit was actually in the control group) are treated as variables in an integer program.
  • Worst-Case Copula: The IP searches for the "least-favorable" joint distribution of outcomes—the one that maximizes the variance of the estimator—while remaining strictly consistent with the observed data and the rules of the randomization design.
  • Estimator-Agnostic Generalization: Unlike previous work, this framework works for any linear-in-treatment (e.g., Horvitz-Thompson) or quadratic-in-treatment (e.g., OLS regression) estimator.
  • Slackness Parameter ($\epsilon$): To ensure the optimization problem is solvable in small samples where marginal distributions might not perfectly align, a "slack" variable is introduced to allow for slight, bounded deviations.

The core insight is that while the math for a matched-pairs design with regression adjustment is incredibly hard to solve analytically, a modern IP solver can find the worst-case variance numerically in seconds. By adding constraints to the IP that reflect the experimental design (e.g., "exactly one unit in this pair must be treated"), the space of possible outcomes shrinks, leading to tighter uncertainty bounds without losing statistical validity.

Key Results and Performance

The authors evaluated their method using simulations based on real-world International Monetary Fund (IMF) GDP data (2017–2019) for the top 50 countries. Treating these countries as units in a simulated geographical experiment, they used 2017–2018 GDP as pre-period covariates to predict 2019 outcomes.

A/A Test Coverage and Median CI

The IP-based causal bootstrap (Opt. Causal Boot.) demonstrated massive improvements in reliability, particularly in complex setups. As shown in the A/A test results above, the method successfully recovered valid coverage in matched-pairs designs where previous analytical methods (like the Isotone Copula) failed entirely, yielding 0% coverage.

A/B Test Power and Median CI

Furthermore, the method proved highly efficient in A/B testing scenarios. In simulations of geographical experiments, the IP-based causal bootstrap reduced confidence interval widths by at least 10% compared to naive sampling bootstraps. For the difference-in-means estimator with multiplicative effects, the method achieved an exceptional 50% reduction in CI width while maintaining 95% coverage. It also maintained strong statistical power across different effect sizes (2.5% and 10%) compared to conservative variance estimates.

Despite relying on computationally heavy integer programming (which is NP-hard), the method is practical for its target use case. For a dataset of 50 units, the integer program solved in roughly 11 minutes for complex designs and just 22 seconds for simpler ones.

Limitations and Future Work

While highly effective for geographical experiments, the approach has limitations:

  • Scalability: The computational cost makes it unsuitable for user-level experiments with millions of participants.
  • Discrete Support: The current approach assumes outcomes are discrete or uses observed values as the support. Expanding this to handle truly continuous, unseen outcomes is a necessary next step.
  • Observational Data: The current proofs assume treatment assignment probabilities are known (as in RCTs). Extending the framework to observational studies where propensities must be estimated remains an open area for future research.

Summary updated

BibTeX
@inproceedings{brennan2025integer,
  author = {Jennifer Rogers Brennan and Sebastien Lahaie and Adel Javanmard and Nick Doudchenko and Jean Pouget-Abadie},
  title = {{Integer Programming for Generalized Causal Bootstrap Designs}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=PIqtU1SgUR},
}
Figure