Skip to main content
QUICK REVIEW

[Paper Review] Graphical Normalizing Flows

Antoine Wehenkel, Gilles Louppe|arXiv (Cornell University)|Jun 3, 2020
Bayesian Modeling and Causal InferenceComputer Science44 references12 citations
TL;DR

This paper introduces graphical normalizing flows, a novel normalizing flow architecture that models invertible transformations through Bayesian networks with either a prescribed or learnable structure. By framing coupling and autoregressive flows as special cases of Bayesian networks, the method injects domain knowledge via graph topology, improves interpretability, and achieves competitive density estimation performance without fixed permutations, outperforming standard flows when structure is known or discovered via ℓ₁-penalization.

ABSTRACT

Normalizing flows model complex probability distributions by combining a base distribution with a series of bijective neural networks. State-of-the-art architectures rely on coupling and autoregressive transformations to lift up invertible functions from scalars to vectors. In this work, we revisit these transformations as probabilistic graphical models, showing they reduce to Bayesian networks with a pre-defined topology and a learnable density at each node. From this new perspective, we propose the graphical normalizing flow, a new invertible transformation with either a prescribed or a learnable graphical structure. This model provides a promising way to inject domain knowledge into normalizing flows while preserving both the interpretability of Bayesian networks and the representation capacity of normalizing flows. We show that graphical conditioners discover relevant graph structure when we cannot hypothesize it. In addition, we analyze the effect of $\ell_1$-penalization on the recovered structure and on the quality of the resulting density estimation. Finally, we show that graphical conditioners lead to competitive white box density estimators. Our implementation is available at https://github.com/AWehenkel/DAG-NF.

Motivation & Objective

  • To address the lack of interpretability and inductive bias in standard normalizing flows by integrating domain knowledge through probabilistic graphical models.
  • To propose a generalization of coupling and autoregressive flows as Bayesian networks with structured conditioning.
  • To enable the discovery of meaningful conditional independence relationships via ℓ₁-penalized learning of the Bayesian network topology.
  • To demonstrate that graphical conditioners improve density estimation quality when prior structure is available or can be learned.
  • To eliminate reliance on fixed permutations in normalizing flows by using graph-structured, learnable masks.

Proposed method

  • Reformulate coupling and autoregressive flows as Bayesian networks with fixed topologies, where each node's conditional density is learned via a neural network.
  • Propose the graphical conditioner, an invertible transformation that uses a directed acyclic graph (DAG) to define which variables condition others, with learnable or fixed adjacency matrices.
  • Use continuous relaxation of the acyclicity constraint (via NO TEARS-style differentiable scoring) to train the DAG structure end-to-end.
  • Apply ℓ₁-penalization to the adjacency matrix to encourage sparsity and discover meaningful conditional independence structures.
  • Construct normalizing flows by stacking graphical conditioners, with optional shuffling or learnable permutations replaced by graph-based masking.
  • Integrate the graphical conditioner into standard normalizing flow architectures, preserving exact likelihood computation and invertibility.

Experimental results

Research questions

  • RQ1Can coupling and autoregressive flows be formally reinterpreted as Bayesian networks with fixed topologies?
  • RQ2Does learning a Bayesian network structure via ℓ₁-penalized optimization lead to better density estimation than standard autoregressive or coupling flows?
  • RQ3Can graphical normalizing flows discover relevant conditional independence structures when the true topology is unknown?
  • RQ4How does the performance of graphical normalizing flows compare to standard black-box normalizing flow architectures in density estimation tasks?
  • RQ5Can graphical conditioners eliminate the need for fixed or learnable permutations in normalizing flows?

Key findings

  • Graphical normalizing flows achieve competitive density estimation performance compared to state-of-the-art black-box normalizing flow architectures, even without prior knowledge of the graph structure.
  • When the true Bayesian network topology is provided, graphical conditioners significantly improve density estimation over autoregressive and coupling flows.
  • With appropriate ℓ₁-penalization, the model successfully discovers relevant graph structures from data, reflecting true conditional independence relationships.
  • The method eliminates the need for fixed or learnable permutations by using graph-based masks, improving both interpretability and modeling fidelity.
  • The graphical conditioner maintains the universal approximation capacity of normalizing flows while adding structural inductive bias, enabling better generalization and interpretability.
  • The approach enables white-box density estimation with explicit, human-readable conditional dependencies, making it suitable for downstream tasks like causal reasoning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.