Causally Consistent Normalizing Flow

Qingyang Zhou, Kangjie Lu, Meng Xu
12/16/2024
cs.LG

No official code found. Best implementation: UWCSZhou/CCNF (2 stars, last commit 2025-03-25).

Abstract

Causal inconsistency arises when the underlying causal graphs captured by generative models like \textit{Normalizing Flows} (NFs) are inconsistent with those specified in causal models like \textit{Struct Causal Models} (SCMs). This inconsistency can cause unwanted issues including the unfairness problem. Prior works to achieve causal consistency inevitably compromise the expressiveness of their models by disallowing hidden layers. In this work, we introduce a new approach: \textbf{C}ausally \textbf{C}onsistent \textbf{N}ormalizing \textbf{F}low (CCNF). To the best of our knowledge, CCNF is the first causally consistent generative model that can approximate any distribution with multiple layers. CCNF relies on two novel constructs: a sequential representation of SCMs and partial causal transformations. These constructs allow CCNF to inherently maintain causal consistency without sacrificing expressiveness. CCNF can handle all forms of causal inference tasks, including interventions and counterfactuals. Through experiments, we show that CCNF outperforms current approaches in causal inference. We also empirically validate the practical utility of CCNF by applying it to real-world datasets and show how CCNF addresses challenges like unfairness effectively.

View on arXivView PDF

Code Implementations(1)

UWCSZhou/CCNFCommunity67%

Code for Causally Consistent Normalizing Flow

21PythonDec 15, 20241 years ago

Similar Papers

Cite this paper

@article{zhou2024causally,
  title  = {Causally Consistent Normalizing Flow},
  author = {Qingyang Zhou and Kangjie Lu and Meng Xu},
  year   = {2024},
  eprint = {2412.12401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.12401v1}
}

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/2412.12401.svg)](https://codeofpaper.com/paper/2412.12401)

Discussion