Normalizing Flows can match diffusion models using Transformers and smart noise handling.
TARFlow introduces a powerful Transformer-based architecture for Normalizing Flows that achieves state-of-the-art image generation quality comparable to diffusion models.
-----
https://arxiv.org/abs/2412.06329
π€ Original Problem:
β Normalizing Flows (NFs) showed early promise but fell behind other generative models like diffusion models in recent years, raising questions about their fundamental limitations.
-----
π§ Solution in this Paper:
β TARFlow reimagines Normalizing Flows using a stack of autoregressive Transformer blocks that process image patches.
β The architecture alternates autoregression direction between layers for better modeling.
β It introduces Gaussian noise during training instead of traditional uniform noise.
β A novel post-training denoising procedure cleans up generated samples.
β The model implements both conditional and unconditional guidance similar to diffusion models.
-----
π‘ Key Insights:
β Simple Transformer-based architecture can unlock NF's full potential
β Gaussian noise augmentation is critical for high-quality generation
β Score-based denoising significantly improves sample quality
β Guidance techniques from diffusion models work well with NFs
-----
π Results:
β First sub-3 BPD (2.99) on ImageNet 64x64 likelihood estimation
β FID score of 2.90 on conditional ImageNet 64x64, competitive with GANs
β Scales effectively to 256x256 resolution on AFHQ dataset










