TL;DR
Evaluating new reinforcement learning (RL) policies in high-stakes fields like healthcare presents a catch-22: historical data is too limited to be reliable, but online testing is too dangerous. This paper introduces a "semi-offline" framework that uses human-provided counterfactual annotations—expert guesses about "what would have happened if..."—to safely expand data support and significantly improve policy evaluation accuracy without introducing statistical bias.
What Problem Does This Paper Address?
In Reinforcement Learning, Off-Policy Evaluation (OPE) is the task of estimating how well a new policy would perform using only historical data. This is critical in "high-stakes" domains like medicine, autonomous driving, or public policy, where you cannot simply "move fast and break things" by deploying an untested algorithm on real people.
However, OPE faces a fundamental "support" problem: if the historical data (the behavior policy) never tried a specific action in a specific state, standard statistical tools like Importance Sampling (IS) have no way of knowing what the outcome would be. This lack of coverage leads to high variance or outright bias in evaluation.
While we could ask human experts (like doctors) to annotate these "missing" actions with their expected outcomes, simply adding these guesses to the dataset as new samples changes the underlying distribution of states. This leads to what the authors call "naive augmentation bias." The challenge is how to use this valuable human insight without corrupting the statistical validity of the evaluation.
Methods: Counterfactual-Augmented Importance Sampling
To solve this, the authors propose Counterfactual-Augmented Importance Sampling (C-IS) and its sequential version, C-PDIS (Per-Decision Importance Sampling).
The core innovation is a novel weighting scheme. Instead of treating a human's counterfactual annotation as a brand-new data point (which skews the state distribution), the framework treats it as an alternative outcome for an existing state.
- Standard IS: Assigns an importance weight solely to the one action that actually happened in the historical data.
- C-IS: Splits the "importance weight" of a single observation across the factual action and one or more human-annotated counterfactual actions.
By ensuring the total weight assigned to a specific state remains constant (summing to 1), the estimator preserves the original state distribution while gaining "signal" from the expert's knowledge about alternative actions. The authors provide a specific, highly effective variant called C*-IS, which splits weights equally between factual and counterfactual data.
Key Insights and Ideas
- The "Naive" Trap: The paper mathematically demonstrates why simply "adding more data" via annotations is dangerous. If you add counterfactuals as new rows in your dataset, you accidentally make certain states look more frequent than they actually are, poisoning the evaluation.
- Bias-Variance Synergy: Usually, in machine learning, there is a trade-off between bias and variance. Here, counterfactuals help both. They reduce bias by providing information on actions the historical data ignored, and they reduce variance by effectively increasing the "sample size" for every state visited.
- Robustness to "Human" Error: Real humans are noisy annotators. The authors found that even when annotations were perturbed with significant noise or were partially missing, the C-IS estimators still outperformed purely offline methods.
- Imputation as a Force Multiplier: If some annotations are missing (because expert time is expensive), the authors suggest using a model to "impute" or predict them based on the annotations you do have. This further stabilizes the evaluation.
Experimental Validation and Results
The researchers evaluated their approach using two primary environments: synthetic bandits (to verify theoretical properties) and a Sepsis Simulator. The Sepsis Simulator is a healthcare-inspired RL environment modeled after patient physiology, featuring 1,440 discrete states where policies must decide when to administer vasopressors.
On the Sepsis Simulator, the proposed C*-PDIS estimator showed dramatic improvements over standard Per-Decision Importance Sampling (PDIS):
- Accuracy: The Root Mean Squared Error (RMSE) dropped from 0.113 (standard) to 0.013 (C*-PDIS).
- Policy Ranking: The Spearman’s rank correlation (how well the tool ranks "good" vs "bad" policies) jumped from 0.596 to 0.995.
- Data Efficiency: The Effective Sample Size (ESS)—a measure of how much useful information is in the data—increased from roughly 77 to 994 for the same number of episodes.
Limitations and Future Work
While highly effective, the framework has practical limitations. Collecting high-quality annotations from domain experts is expensive and time-consuming. The paper does not fully address the "budgeting" problem of identifying which specific states are most critical to annotate.
Furthermore, while the model handles random noise well, it may struggle if humans have systematic biases (e.g., clinicians being consistently over-optimistic about a specific treatment). Future work points toward "Active Annotation"—designing algorithms that identify exactly which counterfactuals would most reduce the evaluation's uncertainty, thereby saving expert time and bridging the gap between mathematical OPE requirements and human-centric design.
Summary updated