Embracing the chaos: analysis and diagnosis of numerical instability in variational flows

07/12/2023
by   Zuheng Xu, et al.
0

In this paper, we investigate the impact of numerical instability on the reliability of sampling, density evaluation, and evidence lower bound (ELBO) estimation in variational flows. We first empirically demonstrate that common flows can exhibit a catastrophic accumulation of error: the numerical flow map deviates significantly from the exact map – which affects sampling – and the numerical inverse flow map does not accurately recover the initial input – which affects density and ELBO computations. Surprisingly though, we find that results produced by flows are often accurate enough for applications despite the presence of serious numerical instability. In this work, we treat variational flows as dynamical systems, and leverage shadowing theory to elucidate this behavior via theoretical guarantees on the error of sampling, density evaluation, and ELBO estimation. Finally, we develop and empirically test a diagnostic procedure that can be used to validate results produced by numerically unstable flows in practice.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/16/2022

Ergodic variational flows

This work presents a new class of variational family – ergodic variation...
research
02/17/2020

Augmented Normalizing Flows: Bridging the Gap Between Generative Flows and Latent Variable Models

In this work, we propose a new family of generative flows on an augmente...
research
07/06/2021

Implicit Variational Conditional Sampling with Normalizing Flows

We present a method for conditional sampling with normalizing flows when...
research
02/27/2020

Gradient Boosted Flows

Normalizing flows (NF) are a powerful framework for approximating poster...
research
09/30/2019

Localised Generative Flows

We argue that flow-based density models based on continuous bijections a...
research
04/04/2022

Discretely Indexed Flows

In this paper we propose Discretely Indexed flows (DIF) as a new tool fo...
research
02/22/2023

From Optimization to Sampling Through Gradient Flows

This article overviews how gradient flows, and discretizations thereof, ...

Please sign up or login with your details

Forgot password? Click here to reset