Conservative Policy Construction Using Variational Autoencoders for Logged Data with Missing Values

Mahed Abroshan, Kai Hou Yip, Cem Tekin, Mihaela van der SchaarIEEE TNNLS 2021 · DOI

Abstract

In high-stakes applications of data-driven decision making like healthcare, it is of paramount importance to learn a policy that maximizes the reward while avoiding potentially dangerous actions when there is uncertainty. There are two main challenges usually associated with this problem. Firstly, learning through online exploration is not possible due to the critical nature of such applications. Therefore, we need to resort to observational datasets with no counterfactuals. Secondly, such datasets are usually imperfect, additionally cursed with missing values in the attributes of features. In this paper, we consider the problem of constructing personalized policies using logged data when there are missing values in the attributes of features in both training and test data. The goal is to recommend an action (treatment) when $\tilde{X}$, a degraded version of $X$ with missing values, is observed. We introduce a conservative strategy where the policy is designed to safely handle the uncertainty due to missingness. To implement this strategy, we estimate the posterior distribution $p(X|\tilde{X})$ using Partial Variational Autoencoders (PVAE), which are designed to capture the underlying structure of features with missing values.

Introduction

In high-stakes fields like healthcare, data-driven decision-making isn't just about finding the "best" average outcome—it’s about avoiding the worst ones. When working with real-world observational data, researchers often face a "double curse": they cannot perform active experiments (no counterfactuals), and the data they do have is often riddled with missing values. Standard policy-learning algorithms often assume complete information, but in reality, datasets are "logged" (observational) and "incomplete" (missing attributes).

Standard approaches often rely on simple imputation—"filling in the blanks"—and proceeding as if the data were complete. However, this ignores the inherent uncertainty created by missing values. If a patient's condition is uncertain, choosing an action that is "best on average" might lead to a disastrous result if the patient happens to be in a rare, high-risk state. This paper proposes a robust framework to navigate these challenges using deep generative models and a safety-first mindset.

Methodology

The core of the proposed framework combines Partial Variational Autoencoders (PVAE) with a Conservative Strategy to handle uncertainty.

Partial VAEs for Missingness

Unlike standard VAEs, PVAEs are specifically designed to handle inputs with varying dimensions. They map observed features to a latent space, allowing the model to estimate the posterior distribution of the missing values. The authors propose two primary estimation architectures:

  1. SPVAE (Similarity-based): Uses the PVAE to calculate similarity scores between a new case and existing data points to estimate potential rewards.
  2. CPVAE (Conditional): An end-to-end architecture where the reward itself is treated as a missing attribute to be reconstructed by the decoder alongside the features.
The CPVAE structure treats the reward as an attribute to be reconstructed alongside the missing features.

The Conservative Strategy

Instead of maximizing the expected reward, which can be risky under high uncertainty, the authors propose a max-min criterion. The algorithm evaluates all "likely enough" scenarios for the missing data and chooses the action that provides the best "worst-case" outcome. A tuning parameter, $c$, allows practitioners to adjust the level of prudence: a lower $c$ results in a more conservative policy that prioritizes safety over average performance.

Experimental Evaluation

The methods were evaluated across three distinct domains:

  • MNIST: Reframed as a bandit problem where actions are digit predictions. 50% of pixels were erased to simulate missingness.
  • IHDP (Infant Health and Development Program): A benchmark for treatment effect literature used to measure the Average Treatment Effect (ATE).
  • OhioT1DM: A real-world medical dataset containing blood glucose levels and insulin doses for Type 1 diabetes patients, simulating high-stakes clinical recommendations.

Key Results and Discussion

The results demonstrate a clear trade-off between average reward and safety. On the IHDP dataset, both SPVAE and CPVAE outperformed state-of-the-art baselines in estimating treatment effects, particularly when missingness reached 50%.

On the MNIST dataset, the impact of the prudence parameter $c$ was evident. As $c$ decreased (making the model more conservative), the expected reward dropped slightly, but the frequency of "catastrophic" outcomes (very low rewards) was significantly reduced. As shown in the action distributions below, a highly conservative policy ($c=0.001$) causes the model to converge on a single "safest" action to avoid high-loss scenarios, whereas a less conservative policy ($c=0.7$) allows for more diverse actions based on expected rewards.

Action distributions across varying levels of prudence (c), showing how the model converges to safer actions as c decreases.

Conclusion

This research highlights that missing data in high-stakes environments should be treated as a source of risk rather than just a technical nuisance. By explicitly modeling the distribution of missing values through PVAEs and employing a max-min conservative strategy, it is possible to identify actions that remain safe across all probable realities. While this approach may sacrifice some average performance, it effectively eliminates catastrophic failures, making it a vital tool for sensitive applications like clinical decision support.

Summary updated

BibTeX
@article{abroshan2021conservative,
  author = {Mahed Abroshan and Kai Hou Yip and Cem Tekin and Mihaela van der Schaar},
  title = {{Conservative Policy Construction Using Variational Autoencoders for Logged Data with Missing Values}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2021},
  doi = {10.1109/tnnls.2021.3136385},
}
Figure