Papers
Topics
Authors
Recent
Search
2000 character limit reached

Interventional Variational Graph Auto-Encoder

Updated 10 March 2026
  • iVGAE is a variational graph auto-encoder that integrates intervention (do-operator) and counterfactual queries within a causal inference framework using a known DAG.
  • The architecture employs a message-passing GNN to enforce conditional independence, enabling precise modeling of observational, interventional, and counterfactual distributions.
  • The model uses variational inference with a shallow encoder and importance-weighted ELBO, yielding competitive empirical performance in causal tasks and fairness auditing.

The Interventional Variational Graph Auto-Encoder (iVGAE), also referred to as VACA, is a class of variational graph autoencoders designed for causal inference in the absence of hidden confounders, incorporating both interventions (do-operator) and counterfactual queries. The model assumes access to a known causal directed acyclic graph (DAG) over observed variables, and constructs a latent-variable graphical model whose encoding and decoding architectures precisely enforce the conditional independence structure of the underlying causal graph. This framework enables principled, nonparametric approximation of both interventional and counterfactual distributions from observational data and the known DAG without requiring parametric assumptions about the structural equations or latent confounder distributions (Sanchez-Martin et al., 2021).

1. Core Architecture and Graphical Structure

iVGAE operates over a causal DAG G=(V,E)G=(V,E), where VV indexes the dd observed (possibly vector-valued) variables X=(X1,,Xd)X=(X_1,\dots,X_d). Each node ii is associated with an independent latent variable ZiZ_i, typically with a standard Normal prior p(Zi)=N(0,I)p(Z_i)=\mathcal N(0,I). The overall joint model is: pθ(X,ZG)=p(Z)pθ(XZ,A)p_{\theta}(X, Z \mid G) = p(Z)\, p_{\theta}(X \mid Z, A) where the adjacency matrix A{0,1}d×dA \in \{0,1\}^{d \times d} encodes the known graph structure. The decoder pθ(XZ,A)p_{\theta}(X \mid Z, A) is realized as a message-passing GNN with VV0 hidden layers and is designed such that each node's output depends only on the latent variables of its ancestors in VV1. Specifically, for each node VV2, the GNN propagates messages so that after VV3 passes, the output VV4 encodes all information sent by ancestral VV5. The likelihood for each node is factorized: VV6 where VV7 are GNN-readout parameters, supporting both Gaussian (for continuous) and categorical (for discrete) data types. This strictly enforced conditional-independence structure mirrors Pearl's causal factorization: VV8

2. Variational Inference and Posterior Structure

The variational posterior is constructed to closely reflect the causal structure of the DAG. It uses a "shallow" message-passing GNN (specifically, a single aggregation layer), where each node's encoder aggregates observations only from its parents: VV9 with dd0, where dd1 is generated by parent-only message passing. Multi-hop propagation is unnecessary, as, by the abduction step in SCMs, the exogenous noise dd2 is conditionally dependent only on dd3 and its immediate parents dd4.

3. Objective Functions and Causal Queries

Three key variational objectives are implemented:

a. Observational Evidence Lower Bound (ELBO):

dd5

Practically, optimization is performed using a multi-sample importance-weighted ELBO (IWAE) with dd6 latent samples per data point.

b. Interventional ELBO:

dd7

Here, an intervention dd8 modifies the adjacency matrix by severing all parental edges into intervened nodes dd9, and the encoder is rerun using these clamped values.

c. Counterfactual Objective:

For a factual X=(X1,,Xd)X=(X_1,\dots,X_d)0, abduction is performed to sample X=(X1,,Xd)X=(X_1,\dots,X_d)1, the action is performed (X=(X1,,Xd)X=(X_1,\dots,X_d)2), the encoder and decoder are run with the modified inputs and adjacency, and counterfactuals are sampled or predicted via: X=(X1,,Xd)X=(X_1,\dots,X_d)3

4. Causal Inference Workflow: Abduction–Action–Prediction

Causal queries are addressed in three phases:

  • Abduction: The encoder is run once on the observed X=(X1,,Xd)X=(X_1,\dots,X_d)4 and the original adjacency X=(X1,,Xd)X=(X_1,\dots,X_d)5 to obtain the posterior over latents.
  • Action: The modified adjacency X=(X1,,Xd)X=(X_1,\dots,X_d)6 is produced by removing all incoming edges to the intervened nodes and clamping those X=(X1,,Xd)X=(X_1,\dots,X_d)7.
  • Prediction: Samples or means of X=(X1,,Xd)X=(X_1,\dots,X_d)8 under the action posterior are decoded to predict the counterfactual X=(X1,,Xd)X=(X_1,\dots,X_d)9 under the intervention.

This procedure exactly mimics the structural causal steps of abduction, action, and prediction as formalized in the SCM literature.

5. Training Regime and Computational Properties

Training jointly optimizes a linear blend of observational, interventional, and optionally counterfactual ELBOs: ii0 Minibatch SGD is used, with each iteration executing:

  1. Minibatch data sampling.
  2. Encoder forward pass; ii1 samples drawn for variational latents.
  3. Decoder GNN pass and ELBO computation.
  4. (Optional) Intervention sampling and repeated pass with modified data/graph.
  5. Monte Carlo gradient computation and parameter updates.

Complexity per minibatch is ii2, with efficient GPU-based message passing supported via libraries such as PyTorch Geometric.

6. Empirical Results and Comparison

Experiments span several synthetic SCMs (“collider,” “triangle,” “chain,” “M-graph”) and semi-synthetic finance and demographic datasets (“Loan,” “Adult”). Comparative baselines include MultiCVAE (independent node-wise CVAEs) and CAREFL (causal autoregressive normalizing flows). Evaluation metrics comprise Observational and Interventional Maximum Mean Discrepancy (MMD), mean-error of mean (MeanE), mean-error of standard deviation (StdE), Counterfactual MSE, and standard error (SSE).

Model Obs MMD Int MMD MeanE StdE CF MSE CF SSE
MultiCVAE 30.4±8.2 44.7±12.3 13.3±4.8 46.6±2.4 87.4±3.6 65.2±2.8
CAREFL 9.3±1.5 4.9±0.5 0.35±0.08 81.9±1.8 8.1±0.6 7.8±0.6
iVGAE (VACA) 1.5±0.7 1.6±0.4 0.75±0.31 42.0±0.3 9.9±0.7 7.1±0.4

iVGAE outperforms these baselines in observational and interventional MMD, closely reproduces moments of interventional distributions, and uniquely recovers the full variance structure owing to its architecture-induced factorization. Counterfactual error metrics are competitive, attesting to reliable counterfactual estimation.

A notable practical use-case is counterfactual fairness auditing and fair classifier learning, demonstrated on the German-Credit dataset: generating ii3 samples enables auditing for fairness, and imposing fairness

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Interventional Variational Graph Auto-Encoder (iVGAE).