Cycle-Balanced Representation Learning For Counterfactual Inference

Guanglin Zhou, Lina Yao, Xiwei Xu, Chen Wang, Liming Zhu

TL;DR

Cycle-Balanced Representation Learning (CBRE) is a new framework designed to predict "what-if" scenarios (counterfactuals) from observational data. By combining adversarial training to fix selection bias with a "cycle-consistency" loop to prevent information loss, CBRE achieves state-of-the-art accuracy in estimating individual treatment effects across multiple real-world benchmarks.

What Problem Does This Paper Address?

In fields like healthcare or economics, we often want to know the Individual Treatment Effect (ITE): for example, "Would this specific patient have recovered faster if they received surgery instead of medication?"

The "gold standard" for answering this is a Randomized Controlled Trial (RCT), but these are often expensive, slow, or unethical. Instead, researchers turn to observational data (like existing medical records). However, observational data has two massive hurdles:

  1. Selection Bias: Treatments aren't assigned randomly. Doctors might give expensive surgery only to wealthier patients or specific medication only to the most severe cases. This creates a "distribution discrepancy" between groups.
  2. The Counterfactual Problem: We only ever see what actually happened. We never see the alternative outcome for the same person at the same time.

Existing methods try to map data into a "latent space" where the treatment and control groups look similar. The danger here is information loss: if you force two different groups to look identical in the latent space, you might accidentally throw away the very features needed to predict their health outcomes.

Methods

The authors propose CBRE, which uses a four-part neural network architecture:

  • Encoder: Maps raw patient data (covariates) into a latent representation.
  • Discriminator (Adversarial Training): Based on Wasserstein GANs (WGAN), this component tries to guess if a latent vector belongs to the treatment or control group. The encoder is trained to "fool" the discriminator, effectively stripping away the selection bias.
  • Information Loop (Decoders): This is the paper's core innovation. To prevent the encoder from losing vital info, the authors add two decoders that try to reconstruct the original data from the latent space. They implement a cycle-consistency loss (similar to CycleGAN): if you transform data from the "treatment domain" to the "control domain" and back, it should remain consistent with the original input.
  • Outcome Prediction Network: Finally, this network uses the balanced, information-rich latent features to predict the factual and counterfactual outcomes.

Datasets

The model was evaluated on three standard benchmarks in causal inference:

  • IHDP: A semi-synthetic dataset based on a real infant health development program. It contains 747 units with 25 features.
  • Jobs: A real-world dataset combining an RCT (the National Supported Work program) with observational data (PSID). It measures the effect of job training on income.
  • Twins: A semi-synthetic dataset derived from real twin births in the US (1989-1991), where "treatment" is being the heavier twin and the "outcome" is mortality.

Key Insights and Ideas

  • The "Information Loop" is Critical: The authors argue that balancing distributions (making groups look the same) is a double-edged sword. By adding reconstruction and cycle-consistency losses, they ensure the latent space retains "highly predictive information" that would otherwise be lost during the balancing process.
  • Stability via WGAN: Using Wasserstein GAN loss with a gradient penalty helps stabilize the adversarial training, which is notoriously finicky in representation learning.
  • Trading off Bias and Variance: The model effectively manages the trade-off between reducing selection bias (via the discriminator) and maintaining predictive power (via the cycle loop).

Key Results

CBRE outperformed or matched 10 state-of-the-art baselines (including popular models like CFR-Wass and SITE) across almost every metric:

  • IHDP: Achieved a 30% improvement in the Rooted Precision in Estimation of Heterogeneous Effect ($\sqrt{\epsilon_{PEHE}}$) for both in-sample and out-sample cases.
  • Twins: Achieved the highest Area Under the ROC Curve (AUC) for predicting outcomes (0.86 in-sample, 0.88 out-sample).
  • Jobs: Achieved the lowest policy risk ($R_{pol}$), indicating better decision-making for treatment assignments.
  • Visualization: t-SNE plots confirmed that CBRE creates a much more "merged" and balanced latent space compared to raw data or competing methods, proving it successfully handles distribution shift.

Limitations and Future Work

  • Binary Treatments Only: Currently, the model is designed for binary choices (Treatment A vs. Control). The authors suggest that adding more decoders could scale the model to handle multiple treatment types in the future.
  • The "Unconfoundedness" Assumption: Like most current ITE models, CBRE assumes there are no "hidden confounders" (unobserved variables that affect both treatment and outcome). The authors express interest in relaxing this assumption in future iterations.
  • Computational Complexity: The addition of multiple decoders and adversarial training increases the training overhead compared to simpler regression-based models.

Summary updated

BibTeX
@inproceedings{zhou2022cycle,
  author = {Guanglin Zhou and Lina Yao and Xiwei Xu and Chen Wang and Liming Zhu},
  title = {{Cycle-Balanced Representation Learning For Counterfactual Inference}},
  booktitle = {SDM},
  year = {2022},
  doi = {10.1137/1.9781611977172.50},
}
Figure