English

Kernel Density Steering: Inference-Time Scaling via Mode Seeking for Image Restoration

Computer Vision and Pattern Recognition 2025-10-28 v2 Image and Video Processing

Abstract

Diffusion models show promise for image restoration, but existing methods often struggle with inconsistent fidelity and undesirable artifacts. To address this, we introduce Kernel Density Steering (KDS), a novel inference-time framework promoting robust, high-fidelity outputs through explicit local mode-seeking. KDS employs an NN-particle ensemble of diffusion samples, computing patch-wise kernel density estimation gradients from their collective outputs. These gradients steer patches in each particle towards shared, higher-density regions identified within the ensemble. This collective local mode-seeking mechanism, acting as "collective wisdom", steers samples away from spurious modes prone to artifacts, arising from independent sampling or model imperfections, and towards more robust, high-fidelity structures. This allows us to obtain better quality samples at the expense of higher compute by simultaneously sampling multiple particles. As a plug-and-play framework, KDS requires no retraining or external verifiers, seamlessly integrating with various diffusion samplers. Extensive numerical validations demonstrate KDS substantially improves both quantitative and qualitative performance on challenging real-world super-resolution and image inpainting tasks.

Keywords

Cite

@article{arxiv.2507.05604,
  title  = {Kernel Density Steering: Inference-Time Scaling via Mode Seeking for Image Restoration},
  author = {Yuyang Hu and Kangfu Mei and Mojtaba Sahraee-Ardakan and Ulugbek S. Kamilov and Peyman Milanfar and Mauricio Delbracio},
  journal= {arXiv preprint arXiv:2507.05604},
  year   = {2025}
}
R2 v1 2026-07-01T03:50:40.110Z