NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

NullFlow: One-Step Generative Reconstruction

Xiao Shi, Edward P. Chandler, Chicago Y. Park, Shirin Shoushtari, Ulugbek S. KamilovarXiv 2026

TL;DR

NullFlow is a novel generative framework that solves linear imaging inverse problems (like image inpainting) in just a single network evaluation. By confining a generative "Mean Flow" entirely within the measurement-consistent null-space, it eliminates the need for expensive iterative loops and separate data-fidelity corrections, matching the perceptual quality of state-of-the-art diffusion solvers at a fraction of the computational cost.

What Problem Does This Paper Address?

Linear inverse problems—such as image inpainting, accelerated MRI, and sparse-view CT—seek to recover an underlying image from incomplete or corrupted measurements. Because the forward measurement operator removes critical information, the problem is highly ill-posed: an infinite number of plausible images could match the observed data. The missing details reside in the operator's null space.

To fill in these blanks, modern techniques leverage generative priors like diffusion models or flow matching. While these models produce highly realistic images, they are computationally expensive. They require hundreds or thousands of iterative network evaluations, constantly alternating between generative updates and data-fidelity corrections to ensure the output remains consistent with the physical measurements. The authors of NullFlow tackle this bottleneck head-on, aiming to deliver high-fidelity, measurement-consistent reconstructions in a single step.

Methods

NullFlow achieves its massive speedup through two core innovations:

  1. Subspace-Restricted Flow Matching: Instead of generating an image unconditionally and projecting it back onto the measurement constraints at each step, NullFlow confines the entire generative trajectory to the affine subspace of measurement-consistent images ($\mathcal{M}_y$). Because the flow never leaves this subspace, every intermediate state satisfies the forward physical model by construction, completely bypassing the need for separate data-fidelity steps.
  2. One-Step Sampling via Mean Flows: Traditional flow matching models learn the instantaneous velocity of a data distribution path and require numerical ODE solvers to integrate it step-by-step. NullFlow adapts the concept of "Mean Flows" to the null space. Instead of instantaneous velocity, the network learns the average velocity across the entire trajectory (from pure noise to the clean target image).
NullFlow directly learns the average velocity vector $u_{0,1}$ within the measurement-consistent subspace $\mathcal{M}_y$, collapsing the traditional curved trajectory into a single step.

By minimizing a specialized pointwise training objective derived from the MeanFlow identity, the global minimizer of the network acts as a direct, one-step posterior sampler.

Datasets

The framework was trained and evaluated on the FFHQ dataset, a standard benchmark consisting of high-quality human face images. The authors evaluated the model on a center-mask image inpainting task, where a fixed $128 \times 128$ patch was removed from $256 \times 256$ RGB images.

Key Insights and Ideas

  • Inherent Consistency: By baking the forward physical model directly into the geometry of the generative flow space, measurement consistency ceases to be a constraint enforced after the fact—it becomes a structural property of the generator itself.
  • Trajectory Collapsing: Learning the average velocity effectively flattens the integration path. This turns what is traditionally a costly ODE-solving process into a direct, single-step function evaluation.
  • The Perception-Distortion Dial: Because NullFlow is a true posterior sampler, a single inference pass yields a sharp, perceptually rich image. However, by generating multiple independent samples from different noise initializations and averaging them, users can smoothly approximate the Minimum Mean Squared Error (MMSE) estimate. This allows them to trade off perceptual sharpness for lower distortion (higher PSNR/SSIM) on the fly without retraining the network.

Key Results

  • Massive Speedup: NullFlow reduces the Number of Function Evaluations (NFE) to 1, whereas competing diffusion and flow solvers like DPS, DiffPIR, and PnP-Flow require between 200 and 1000 evaluations.
  • State-of-the-Art Perceptual Quality: On the FFHQ inpainting task, a single sample from NullFlow achieved an LPIPS score of 0.055, significantly outperforming iterative alternatives like PnP-Flow (0.089) and DiffPIR (0.101).
  • Flexible Averaging: Averaging 100 independent NullFlow samples boosted the PSNR to 27.0 dB, outperforming a standard U-Net trained directly on Mean Squared Error (26.59 dB), demonstrating the practical utility of its perception-distortion tradeoff.
Visual comparison of reconstructions. A single NullFlow sample yields sharp, perceptually faithful details, while the 100-sample average provides a smooth, low-distortion MMSE-like estimate.

Limitations and Future Work

  • Noiseless Assumption: The current mathematical formulation assumes noiseless measurements, meaning the row-space component of the image is treated as perfectly known and fixed. Extending NullFlow to handle noisy real-world measurements remains an open challenge.
  • Fixed Operators: The method was demonstrated using a fixed forward operator (a static center mask). Adapting the training framework to efficiently handle sample-varying operators—such as random masks or dynamic MRI undersampling trajectories—is a crucial next step for widespread clinical or industrial adoption.

Summary updated

BibTeX
@misc{shi2026nullflow,
  author = {Xiao Shi and Edward P. Chandler and Chicago Y. Park and Shirin Shoushtari and Ulugbek S. Kamilov},
  title = {{NullFlow: One-Step Generative Reconstruction}},
  year = {2026},
  eprint = {2606.22696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.22696},
}
Figure