Offline Policy Optimization with Eligible Actions

Yao Liu, Yannis Flet-Berliac, Emma Brunskill

Abstract: Offline policy optimization could have a large impact on many real-world decision-making problems, as online learning may be infeasible in many applications. Importance sampling and its variants are a common used type of estimator in offline policy evaluation, and such estimators typically do not require assumptions on the properties and representational capabilities of value function or decision process model function classes. In this paper, we identify an important overfitting phenomenon in optimizing the importance weighted return, in which it may be possible for the learned policy to essentially avoid making aligned decisions for part of the initial state space. We propose an algorithm to avoid this overfitting through a new per-state-neighborhood normalization constraint, and provide a theoretical justification of the proposed algorithm. We also show the limitations of previous attempts to this approach. We test our algorithm in a healthcare-inspired simulator, a logged dataset collected from real hospitals and continuous control tasks. These experiments show the proposed method yields less overfitting and better test performance compared to state-of-the-art batch reinforcement learning algorithms.

Introduction

Offline reinforcement learning (RL) is essential for domains where online exploration is dangerous or impractical, such as healthcare or autonomous driving. A common approach involves using Importance Sampling (IS) to evaluate new policies based on historical data. However, standard IS estimators are vulnerable to "propensity overfitting," a phenomenon where the optimizer learns to avoid states with poor outcomes by choosing actions that were never observed in those contexts.

The Propensity Overfitting Phenomenon

Propensity overfitting occurs when a learned policy "hacks" the IS estimator. In a medical context, if a dataset contains sicker patients who naturally have worse outcomes, an optimizer might choose an action for these patients that was never taken in the training data. Because the behavior policy's probability for that action is zero (or near-zero), the IS weight effectively removes these difficult cases from the evaluation. This creates an illusion of high performance by simply ignoring the hardest parts of the state space, effectively "avoiding" the low-reward states.

Policy Optimization with Eligible Actions (POELA)

To combat this, the authors propose POELA (Policy Optimization with ELigible Actions). The core innovation is the Eligible Action Set. For any given state $x$, the policy is only allowed to choose actions that were actually performed in the dataset for that state or for states within a small distance $\delta$ (a neighborhood).

Visualizing the evolution of eligible action sets over timesteps.

POELA offers several key advantages:

  1. Local Constraints: It ensures the policy stays within the support of the data, acting as a form of pessimism that doesn't rely on global behavior estimation.
  2. Non-Markovian Robustness: Unlike many offline RL methods that assume a Markov Decision Process (MDP), POELA does not require the environment to be Markovian. It simply ensures the policy doesn't wander into regions where data is too sparse to provide a reliable estimate.
  3. Theoretical Guarantees: The authors prove that the eligible action set is asymptotically consistent, expanding to include all valid actions as the dataset size grows to infinity.

Experimental Results

The researchers evaluated POELA across three distinct environments: a non-Markovian tumor growth simulator, real-world sepsis data from MIMIC-III, and OpenAI Gym benchmarks.

Quantitative comparison of POELA against baselines in MDP and Non-MDP environments.

As shown in the results, POELA significantly reduces the gap between estimated and actual performance. In the non-MDP tumor simulator, POELA's bias ($\hat{v}_{SNTIS} - v^\pi$) was only $-1.28 \pm 1.93$, while baselines like BCQ and PQL showed massive overestimation (over 70 points). Furthermore, on the MIMIC-III sepsis dataset, POELA learned a treatment policy that achieved a test value of 92.32, significantly outperforming historical clinician decisions (81.10) and maintaining a higher Effective Sample Size (ESS), indicating more trustworthy results.

Conclusion

POELA addresses a fundamental reliability issue in offline RL by preventing policies from exploiting statistical gaps in the data. By enforcing neighborhood-based action eligibility, it provides a robust framework for learning high-performing policies in high-stakes, non-Markovian environments. Future work includes extending these neighborhood metrics to high-dimensional spaces using representation learning to define meaningful "nearby" states.

Summary updated

BibTeX
@inproceedings{liu2022offline,
  author = {Yao Liu and Yannis Flet-Berliac and Emma Brunskill},
  title = {{Offline Policy Optimization with Eligible Actions}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=SeZEruIj5e9},
}
Figure