Discrete Flows: Invertible Generative Models of Discrete Data

05/24/2019
by   Dustin Tran, et al.
6

While normalizing flows have led to significant advances in modeling high-dimensional continuous distributions, their applicability to discrete distributions remains unknown. In this paper, we show that flows can in fact be extended to discrete events---and under a simple change-of-variables formula not requiring log-determinant-Jacobian computations. Discrete flows have numerous applications. We consider two flow architectures: discrete autoregressive flows that enable bidirectionality, allowing, for example, tokens in text to depend on both left-to-right and right-to-left contexts in an exact language model; and discrete bipartite flows that enable efficient non-autoregressive generation as in RealNVP. Empirically, we find that discrete autoregressive flows outperform autoregressive baselines on synthetic discrete distributions, an addition task, and Potts models; and bipartite flows can obtain competitive performance with autoregressive baselines on character-level language modeling for Penn Tree Bank and text8.

READ FULL TEXT
research
01/29/2019

Latent Normalizing Flows for Discrete Sequences

Normalizing flows have been shown to be a powerful class of generative m...
research
01/30/2020

Learning Discrete Distributions by Dequantization

Media is generally stored digitally and is therefore discrete. Many succ...
research
10/22/2020

Autoregressive Modeling is Misspecified for Some Sequence Distributions

Should sequences be modeled autoregressively—one symbol at a time? How m...
research
03/14/2022

Semi-Discrete Normalizing Flows through Differentiable Tessellation

Mapping between discrete and continuous distributions is a difficult tas...
research
05/26/2023

Flow Matching for Scalable Simulation-Based Inference

Neural posterior estimation methods based on discrete normalizing flows ...
research
08/29/2023

Mixed Variational Flows for Discrete Variables

Variational flows allow practitioners to learn complex continuous distri...
research
09/21/2020

Haar Wavelet based Block Autoregressive Flows for Trajectories

Prediction of trajectories such as that of pedestrians is crucial to the...

Please sign up or login with your details

Forgot password? Click here to reset