Manuscript Offprint

arXiv:2610.02753

Correcting Guided Diffusion Trajectories with Spectral Alignment

Gihoon Kim, Taesup Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

The practical success of conditional image generation hinges on fine-grained differences in condition alignment and visual fidelity. Classifier-free guidance (CFG) is central to this success, but its lack of an explicit criterion makes it difficult to assess whether the guided trajectory is progressing as intended. To address this gap, we show that spectral alignment provides a principled criterion for understanding guidance behavior and improving guided diffusion sampling through adaptive correction. Our analysis identifies the spectra of intermediate states as an indicator of consistency with the expected spectral evolution of the forward process. Based on this observation, we introduce Spectral Correction Guidance, a method that corrects deviations from an analytic reference spectrum during sampling. The proposed method is training-free and applicable across diffusion backbones and conditional generation tasks without modifying the underlying model. Experiments demonstrate consistent gains in preference-based metrics over baseline guidance methods in text-to-image generation and improved generation quality over CFG on ImageNet. These improvements persist across a range of guidance scales and with fewer denoising steps. Our analyses and ablations provide insight into guidance behavior and how the proposed method affects generation quality.

1 INTRODUCTION

Denoising diffusion models (Sohl-Dickstein et al., 2015; Ho et al., 2020; Song et al., 2020a;b; Dhariwal & Nichol, 2021) have shown strong generative capabilities across diverse domains (Ho et al., 2022; Liu et al., 2023; Chi et al., 2025), including image synthesis (Nichol & Dhariwal, 2021; Karras et al., 2022; Peebles & Xie, 2023). They exhibit stable convergence during training while modeling the reverse of a forward noising process that perturbs clean data toward a noise distribution. The learned reverse process captures rich data distributions, enabling sample generation through denoising from high to low noise levels. Building on this capability, diffusion models support open-ended conditional generation tasks such as text-to-image synthesis (Rombach et al., 2022; Saharia et al., 2022; Podell et al., 2023; Chen et al., 2023; 2024; Xie et al., 2024; Esser et al., 2024).

Classifier-free guidance (CFG) (Ho & Salimans, 2022) has become a standard technique for steering sampling toward the target condition in diffusion models. As illustrated in Figures 1a and 1b, conditional sampling without guidance often fails to capture the target condition, whereas CFG improves both condition alignment and perceptual quality. These benefits depend on how guidance is applied along the denoising trajectory (Hong et al., 2023; Karras et al., 2024; Sadat et al., 2024). However, standard CFG uses a fixed guidance scale, limiting its ability to provide appropriate guidance at each denoising step (Kynkäänniemi et al., 2024).

Recent guidance methods aim to enhance the benefits of CFG while mitigating its adverse effects. They adjust the guidance strength across timesteps (Kynkäänniemi et al., 2024; Malarz et al., 2025; Jin et al., 2025a), modify the direction of guidance with geometric constraints (Sadat et al., 2025a; Chung et al., 2024; Kwon et al., 2025; Jin et al., 2025b), or modulate guidance within predefined frequency bands (Zhang et al., 2024; Sadat et al., 2025b; Song et al., 2026). However, these benefits may not extend beyond the settings these methods are designed to address, such as high-guidance regimes. In Section 6.1, experimental results show that these methods yield limited gains across a range of generation settings, where vanilla CFG remains a strong baseline.

(a) No CFG

Figure

Spectral distance = 0.014

(b) CFG

Spectral distance = 0.006

(c) Ours

Spectral distance = 0.002

Figure 1: For the prompt “a male surfer in black shorts carrying a white board” on SD3.5 (Esser et al., 2024), sampling without CFG fails to form a reliable conditional image. CFG produces a more plausible image but introduces an artifact where the surfboard overlaps with the person. Our method better preserves the intended composition and improves visual coherence. It also yields the lowest spectral distance, which we analyze in Section 3.

In this paper, we argue that these limitations arise from reliance on constraints or suppression rules without a criterion to guide correction along the denoising trajectory. However, defining such a criterion is challenging in the conventional spatial domain, since coordinate-based representations encode local structures and reflect sample-specific characteristics. To address this difficulty, we identify alignment between the power spectra of guided intermediate states and the expected spectra under the forward process as a key indicator of effective guidance. This provides a complementary perspective, capturing global patterns of diffusion dynamics along the denoising trajectory.

Building on this observation, we propose Spectral Correction Guidance, a training-free method for correcting guided denoising trajectories according to the spectral dynamics of the diffusion process. We derive a criterion from the power-law spectral statistics of natural images (Ruderman, 1997), yielding a distributional reference that is not tied to individual samples or specific failure patterns. Based on this criterion, our method corrects deviations from the expected spectral behavior in intermediate states. The proposed correction enables adaptive adjustments across frequencies and timesteps without relying on a prescribed correction pattern.

We further validate our method through extensive experiments on diverse conditional image generation tasks. In text-to-image generation, the proposed correction improves preference-based metrics across multiple backbones and guidance settings, indicating better text alignment and visual quality. In class-conditional generation, our method achieves lower FID (Heusel et al., 2017) and higher Inception Score (Salimans et al., 2016) than CFG, even with fewer sampling steps. These results demonstrate that correcting spectral deviations during sampling can improve generation quality without additional training. Ablation studies examine how correction strength and the timestep range over which correction is applied affect generation outputs. We also discuss how the proposed method relates to existing guidance approaches from a spectral perspective.

References (51)