Introduction
Deep causal generative models are increasingly utilized to answer "what-if" counterfactual questions, such as predicting how a medical image might change given different patient attributes. These models are particularly valuable in medical imaging for balancing datasets and enhancing AI interpretability. However, a significant bottleneck is their reliance on fully labeled training data. In clinical practice, datasets are often incomplete, with missing attributes rendering standard causal models ineffective. This paper introduces a semi-supervised framework designed to train robust causal models using partially labeled data.
Methodology
The proposed framework integrates Structural Causal Models (SCMs) with Hierarchical Variational Autoencoders (HVAEs). The architecture consists of several key components:
- Predictive Inference: An encoder-based component imputes missing labels during training, enabling the model to utilize unlabeled or partially labeled samples.
- Causal Consistency Regularization: Drawing from semi-supervised learning principles, the authors enforce causal consistency. By perturbing an input image via a causal intervention (e.g., modifying an "effect" variable), the model ensures that the "cause" variable remains invariant, adhering to the underlying causal graph.
- Uncertainty-Aware Weighting: To handle the noise in imputed labels, the model weights its learning based on the entropy of its predictions, prioritizing more certain guesses.
Experimental Setup
The model was evaluated on two datasets:
- Colour Morpho-MNIST: A semi-synthetic dataset where causal relationships between digit type, thickness, intensity, and color are explicitly controlled.
- MIMIC-CXR: A large-scale clinical dataset of chest X-rays with a causal graph including age, sex, race, and disease status (e.g., pleural effusion).
Key Insights and Results
The research yielded several critical insights into causal modeling:
- Independence of Cause and Mechanism (ICM): The authors observed that labeling the effect variable is often more informative for learning the joint distribution than labeling the cause variable when labels are scarce.
- Causal Graphs as Priors: The Directed Acyclic Graph (DAG) structure serves as a powerful regularizer, helping the model learn more robust representations than standard VAEs.
- Label Efficiency: The semi-supervised (SSL) approach demonstrated remarkable efficiency. On Morpho-MNIST, it achieved high counterfactual accuracy with only 1,000 labeled samples (1.67% of the data), significantly outperforming supervised baselines.
On the MIMIC-CXR dataset, the SSL model consistently surpassed supervised counterparts across various label-scarcity scenarios (10% to 50% labeling). Qualitative results further confirmed the model's ability to generate anatomically consistent counterfactual images, such as aging a patient's X-ray while maintaining original anatomical features.
Conclusion and Future Work
While the framework significantly reduces data requirements, it currently relies on a pre-defined DAG. Future research will focus on automated DAG discovery from data and utilizing generated counterfactuals as data augmentation to improve downstream diagnostic classifiers, especially for underrepresented populations.
Summary updated