NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Case-based off-policy policy evaluation using prototype learning

Anton Matsson, Fredrik D. JohanssonarXiv 2021

TL;DR

This paper introduces a novel "prototype learning" approach to improve the interpretability and diagnostic capabilities of off-policy policy evaluation (OPPE) when the behavior policy is unknown. By representing the behavior policy as a collection of interpretable "prototypes" (representative patient cases), the method allows domain experts to better understand discrepancies between target and behavior policies, leading to more trustworthy evaluations.

What Problem Does This Paper Address?

Off-policy policy evaluation (OPPE) is crucial for learning optimal decision-making strategies from historical data, especially in fields like healthcare where real-world experimentation is risky. A common technique for OPPE is Importance Sampling (IS), which estimates the value of a new (target) policy using data collected under a different (behavior) policy. However, IS suffers from significant challenges when the behavior policy is unknown and must be learned from data. This often leads to high variance in estimates, especially when the target and behavior policies differ substantially. Furthermore, if the behavior policy is learned using "black-box" models (like neural networks), it's difficult for domain experts to understand why the estimates are what they are, making it hard to diagnose issues like poor data overlap or identify specific scenarios where policies diverge. This lack of transparency hinders trust and the ability to improve decision-making systems.

Methods

The core contribution of this paper is the use of prototype learning to estimate the behavior policy for Importance Sampling. Instead of a traditional black-box model, the behavior policy $\mu$ is modeled as a function that maps a patient's history (context) to an action, based on its similarity to a small set of learned prototypes. These prototypes are essentially representative patient trajectories from the training data, selected by the learning algorithm.

Here's a breakdown of the approach:

  • Prototype Representation: The behavior policy $\mu(A|H)$ is approximated by learning a set of $n$ latent prototypes $\tilde{z}_j$ and an encoder $e$ that maps patient histories $H$ to an embedding space. The similarity between a history's embedding and each prototype is then used to predict the action probabilities.
  • Learning the Model: The encoder, prototypes, and policy coefficients are learned jointly by minimizing a regularized negative log-likelihood objective on the observational data. Regularization terms encourage diversity among prototypes and ensure they are representative of the data.
  • Interpretable Policy: The learned prototypes, along with their associated policy coefficients, provide a more interpretable representation of the behavior policy. Domain experts can examine these prototypes to understand which patient types are represented and how the learned policy treats them.
  • Stratified Value Estimation: The paper extends this by showing how to stratify the estimated policy value $V(\pi)$ by prototype. This allows experts to see which types of patient histories (represented by prototypes) contribute most to the value of a target policy, answering questions about why a policy is better or worse.

Datasets

  • MIMIC-III Database: This is a publicly available critical care database containing de-identified health-related data for over 40,000 patients. The authors used a subset of this data to evaluate their method on sepsis management.
  • Sepsis Simulator: A synthetic environment for sepsis management, provided by Oberst and Sontag (2019), was used to quantitatively estimate the bias introduced by the prototype-based models and to study the effect of sequence length on importance weights.

Key Insights and Ideas

  • Transparency through Prototypes: The most significant insight is that representing the behavior policy with interpretable prototypes dramatically improves transparency. This allows domain experts to move beyond aggregate metrics and understand the policy's behavior on specific, representative patient cases.
  • Diagnosing Overlap Issues: Prototypes help identify areas of low overlap between the behavior and target policies. By examining which prototypes are associated with high importance weights or are rarely encountered by the behavior policy, researchers can pinpoint where the evaluation might be unreliable.
  • Stratifying Value for Deeper Understanding: The ability to decompose the estimated policy value by prototype is a powerful diagnostic tool. It reveals which patient subgroups or scenarios are driving the differences in estimated values between policies, offering actionable insights.
  • Trade-off between Simplicity and Accuracy: While prototype-based models offer interpretability, they might introduce some bias compared to complex black-box models. The paper investigates this trade-off, showing that with a reasonable number of prototypes, the accuracy can be competitive.

Key Results

  • Comparable Accuracy: The prototype-based models (ProNet and ProSeNet) achieved accuracy comparable to baseline estimators like Random Forest (RF), Feedforward Neural Networks (FNN), and Recurrent Neural Networks (RNN) in estimating the behavior policy on the MIMIC-III sepsis data.
  • Interpretability Demonstrated: The paper successfully demonstrates how prototypes can be used to interpret policy decisions. For example, they show how prototypes can highlight differences in treatment recommendations between the AI Clinician and the physician-learned behavior policy for specific patient profiles.
  • Bias Analysis: Using the sepsis simulator, the authors quantified the bias introduced by prototype-based models. They found that while there is a slight increase in absolute difference from the true value compared to a plain FNN, this difference is manageable and can be further reduced with more prediction prototypes.
  • Impact of Sequence Length: The study showed that as sequence length increases, the ratio of importance weights under the true behavior policy and its estimated version can diverge significantly, especially for simpler models. Prototype-based models, particularly with more prediction prototypes, showed less divergence.

Limitations and Future Work

  • Approximation Error: The authors acknowledge that restricting the model class to use prototypes might introduce approximation error, potentially leading to bias in the estimated policy value. They suggest future work on theoretical analysis of this approximation error.
  • Hyperparameter Tuning: The performance of prototype models is sensitive to hyperparameters like the number of prototypes ($n$) and prediction prototypes ($q$). While they explored some settings, further optimization might be beneficial.
  • Generalizability: While demonstrated on sepsis treatment, the generalizability of this approach to other complex sequential decision-making domains with high-dimensional state spaces could be explored.
  • Theoretical Guarantees: The paper focuses on empirical demonstration and qualitative insights. Future work could aim to provide stronger theoretical guarantees on the bias and variance properties of prototype-based OPPE.

Summary updated

BibTeX
@misc{matsson2021case,
  author = {Anton Matsson and Fredrik D. Johansson},
  title = {{Case-based off-policy policy evaluation using prototype learning}},
  year = {2021},
  eprint = {2111.11113},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.11113},
}

Loading related content...

Figure