acceptodds
Published as a conference paper at NeurIPS 2026

Beyond Single-Shot Conditioning: Test-Time Condition Refinement for Diffusion-Based Image Restoration

Aiping Zhang, Jiangang Wang, Shangquan Sun, Yuning Cui, Fan Li, Renjing Pei, Wenqi Ren, XIAOCHUN CAO

Abstract

Conditional diffusion models have emerged as a powerful paradigm for image restoration, leveraging pre-trained generative priors to recover high-fidelity details from degraded inputs. However, existing methods typically follow a static inference protocol, treating the degraded observation as a fixed control signal throughout sampling. This overlooks the potential of inference-time scaling, where guidance can be refined on the fly to improve output quality. Recent test-time optimization approaches that manipulate noise variables or denoising trajectories often compromise structural fidelity, while those targeting text embeddings lack the spatial precision needed for restoration. To address this, we propose Condition-Aware Test-Time Optimization (CATTO), a training-free method that iteratively refines the visual conditioning signal at inference time. CATTO performs reward-aligned condition refinement under the pre-trained prior to enhance perceptual quality. To avoid complex backpropagation, we design a gradient-free optimization strategy guided by a joint objective: maximizing a perceptual reward while enforcing trajectory- and condition-level consistency to explicitly preserve structural fidelity. This process is accelerated by optimizing within a low-dimensional frequency subspace and reusing reliable updates across nearby denoising steps. Experiments on image restoration benchmarks show that CATTO improves perceptual quality over strong diffusion-based baselines without updating model parameters.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_7erHOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper revisits how the conditioning signal is used in diffusion-based image restoration. Existing methods encode the degraded image once and keep it fixed as the guidance throughout sampling; the authors argue this both wastes the compute that could be spent at inference time and lets an inherently unreliable degraded guidance accumulate and hurt the final result. They propose CATTO, a training-free, plug-and-play test-time framework that treats the visual condition itself as an optimizable variable and iteratively refines it throughout the denoising process — skipping steps via momentum caching for efficiency — while keeping the diffusion model frozen. The objective combines a perceptual reward, a trajectory-consistency term, and a condition-fidelity term, with time-dependent weights that emphasize structure early and detail late. It is solved with a gradient-free evolution strategy that treats the image-quality scorer as a black box and estimates an update direction via sampling, monotonic filtering, and weighted aggregation, using a DCT band-gain subspace and momentum caching to cut cost. The authors validate CATTO on super-resolution, face restoration, inpainting, and low-light enhancement across five heterogeneous backbones, reporting simultaneous gains on fidelity and perception over test-time baselines such as BoN, DSearch, FK, and KDS.

Strengths and weaknesses

Strengths

  • The empirical coverage is a clear strength — four tasks, five backbones, multiple full- and no-reference metrics, plus runtime, noise robustness, and a trade-off visualization, with fairly complete ablations.
  • The method is training-free and plug-and-play, works across three diffusion paradigms and two architectures, and brings the cost of test-time optimization down to roughly that of BoN, giving it practical value.
  • The methodological core is clearly written; the key derivations and the unified-predictor treatment across the three paradigms are handled well, and the framework figure and two algorithm boxes aid understanding.

Weaknesses

  • Evolution strategies, frequency-domain parameterization, the trajectory consistency obtained by simplifying a KL term, and momentum caching are all existing tools, so the novelty lies in the angle rather than the mechanism. In particular, the frequency-plus-evolution-search-plus-inference-time-reward recipe overlaps heavily with a recent inference-time method [1], and an AAAI 2026 work [2], which targets essentially the same problem, is neither cited nor compared.

  • The evidence for the central claim is thin. The "gains on both ends" advantage, while real, is small. In Table 2, KDS reaches a higher PSNR than CATTO on the LDM and SeeSR blocks (29.10 vs 28.88; 28.49 vs 28.25), but it does so at a large perceptual cost (MUSIQ collapses to 45.45/61.07, both below the backbone baseline, versus CATTO's 52.05/67.05); so KDS's PSNR edge does not by itself contradict the paper's narrative — KDS is simply a fidelity-leaning method that sacrifices perception, which is consistent with the claimed trade-off. The real concern is that CATTO's simultaneous improvement over its own backbone is marginal: many gains appear only in the second or third decimal place, with no error bars or significance tests, which the authors acknowledge are missing — making the "improves both axes at once" claim hard to establish. The objective-term ablation shows tiny differences (e.g., reward-only PSNR 28.18/MUSIQ 67.13 vs full 28.25/67.05, MUSIQ even slightly lower), making it hard to justify the necessity of the three-term objective. All methods use a fixed candidate count of twenty, but per-step cost differs, and whether the comparison is under equal compute is not stated.

  • The gains are small and lack significance, making it hard to judge whether the benefit is robust and perceptible in real deployment.

[1] Spectral Evolution Search: Efficient Inference-Time Scaling for Reward-Aligned Image Generation. arXiv:2602.03208, 2026.

[2] Test-Time Preference Optimization for Image Restoration. AAAI 2026; arXiv:2511.19169, 2025.

Questions

Please refer to the weaknesses above.

Limitations

yes

Paper formatting concerns

None

Final justification

My concerns are fully addressed. I maintain my recommendation for Borderline accept.

1 comment

R1: Novelty and Differences from SES and TTPO.

A1 : Thank you for the valuable comments. CATTO differs from SES [1] (arXiv’26) and TTPO [2] (AAAI’26) in two fundamental respects: what is optimized at test time and how the optimization is tailored to image restoration. Although these methods share generic TTO components, their optimized variables and inference procedures are distinct. SES fixes the condition and optimizes the low-frequency components of the initial noise for image generation. TTPO constructs preference pairs through inversion and backpropagates guidance to intermediate denoising states. In contrast, CATTO performs black-box, gradient-free optimization directly over the visual condition, with trajectory-consistency and condition-fidelity constraints specifically designed for restoration. Under controlled comparisons using the same datasets, backbones, and reward models, CATTO outperforms both methods (Table R1). These results attribute CATTO’s gains to its condition-level optimization and restoration-specific formulation, rather than to generic TTO components.

Table R1: Comparisons with two recent methods on DrealSR based on SeeSR.

MethodPSNR↑SSIM↑MUSIQ↑MANIQA↑CLIPIQA↑LIQE↑Time↓
SeeSR28.070.768365.080.51270.69044.1084.22
SES (NRE=20)28.110.768565.710.52310.71794.18563.21
TTPO27.550.772863.120.52310.69644.15718.25
CATTO28.250.770565.230.53460.71104.23413.91

R2. Statistical reliability.

A2: Across all nine backbone–task combinations in Tables 2, 3, and 8 of the main manuscript, CATTO consistently improves PSNR, SSIM, LPIPS, and MUSIQ over the corresponding backbone. Across the six settings in the main tables, the gains range from +0.14 to +1.31 dB in PSNR, 0.0010 to 0.0369 in LPIPS reduction, and +0.21 to +1.97 in MUSIQ. Improvements are also observed on the held-out perceptual metrics MANIQA and LIQE. Notably, KDS exhibits a clear fidelity–perception trade-off: although it improves PSNR on LDM and SeeSR, it significantly reduces MUSIQ. In contrast, CATTO simultaneously improves PSNR and MUSIQ, supporting its ability to enhance fidelity without sacrificing perceptual quality.

To assess the statistical reliability of these gains, in Table R2, we report paired-bootstrap 95% confidence intervals based on 10 resamples and Wilcoxon signed-rank tests with Holm correction. For both backbones, all reported 95% confidence intervals exclude zero in the favorable direction, demonstrating statistically reliable improvements in both fidelity and perceptual quality.

Table R2: Statistical results with two backbones on DrealSR. Values denote the performance difference (Δ\Delta) relative to CATTO.

BackboneΔPSNR↑ (95% CI / Holm-corrected p)ΔMANIQA↑ (95% CI / Holm-corrected p)ΔLIQE↑ (95% CI / Holm-corrected p)
SeeSR+0.18 [+0.11, +0.24] / 0.2757+0.0033 [+0.0026, +0.0042] / 0.0065+0.106 [+0.038,+0.174] / 0.011
PMRF+0.64 [+0.49, +1.04] / 0.0005+0.0118 [+0.0051, +0.0342] / 0.0148+0.261 [+0.138,+0.314] / <0.001

R3. Role of the three-term objective.

A3: The three objective terms play distinct but complementary roles in controlling the fidelity–perception trade-off; they are not designed to independently maximize every metric. The reward promotes perceptual quality, achieving the highest MUSIQ, whereas trajectory consistency and condition fidelity regularize the optimization to limit prior drift and structural distortion. As shown in Table R3, the results are stable across seeds and align with each term’s intended role.

Table R3: Results of three terms. We report paired-bootstrap 95% confidence intervals based on 10 resamples and Wilcoxon signed-rank tests with Holm correction.

ObjectivePSNR↑MUSIQ↑CLIPIQA↑
Reward28.18 [28.04,28.32]67.13 [66.73,67.53]0.7106 [0.7073,0.7139]
Reward + Traj.28.24 [28.12, 28.36]67.05 [66.65,67.45]0.7112 [0.7092,0.7131]
Reward + Cond.28.23 [28.09, 28.37]67.05 [66.63,67.47]0.7111 [0.7077,0.7145]
Full28.25 [28.13, 28.37]67.05 [66.64,67.46]0.7116 [0.7084,0.7148]

R4. Compute fairness.

A4: The reported comparison is candidate- and reward- matched, not strictly compute-matched. Nevertheless, Table 7 of the main manuscript reports the realized runtime and memory, and CATTO is about 26.6% faster than BoN, 61.5% faster than DSearch, and 14.0% faster than KDS, while being only 7.2% slower than FK. CATTO uses 7.58 GB memory, only 0.15-0.70 GB more than the test-time baselines, indicating a comparable memory footprint despite its lower runtime. Thus, its gains are not obtained through greater runtime than most baselines.

In Table R4, we match the dominant denoising computation using candidate-equivalent denoiser Number of Function Evaluations (NFEs). The reference budget is the manuscript-era CATTO configuration: 50 SeeSR steps, 20 DCT candidates at 13 key steps (steps 0, 4, ..., 48), and condition reuse at the remaining 37 steps. Its budget is therefore 37 + 20 x 13 = 297 NFE. As we can see, CATTO achieves a favorable efficiency–quality trade-off. While DSearch obtains the best scores on several no-reference perceptual metrics, it requires 44.738 s/image, over 3.2× slower than CATTO. CATTO delivers competitive PSNR (28.25), MUSIQ (67.05), ARNIQA (0.7040) and CLIPIQA (0.7116) with only 13.912 s/image. Compared with KDS, CATTO incurs a modest increase in runtime but substantially improves no-reference perceptual quality. These results position CATTO as a Pareto-efficient solution balancing inference cost, memory usage, fidelity, and perceptual quality.

Table R4: Efficiency–quality comparison with matched sampling budgets.

MethodExplicit budgetNumber of Function Evaluations (NFEs)Time (s/img)Peak VRAM (GiB)PSNR ↑MUSIQ ↑ARNIQA ↑CLIPIQA ↑
KDS6 particles for 50 steps3009.2686.7328.7461.530.67200.6010
BoN6 complete 50-step trajectories30027.6578.9427.8367.320.70310.7163
FK6 particles; 43 reward evaluations30025.3737.4628.0965.970.69710.7061
DSearch19 candidates at 13 search steps29744.7387.2027.7967.560.70890.7112
CATTO20 DCT candidates at 13 key steps29713.9127.5828.2567.050.70400.7116

R5. The gains are small and lack significance.

A5: Across all nine backbone–task combinations in Tables 2, 3, and 8 of the main manuscript, CATTO consistently improves PSNR, SSIM, LPIPS, and MUSIQ over the corresponding backbone. Paired significance tests and a blind user study further demonstrate the superior performance of CATTO, supporting both its robustness and perceptual quality. As shown in Table R5, CATTO achieves statistically significant improvements over competing methods on most perceptual-quality metrics. While a few comparisons do not reach statistical significance, the estimated effects generally remain favorable to CATTO, indicating a consistent overall advantage across methods and metrics.

Besides, as in Table R6, a blinded, randomized study with 23 participants yielded 460 judgments on images randomly sampled from the test set. CATTO achieves a 68.8% mean preference rate, exceeding 60% against every competing method, demonstrating its evident visual superiority.

Table R5: Statistical comparison of CATTO with competing methods. Values denote the performance difference (Δ\Delta) relative to CATTO, with 95% confidence intervals and pp-values.

MethodPSNR Δ [95% CI]; pMUSIQ Δ [95% CI]; pARNIQA Δ [95% CI]; pMANIQA Δ [95% CI]; p
SeeSR+0.18 [0.10, 0.26]; <0.001+1.97 [1.51, 2.45]; <0.001+0.016 [0.011, 0.021]; <0.001+0.003 [-0.002, 0.010]; 0.865
BoN+0.03 [-0.24, 0.34]; 1.000+0.57 [-0.53, 1.52]; 0.342+0.012 [0.002, 0.022]; 0.031+0.012 [0.000, 0.024]; 0.187
FK+0.21 [-0.01, 0.44]; 0.212+2.03 [1.08, 2.95]; <0.001+0.015 [0.004, 0.024]; 0.007+0.006 [-0.008, 0.020]; 0.872
DSearch+0.04 [-0.21, 0.30]; 1.000+0.63 [0.21, 1.56]; 0.342+0.006 [-0.003, 0.014]; 0.210+0.001 [-0.012, 0.016]; 0.872
KDS-0.24 [-0.43, -0.05]; 0.062+5.98 [4.76, 7.26]; <0.001+0.028 [0.017, 0.038]; <0.001+0.023 [0.007, 0.039]; 0.041

Table R6: Results of human preference study.

Comparison methodPerceptual qualityStructural faithfulnessCombined
CATTO vs. Base63.0%66.3%64.7%
CATTO vs. BoN77.2%57.6%67.4%
CATTO vs. FK58.7%66.3%62.5%
CATTO vs. DSearch78.3%82.6%80.4%
CATTO vs. KDS80.4%57.6%69.0%
Overall71.5%66.1%68.8%
Reviewer_e3DDOpenReview ↗
Rating
5
Clarity
4
Confidence
3
Originality
4
Quality
4
Significance
4
Read review
Summary

This paper propose Condition-Aware Test-Time Optimization (CATTO), a training-free method that iteratively refines the visual conditioning signal at inference time. Experiments demonstrate that the method has achieved good performance.

Strengths and weaknesses

Strengths:

The proposed condition-aware test-time optimization is novel in image restoration. Also the final results demonstrate the effectiveness of the method. This paper is well motivated and formated.

Weakness:

The author is encouraged to implement and compare their model in the prevalent all-in-one image restoration setting.

Questions

N/A

Limitations

See weakness above.

Paper formatting concerns

N/A

Final justification

The authors have addressed all of my previous concerns.

1 comment

Q1: The author is encouraged to implement and compare their model in the prevalent all-in-one image restoration setting.

A1: Thanks for your suggestion. We integrated CATTO into DACLIP, an all-in-one latent-diffusion restorer using a single model for tackling multiple degradations. We freeze its CLIP encoder, diffusion backbone, and apply CATTO only to the degraded-image condition during the multi-step reverse process. As shown in Table R1, among these tasks, DACLIP + CATTO achieves better performance than the DACLIP baseline, demonstrating that CATTO also generalizes to the all-in-one restoration setting.

Table R1: Comparison results on an all-in-one method of DACLIP.

TaskMethodPSNR ↑SSIM ↑LPIPS ↓CLIPIQA ↑MANIQA ↑NIQE ↓
DenoiseDACLIP baseline25.72470.72490.163840.60700.42403.9049
DenoiseDACLIP + CATTO25.72620.72500.161960.64370.43433.8788
DerainDACLIP baseline28.20890.85770.075660.73240.48593.1326
DerainDACLIP + CATTO28.24620.85820.074520.75130.49193.1309
Low-light enhancementDACLIP baseline24.26590.85500.078890.54410.59314.6574
Low-light enhancementDACLIP + CATTO24.24950.85390.078570.57150.59594.6198
Reviewer_V8TJOpenReview ↗
Rating
3
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

The paper proposes CATTO, a training free, gradient free, inference time method for diffusion based image restoration that iteratively refines the visual conditioning signal during reverse sampling rather than optimizing the initial noise or steering trajectory states. A zero order evolution strategy optimizer searches a low dimensional global DCT band gain parameterization, driven by a three term per step objective: a perceptual image quality reward, a trajectory consistency term, and a condition fidelity L1 term. The paper derives a unified trajectory KL decomposition spanning DDPM, DDIM, and flow matching and evaluates on super resolution, face restoration, inpainting, and low light enhancement across five backbones, reporting full reference and no reference image quality metrics against inference time baselines (BoN, DSearch, FK, KDS).

Strengths and weaknesses

Strengths

  • The method targets a reasonable limitation of single shot conditioning and proposes an intuitive alternative: refining the conditioning signal itself rather than perturbing noise or trajectory states.
  • The method is training free and relatively plug and play across several backbones, including DDPM and DDIM style models and flow matching models.
  • The objective includes explicit trajectory consistency and condition fidelity regularization, which matters because naive reward optimization in restoration can easily destroy structural faithfulness.

Weaknesses

  • No human or subjective evaluation. Despite improved perceptual quality being the central claim, there is no user study. For restoration, visual plausibility and structural faithfulness are hard to validate with image quality metrics alone.
  • No controlled ablation isolating the optimization target. The core thesis is that conditioning optimization beats latent or noise optimization, but no table applies CATTO's own optimizer, parameterization, objective, and budget to the latent or noise variable under matched settings. The cross method comparisons to BoN and DSearch confound target with optimizer and search strategy.
Questions
  • Can you apply CATTO's identical optimizer, parameterization, objective, and budget to the latent or noise variable versus the condition, holding everything else fixed?
  • Can you provide a human preference study comparing CATTO with the base model and with BoN, FK, DSearch, and KDS, and a held out reward and evaluation split using image quality models from different families?
  • What are the main failure cases of condition refinement under severe blur, occlusion, low light, or unknown degradations?
Limitations

yes

Paper formatting concerns

N.A.

Final justification

updated per contribution type

1 comment

Q1: Human or subjective evaluation.

A1: A blinded, randomized study with 23 participants yielded 460 judgments on images randomly sampled from the test set. CATTO achieves a 68.8% mean preference rate, exceeding 60% against every competing method.

Table R1: Results of human preference study.

Comparison methodPerceptual qualityStructural faithfulnessCombined
CATTO vs. Base63.0%66.3%64.7%
CATTO vs. BoN77.2%57.6%67.4%
CATTO vs. FK58.7%66.3%62.5%
CATTO vs. DSearch78.3%82.6%80.4%
CATTO vs. KDS80.4%57.6%69.0%
Overall71.5%66.1%68.8%

Q2: Results on a held-out reward using image quality models from different families.

A2: We explicitly distinguish reward-aligned metrics (MUSIQ, ARNIQA, and CLIPIQA) from held-out evaluation metrics (PSNR, SSIM, LPIPS, MANIQA, NIQE, and LIQE). On RealSR dataset with SeeSR, CATTO improves all held-out metrics over the base model, including PSNR (25.15→25.27), SSIM (0.7210→0.7303), LPIPS (0.3007→0.2991), MANIQA (0.5435→0.5635), NIQE (5.397→5.381), and LIQE (4.135→4.297). This indicates that the gains transfer beyond the data and IQA models used for reward design. We mark aligned and held-out metrics as A^{\mathrm{A}} and H^{\mathrm{H}}, respectively, in Table R2.

Table R2. Results on the dataset of RealSR using the SeeSR backbone.

MethodPSNR ↑ H^{\mathrm{H}}SSIM ↑ H^{\mathrm{H}}LPIPS ↓ H^{\mathrm{H}}MUSIQ ↑ A^{\mathrm{A}}ARNIQA ↑ A^{\mathrm{A}}CLIPIQA ↑ A^{\mathrm{A}}MANIQA ↑ H^{\mathrm{H}}NIQE ↓ H^{\mathrm{H}}LIQE ↑ H^{\mathrm{H}}
SeeSR (Base)25.150.72100.300769.820.71540.67050.54355.3974.135
BoN25.050.72090.292469.600.71880.67980.52155.3213.978
FK25.080.71870.300370.060.72110.70010.54455.2274.123
DSearch24.620.70510.320371.870.72490.71210.56335.3594.237
KDS26.070.74090.276865.800.70300.65930.51585.5313.942
CATTO25.270.73030.299172.410.72750.71670.56355.3814.297

Q3: No controlled ablation isolating the optimization target.

A3: In Table R3, we conducted a controlled ablation on same dataset (DrealSR) over condition cimc_{\mathrm{im}}, latent ztz_t, and noise ϵt\epsilon_t. All variants use the same frozen backbone (SeeSR), seed, d-dimensional DCT parameterization, ES optimizer (2N=20, K=9, sigma=0.05), objective, update schedule, and reward-query budget. The same L1L_1 proximity term is applied relative to the original value of each optimized variable. Under this matched setting, condition optimization achieves the best performance, confirming that the gain mainly arises from the structured, restoration-aligned condition interface rather than the optimizer or budget.

Table R3: Comparison of performing the same optimization on the latent or noise.

TargetPSNR ↑SSIM ↑MUSIQ ↑ARNIQA ↑MANIQA ↑CLIPIQA ↑
seesr28.070.768365.080.68840.51270.6904
condition cimc_{\mathrm{im}}28.250.770567.050.70400.51600.7116
latent ztz_t26.990.733363.140.68200.51600.6547
noise ϵt\epsilon_t27.350.743065.640.69240.47520.6654

Q4: What are the main failure cases of condition refinement under severe blur, occlusion, low light, or unknown degradations?

A4: CATTO may over-smooth large homogeneous regions and occasionally hallucinate unnecessary fine details in very small structures produced by the base model. In Table R4, we also evaluate CATTO on the OOD LOLBlur dataset (low-light + motion blur), or under severe noise (σ=90\sigma=90), and low light (LOL dataset). CATTO still improves performance. We will include failure cases and analysis in the revision.

Table R4: Results on OOD (LOLBlur), severe noise (CBSD68 with σ=90\sigma=90) and low light (LOL).

PSNRLPIPS↓MUSIQCLIPIQANIQE↓
OODDiffUIR10.740.800144.130.18005.5173
+CATTO12.650.760850.810.19385.1873
Severe DegradationDiffBIR21.770.671858.070.53434.5752
+CATTO22.660.577158.730.54854.0165
Low LightDA-CLIP24.260.078874.040.54414.6574
+CATTO24.250.078574.850.57154.6198

Comments on the paper

1 comment
Meta-review

Reviewers generally liked CATTO because it is training-free, plug-and-play, works across several restoration tasks and diffusion backbones, and shows consistent metric gains. The main concerns are that the gains may be small, there is no human/subjective testing, novelty is limited, and the key claim is not fully isolated with matched ablations. I would lean borderline accept: the method is practical and well evaluated, but the paper would be much stronger with clearer evidence that the improvements are meaningful and truly come from optimizing the conditio

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.