Model-Free and Model-Based Policy Evaluation when Causality is Uncertain

David Bruns-Smith

TL;DR

This paper tackles the "hidden variable" problem in Reinforcement Learning, where unobserved factors influence both the actions taken and the resulting outcomes. By distinguishing between hidden variables that change every step (IID) versus those that persist over time, the author develops a new "Robust MDP" framework that provides much tighter, more practical bounds for evaluating new policies using historical data.

What Problem Does This Paper Address?

In Reinforcement Learning, Off-Policy Evaluation (OPE) is the task of predicting how well a new strategy (the evaluation policy) will perform using only data collected by an old strategy (the behavior policy). This is crucial in high-stakes fields like medicine or macroeconomics, where you can't just "test" a new drug or interest rate hike on a whim.

The "elephant in the room" for OPE is unobserved confounding. Standard algorithms assume "unconfoundedness"—the idea that we've recorded every variable that influenced the original decision-maker. In reality, a doctor might prescribe a treatment based on a patient's "frailty" or "socio-economic status," variables often missing from electronic health records. If these hidden factors also affect the patient's recovery, our evaluation of a new policy will be hopelessly biased.

Existing methods for handling this either produce "vacuous" bounds (estimates so wide they are useless) or are computationally impossible to solve for long-term scenarios. This paper asks: Why are current bounds so conservative, and how can we use domain knowledge to sharpen them?

Methods

The author introduces two primary ways to compute "worst-case" lower bounds on a policy's value:

  1. Confounded Fitted Q-Evaluation (FQE): This is a model-free approach. The author adapts the standard FQE algorithm by introducing a sensitivity parameter, $\Gamma$ (Gamma). $\Gamma$ represents the maximum "odds ratio" by which a hidden variable can change the probability of an action. Using a clever reparameterization trick, the author turns the search for the worst-case bias into a tractable Linear Program (LP) that can be solved efficiently.
  2. Robust MDPs (Model-Based): This is the paper's "sharper" tool. Beyond just bounding the policy ($\Gamma$), the author introduces a second parameter, $\Delta$ (Delta), which bounds how much the hidden variable can affect state transitions. By treating the problem as an "s-rectangular" Robust Markov Decision Process, the author can incorporate domain expertise (e.g., "we know a hidden shock can't make a car teleport across the map") to rule out impossible worst-case scenarios and tighten the results.

Crucially, these methods rely on Assumption 1: that unobserved confounders are "memoryless" (IID), meaning they are redrawn every time step rather than sticking around.

Datasets

The methods were evaluated using the OPE-Tools benchmark suite, which includes four discrete environments:

  • Toy: A small, 3-state problem for proof-of-concept.
  • OPE-Graph: A graph-based environment with 8 states.
  • Mountain Car (OPE-MC): A classic RL task (22 states) where an underpowered car must climb a hill.
  • Gridworld (OPE-Gridworld): A 16-state navigation task.
Environment details and baseline values

The author augmented these environments with synthetic hidden variables to test how well the bounds held up against known "ground truth" values.

Key Insights and Ideas

  • The IID vs. Persistent Divide: The most significant "aha moment" is the realization that the difficulty of OPE depends almost entirely on the persistence of the hidden variable. If the confounder is IID (changes every step), the system remains a "marginal MDP" and is relatively easy to bound. If it's persistent (stays the same), it becomes a Partially Observed MDP (POMDP), where bounds naturally become extremely conservative.
  • Model-Based > Model-Free: Purely model-free methods (like FQE) are "pessimistic" because they allow the hidden variable to manipulate the data in ways that violate the laws of physics or logic. By adding a transition bound ($\Delta$), Robust MDPs use the "structure" of the world to ignore those impossible worst-cases.
  • Resolving Literature Conflicts: The paper explains why previous researchers reached wildly different conclusions: one group implicitly assumed IID confounders, while another did not. This paper bridges that gap by showing exactly how much that assumption matters.

Key Results

  • Sharper Bounds: In the Mountain Car and Graph environments, the Robust MDP bounds were significantly higher (less conservative) than the FQE bounds. While FQE bounds often dropped below the value of the original behavior policy (making the new policy look "risky"), the Robust MDP bounds correctly identified that the new policy was still superior.
Impact of transition bounds (Delta) on expected value across different Gamma values
  • Tightness: The author proved that for single-step transitions, the Robust MDP approach is "tight"—meaning it finds the absolute best possible lower bound given the sensitivity parameters.
  • The "Curse" of Persistence: When compared to methods that don't assume IID confounders, the author's method was orders of magnitude less conservative, highlighting that the IID assumption is a powerful (though sometimes risky) lever for practitioners.

Limitations and Future Work

The biggest limitation is Assumption 1. In many real-world cases, like medicine, hidden variables (like chronic illness or genetics) are highly persistent. The author admits that their IID-based bounds are likely too optimistic for these scenarios.

Future work is needed to develop "tractable" bounds for persistent confounders that aren't as "vacuous" as current methods. Additionally, the sensitivity parameters ($\Gamma$ and $\Delta$) must be provided by a human expert; finding ways to suggest or bound these parameters using data remains an open challenge.

Summary updated

BibTeX
@inproceedings{brunssmith2021model,
  author = {David Bruns-Smith},
  title = {{Model-Free and Model-Based Policy Evaluation when Causality is Uncertain}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
}
Figure