Contrastive Balancing Representation Learning for Heterogeneous Dose-Response Curves Estimation

Minqin Zhu, Anpeng Wu, Haoxuan Li, Ruoxuan Xiong, Bo Li, Xiaoqing Yang, Xuan Qin, Peng Zhen, Jiecheng Guo, Fei Wu, Kun Kuang

Introduction

Estimating individual responses to varying levels of continuous treatment—known as dose-response curves—is a critical task in fields such as precision medicine and public policy. However, observational data often suffers from confounding bias, where treatment assignment is correlated with patient characteristics. CRNet (Contrastive balancing Representation learning Network) addresses this by introducing a "double balancing" framework. This approach ensures that learned representations are simultaneously unbiased by treatment assignment and highly predictive of outcomes, significantly outperforming existing methods on high-dimensional causal inference tasks.

The Challenge of Continuous Treatment

In precision medicine, understanding how a patient’s health changes across a spectrum of dosages is vital. Calculating this from observational data is difficult because doctors may systematically prescribe higher doses to sicker patients. A naive analysis might incorrectly suggest the drug causes poorer health.

To mitigate this, researchers learn a "representation" (compressed features) of patient data that is independent of the treatment. This faces two major hurdles:

  1. Balancing vs. Prognosis: Over-balancing can discard information essential for predicting outcomes (prognostic information).
  2. Continuous Treatments: Most models are designed for binary treatments. Continuous "doses" are often discretized, which sacrifices precision and breaks the continuity of the response curve.

Methodology: CRNet

CRNet relies on three primary components to achieve robust dose-response estimation:

  • Double Balancing Representation: The framework theoretically defines a condition where the learned representation $\Phi(X)$ is conditionally independent of both the treatment ($T$) and the potential outcomes ($Y$). This ensures the model retains prognostic power while eliminating confounding bias.
  • Two-Head Architecture: As shown in the architecture diagram, the network utilizes separate encoders for covariates ($X$) and treatments ($T$). These representations are concatenated and passed to an outcome estimator, allowing the model to handle continuous treatments naturally.
The CRNet architecture featuring dual encoders and a two-head outcome estimator.
  • Contrastive Regularizer (CR): To enforce balancing without information loss, CRNet employs contrastive learning. It treats original data as "positive samples" and generates "negative samples" by shuffling covariates. A partial distance measure is then used to minimize dependence between covariates and treatment in the representation space.
The contrastive regularizer process for constructing positive and negative sample pairs.

Experimental Evaluation

The model was evaluated on several benchmarks:

  • Synthetic Data: Custom datasets with varying treatment and covariate dimensions to test scalability.
  • IHDP (Infant Health and Development Program): A standard clinical trial benchmark modified for continuous treatments.
  • News Dataset: A semi-synthetic dataset based on news article features, testing performance on high-dimensional, sparse data.

Key Insights

  • The "Double Balancing" Necessity: Treatment-balanced representations often fail by ignoring the outcome during balancing. CRNet avoids this "information loss" trap by satisfying both balancing and prognostic conditions.
  • Preventing Mode Collapse: Representation learning can suffer from "mode collapse," where different inputs map to the same representation. The contrastive loss effectively prevents this by comparing real pairs to shuffled pairs.
  • Maintaining Continuity: By avoiding discretization, CRNet preserves the subtle differences in response across continuous dose levels, which is crucial for accurate medical applications.

Results

CRNet consistently achieved the lowest Mean Integrated Square Error (MISE) across all datasets. On the IHDP-1 dataset, CRNet achieved an MISE of 0.22, outperforming SCIGAN (0.65) and VCNet (1.28). On the high-dimensional News-16 dataset, CRNet (9.18) significantly outperformed DRNet (26.1) and VCNet (25.3). Ablation studies confirmed that removing either the prognostic or balancing constraints led to a sharp drop in performance.

Limitations and Future Work

CRNet assumes "unconfoundedness"—that no hidden variables affect both treatment and outcome. If unmeasured confounders exist, bias remains. Additionally, the weight of the contrastive loss ($\alpha$) requires careful tuning. Future research may explore alternative conditional dependence measures to further improve balancing efficiency in extremely high-dimensional settings.

Summary updated

BibTeX
@inproceedings{zhu2024contrastive,
  author = {Minqin Zhu and Anpeng Wu and Haoxuan Li and Ruoxuan Xiong and Bo Li and Xiaoqing Yang and Xuan Qin and Peng Zhen and Jiecheng Guo and Fei Wu and Kun Kuang},
  title = {{Contrastive Balancing Representation Learning for Heterogeneous Dose-Response Curves Estimation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29663},
}
Figure