Risk Minimization from Adaptively Collected Data: Guarantees for Supervised and Policy Learning

Aurélien Bibaut, Nathan Kallus, Maria Dimakopoulou, Antoine Chambaz, Mark J. van der Laan

Empirical risk minimization (ERM) is a foundational tool in machine learning, but its standard guarantees rely heavily on the assumption that data is independent and identically distributed (i.i.d.). In practice, data is often collected through adaptive processes—such as contextual bandits in recommendation engines or clinical trials—where algorithms update their behavior based on past observations. This creates highly dependent and biased datasets.

This paper introduces a refined theoretical framework and tight convergence guarantees for Importance Sampling Weighted Empirical Risk Minimization (ISWERM) when applied to such adaptively collected data. By developing a novel localized maximal inequality, the authors close a significant gap in the policy learning literature, proving that simple importance weighting can achieve optimal rates even as exploration decays.

The Challenge of Adaptive Data

To correct the bias inherent in adaptively collected data, researchers typically use Importance Sampling (IS). IS weights samples to account for the "covariate shift" between the logging policy (how data was collected) and the target policy (what we want to evaluate).

The primary challenge arises in bandit settings where exploration naturally decays over time to maximize rewards. As exploration shrinks, IS weights can explode toward infinity. Traditionally, these exploding weights break standard statistical proofs, resulting in overly pessimistic or "loose" convergence rates that fail to reflect the actual learning speed.

ISWERM and the Localized Maximal Inequality

To address this, the authors propose ISWERM (pronounced "ice worm"). The core technical contribution is a mathematical breakthrough: a novel localized maximal inequality tailored specifically for IS-weighted sequential processes.

Key technical components of this framework include:

  • Sequential Bracketing Entropy: A metric to measure the complexity of the hypothesis class within a sequential, non-i.i.d. setting.
  • Adaptive Chaining: A finite-depth chaining device that leverages the specific structure of IS weights. By integrating out the IS ratio inside the chaining process, the authors avoid the heavy mathematical penalties usually associated with large weights.
  • Fast Rates: The framework establishes conditions—such as strong convexity for regression or margin conditions for policy learning—under which the algorithm converges significantly faster than standard rates.

Empirical Validation

The theoretical claims are backed by an extensive empirical study using 51 multi-class classification datasets from the OpenML-CC18 benchmark. Each dataset was transformed into a multi-arm contextual bandit problem. The authors ran an $\epsilon$-greedy algorithm for 100,000 rounds to collect adaptive data, which was then used to train models via ISWERM, unweighted ERM, and several stabilized variants.

Key Insights and Results

  • Closing the Theoretical Gap: For policy learning, previous literature exhibited a gap between known lower bounds (best possible performance) and proven upper bounds. This paper closes that gap. For an exploration rate of $\epsilon_t = t^{-\beta}$, ISWERM achieves an expected regret of $O(T^{-(1-\beta)/2})$, perfectly matching the algorithm-agnostic lower bound.
  • Robustness to Misspecification: A standout empirical finding is that ISWERM excels when the model is misspecified (e.g., fitting a linear model to a non-linear relationship). Because ISWERM is model-agnostic, it reliably finds the best-in-class hypothesis, whereas unweighted methods falter.
  • Simplicity Over Complexity: The results demonstrate that complex "stabilization" tricks, like clipping weights, are not strictly necessary to achieve optimal convergence rates, though they may still help reduce short-term variance.
  • Regression Superiority: Across the 51 datasets, ISWERM consistently outperformed unweighted ERM in LASSO and Ridge regression tasks, particularly when the underlying outcome model was complex.

Limitations and Future Work

While ISWERM provides a unified, optimal approach to learning from adaptive data, the authors note a few limitations that pave the way for future research:

  • Fixed Hypothesis Class: The current theory assumes the hypothesis class is fixed prior to the experiment. Developing guarantees for adaptive model selection (choosing model complexity on the fly) is a crucial next step.
  • Known Logging Policy: The proofs assume the logging policy—and therefore the IS weights—are known exactly. In observational studies where these weights must be estimated, convergence rates might deteriorate. The authors suggest that incorporating "doubly-robust" centering techniques could help maintain efficiency in these scenarios.

Summary updated

BibTeX
@inproceedings{bibaut2021risk,
  author = {Aurélien Bibaut and Nathan Kallus and Maria Dimakopoulou and Antoine Chambaz and Mark J. van der Laan},
  title = {{Risk Minimization from Adaptively Collected Data: Guarantees for Supervised and Policy Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=IaN1FKPmkp},
}
Figure