Normalizing Flows are Capable Generative Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhai, Shuangfei, Zhang, Ruixiang, Nakkiran, Preetum, Berthelot, David, Gu, Jiatao, Zheng, Huangjie, Chen, Tianrong, Bautista, Miguel Angel, Jaitly, Navdeep, Susskind, Josh
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910990856093696
author Zhai, Shuangfei
Zhang, Ruixiang
Nakkiran, Preetum
Berthelot, David
Gu, Jiatao
Zheng, Huangjie
Chen, Tianrong
Bautista, Miguel Angel
Jaitly, Navdeep
Susskind, Josh
author_facet Zhai, Shuangfei
Zhang, Ruixiang
Nakkiran, Preetum
Berthelot, David
Gu, Jiatao
Zheng, Huangjie
Chen, Tianrong
Bautista, Miguel Angel
Jaitly, Navdeep
Susskind, Josh
contents Normalizing Flows (NFs) are likelihood-based models for continuous inputs. They have demonstrated promising results on both density estimation and generative modeling tasks, but have received relatively little attention in recent years. In this work, we demonstrate that NFs are more powerful than previously believed. We present TarFlow: a simple and scalable architecture that enables highly performant NF models. TarFlow can be thought of as a Transformer-based variant of Masked Autoregressive Flows (MAFs): it consists of a stack of autoregressive Transformer blocks on image patches, alternating the autoregression direction between layers. TarFlow is straightforward to train end-to-end, and capable of directly modeling and generating pixels. We also propose three key techniques to improve sample quality: Gaussian noise augmentation during training, a post training denoising procedure, and an effective guidance method for both class-conditional and unconditional settings. Putting these together, TarFlow sets new state-of-the-art results on likelihood estimation for images, beating the previous best methods by a large margin, and generates samples with quality and diversity comparable to diffusion models, for the first time with a stand-alone NF model. We make our code available at https://github.com/apple/ml-tarflow.
format Preprint
id arxiv_https___arxiv_org_abs_2412_06329
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Normalizing Flows are Capable Generative Models
Zhai, Shuangfei
Zhang, Ruixiang
Nakkiran, Preetum
Berthelot, David
Gu, Jiatao
Zheng, Huangjie
Chen, Tianrong
Bautista, Miguel Angel
Jaitly, Navdeep
Susskind, Josh
Computer Vision and Pattern Recognition
Machine Learning
Normalizing Flows (NFs) are likelihood-based models for continuous inputs. They have demonstrated promising results on both density estimation and generative modeling tasks, but have received relatively little attention in recent years. In this work, we demonstrate that NFs are more powerful than previously believed. We present TarFlow: a simple and scalable architecture that enables highly performant NF models. TarFlow can be thought of as a Transformer-based variant of Masked Autoregressive Flows (MAFs): it consists of a stack of autoregressive Transformer blocks on image patches, alternating the autoregression direction between layers. TarFlow is straightforward to train end-to-end, and capable of directly modeling and generating pixels. We also propose three key techniques to improve sample quality: Gaussian noise augmentation during training, a post training denoising procedure, and an effective guidance method for both class-conditional and unconditional settings. Putting these together, TarFlow sets new state-of-the-art results on likelihood estimation for images, beating the previous best methods by a large margin, and generates samples with quality and diversity comparable to diffusion models, for the first time with a stand-alone NF model. We make our code available at https://github.com/apple/ml-tarflow.
title Normalizing Flows are Capable Generative Models
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2412.06329