DeCaFlow: A deconfounding causal generative model

Alejandro Almodóvar, Adrián Javaloy, Juan Parras, Santiago Zazo, Isabel Valera
3/19/2025
9 citations
cs.LG

Official code: aalmodovares/DeCaFlow (29 stars, Jupyter Notebook, GPL-3.0, last commit 2026-04-06).

Abstract

We introduce DeCaFlow, a deconfounding causal generative model. Training once per dataset using just observational data and the underlying causal graph, DeCaFlow enables accurate causal inference on continuous variables under the presence of hidden confounders.

Show full abstract

Specifically, we extend previous results on causal estimation under hidden confounding to show that a single instance of DeCaFlow provides correct estimates for all causal queries identifiable with do-calculus, leveraging proxy variables to adjust for the causal effects when do-calculus alone is insufficient. Moreover, we show that counterfactual queries are identifiable as long as their interventional counterparts are identifiable, and thus are also correctly estimated by DeCaFlow. Our empirical results on diverse settings (including the Ecoli70 dataset, with 3 independent hidden confounders, tens of observed variables and hundreds of causal queries) show that DeCaFlow outperforms existing approaches, while demonstrating its out-of-the-box applicability to any given causal graph. An implementation can be found in https://github.com/aalmodovares/DeCaFlow

View on arXivView PDF

Code Implementations(1)

GPL-3.0

This repository provides an implementation of DeCaFlow, designed for ease of integration and usability. The codebase is clean, concise, and suitable for both research and practical applications.

291Jupyter Notebook, PythonApr 16, 20257 months agoGPL-3.0

Similar Papers

Cite this paper

@article{almodvar2025decaflow,
  title  = {DeCaFlow: A deconfounding causal generative model},
  author = {Alejandro Almodóvar and Adrián Javaloy and Juan Parras and Santiago Zazo and Isabel Valera},
  year   = {2025},
  eprint = {2503.15114},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.15114v3},
  journal = {NEURIPS 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.15114.svg)](https://codeofpaper.com/paper/2503.15114)

Discussion