Robust Offline Policy Learning with Observational Data from Multiple Sources

Aldo Gael Carranza, Susan Athey

TL;DR

This paper introduces a robust framework for offline policy learning using observational data collected from multiple heterogeneous sources. By framing the problem as a minimax regret optimization over potential mixtures of source distributions, the authors develop an algorithm called EG-OPO that combines doubly robust policy evaluation with no-regret learning. This approach guarantees that the learned policy generalizes reliably across diverse and shifting target environments.

What Problem Does This Paper Address?

Offline policy learning allows researchers to use historical data (such as medical records or past A/B tests) to learn optimal decision-making rules without conducting risky or expensive real-time experiments. Standard methods assume this data comes from a single, homogeneous source. In practice, however, data is often aggregated from multiple distinct sources—such as different hospitals, each with its own patient demographics and treatment protocols.

Simply pooling this heterogeneous data together can fail spectacularly. A policy trained on aggregated data might perform well on average but fail completely in specific sub-environments due to distribution shift. To solve this, the paper tackles a core question: How can we train a decision policy using data from multiple heterogeneous sources such that it robustly generalizes across any target distribution that can be modeled as a mixture of these sources?

Methods

The authors address this challenge by formulating it as a minimax regret optimization problem. Instead of maximizing the average reward across all data, the objective is to find a policy that minimizes the worst-case regret (the performance gap between the learned policy and the theoretical optimal policy) across a family of target distributions.

To solve this non-convex and non-differentiable problem, they propose the EG-OPO (Exponentiated Gradient Offline Policy Optimization) algorithm. The method treats the optimization as a repeated zero-sum game between a policy player and an adversary choosing the mixture weights of the data sources:

  1. Doubly Robust Estimation: The algorithm utilizes Augmented Inverse Propensity Weighting (AIPW) to estimate policy values for each source. This ensures the estimates remain accurate as long as either the propensity scores or the conditional reward functions are correctly modeled.
  2. Cross-Fitting: To prevent overfitting, nuisance parameters (propensities and reward functions) are estimated using a K-fold cross-fitting strategy.
  3. Exponentiated Gradient Updates: The algorithm iteratively adjusts a distribution over the mixture weights using exponentiated gradient ascent based on the empirical regret of the current policy.
  4. OPO Oracle: At each step, a standard offline policy optimization subroutine (such as policytree) computes the best-response policy for the current mixture distribution.

Datasets

The paper evaluates the framework using a controlled synthetic environment. The setup simulates $k=3$ distinct data sources with binary actions and an 8-dimensional context space. The potential rewards are generated using source-specific linear parameters with added Gaussian noise, creating a benchmark with explicit distribution shifts and source heterogeneity.

Key Insights and Ideas

  • Regret Minimization vs. Risk Minimization: Traditional robust supervised learning often minimizes worst-case risk (or maximizes worst-case reward). In decision-making, this can lead to overly conservative, pessimistic policies. Minimizing worst-case regret ensures the policy strives to do as well as possible relative to the best possible choice in that specific environment, avoiding over-conservatism.
  • Source Skewness Moderation: The paper's theoretical finite-sample bounds are moderated by a "source skewness" metric (a chi-squared divergence). This term elegantly quantifies the imbalance between the target environment's composition and the empirical sample sizes available from each source, smoothly interpolating between ideal uniform mixtures and highly shifted single-source scenarios.
  • Generalization Beyond Mixtures: The authors prove that even if a target distribution cannot be perfectly represented as a mixture of the training sources, the policy's performance degradation is gracefully bounded by the Total Variation (TV) distance to the closest valid mixture.

Key Results

The authors establish a finite-sample regret bound of $\mathcal{O}(1/\sqrt{n})$, proving that EG-OPO achieves optimal convergence rates relative to the total sample size $n$ across all sources.

In experimental evaluations:

  • When tested directly on a single source's distribution, a policy trained exclusively on that source performs best. However, EG-OPO steadily improves with sample size and significantly outperforms a naive data-pooling approach ("Aggregate Policy"), which suffers due to distribution shift.
Figure 1: Empirical source regret R1pπq.
  • When tested on a mixture distribution close to the first source ($\lambda = [0.9, 0.05, 0.05]$), EG-OPO demonstrates its superior robustness, achieving the lowest overall regret while both the single-source policy and the aggregate policy degrade significantly.
Figure 2: Empirical mixture regret Rλpπq.

Limitations and Future Work

  • Strict Overlap Assumptions: The theoretical analysis relies on a uniform overlap assumption (every action must have a non-zero probability of being chosen in every context across all sources). Exploring how to integrate pessimism-based principles to relax this requirement is a key area for future work.
  • Independent Nuisance Estimation: Currently, reward and propensity models are estimated independently for each source. If sources share underlying features or mechanisms, multi-task learning could be leveraged to estimate these parameters more efficiently.
  • Formal Lower Bounds: While the bounds match the optimal rates of single-source settings, proving formal lower bounds specifically for this multi-source minimax regret setting remains an open theoretical challenge.

Summary updated

BibTeX
@inproceedings{carranza2025robust,
  author = {Aldo Gael Carranza and Susan Athey},
  title = {{Robust Offline Policy Learning with Observational Data from Multiple Sources}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=DTpFxijEbo},
}
Figure