Relaxing Bijectivity Constraints with Continuously Indexed Normalising Flows

Rob Cornish, Anthony L. Caterini, George Deligiannidis, Arnaud Doucet · OpenReview

TL;DR

Normalizing flows, powerful generative models, struggle with targets that have complex topological structures. This paper introduces Continuously Indexed Flows (CIFs) that replace a single bijection with a family of bijections, allowing them to better model such targets and achieve state-of-the-art results on various benchmarks.

What Problem Does This Paper Address?

Normalizing flows model data distributions by transforming a simple prior distribution (like a Gaussian) into a complex target distribution using a sequence of invertible functions (bijections). A key assumption is that the topology of the prior's support should match that of the target's support. When this isn't the case (e.g., a simple Gaussian prior trying to model a distribution with holes or complex shapes), standard normalizing flows struggle. The paper proves that to approximate such targets, the flow's "bi-Lipschitz constant" (a measure of how much it stretches or shrinks space) must become infinitely large, leading to numerical instability and poor performance. This is particularly problematic for architectures like Residual Flows (ResFlows) that explicitly constrain this constant.

Methods

The core innovation is the Continuously Indexed Flow (CIF). Instead of a single bijection $f: Z \to X$, CIFs use a family of bijections indexed by a continuous variable $u$: $F(z; u)$. The generative process becomes $z \sim P_z, u \sim P_{u|z}, x = F(z; u)$. This allows the model to "reroute" mass that would otherwise be misplaced by a single bijection.

For training, since the exact likelihood is intractable, the authors propose a variational approach using an Evidence Lower Bound (ELBO). They also introduce a novel inference network architecture specifically designed to exploit the conditional independencies in their model.

Datasets

The paper evaluates CIFs on several standard datasets:

  • Tabular Datasets: POWER, GAS, HEPMASS, MINIBOONE (from UCI repository), and BSDS300 (image patches).
  • Image Datasets: MNIST, Fashion-MNIST, and CIFAR-10.

Key Insights and Ideas

  • Topology Matters: The topological similarity between the prior and target supports is a fundamental limitation for standard normalizing flows.
  • Bi-Lipschitz Constraint is a Bottleneck: To model complex topologies, flows need to exhibit extreme stretching/shrinking, which is numerically problematic.
  • Continuous Indexing as a Solution: By introducing a continuous index $u$, CIFs gain the flexibility to "clean up" misplaced mass and adapt to complex target topologies without requiring extreme bi-Lipschitz constants.
  • CIFs Generalize Flows and VAEs: The proposed framework can be seen as a generalization of both standard normalizing flows and variational autoencoders (VAEs).
  • Trade-off between Exact Likelihood and Expressivity: CIFs sacrifice an analytically tractable likelihood for increased modeling power, which is addressed by using importance sampling for evaluation.

Key Results

  • Theoretical Guarantees: The paper proves that if the supports of the prior and target are not homeomorphic, the bi-Lipschitz constant of any approximating flow must grow unboundedly. CIFs are shown to relax this constraint.
  • Empirical Performance: CIFs consistently outperform baseline models (ResFlows, MAFs, NSFs, RealNVPs) across various tabular and image datasets.
  • State-of-the-Art Results: CIF-ResFlows achieve state-of-the-art performance on several tabular datasets, notably outperforming previous best results by significant margins.
  • Efficiency: For image datasets, CIFs achieve better performance than previous methods (e.g., Glow, ResFlows from Chen et al. (2019)) while using significantly smaller models.

Limitations and Future Work

  • Intractable Likelihood: CIFs do not have an analytically tractable likelihood, which limits their direct use in some downstream tasks that require exact likelihoods (e.g., standard variational inference). The authors suggest using importance sampling for evaluation and mention potential extensions for variational frameworks.
  • Computational Overhead: CIFs introduce additional overhead compared to standard normalizing flows, although the authors demonstrate that smaller CIF models can still outperform larger baseline models.
  • Hyperparameter Tuning: While CIFs show strong empirical results, the authors note that more sophisticated alternatives for parameterizing the flow and the conditional distribution of $u$ are possible and may lead to further improvements.
  • Future Work: The authors suggest exploring CIFs in other contexts where normalizing flows are used, adapting them for tasks requiring exact likelihoods, and investigating more expressive parameterizations.

Summary updated

BibTeX
@misc{cornish2019relaxing,
  author = {Rob Cornish and Anthony L. Caterini and George Deligiannidis and Arnaud Doucet},
  title = {{Relaxing Bijectivity Constraints with Continuously Indexed Normalising Flows}},
  year = {2019},
  eprint = {1909.13833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.13833},
}
Figure