Identifiable Energy-based Representations: An Application to Estimating Heterogeneous Causal Effects

Yao Zhang, Jeroen Berrevoets, Mihaela van der Schaar

Introduction

Estimating the Conditional Average Treatment Effect (CATE)—the impact of a treatment on a specific individual—is a cornerstone of personalized medicine and evidence-based policy. However, as researchers include more covariates to satisfy the "strong ignorability" assumption, they frequently encounter the "curse of dimensionality." High-dimensional data makes it difficult to find comparable treated and control units, leading to biased or high-variance estimates.

A recent study presented at AISTATS 2022 introduces a novel approach: using a specialized Energy-Based Model (EBM) to learn low-dimensional, "identifiable" representations of high-dimensional covariates. These representations provide a stable foundation for downstream causal inference.

The Challenge: Dimensionality and Identifiability

Causal inference from observational data relies on the assumption that all confounders are measured. While collecting hundreds of variables helps satisfy this, it creates two primary issues:

  1. Sparsity: In high-dimensional spaces, data points are sparse. Finding a "control" patient who matches a "treated" patient becomes statistically improbable, leading to poor overlap.
  2. Instability (Non-identifiability): Standard deep learning models, such as Autoencoders (AE), are not identifiable. Different training runs can yield different latent representations for the same data distribution. For causal tasks, this instability translates into inconsistent treatment effect estimates.

Proposed Method: Partially Randomized EBMs

The authors propose a Partially Randomized Energy-Based Model as a preprocessing step to compress covariates into a stable $k$-dimensional space.

Architecture and Identifiability

The model defines a representation $f_\theta(x)$ via a neural network. To ensure identifiability, the authors introduce a geometric constraint: a fixed, random orthogonal matrix $B$ that remains unlearned during training. This constraint prevents the latent space from arbitrary rotations or shifts, ensuring that the learned features are consistent across different initializations.

Training via Noise Contrastive Estimation (NCE)

EBMs typically require calculating a complex normalization constant (the partition function). To avoid this, the authors employ Noise Contrastive Estimation (NCE), reframing the learning process as a classification task where the model distinguishes real data from synthetic noise. Despite the added constraints, the authors prove the model maintains "universal approximation" capabilities.

Experimental Evaluation

The EBM was tested against standard benchmarks, including synthetic data, the Twins dataset (simulating mortality effects in twin births), and the Infant Health and Development Program (IHDP) dataset.

Key Results

The primary metric for evaluation was the Precision of Estimating Heterogeneous Effects (PEHE). The EBM-based representations consistently outperformed raw data and traditional dimensionality reduction techniques across various CATE learners (X-learner, R-learner, etc.).

Stability and variance comparison: The EBM achieves higher Mean Correlation Coefficient (MCC) and lower standard deviation in treatment effect estimates compared to standard Autoencoders as sample size increases.

As shown in the figure above, the EBM's representations become increasingly stable (MCC approaching 1.0) as sample size grows, whereas standard Autoencoders remain unstable. This stability directly correlates with more precise treatment effect estimates.

Performance comparison on the Twins dataset: The EBM significantly outperforms standard methods like PCA, Factor Analysis (FA), and Autoencoders (AE) in terms of PEHE (lower is better).

On the Twins dataset, the EBM achieved a PEHE of approximately 0.145, drastically outperforming the standard Autoencoder (0.580) and classical methods like PCA (1.092).

Conclusion

By enforcing identifiability through partial randomness, this Energy-Based approach bridges the gap between high-dimensional data collection and robust causal inference. The resulting representations are not only lower-dimensional—improving overlap between treated and control groups—but also mathematically stable, leading to significantly more accurate personalized treatment effect estimates. Future work may extend this framework to time-series data and improve the interpretability of the learned latent dimensions.

Summary updated

BibTeX
@inproceedings{zhang2022identifiable,
  author = {Yao Zhang and Jeroen Berrevoets and Mihaela van der Schaar},
  title = {{Identifiable Energy-based Representations: An Application to Estimating Heterogeneous Causal Effects}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure