cs.LGNov 21, 2026

RadAG: Reward-Adversarial Attention Guidance for Efficient Inference-Time Alignment of Diffusion Models

Authors: Hyeongchan Jeon, Kwanyoung Kim

Organizations: Department of AI, Gwangju Institute of Science and Technology (GIST)

Abstract

Diffusion and flow-based models have achieved remarkable success in generation, yet their samples often remain suboptimal in fidelity and text alignment. Two lines of inference-time methods address this: extrapolation guidance, such as classifier-free guidance (CFG) and its variants, and reward guidance, which aligns samples with reward models of human preference. Extrapolation guidance needs only forward passes, but it builds its reference by heuristic rules unrelated to the reward and therefore cannot steer sampling toward a given reward. Gradient-based reward guidance steers sampling directly toward a higher reward, but backpropagates through the entire generator at every step. This trade-off raises the question of whether extrapolation guidance can steer sampling toward a higher reward without a full backward pass. To answer this, we introduce Reward-Adversarial Attention Guidance (RadAG), which constructs the reference by perturbing the attention logits of a single block against their reward gradient and extrapolates away from it. We prove that this update increases the reward of the clean estimate to first order, while its backward pass stops at the perturbed block instead of traversing the entire generator. On FLUX.2-klein-4B and 9B with PickScore and aesthetic rewards, RadAG achieves the highest target reward in every setting with 30-65% less time than gradient-based and candidate-based baselines.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Mar 3, 2026

Guidance Ends When Reading Ends: Retrieval-Gated Attention Guidance for Diffusion Models through a Hopfield Lens

Beyond classifier-free guidance, attention-space guidance extrapolates between a strong and a weak attention map within a single forward pass. However, two questions that govern its behavior remain unexamined: along which direction the extrapolation should proceed, and for how many sampling steps it should be applied. The first governs sample quality, and the second governs cost. Interestingly, viewing attention as sparse Hopfield retrieval answers both questions. At every sampling step, the informative direction is the component of the residual parallel to the sparse retrieval output. The guidance acts on the prompt in proportion to the attention mass that image queries assign to text tokens; and since the prompt shapes the image only in the early part of sampling, guidance matters only while the prompt is still being read. Building on this analysis, we propose Retrieval-Gated Attention Guidance (ReGA), which extrapolates only along this parallel component and applies the update only over the early steps holding half of the total prompt-attention mass. Extensive measurements inside the attention layers of UNet and MM-DiT backbones confirm both theoretical predictions. Across various backbone models, in multi-step and few-step regimes, ReGA consistently improves text alignment and human-preference scores over existing attention-space guidance methods, while adding as little as 2% inference time on MM-DiT backbones.
Jun 16, 2026

NoiseTilt: Noise-Tilted Reverse Kernels for Diffusion Reward Alignment

We introduce the Noise-Tilted Reverse Kernel (NTRK), a reward-guided diffusion sampler that injects reward gradients through the noise term, leaving the pretrained reverse kernel unchanged and requiring only a single sample per step. Reward-guided sampling at inference time has greatly expanded the versatility of pretrained diffusion models. Yet existing methods face a trade-off. Gradient-based guidance shifts the reverse mean, steering generation but pushing intermediate states outside the region that the model was trained on and degrading quality. Search-based methods preserve quality but gain no gradient signal. No prior method achieves both. NTRK resolves this by keeping the reverse mean fixed and biasing the noise term toward high reward. This is enabled by a whitening operator, the central mechanism behind NTRK, which converts reward gradients into noise-compatible perturbations without losing their guiding signal. Across various reward alignment tasks, NTRK outperforms recent state-of-the-art baselines without losing sample quality. Remarkably, on aesthetic generation, NTRK surpasses the reward of the best baseline at 500 NFEs using only 25 NFEs, a 20 times reduction in compute.
May 20, 2026

Hierarchical Variational Policies for Reward-Guided Diffusion

Adapting pretrained diffusion models to downstream objectives such as inverse problems often requires expensive test-time guidance or optimization. We propose a principled framework for generating high-quality reward-aligned samples at substantially reduced inference cost. Our approach formulates test-time adaptation as a hierarchical variational model, where control is amortized into a lightweight yet expressive stochastic policy. This formulation naturally supports few-step diffusion sampling: large step sizes enable fast inference, while the learned policy maintains sample quality by providing structured per-step control. The resulting fully amortized sampler achieves a strong quality--speed tradeoff, matching or exceeding recent test-time scaling baselines while requiring significantly less compute. For example, on 4x super-resolution, our method achieves better perceptual quality with more than 5x faster inference compared to the best-performing baseline. We further extend our approach to a semi-amortized regime that combines cheap amortized proposals with limited test-time optimization, achieving state-of-the-art perceptual quality across several challenging inverse problems.