TL;DR
This paper introduces a training-free, plug-and-play framework that uses inference-time search to inject "side information" (such as reference images or text descriptions) into diffusion-based image reconstruction. By treating side information as a reward function to guide a novel hierarchical particle search algorithm called Recursive Fork-Join Search (RFJS), the method consistently improves reconstruction fidelity in severely degraded settings. Crucially, this approach unlocks true test-time compute scaling for inverse problems, where allocating more compute directly translates to higher-quality results.
What Problem Does This Paper Address?
When reconstructing an image from highly degraded data—such as an extremely blurry photo, a heavily downsampled image, or a picture with large missing regions—the problem is severely ill-posed. Multiple completely different images can explain the corrupted measurements equally well, causing standard diffusion-based solvers to hallucinate incorrect details or fail to preserve key semantics (like a person's unique facial identity).
While auxiliary "side information"—such as a reference photo of the same person, a text prompt, or a different medical imaging contrast scan—can resolve this ambiguity, existing methods typically require training specialized conditional diffusion models from scratch. This training process is computationally expensive, demands massive paired datasets, and locks the model into a single modality.
The authors address a fundamental question: How can we leverage powerful, pre-trained, unconditional diffusion models to utilize arbitrary side information at inference time without any retraining?
Methods
The authors propose a training-free framework that reformulates image reconstruction as an inference-time particle search problem.
- Reward-Tilted Posterior Modeling: Instead of modifying the diffusion model's weights, they model the target conditional distribution by "tilting" the unconditional diffusion prior using an off-the-shelf reward function $r(x_0; s)$. This reward scores how well a candidate reconstruction matches the side information $s$. Because it treats the reward as a black box, this formulation is entirely modality-agnostic and supports non-differentiable functions.
- Search Algorithms: Rather than relying on local gradient steps through the denoiser (which can introduce artifacts and are slow), the framework maintains a pool of $N$ parallel image trajectories (particles). The authors propose two search strategies:
- Greedy Search (GS): Periodically halts the diffusion process and resamples particles globally, keeping only those with the highest rewards.
- Recursive Fork-Join Search (RFJS): A novel hierarchical approach where particles are divided into dynamic groups. Resampling happens frequently within small local groups and less frequently across larger groups. This balances exploration (preserving sample diversity) and exploitation (retaining high-reward paths), preventing the particle collapse common in standard greedy methods.
The framework is highly modular and plugs directly into existing state-of-the-art inverse problem solvers, including Diffusion Posterior Sampling (DPS), Decoupled Adversarial Posterior Sampling (DAPS), and Manifold Preserving Guided Diffusion (MPGD).
Datasets
The framework was evaluated across three distinct types of side information using standard benchmarks:
- CelebA-HQ & FFHQ: Used for face reconstruction tasks (inpainting, super-resolution, deblurring) where a different image of the same individual serves as the reference side information.
- ImageNet validation set: Used for general image reconstruction tasks guided by short textual descriptions generated via ChatGPT.
- fastMRI knee dataset: Used for medical imaging evaluation, pairing Proton Density (PD) and Proton Density Fat-Suppressed (PDFS) contrasts to reconstruct one modality using the other as side information.
Key Insights and Ideas
- Side Information Enables Compute Scaling: A major finding is that scaling test-time compute (increasing the number of particles $N$) without side information yields negligible gains. Selecting the best particle based purely on the measurement residual causes the model to overfit to the noise. Side information provides the necessary anchor to make extra compute useful.
- The Failure of Classical Metrics: Traditional metrics like PSNR and SSIM operate at the pixel or low-level structural level and often fail to capture high-level semantic correctness. The authors demonstrate cases where a baseline solver achieves a higher PSNR but completely fails to preserve a person's identity. This highlights the necessity of task-specific perceptual metrics like
FaceSimilarityandCLIPScore. - Gradient-Free Robustness: Moving away from reward-gradient guidance avoids calculating costly second-order derivatives through the diffusion network. It also makes the system robust against adversarial local minima and compatible with non-differentiable reward functions.
Key Results
- Perceptual Improvements: Across all tasks, the proposed framework significantly boosts perceptual quality. For face box inpainting using DPS, RFJS drops the
FaceSimilarityscore (where lower is better) from 0.739 to 0.308 while keeping classical metrics stable or slightly improved. - Superior Scaling: RFJS scales efficiently as the number of particles $N$ increases from 1 to 8, consistently outperforming both Greedy Search and Best-of-N baselines.
- Versatility: The method successfully handles diverse forms of guidance, including reference images (via AdaFace rewards), text descriptions (via ImageReward), and multi-contrast MRI scans (via Normalized Mutual Information).
Limitations and Future Work
- Heuristic Search Schedules: The search schedules (such as group sizes and resampling rates) rely on intuitive heuristics rather than a provably optimal mathematical framework for exploration-exploitation.
- Computational Cost: While parallelization keeps wall-clock overhead moderate (an 8-particle run takes about 4–5× longer than a 1-particle baseline), it still demands significantly more compute than a single standard diffusion pass.
- Future Directions: The authors point out that developing a generalized mathematical framework to design optimal branching and resampling strategies for diffusion-based inverse problems remains an important open challenge.
Summary updated