arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.06329cs.CVcs.LG
收藏

归一化流是具备强大能力的生成模型

Normalizing Flows are Capable Generative Models

Apple(苹果公司)

Shuangfei Zhai, Ruixiang Zhang, Preetum Nakkiran, David Berthelot, Jiatao Gu, Huangjie Zheng, Tianrong Chen, Miguel Angel Bautista, Navdeep Jaitly, Josh Susskind

AI总结:

本文提出 TarFlow,一种基于 Transformer 的掩码自回归归一化流架构,结合噪声增强、去噪和引导技术,首次以独立 NF 模型在图像似然估计上取得最先进结果,并生成与扩散模型相当的样本。

摘要:

归一化流(Normalizing Flows, NFs)是面向连续输入的基于似然的模型。它们在密度估计和生成建模任务上均展现出有前景的结果,但近年来受到的关注相对较少。在本工作中,我们证明 NFs 比此前所认为的更强大。我们提出 TarFlow:一种简单且可扩展的架构,能够实现高性能的 NF 模型。TarFlow 可以被视为掩码自回归流(Masked Autoregressive Flows, MAFs)的基于 Transformer 的变体:它由作用于图像块上的一叠自回归 Transformer 块组成,并在各层之间交替自回归方向。TarFlow 易于端到端训练,并且能够直接建模和生成像素。我们还提出三项关键技术以提升样本质量:训练期间的高斯噪声增强、训练后的去噪过程,以及一种在类别条件和非条件设置下均有效的引导方法。综合这些技术,TarFlow 在图像似然估计上取得了新的最先进结果,以较大幅度超越此前的最佳方法,并首次以独立的 NF 模型生成质量和多样性与扩散模型相当的样本。我们的代码已公开于 https://github.com/apple/ml-tarflow。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑