Flow IV: Counterfactual Inference In Nonseparable Outcome Models Using Instrumental Variables

arXiv stat.ML / 3/31/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper introduces “Flow IV,” an approach to perform counterfactual inference in nonseparable outcome models by leveraging instrumental variables (IVs) to reduce bias from unobserved confounders.
  • It shows identifiability of the treatment–outcome relationship from observed data under standard IV assumptions plus two structural conditions: an invertible outcome function with a triangular structure.
  • The authors propose learning the outcome function using normalizing flows, and then using the learned function to generate counterfactual predictions.
  • The work positions counterfactual prediction beyond prior IV methods that typically rely on one-dimensional outcomes and additive-noise assumptions.

Abstract

To reach human level intelligence, learning algorithms need to incorporate causal reasoning. But identifying causality, and particularly counterfactual reasoning, remains elusive. In this paper, we make progress on counterfactual inference in nonseparable outcome models by utilizing instrumental variables (IVs). IVs are a classic tool for mitigating bias from unobserved confounders when estimating causal effects. While IV methods for effect estimation have been extended to nonseparable outcome models under different assumptions, existing IV approaches to counterfactual prediction typically assume one-dimensional outcomes and additive noise. In this paper, we show that under standard IV assumptions, along with the assumption that the outcome function is invertible and has a triangular structure, then the treatment-outcome relationship becomes identifiable from observed data. We furthermore propose a method to learn the outcome function utilizing normalizing flows. This outcome function estimator can then be used to perform counterfactual inference. We refer to the method as Flow IV.