InvFusion: Bridging Supervised and Zero-shot Diffusion for Inverse Problems

Noam Elata, Hyungjin Chung, Jong Chul Ye, Tomer Michaeli, Michael Elad

Introduction

In computer vision, inverse problems involve recovering a clean, high-quality image from a degraded version—such as removing motion blur, filling in missing pixels (inpainting), or increasing resolution. Currently, researchers rely on two primary strategies to solve these problems using diffusion models, but each comes with a significant trade-off:

  1. Zero-shot methods: These utilize "off-the-shelf" pre-trained diffusion models. They are highly flexible and can accommodate almost any linear degradation at test time. However, they rely on mathematical approximations that often make them slow and less accurate.
  2. Training-based (Supervised) methods: These models are trained specifically to fix certain degradations. While they are fast and highly accurate, they are "brittle" and often "blind." Because they must guess the degradation from the image itself, they frequently fail if the specific type of blur or mask changes at test time.

InvFusion is a novel diffusion model architecture designed to bridge this gap. It combines the high accuracy of supervised learning with the "plug-and-play" flexibility of zero-shot methods by integrating the physics of the corruption directly into the neural network's layers.

The InvFusion Architecture

The core innovation of this paper is the InvFusion Block, which transforms a standard diffusion model into a "degradation-aware" network.

Standard models typically only take the degraded image as an input. InvFusion, however, explicitly incorporates the degradation operator ($H$) and its pseudo-inverse ($H^\dagger$) directly into the network's architecture via a novel Feature Degradation Layer.

The InvFusion Block and Feature Degradation Layer

Here is how the architecture processes the degradation:

  • Internal Comparison: Inside the network, intermediate features are "degraded" using the operator $H$.
  • Error Correction: The degraded result is compared to the actual measurements ($y$). The network learns to use this internal "error signal" to continuously refine its reconstruction.
  • Joint-Attention: The model employs a joint-attention mechanism to fuse these degradation-aware features with the standard generative features of the diffusion model.
  • Backbone: The authors utilize the HDiT (Hourglass Diffusion Transformer) as their base architecture, ensuring efficiency for high-resolution images.

By embedding the physics of the corruption into the architecture, InvFusion transforms a mathematically difficult "blind" problem into a much more tractable "non-blind" one.

Key Results and Generalization

The researchers evaluated InvFusion on two standard benchmarks: FFHQ (at $64 \times 64$ and $256 \times 256$ resolutions) and ImageNet ($64 \times 64$). The model was tested against a wide variety of randomized degradations, including strided motion blur, patch inpainting, and general random matrix operators.

Qualitative comparison of InvFusion against zero-shot and training-based methods.

InvFusion demonstrated several key advantages over existing methods:

  • State-of-the-Art Accuracy: InvFusion achieved the best CFID (Conditional Fréchet Inception Distance) scores, proving it can generate images that are both highly realistic and strictly faithful to the original measurements.
  • Superior Point Estimates: When operating as a Minimum Mean Square Error (MMSE) predictor for a single "best guess" reconstruction, InvFusion significantly outperformed the previous leading supervised model, Palette (e.g., achieving a +1.5 dB PSNR gain on FFHQ64 motion blur tasks).
  • Efficiency: InvFusion produces high-quality results in just 63 steps. In contrast, many zero-shot methods require 1,000+ steps and complex gradient calculations to reach comparable quality.
  • Out-of-Distribution Generalization: Because the model fundamentally understands the concept of a degradation operator, it can generalize to tasks it never saw during training (such as out-painting), a scenario where standard supervised models completely fail.

Beyond standard sampling, the architecture is highly versatile. It can be used for Uncertainty Quantification via Neural Posterior Principal Components, allowing users to see exactly which parts of the reconstructed image the model is most unsure about.

Limitations and Future Work

While InvFusion represents a significant step forward, it has a few limitations:

  • Linearity Constraint: The current architecture is designed around linear degradations ($y = Hx + n$). Many real-world corruptions, such as low-light noise or compression artifacts, are non-linear. Extending InvFusion to handle non-linear operators is a primary direction for future research.
  • Training Scope: Although highly flexible, the model still performs optimally on the types of degradations it was exposed to during training.
  • Computational Cost: Integrating the operator $H$ into every layer introduces some memory and computational overhead during the training phase compared to simpler, blind models.

Summary updated

BibTeX
@inproceedings{elata2025invfusion,
  author = {Noam Elata and Hyungjin Chung and Jong Chul Ye and Tomer Michaeli and Michael Elad},
  title = {{InvFusion: Bridging Supervised and Zero-shot Diffusion for Inverse Problems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=73guIWG7fk},
}
Figure