Normalizing Flows with Iterative Denoising

Tianrong Chen, Jiatao Gu, David Berthelot, Joshua M. Susskind, Shuangfei Zhai

Generative modeling is currently dominated by two major paradigms: Diffusion Models, which produce stunningly high-quality images through iterative denoising but are computationally heavy, and Discrete Autoregressive Models, which scale predictably like Large Language Models but suffer from quantization bottlenecks that degrade image fidelity.

Normalizing Flows (NFs) offer a compelling third path. By learning an invertible mapping to a simple prior, NFs allow for exact maximum-likelihood training. However, they have historically struggled with a fundamental trade-off known as the "noise dilemma."

In the paper Normalizing Flows with Iterative Denoising, researchers introduce iTARFlow (Iterative TARFlow), a novel architecture that bridges the gap between Normalizing Flows and Diffusion models. By combining autoregressive generation with iterative denoising, iTARFlow overcomes the noise dilemma to achieve state-of-the-art performance for Normalizing Flows on ImageNet.

The Problem: The "Noise Dilemma"

To make training stable and sampling effective in Normalizing Flows, researchers typically add Gaussian noise to the data. This creates a frustrating balancing act:

  • Low Noise: The model generates rich, fine-grained textures but fails to capture global structural coherence.
  • High Noise: The resulting images are structurally sound but overly blurry (a consequence of Tweedie’s Lemma).

The authors sought a way to capture the best of both worlds: the scalability and structural integrity of autoregressive flows, combined with the sharp refinement capabilities of iterative denoising.

The iTARFlow Solution

iTARFlow evolves the Transformer Autoregressive Flow (TARFlow) architecture through three key technical innovations:

1. Amortized Multi-Noise Training

Instead of training on a single, fixed noise level, iTARFlow is trained to maximize the log-likelihood $\log p_\theta(x_t, t)$ across a continuum of noise levels $t \in [t_{min}, t_{max}]$. This allows a single model to understand the data distribution at various stages of corruption, effectively learning how to handle both structure and detail.

2. Two-Phase Sampling

Sampling in iTARFlow is split into two distinct phases to maximize quality:

  • Phase 1 (Autoregressive): The model generates a noisy image $x_t$ patch-by-patch from a Gaussian prior. This ensures global structural coherence.
  • Phase 2 (Parallel Denoising): The noisy image is refined through an iterative denoising process using a probabilistic ODE. Crucially, the "score" (the gradient needed for denoising) is computed directly by taking the derivative of the model's own log-likelihood objective via automatic differentiation.

3. Unified Architecture

The model uses a stack of causal Transformer blocks. Unlike diffusion models that require a completely separate score network to denoise, iTARFlow uses the exact same weights for both autoregressive generation and denoising.

Key Insights

  • Likelihood-Induced Scores: The paper demonstrates that a well-trained likelihood model inherently contains the information needed to act as a high-quality denoiser. You don't need a separate "score-based" model; you just need to differentiate your likelihood model.
  • Universal Denoising: Surprisingly, an iTARFlow model can be used to denoise samples generated by other TARFlow models. This suggests the model learns a robust, generalized denoising function rather than just memorizing its own specific noise patterns.
  • Scaling and Efficiency: iTARFlow achieves better results than previous NF models while using significantly fewer parameters. For instance, it beats the original TARFlow on ImageNet-64 using less than half the parameter count.

Experimental Results

The model was rigorously evaluated on the standard ImageNet benchmark across three resolutions, demonstrating highly competitive performance:

  • ImageNet-64 (Pixel Space): Achieved an FID of 1.68, significantly outperforming the previous TARFlow (2.66) and approaching the performance of top-tier diffusion models like EDM-SDE (1.55).
  • ImageNet-128 (Pixel Space): Achieved an FID of 2.44, a massive improvement over the baseline TARFlow (5.03).
  • ImageNet-256 (Latent Space via VAE): Reached an FID of 2.32, surpassing other recent autoregressive flow models.
  • Training Efficiency: iTARFlow proved to be more training-efficient than Diffusion Transformers (DiT), converging in fewer epochs (600 vs. 1400) to reach similar score-estimation accuracy.

Limitations and Future Work

While iTARFlow represents a significant leap forward for Normalizing Flows, the authors note a few current limitations:

  1. Computational Overhead: Performing automatic differentiation through the entire network during the iterative denoising phase consumes significant GPU memory. This is currently the primary bottleneck for scaling to even higher resolutions.
  2. Hyperparameter Sensitivity: There is currently no formal theory for choosing the optimal maximum noise level ($t_{max}$), meaning it requires empirical ablation studies to tune.
  3. Visual Artifacts: The model occasionally exhibits "collapsed backgrounds" (entirely black backgrounds) and "detail loss" in the first generated tokens (typically the bottom-right of the image). The authors hypothesize these are linked to the Classifier-Free Guidance (CFG) scale and the lack of context for the very first token in the sequence.

Future work will likely focus on optimizing the memory efficiency of the denoising step and refining guidance strategies to eliminate these specific visual artifacts, further solidifying Normalizing Flows as a premier choice for generative modeling.

Summary updated

BibTeX
@inproceedings{chen2026normalizing,
  author = {Tianrong Chen and Jiatao Gu and David Berthelot and Joshua M. Susskind and Shuangfei Zhai},
  title = {{Normalizing Flows with Iterative Denoising}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=oUVzFuemEn},
}
Figure