Learning Treatment Representations for Downstream Instrumental Variable Regression

Shiangyi Lin, Hui Lan, Vasilis Syrgkanis

Introduction

In causal inference, the Instrumental Variable (IV) method is a gold standard for estimating treatment effects in the presence of unobserved confounding—hidden factors that influence both the treatment and the outcome. However, classical IV methods are bound by the "order condition," which dictates that one generally needs at least as many instruments ($Z$) as treatments ($X$).

In modern applications, this requirement is a massive bottleneck. Consider a clinical setting where a patient's treatment plan consists of thousands of possible billing codes (high-dimensional $X$), but the only available instrument is a simple, low-dimensional variable like the patient's distance to the hospital or their randomly assigned physician.

To bypass this, practitioners often employ a two-step "hack": using unsupervised dimension reduction like Principal Component Analysis (PCA) or standard autoencoders to compress the treatments into a low-dimensional representation, followed by standard IV analysis. This paper demonstrates that this approach is fundamentally flawed. Standard compression ignores the instrument, often discarding the subtle, causally relevant variations driven by the instrument while preserving high-variance noise correlated with hidden confounders. This results in omitted treatment bias, rendering the downstream causal estimates highly inaccurate.

Instrument-Guided Representation Learning (IGRL)

To bridge this causal gap, the authors introduce Instrument-Guided Representation Learning (IGRL). Instead of learning a representation in a vacuum, IGRL integrates the instrument directly into the bottleneck of the representation model, forcing it to prioritize instrument-relevant information.

The framework offers two primary approaches depending on the linearity of the data:

  1. LIRR (Linear Instrument Regularized Representation): For linear settings, the authors apply a thin Singular Value Decomposition (SVD) on the coefficients of a regression of $X$ on $Z$. This isolates the specific subspace of the treatment that responds to the instrument.
  2. IRAE (Instrument Regularized Auto-Encoder): For nonlinear settings, they develop a specialized autoencoder. The loss function extends beyond simple input reconstruction by incorporating:
  3. Instrument Alignment: A penalty ensuring the latent representation ($D$) can be predicted by the instrument ($Z$).
  4. Independence Constraints: Utilizing the Hilbert-Schmidt Independence Criterion (HSIC) to ensure that the instrument-driven components of the treatment are statistically independent of both the non-instrument-driven components and the instruments themselves.

The Pipeline: Once this "causally aware" representation is learned, IV regression is performed in the latent space to identify an "outcome-improving direction." Crucially, the model's decoder is then used to map that latent direction back into the original high-dimensional space, translating an abstract causal signal into specific, actionable interventions (e.g., a concrete set of clinical procedures).

Experimental Validation

The authors validated IGRL using two primary benchmarks that highlight the failures of traditional methods:

  • Pneumonia Recovery (Semi-Synthetic): Based on real-world Electronic Health Record (EHR) data from 7,200 patients at a major hospital. The dataset features 815 high-dimensional treatment categories and uses Physician ID as a quasi-random instrument.
  • Colored MNIST: A creative benchmark where the "treatment" is an image of a digit. The digit's color (the latent $D$) is influenced by the instrument and affects the outcome, while the digit's shape (the latent $V$) acts as a high-variance nuisance variable.

Key Findings and Results

  • Causal Alignment Outperforms Pure Compression: The core insight of the paper is that for causal tasks, representation quality depends on its relationship with the instrument, not just raw data reconstruction. In the Colored MNIST task, standard autoencoders focused on the high-variance shape, resulting in a negative outcome improvement (-0.47). In contrast, the IRAE model successfully isolated the causally relevant color, achieving an outcome improvement of 1.10.
  • Clinical Efficacy: In the high-dimensional pneumonia simulation, the proposed LIRR method achieved a recovery time improvement of ~35 hours. This significantly outperformed Ordinary Least Squares (OLS) (~0.8 hours) and even DeepIV (~0.58 hours).
  • DeepIV Vulnerability: The poor performance of DeepIV highlights a critical vulnerability in popular deep learning IV methods: they struggle in high-dimensional settings because they attempt to directly model the complex relationship $P(X|Z)$, requiring massive datasets to generalize. IGRL’s targeted dimensionality reduction acts as a necessary regularizer.
  • Overcoming the Order Condition: The paper provides theoretical proofs demonstrating that by regularizing the representation, valid intervention directions can be identified even when instruments are vastly outnumbered by treatment dimensions. Furthermore, the method remained robust across varying strengths of confounding, whereas standard two-stage methods (PCA + 2SLS) degraded rapidly.

Limitations and Future Directions

While IGRL presents a significant step forward, it relies on a few key assumptions. The theory assumes joint independence between the instrument-driven components and the noise components of the treatment. Although HSIC enforces this during training, extreme real-world violations could still introduce bias. Additionally, the framework assumes invertibility—a one-to-one mapping between treatments and their latent representations—which may not hold in cases of extreme information loss.

Future work will explore "conditional joint independence," allowing the incorporation of observed covariates to relax strict independence assumptions. The authors also plan to develop sensitivity analysis tools to help practitioners quantify potential biases if IV assumptions are marginally violated in practice.

Summary updated

BibTeX
@inproceedings{lin2026learning,
  author = {Shiangyi Lin and Hui Lan and Vasilis Syrgkanis},
  title = {{Learning Treatment Representations for Downstream Instrumental Variable Regression}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Yy37YQCvCt},
}
Figure