Policy Evaluation and Optimization with Continuous Treatments

Nathan Kallus, Angela Zhou

Introduction

In reinforcement learning and causal inference, decision-making is often framed as choosing between discrete actions. However, many real-world applications—such as determining optimal medical dosages or setting dynamic prices—involve continuous treatment spaces. Traditional off-policy evaluation (OPE) methods, like Inverse Probability Weighting (IPW), rely on exact matches between the logging policy and the target policy. In continuous spaces, the probability of such matches is zero, rendering standard IPW unusable.

Methodology: Kernelized Off-Policy Evaluation

To address this, Kallus and Zhou propose a kernel-based approach that relaxes the requirement for exact matches. Instead of rejection sampling, they employ a kernel function to weight observed outcomes based on their proximity to the target policy's recommended treatment.

Key Components

  1. Kernelized IPW: This estimator uses a bandwidth parameter ($h$) to define "closeness," effectively smoothing the reweighting process.
  2. Doubly Robust (DR) Extension: By combining the kernelized IPW with a direct outcome model, the authors create an estimator that remains consistent if either the propensity model or the outcome model is correctly specified.
  3. Continuous Policy Optimization (CPO): The framework extends beyond evaluation to optimization, allowing for the derivation of optimal policies within a parameterized class using gradient-based methods.

Experimental Results

The proposed methods were validated using synthetic datasets and a real-world medical case study.

Synthetic Analysis

In 1D synthetic tests, the kernelized OPE demonstrated clear convergence to the true policy value as the sample size increased. In contrast, traditional discretization methods (binning treatments into "buckets") exhibited persistent bias regardless of the amount of data available.

Figure 1: Comparison of OPE methods on synthetic data. Continuous OPE (red triangles) shows superior convergence compared to discretized methods.

Warfarin Case Study

The authors applied their method to the PharmGKB dataset to optimize Warfarin dosing. Warfarin is a blood thinner where incorrect dosages can lead to severe complications. The goal was to learn a policy that minimizes the absolute loss relative to the ideal therapeutic dose.

Figure 6: Policy loss in the Warfarin case study. Continuous OPE (10.2) outperforms the Direct Method and Mean Dose baselines, approaching the Best-In-Class limit.

As shown in the results, the Continuous OPE approach achieved a mean absolute loss of 10.2, significantly outperforming the "Mean Dose" baseline (11.7) and the "Direct Method" (11.0). This performance closely approached the theoretical "Best-In-Class" limit of 8.9.

Conclusion

This research provides a robust mathematical foundation for off-policy learning in continuous domains. By replacing ad-hoc discretization with principled kernel smoothing, the authors enable more accurate policy evaluation and optimization in critical fields like personalized medicine and economic policy.

Summary updated

BibTeX
@inproceedings{kallus2018policy,
  author = {Nathan Kallus and Angela Zhou},
  title = {{Policy Evaluation and Optimization with Continuous Treatments}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2018},
}
Figure