TL;DR
Finding valid instrumental variables (IVs) to eliminate unobserved confounding is notoriously difficult in real-world causal inference. This paper introduces ZNet, a representation learning framework that automatically extracts latent instrumental variables directly from observed high-dimensional covariates by enforcing empirical moment conditions. ZNet successfully recovers hidden instruments and significantly reduces confounding bias across both tabular and unstructured datasets.
What Problem Does This Paper Address?
Causal inference from observational data is frequently plagued by unobserved confounding—hidden variables ($U$) that influence both the treatment ($T$) and the outcome ($Y$), leading to biased effect estimates. While Instrumental Variable (IV) regression is a powerful tool to bypass this bias, it relies on finding a valid "instrument" ($Z$). A valid instrument must satisfy strict conditions: it must actively randomize the treatment (relevance), have no direct effect on the outcome (exclusion restriction), and share no common causes with the outcome (unconfoundedness).
In practice, explicit and valid instruments are incredibly rare and hard to justify. The authors address this bottleneck by asking: Can we learn or synthesize a valid instrumental representation directly from the observed high-dimensional data ($X$)?
Methods
The authors propose ZNet, an encoder architecture designed to decompose the observed feature space $X$ into two distinct latent components: a learned instrument $\tilde{Z} = g(X)$ and a residual confounder $\tilde{X} = f(X)$.
To ensure that the learned representation $\tilde{Z}$ behaves like a true instrument, ZNet enforces four empirical moment conditions during training via a Lagrangian relaxation of the loss function:
- $\text{Cov}(\tilde{Z}, \tilde{\epsilon}_Y) = 0$: The learned instrument must be uncorrelated with the outcome residuals (Unconfoundedness).
- $\text{Cov}(\tilde{Z}, \tilde{X}) = 0$: The instrument and the learned confounder must be independent (Exclusion restriction).
- $\text{Cov}(\tilde{X}, Y) \neq 0$: The residual confounder must retain its predictive relationship with the outcome.
- $\text{Cov}(T, \tilde{Z}) \neq 0$: The instrument must remain highly predictive of the treatment (Relevance).
These covariance constraints are empirically approximated using either squared Pearson correlation coefficients or Mutual Information (via Kernel Density Estimation). Once ZNet separates these components, the resulting embeddings can be seamlessly plugged into any standard downstream two-stage IV estimator, such as DeepIV or DFIV.
Datasets
The model was evaluated on two primary benchmarks:
- Semi-synthetic IHDP Dataset: Based on the Infant Health and Development Program (985 individuals, 25 covariates). The authors engineered four distinct experimental setups (Disjoint Candidate, Mixed Candidate, Latent Categorical Instrument, and No Candidate) across both linear and non-linear settings to test ZNet under various instrument availability scenarios (180 datasets total).
- Semi-synthetic ECG Dataset: Comprising 35,463 electrocardiograms from a public PhysioNet dataset. This dataset represents a complex, unstructured high-dimensional setting where age and sex act as hidden confounders, and treatment/outcome are simulated based on underlying ECG features.
Key Insights and Ideas
- Instruments are hiding in plain sight: High-dimensional data (like medical images or clinical text) often implicitly encode institutional patterns, machine calibrations, or provider propensities that act as natural, latent instruments. ZNet can extract these without needing explicit labels for them.
- Pragmatic over literal representations: ZNet treats instruments as abstract mathematical constructs in an embedding space rather than requiring an a posteriori human interpretation. If the embedding satisfies the mathematical conditions of an IV, it can successfully de-confound the causal estimate.
- Robustness to $U \rightarrow X$ confounding: Unlike many traditional methods that break down when unobserved confounders directly influence the observed covariates, ZNet performs exceptionally well in these scenarios due to its explicit enforcement of the first moment condition.
Key Results
- Instrument Recovery: ZNet successfully recovered ground-truth instruments when they existed in the feature space and accurately reconstructed latent cluster structures in categorical instrument settings.
- Superior Causal Estimation: Across all 180 semi-synthetic IHDP datasets, ZNet paired with DeepIV achieved a mean absolute Average Treatment Effect (ATE) proportional error of 0.412, outperforming TARNet (0.442, which ignores unobserved confounding) and other state-of-the-art IV learning methods like AutoIV (0.440), VIV (0.438), and GIV (0.429).
- Unstructured Data Success: On the complex ECG dataset, ZNet combined with DeepIV drastically reduced the ATE error to 0.126, compared to 0.665 for standard Ordinary Least Squares (OLS) regression.
Limitations and Future Work
- Empirical vs. Theoretical Guarantees: The approach relies on empirical approximations (like covariance and mutual information) rather than strict theoretical guarantees of identifiability without structural causal model (SCM) assumptions.
- Finite Sample Variance: The strength and validity of ZNet-generated instruments can vary in finite sample settings, which can impact downstream prediction stability.
- Assumption Dependent: To guarantee an empirically valid instrument, ZNet still requires assuming either that the observed data are unconfounded or that specific mathematical conditions (detailed in the paper's Lemma 1) hold true. The authors suggest future work should explore extending these representations to fully non-linear, unconstrained SCM settings.
Summary updated