Assisting Clinical Decisions for Scarcely Available Treatment via Disentangled Latent Representation

Bing Xue, Ahmed Sameh Said, Ziqi Xu, Hanyang Liu, Neel Shah, Hanqing Yang, Philip Payne, Chenyang Lu · DOI

TL;DR

The Treatment Variational AutoEncoder (TVAE) is a new deep generative model designed to guide clinical decisions for scarce, high-stakes treatments like ECMO for severe COVID-19 patients. By elegantly disentangling selection bias and natively upsampling rare treatment cases within a shared latent space, TVAE outperforms existing causal inference models in predicting both patient outcomes and treatment assignments.

What Problem Does This Paper Address?

In medicine, the most critical treatments are often the scarcest. Extracorporeal membrane oxygenation (ECMO)—a machine that takes over a patient's heart and lung functions—is a prime example. During the COVID-19 pandemic, demand for ECMO far outstripped availability, leaving clinicians with agonizing triage decisions.

To build a machine learning tool that helps decide who benefits most from such a treatment, researchers face three massive hurdles in observational Electronic Health Record (EHR) data:

  1. Strong Selection Bias: ECMO is only given to the sickest patients. Consequently, the features of the treatment group look radically different from the control group.
  2. Extreme Data Imbalance: Fewer than 3% of ICU patients receive ECMO, making it incredibly easy for standard models to overfit or simply ignore the treated minority.
  3. The Curse of Dimensionality: EHR data contains hundreds of sparse, partially observed lab tests and measurements, leading to severe overfitting when sample sizes are small.

Existing Individual Treatment Effect (ITE) models usually try to force the representations of the treated and control groups to be identical, which discards useful information about clinical decision-making policies. This paper addresses these gaps by embracing selection bias rather than erasing it.

Methods

The authors introduce the Treatment Variational AutoEncoder (TVAE), which builds on the standard VAE architecture but introduces three novel components:

Overview of the TVAE framework showing Joint Inference, Distribution Balancing, and Label Balancing modules.
  • Treatment Joint Inference: Instead of using separate auxiliary networks to predict outcomes, TVAE embeds the treatment assignment ($\hat{W}$), the factual outcome ($\hat{Y}(1)$), and the counterfactual outcome ($\hat{Y}(0)$) directly into the first three dimensions of the latent space $Z$. The rest of the network regularizes these predictions via unsupervised data reconstruction.
  • Distribution Balancing: Instead of forcing the entire latent space to match between groups, TVAE disentangles the selection bias. It funnels the bias into the treatment assignment dimension ($Z^1$) to improve propensity scoring. The remaining dimensions ($Z^4$ to $Z^d$) capture non-confounding patient characteristics and are balanced across groups using a combination of mini Total Correlation (TC) minimization and Maximum Mean Discrepancy (MMD) regularization.
  • Label Balancing: To combat the extreme scarcity of treatment cases, TVAE leverages its own generative decoder. It samples "fake" patient representations from the learned posterior distribution of the real ECMO cases, effectively upsampling the minority class without distorting the true patient distribution.

Datasets

TVAE was validated on two massive, heterogeneous real-world COVID-19 datasets and one standard synthetic benchmark:

  • ISARIC Dataset: An international cohort spanning 118,801 ICU patients across 1,651 hospitals in 63 countries. Only 1.22% (1,451 patients) received ECMO.
  • BJC Dataset: A regional dataset from 15 hospitals within the Barnes Jewish HealthCare system, containing 6,016 ICU patients (2.23% received ECMO).
  • IHDP Dataset: A standard semi-synthetic benchmark (747 subjects) derived from the Infant Health and Development Program, used to evaluate true counterfactual estimation performance.

Key Insights and Ideas

  • Bias as a Feature, Not a Bug: Traditional causal ML models try to strip away selection bias so the treatment and control distributions look identical. TVAE realizes that selection bias contains the "clinical wisdom" of why a doctor chose to treat a patient. By isolating bias into a single latent dimension, TVAE uses it to improve propensity scoring while keeping the other dimensions clean and balanced.
  • Native Generative Upsampling: Dealing with a 1% minority class usually requires clumsy data augmentation techniques like SMOTE. TVAE elegantly solves this by using its own latent space to generate synthetic, clinically realistic minority patients during training.
Figure 2: Latent Distributions of treatment and control groups in unsupervised dimensions with and without Distri- bution Balancing module. Left: with Distribution Balancing; Right: without Distribution Balancing; Top: BJC Dataset; bot- tom: ISARIC Dataset.

Key Results

TVAE consistently outperformed state-of-the-art models (including BART, Causal Forests, CEVAE, and Dragonnet) across all datasets.

  • Real-World Data: On the highly complex ISARIC dataset, TVAE achieved the highest AUPRC (.2970) and AUROC (.9431) for treatment assignment, while simultaneously matching or beating SOTA models in predicting factual patient survival.
  • Clinical Impact: When fixing a high specificity of 0.95, TVAE achieved a sensitivity of 0.84 on the BJC dataset compared to BART's 0.71. In practice, this improvement translates to correctly identifying 374 more patients who genuinely needed ECMO across both datasets.
  • Synthetic Benchmark: On the IHDP dataset, TVAE achieved the lowest error in Individual Treatment Effect estimation ($\epsilon_{PEHE} = 1.18$), outperforming the next best model (TARNET) which sat at 1.24.

Limitations and Future Work

The authors note that TVAE relies on the standard causal inference assumption of No Unmeasured Confounding. If a clinician makes an ECMO decision based on an intuitive, qualitative factor not recorded in the EHR, the model's accuracy could degrade. Furthermore, evaluating counterfactuals in the real world remains inherently impossible, meaning the model must be treated as a clinical assistant rather than an autonomous decision-maker. Future work will focus on how to safely integrate these risk-stratification insights directly into live ICU workflows.

Summary updated

BibTeX
@inproceedings{xue2023assisting,
  author = {Bing Xue and Ahmed Sameh Said and Ziqi Xu and Hanyang Liu and Neel Shah and Hanqing Yang and Philip Payne and Chenyang Lu},
  title = {{Assisting Clinical Decisions for Scarcely Available Treatment via Disentangled Latent Representation}},
  booktitle = {KDD},
  year = {2023},
  url = {https://openreview.net/forum?id=p0KdO1ZJjI},
}
Figure