Blind Inverse Problem Solving Made Easy by Text-to-Image Latent Diffusion

Michail Dontas, Yutong He, Naoki Murata, Yuki Mitsufuji, J Zico Kolter, Ruslan Salakhutdinov

TL;DR

LADiBI (Language-Assisted Diffusion for Blind Inverse problems) is a training-free framework that solves blind image restoration tasks without requiring curated datasets or assuming the degradation operator is linear. By turning to large pre-trained text-to-image diffusion models, LADiBI steers reconstruction using positive/negative text prompts and couples this with an alternating co-optimization scheme to jointly recover both the clean image and the unknown degradation process (even non-linear ones like JPEG compression).

What Problem Does This Paper Address?

In image restoration, inverse problems are formulated as recovering a clean image $x$ from degraded observations $y = A_\phi(x) + n$, where $A_\phi$ is the forward degradation operator and $n$ is measurement noise.

  • In non-blind settings, $A_\phi$ is known (e.g., a known blur kernel or downsampling matrix).
  • In blind inverse problems, both $x$ and the operator $A_\phi$ are unknown.

Blind problems are severely ill-posed. Existing diffusion-based or deep-learning approaches usually rely on narrow, domain-specific image priors (e.g., human faces only), assume linear degradations (such as blur matrices solvable via SVD), or require task-specific re-training. Handling non-linear, non-differentiable operators (like blind JPEG decompression) across diverse image distributions without task-specific retraining has remained an open challenge.

Methods

LADiBI tackles blind image restoration through Bayesian inference by sampling from the joint posterior $p(x, A_\phi \mid y) \propto p(y \mid x, A_\phi) p(x, A_\phi)$:

  1. Text Prompts as Joint Priors via Classifier-Free Guidance (CFG): Instead of learning separate, complex operator priors, LADiBI leverages the massive pre-trained knowledge inside text-to-image latent diffusion models (specifically Stable Diffusion 1.4). The target image characteristics are guided by a positive prompt $c_+$, while the degradation artifacts are penalized using a negative prompt $c_-$: $$\nabla_{x_t} \log p(x_t, A_\phi) \approx \nabla_{x_t} \log p(x_t \mid c_-) + \gamma \big(\nabla_{x_t} \log p(x_t \mid c_+) - \nabla_{x_t} \log p(x_t \mid c_-)\big)$$

  2. General Operator Initialization (Algorithm 2): When operators cannot be represented simply by an identity kernel (such as arbitrary neural networks parameterizing non-linear degradation), initial estimates are critical. LADiBI quickly generates a batch of coarse clean estimates using SDEdit and Manifold Preserving Guided Diffusion (MPGD) with few diffusion steps, then fits the operator parameters $\hat{\phi}$ using Maximum Likelihood Estimation (MLE) via Adam.

  3. Alternating Iterative Posterior Refinement (Algorithm 1): During the reverse diffusion trajectory:

  4. Image update: Refines the clean latent estimate $z_{0|t}$ using an MPGD-like step with an added perceptual regularization term ($\mathcal{L}_2 + \lambda_z \text{LPIPS}$).

  5. Operator update: Periodically optimizes the operator parameters $\hat{\phi}$ against the intermediate reconstructed image using Adam with an $L_1$ penalty to prevent overfitting.
  6. Time-traveling: Employs stochastic time-travel cycles across diffusion steps to stabilize the co-optimization.

Datasets

  • FFHQ (256×256): Human facial images (1,000 evaluation images).
  • AFHQ-dog (256×256): Animal facial images (500 evaluation images).
  • RealBlur: Real-world camera shake blur images captured with a GoPro.
  • Qualitative extensions: Monet and Van Gogh portraits, as well as landscape and car image distributions.
  • Note: No new datasets were introduced. All diffusion sampling used an off-the-shelf, frozen Stable Diffusion 1.4 checkpoint.

Key Insights and Ideas

  • Language bridges image and degradation spaces: Large-scale generative diffusion models have implicitly memorized what degraded images (e.g., "blurry", "jpeg artifacts") look like compared to high-quality ones ("clear headshot"). Negative prompting effectively suppresses the operator's forward footprint while positive prompting pulls the sample toward the clean target manifold.
  • Bypassing the linearity constraint: Most prior training-free diffusion solvers (e.g., GibbsDDRM) rely on SVD-based linear algebra tricks, making them brittle to model mismatches (like incorrect kernel padding) and entirely incapable of handling non-linear degradations. Parameterizing the operator as a differentiable neural network (e.g., a 3-layer U-Net) removes this restriction.
  • Decoupled coarse initialization: Co-optimizing a neural network operator and a diffusion state from pure noise easily diverges. Obtaining crude pseudo-supervision targets via truncated diffusion steps provides a sufficiently stable starting point for non-linear operators.

Key Results

  • Nonlinear Blind JPEG Decompression: LADiBI was the only tested training-free method capable of handling blind JPEG decompression without any knowledge of the compression table or quantization factor:
  • On FFHQ: Achieved 0.268 LPIPS and 0.0172 KID, significantly outperforming BlindDPS (0.431 LPIPS / 0.1791 KID) and BIRD (0.406 LPIPS / 0.0525 KID).
  • On AFHQ: Achieved 0.315 LPIPS and 0.0216 KID (compared to BlindDPS at 0.397 / 0.2108 and BIRD at 0.425 / 0.0673).
  • Linear Deblurring (Motion & Gaussian):
  • Matches or surpasses specialized baselines on perceptual metrics: on AFHQ Gaussian blur, LADiBI achieved 0.204 LPIPS and 0.0065 KID, outperforming BlindDPS (0.330 / 0.0268) and standard GibbsDDRM (0.257 / 0.0040).
  • Out-of-Distribution Flexibility: Successfully restores diverse styles (Monet paintings, cars, landscapes, colorization, RealBlur data) simply by modifying the text prompt, whereas baselines trained solely on face datasets failed.

Limitations and Future Work

  • Compute / Inference Runtime: Co-optimizing operator parameters alongside diffusion latents is computationally heavy. LADiBI takes ~5 minutes per image on an NVIDIA A6000 GPU, compared to ~30 seconds for GibbsDDRM.
  • Manual Prompt Crafting: Users currently must manually inspect measurements and write suitable positive and negative prompts. The authors note automated prompt tuning as a future direction.
  • Hyperparameter Sensitivity: As with many guidance-based diffusion solvers, performance depends on balancing step sizes ($c_t$, $\lambda_z$, $\lambda_\phi$) and time-travel iterations.
  • Linear vs. Deep Operator Gap: While a general U-Net operator can approximate linear blurs, dedicating an explicit 2D convolution kernel still achieves superior linear deblurring fidelity in less time.

Summary updated

BibTeX
@inproceedings{dontas2025blind,
  author = {Michail Dontas and Yutong He and Naoki Murata and Yuki Mitsufuji and J Zico Kolter and Ruslan Salakhutdinov},
  title = {{Blind Inverse Problem Solving Made Easy by Text-to-Image Latent Diffusion}},
  booktitle = {SPIGM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=Qc3fRoXcHO},
}
Figure