Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Block Neural Autoregressive Flow

About

Normalising flows (NFS) map two density functions via a differentiable bijection whose Jacobian determinant can be computed efficiently. Recently, as an alternative to hand-crafted bijections, Huang et al. (2018) proposed neural autoregressive flow (NAF) which is a universal approximator for density functions. Their flow is a neural network (NN) whose parameters are predicted by another NN. The latter grows quadratically with the size of the former and thus an efficient technique for parametrization is needed. We propose block neural autoregressive flow (B-NAF), a much more compact universal approximator of density functions, where we model a bijection directly using a single feed-forward network. Invertibility is ensured by carefully designing each affine transformation with block matrices that make the flow autoregressive and (strictly) monotone. We compare B-NAF to NAF and other established flows on density estimation and approximate inference for latent variable models. Our proposed flow is competitive across datasets while using orders of magnitude fewer parameters.

Nicola De Cao, Ivan Titov, Wilker Aziz• 2019

Related benchmarks

TaskDatasetResultRank
Unconditional Density EstimationPOWER (test)
Average Test Log Likelihood (nats)0.61
30
Density EstimationMINIBOONE d=43; N=36,488 (test)
Avg Test Log-Likelihood8.95
26
Density EstimationGAS d=8; N=1,052,065 (test)
Avg Test Log-Likelihood12.06
25
Density EstimationBSDS300 (test)--
25
Unconditional Density EstimationHEPMASS (test)--
22
Unconditional Density EstimationMINIBOONE (test)--
22
Density EstimationGas d=8 (test)
NLL-12.06
16
Density EstimationBSDS300 d=63 (test)
NLL-157.4
16
Density EstimationPOWER d=6; N=2,049,280 (test)
Avg Test NLL-0.61
14
Density EstimationHEPMASS UCI (test)
Log-likelihood-14.71
12
Showing 10 of 16 rows

Other info

Code

Follow for update