cs.CVJun 25, 2026

DiffRGD: An Inference-Time Diffusion Guidance Through Riemannian Gradient Descent

Authors: Jia-Wei LiaoLi-Xuan PengMei-Heng YuehMin SunCheng-Fu ChouJun-Cheng Chen

Organizations: 1National Taiwan University · 4Academia Sinica · 2National Tsing Hua University · 3National Taiwan Normal University

Abstract

Recently, diffusion models have been widely adopted in generative modeling and have served as foundational models for many image generation tasks. To control the generation without costly re-training or fine-tuning, many works seek inference-time guidance methods to steer the latent via a differentiable objective at inference time. However, these methods cannot effectively preserve the original Gaussian distribution because they introduce distributional drift, thereby degrading the sample quality. To address this gap, we propose DiffRGD, a distribution-aware guidance framework that explicitly preserves the latent Gaussian structure. DiffRGD formulates each sampling step as a constrained optimization problem on a spherical manifold induced by the latent Gaussian distribution, and solves it efficiently via Riemannian Gradient Descent (RGD). DiffRGD is a plug-and-play method that can be seamlessly integrated into any pre-trained diffusion model. Extensive experiments demonstrate that DiffRGD outperforms previous methods in most image restoration and conditional generation tasks. Our project page is available at https://diffrgd.github.io/.

Explore similar work

CardsList
  1. General and Efficient Steering of Diffusion Models

    Feb 11, 2026Qingsong Wang, Mikhail Belkin, Yusu WangActivation Steering

  2. Spectral Guidance for Flexible and Efficient Control of Diffusion Models

    May 27, 2026Gabriel Moreira, Manuel Marques, João Paulo Costeira +1Generative Processes