[Paper Review] Variational Inference with Continuously-Indexed Normalizing Flows
This paper introduces continuously-indexed flows (CIFs) as a novel, highly expressive variational inference (VI) posterior approximation by integrating them into the auxiliary variational inference (AVI) framework. By leveraging CIFs' tractable joint distributions and conditional independence structure, the method enables low-variance estimation of model evidence and achieves superior performance over standard normalizing flows on complex posterior topologies and maximum likelihood estimation tasks.
Continuously-indexed flows (CIFs) have recently achieved improvements over baseline normalizing flows on a variety of density estimation tasks. CIFs do not possess a closed-form marginal density, and so, unlike standard flows, cannot be plugged in directly to a variational inference (VI) scheme in order to produce a more expressive family of approximate posteriors. However, we show here how CIFs can be used as part of an auxiliary VI scheme to formulate and train expressive posterior approximations in a natural way. We exploit the conditional independence structure of multi-layer CIFs to build the required auxiliary inference models, which we show empirically yield low-variance estimators of the model evidence. We then demonstrate the advantages of CIFs over baseline flows in VI problems when the posterior distribution of interest possesses a complicated topology, obtaining improved results in both the Bayesian inference and surrogate maximum likelihood settings.
Motivation & Objective
- To address the limitation of standard normalizing flows in modeling complex posterior topologies due to their bijective constraints.
- To enable the use of continuously-indexed flows (CIFs)—which lack closed-form marginal densities—in variational inference by integrating them into the auxiliary variational inference (AVI) framework.
- To demonstrate that CIFs can yield more expressive and accurate posterior approximations than baseline flows in both Bayesian inference and surrogate maximum likelihood settings.
- To show that CIFs maintain low-variance estimators of the model evidence through their tractable joint distribution and amortized inference structure.
Proposed method
- CIFs are used as the variational posterior in an auxiliary variational inference (AVI) scheme, where the joint distribution over latent variables and auxiliary indexing variables remains tractable.
- The conditional independence structure of multi-layer CIFs is exploited to construct efficient auxiliary inference models for the indexing variables.
- Amortized inference is applied by training conditional neural networks $q_{U_{ ext{loc}}|W_{ ext{loc}}}$ and $r_{U_{ ext{loc}}|W_{ ext{loc}},X}$ to infer auxiliary variables from the latent space and data.
- The method uses a small VAE encoder as the base distribution $q_{W_0|X}$ to project image data into the latent space, reducing reliance on large encoders.
- A single neural network at each flow layer parametrizes the coupling transforms $s_{ ext{loc}}$ and $t_{ ext{loc}}$ in the flow transformation $G_{ ext{loc}}$, ensuring parameter efficiency.
- The ELBO is optimized via a surrogate objective using importance sampling, with gradient clipping applied for training stability.
Experimental results
Research questions
- RQ1Can continuously-indexed flows (CIFs), which lack closed-form marginal densities, be effectively used in variational inference despite the intractability of their marginal distribution?
- RQ2Does integrating CIFs into the auxiliary variational inference (AVI) framework yield lower-variance estimators of the model evidence compared to standard normalizing flows?
- RQ3Do CIF-based posterior approximations outperform baseline normalizing flows in modeling complex posterior distributions with non-trivial topologies?
- RQ4Can CIFs improve performance in surrogate maximum likelihood estimation of latent-variable models compared to standard flow baselines?
Key findings
- CIF models consistently outperform their corresponding baseline normalizing flows in terms of estimated average marginal likelihood on test sets, with CIF-MAF and CIF-NSF significantly improving upon Small MAF and Small NSF respectively.
- CIF models achieve the best average performance or are within error bars of the best in all experiments, demonstrating their superiority in both Bayesian inference and maximum likelihood estimation.
- Despite being more parameter-efficient than IWAE methods, CIF models achieve better performance than IWAE with fewer training epochs, indicating higher sample efficiency.
- The use of AVI with CIFs enables low-variance estimation of the model evidence, validating the theoretical benefits of the framework.
- Amortized CIF variants with approximately the same number of parameters as larger baseline flows still outperform them, showing that CIFs provide a strong inductive bias for complex posteriors.
- The method maintains training stability through gradient clipping (maximum norm of 5), confirming its practical feasibility across different architectures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.