Diffusion with Forward Models: Solving Stochastic Inverse Problems Without Direct Supervision

Ayush Tewari, Tianwei Yin, George Cazenavette, Semon Rezchikov, Joshua B. Tenenbaum, Fredo Durand, William T. Freeman, Vincent Sitzmann

Abstract

Recovering a high-dimensional signal from partial or noisy observations—an inverse problem—is a fundamental challenge in scientific computing and computer vision. These problems are often stochastic, where multiple signals can explain a single observation. While diffusion models have shown immense promise in modeling complex distributions, they typically require direct supervision from ground-truth signals. This paper introduces a framework for training conditional diffusion models to solve stochastic inverse problems without ever observing the ground-truth signal. By integrating a differentiable forward model directly into the denoising process, the proposed method learns to sample diverse, physically consistent signals from the posterior distribution using only partial observations.

1. Introduction

In fields ranging from medical imaging to autonomous navigation, we frequently encounter inverse problems: the task of recovering an underlying signal $S$ from a partial observation $O$. For instance, reconstructing a 3D scene from a single 2D photograph is a classic inverse problem. These tasks are inherently stochastic or ill-posed; a single 2D image of a hydrant does not contain information about its rear side, meaning an infinite number of plausible "backs" could exist.

Modern deep learning approaches, particularly diffusion models, excel at capturing such complex distributions. However, they suffer from a significant supervision gap. Training a standard diffusion model to generate 3D scenes usually requires a massive dataset of ground-truth 3D models. In practice, while we may have millions of 2D images, ground-truth 3D data is often scarce or impossible to obtain. This research addresses a pivotal question: Can we learn to generate high-fidelity signals using only their low-dimensional observations?

2. Methodology

The authors propose a new class of conditional denoising diffusion probabilistic models that bridge the gap between observation and signal through a differentiable forward model. A forward model $f$ is a mathematical function (such as a renderer or a projection) that describes the transformation from signal space to observation space: $O = f(S)$.

2.1 The Denoising Loop

In a standard diffusion framework, a model learns to reverse a noise process applied to the signal. In this unsupervised setting, the ground-truth signal $S$ is unknown. The authors instead perform denoising in the observation space while maintaining an internal representation of the signal:

  1. Input: The model receives a "context" observation (e.g., a known view of a scene) and a noisy version of a "target" observation (a different view of the same scene).
  2. Signal Estimation: A neural network denoiser predicts an estimate of the underlying hidden signal $S$ based on the context and the noisy target.
  3. Forward Pass: This estimated signal is passed through the differentiable forward model (e.g., a volume renderer) to produce a "clean" version of the target observation.
  4. Optimization: The model is trained by minimizing the reconstruction loss between the rendered estimate and the actual ground-truth target observation.

By training on pairs of observations of the same underlying signal—such as two different frames from a video or two photos of the same object—the model learns the distribution of signals that satisfy the physical constraints of the forward model.

3. Experimental Validation

The framework was evaluated across three distinct domains to demonstrate its versatility:

  • Inverse Graphics (3D Reconstruction): The model was tasked with reconstructing 3D scenes from 2D images using the Co3D (objects) and RealEstate10k (indoor/outdoor environments) datasets. To incorporate geometric inductive biases, the authors used a pixelNeRF architecture as the denoiser, which utilizes camera projections to maintain spatial consistency.
  • Single-Image Motion Prediction: Using the Vimeo90K dataset, the model predicted potential pixel movement in a video sequence starting from a single static frame.
  • GAN Inversion: The model recovered StyleGAN latent codes from small image patches using the FFHQ face dataset, effectively "imagining" the rest of a face from a tiny fragment.

4. Key Insights and Results

4.1 Learning via Consistency

A primary insight of this work is that the model does not need to see 3D data to understand 3D geometry. By enforcing consistency across multiple 2D views during training, the model learns that "plausible" 3D signals are those that appear realistic when rendered from any perspective. The paper provides a formal proof of asymptotic correctness, showing that as the number of observations per signal increases, the learned distribution converges to the true hidden signal distribution.

4.2 Performance and Diversity

The diffusion-based approach significantly outperformed deterministic baselines. On the RealEstate10k dataset, the model achieved an FID of 42.84, a substantial improvement over SparseFusion (99.44). Unlike deterministic models that often produce "blurry" averages when faced with uncertainty (e.g., an ambiguous area behind an object), this model generates sharp, diverse samples. Each sample represents a distinct, plausible completion of the scene, maintaining perfect multi-view consistency.

5. Limitations and Future Work

Despite its success, the method faces several challenges:

  • Computational Overhead: The iterative nature of diffusion, combined with a forward pass (like volume rendering) at each step, makes sampling significantly slower than deterministic methods.
  • Data Requirements: The framework requires at least two observations of the same signal during training. It cannot currently learn from a collection of entirely unrelated single images.
  • Scalability: While effective on specific categories like hydrants or rooms, scaling to the massive variety of "in-the-wild" internet imagery remains an open research problem.

6. Conclusion

This work demonstrates that differentiable forward models can effectively substitute for direct supervision in training diffusion models for inverse problems. By shifting the denoising process to the observation space while estimating the underlying signal, the framework enables the recovery of complex, high-dimensional data from partial views. This approach holds significant potential for scientific fields where ground-truth data is difficult to acquire, such as medical imaging or computational photography.

Summary updated

BibTeX
@inproceedings{tewari2023diffusion,
  author = {Ayush Tewari and Tianwei Yin and George Cazenavette and Semon Rezchikov and Joshua B. Tenenbaum and Fredo Durand and William T. Freeman and Vincent Sitzmann},
  title = {{Diffusion with Forward Models: Solving Stochastic Inverse Problems Without Direct Supervision}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=gq4xkwQZ1l},
}
Figure