betaFeedback

WorksComputer Science

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

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.

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.

Introduction

Diffusion and flow-based models have achieved remarkable success in image generation [20, 26, 45] and are rapidly extending to video [41, 58]. Without guidance, however, their samples are often suboptimal, losing detail or missing parts of the prompt.

Inference-time guidance addresses this by modifying the prediction during sampling, and classifier-free guidance (CFG) [25], which extrapolates the conditional prediction away from an unconditional one, is the dominant approach. CFG has inspired a family of extrapolation guidance methods that replace the unconditional reference with other degraded predictions, obtained from a less-trained version of the model [34] or from attention-based perturbations of the model [1, 27, 28, 36]. These methods improve samples using forward passes only, but their references follow heuristic

MethodNo extra trainingNo candidate branchingReward-guidedNo full backward
CFG [25]✗✓✗✓
DPS [12], NoiseTilt [30]✓✓✓✗
SVDD-PM [43]✓✗✓✓
PAG [1], SEG [27]✓✓✗✓
RadAG (Ours)✓✓✓✓

Table 1. Comparison of inference-time guidance methods.

rules unrelated to the reward, so they cannot steer sampling toward a given reward.

Reward guidance offers an alternative that steers sampling toward a higher reward directly, using reward models of human preference [40, 53, 64]. Unlike fine-tuning [7, 14, 17], which requires training for each reward, inference-time reward guidance keeps the generator frozen. Besides candidate-based search [32, 39, 43], whose cost grows with the number of candidates, the most direct approach is gradient-based guidance [12, 30, 66], which evaluates the reward on the estimated clean sample and differentiates it with respect to the noisy sample. Because the clean estimate is a function of the generator output, this gradient requires backpropagation through the reward model, the decoder, and the entire generator at every step (Figure 2).

Figure 2. Comparison of RadAG with existing methods. (a) Gradient-based guidance backpropagates the reward through the entire generator, (b) candidate-based search selects among KK samples, and (c) perturbation-based attention guidance modifies attention by a heuristic rule. (d) RadAG stops the reward gradient at the attention logits of block ℓ\ell and moves them against it.

Extrapolation guidance is thus efficient but cannot steer toward a reward, whereas gradient-based guidance steers toward a reward at a high cost (Table 1). This trade-off raises the question: Can extrapolation guidance steer sampling toward a higher reward without a full backward pass?

To answer this question, we first examine what the reference of extrapolation guidance moves away from. Visualizing attention, we find that existing references perturb it by rules unrelated to the image content, whereas the reward is most sensitive to the attention logits on the objects of each sample, where the base attention also concentrates.

Building on this observation, we propose Reward-Adversarial Attention Guidance (RadAG), which perturbs these logits in the direction that lowers the reward and extrapolates away from the resulting prediction. We prove that this update increases the reward of the clean estimate to first order, and since it keeps the form of CFG, existing refinements of CFG can also be applied. To compute the reward gradient efficiently, we further introduce a partial backward pass that stops at the perturbed block instead of traversing the entire generator, together with forward reuse that computes the reference from the cached computation before this block. We summarize our contributions as follows:

  • To steer extrapolation guidance toward a reward, we propose RadAG, which perturbs attention logits against their reward gradient to construct the reference, and prove its first-order reward ascent.

  • RadAG stops the generator backward pass at the per-

turbed block and reuses the forward computation before it, which makes the generator backward pass more than 6×6\times faster than that of DPS.

  • Across model scales and rewards, RadAG achieves a better reward–time trade-off than existing inference-time guidance (Figure 3). Combined with existing refinements of CFG, RadAG+ raises the target reward further at no additional backward cost.

Figure 3. Reward–time trade-off of reward-based methods. Target reward versus generation time for Table 2, with batch size 4 (4B) and 2 (9B) on one NVIDIA RTX A6000; upper left is better.

Background

Diffusion and Flow-Based Generative Models

Diffusion and flow-based generative models [26, 45, 46] generate a clean latent z0z_0 from Gaussian noise ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0, I) by reversing a noising process. With the linear interpolant zt=(1−t)z0+tϵz_t = (1-t)z_0 + t\epsilon for t∈[0,1]t \in[0, 1], flow matching [45, 46] trains a velocity field vθv_\theta conditioned on cc by

min⁡θEt,z0,ϵ[∥(ϵ−z0)−vθ(zt,t,c)∥22].(1)\min_\theta\mathbb{E}_{t,z_0,\epsilon}\left[\left\|(\epsilon-z_0)-v_\theta(z_t,t,c)\right\|_2^2\right]. \tag*{(1)}

Since the regression target is ϵ−z0\epsilon-z_0, the prediction also gives a clean estimate,

z^0∣t=zt−tvθ(zt,t,c),(2)\hat{z}_{0|t}=z_t-tv_\theta(z_t,t,c), \tag*{(2)}

the flow counterpart of Tweedie’s formula for the posterior mean E[z0∣zt,c]\mathbb{E}[z_0 \mid z_t,c] [18, 38]. Sampling proceeds from t=1t=1 to t=0t=0, and for t′<tt' < t an Euler step reads

zt′=zt+(t′−t)vθ(zt,t,c).(3)z_{t'}=z_t+(t'-t)v_\theta(z_t,t,c). \tag*{(3)}

Guidance replaces vθv_\theta in Eq. (3) with a modified prediction. A VAE decoder DD [52] maps the clean estimate to the image x^0∣t=D(z^0∣t)\hat{x}_{0|t}=D(\hat{z}_{0|t}) for reward evaluation.

Classifier-Free and Perturbation-Based Attention Guidance

Classifier-free guidance (CFG) [25] trains the generator with condition dropout so that it also predicts vθ(zt,t,∅)v_\theta(z_t,t,\varnothing) under the null condition ∅\varnothing. Abbreviating vθ(zt,t,c)v_\theta(z_t,t,c) as vθv_\theta and taking vref=vθ(zt,t,∅)v_{\mathrm{ref}}=v_\theta(z_t,t,\varnothing), CFG replaces the Euler step of Eq. (3) with

zt′=zt+(t′−t)[vθ+w(vθ−vref)],(4)z_{t'}=z_t+(t'-t)\left[v_\theta+w(v_\theta-v_{\mathrm{ref}})\right], \tag*{(4)}

where w≥0w \ge0 is the guidance scale. Since vθ−vrefv_\theta-v_{\mathrm{ref}} is proportional to the score of p(c∣zt)p(c\mid z_t), CFG tilts the conditional distribution toward a higher implicit reward log⁡p(c∣zt)\log p(c\mid z_t) [25]. We refer to updates of the form of Eq. (4), with any reference prediction vrefv_{\mathrm{ref}}, as extrapolation guidance. Other methods change the reference. For example, autoguidance [34] takes vrefv_{\mathrm{ref}} from a less-trained version of the generator, and perturbation-based attention guidance takes it from the pretrained generator with modified attention. At block ℓ\ell, attention computes

Attn⁡ℓ=Softmax⁡(Sℓ)Vℓ,Sℓ=QℓKℓTd,(5)\operatorname{Attn}_{\ell}=\operatorname{Softmax}(S_{\ell})V_{\ell},\qquad S_{\ell}=\frac{Q_{\ell}K_{\ell}^{\mathsf{T}}}{\sqrt{d}}, \tag*{(5)}

where Attn⁡ℓ\operatorname{Attn}_{\ell} is the attention output, SℓS_{\ell} are the attention logits, Aℓ=Softmax⁡(Sℓ)A_{\ell}=\operatorname{Softmax}(S_{\ell}) is the attention map over keys, and dd is the key dimension per head. SAG [28] blurs the input regions selected by AℓA_{\ell}, PAG [1] replaces AℓA_{\ell} with the identity, SEG [27] smooths AℓA_{\ell} by blurring the queries, and ASAG [36] recomputes AℓA_{\ell} adversarially with Sinkhorn iterations. These heuristics do not depend on any reward, so they cannot steer sampling toward a given reward even when one is available.

Gradient-Based Guidance

Let R(x,c)R(x,c) be a differentiable scalar reward, such as a model of human preference, with larger values indicating better alignment. Gradient-based guidance evaluates the reward on the decoded clean estimate and differentiates it with respect to the noisy sample,

gzt=∇ztR(D(z^0∣t),c),(6)g_{z_t}=\nabla_{z_t}R(D(\hat{z}_{0|t}),c), \tag*{(6)}

and adds it to the Euler step of Eq. (3):

zt′=zt+(t′−t)vθ+λtgzt,(7)z_{t'}=z_t+(t'-t)v_\theta+\lambda_t g_{z_t}, \tag*{(7)}

where λt≥0\lambda_t \ge0 is the correction strength, including any schedule-dependent scaling. This form follows diffusion posterior sampling (DPS) [12], which uses a measurement log-likelihood in place of the reward, and FreeDoM [66], which repeats the guided step within a range of noise levels; NoiseTilt [30] instead injects a whitened reward gradient through the stochastic noise term. Compared with Eq. (4), the correction λtgzt\lambda_t g_{z_t} steers toward the reward directly, but because z^0∣t\hat{z}_{0|t} depends on the generator prediction, computing it requires backpropagation through the reward model, the decoder, and all generator blocks at every step (Figure 2). LAGS [35] and QGF [69] avoid this backward pass by approximating the Jacobian of the clean estimate with a finite difference or the identity, whereas RadAG takes the exact gradient at the attention logits of a late block (App. § 7).

Motivation

Extrapolation guidance moves the prediction away from a reference, so what it improves depends on how the reference differs from the base prediction. For perturbation-based attention guidance, this difference lies in the attention of one block. We therefore examine what existing references change in the attention, and which attention a reference would have to change to raise a given reward.

Content-agnostic references. Figure 4 shows, for an image query (circle) in each example, its attention over the image keys in the base model and in the references of PAG and SEG, which act on this image-to-image part of the joint attention. In the base model, the query on the bird attends to the bird, and the query on the giraffe attends to the giraffe. PAG replaces this row with the identity, so the query attends only to itself, and SEG spreads it almost uniformly over the image. Both apply the same heuristic to every query, prompt, and reward, so the reference, and with it the direction of improvement, is unrelated to the target reward.

Figure 4. Attention of the references and reward sensitivity. Attention of an image query (circle) over the image keys in the base model, PAG, and SEG, and its reward sensitivity ∣gSℓ∣|g_{S_\ell}|.

Reward sensitivity. To find which attention a reference should change instead, we measure how strongly the reward depends on each attention logit and define the reward sensitivity as the gradient of the reward of the clean estimate in Eq. (2) with respect to the attention logits of block ℓ\ell,

gSℓ=∇SℓR(D(z^0∣t),c).(8)g_{S_\ell} = \nabla_{S_\ell} R(\mathcal{D}(\hat{z}_{0|t}), c). \tag*{(8)}

The last column of Figure 4 shows its magnitude for the same query: unlike the references of PAG and SEG, it concentrates on the queried object.

Concentration on objects. Figure 5 checks this over 100 COCO prompts. For each prompt, we segment the object under the query with Mask2Former [11] and compare its mask with the map of the query by two standard measures for heatmaps [3]: rank accuracy, the share of the KK largest entries of the map that fall inside the mask, where KK is the mask size, and mass accuracy, the share of the sum of the map inside the mask (App. § 10.§ 2). A map that does not prefer the object scores the object area in both, 15% on average. The reward sensitivity scores 55% and 45%, three to four times this area, whereas the PAG and SEG maps stay at or below it, so they change the attention on the object no more than a uniform map would.

Figure 5. Concentration of the maps on the queried object. Rank and mass accuracy of the PAG and SEG attention maps and of the reward sensitivity of RadAG against the mask of the queried object over 100 COCO prompts; the dashed line is the object area.

Therefore, the reward of a sample depends mainly on the attention to its objects, which heuristic references do not

target. If the reference instead changes exactly these logits in the direction that lowers the reward, extrapolating away from it moves the sample where the reward is decided and should raise the reward.

Method

Following § 3, we construct a reference that lowers the reward through the attention logits and prove that extrapolating away from it raises the reward (§ 4.1), compute this reference with a partial backward pass and forward reuse (§ 4.2), and extend RadAG with refinements of extrapolation guidance (Sec. 4.3).

Reward-Adversarial Attention Guidance

Reward-adversarial reference. § 3 showed that the reward depends mainly on the attention logits with a large reward sensitivity gSℓg_{S_\ell} in Eq. (8), and RadAG constructs its reference by lowering the reward through exactly these logits. It first normalizes the sensitivity as

g~Sℓ=gSℓ−mean⁡K(gSℓ)RMS⁡(gSℓ),(9)\tilde{g}_{S_\ell} = \frac{g_{S_\ell} - \operatorname{mean}_{K}(g_{S_\ell})}{\operatorname{RMS}(g_{S_\ell})}, \tag*{(9)}

where mean⁡K\operatorname{mean}_{K} takes the mean of each row over the image keys K\mathcal{K} and RMS⁡(x)=∥x∥2/dim⁡x\operatorname{RMS}(x) = \lVert x \rVert_2 / \sqrt{\dim x}. The normalization serves two purposes. First, the centering removes the part of gSℓg_{S_\ell} that raises all image-key logits of a query equally; this part only shifts attention between image and text keys. Second, the division by the RMS makes the perturbation strength independent of the scale of the reward. The normalization is applied separately to image and text queries and leaves the logits to text keys unchanged (App. B).

RadAG then moves the logits against this direction and takes the resulting prediction as the reference,

Sadv=Sℓ−αg~Sℓ,vadv=vθ(zt,t,c;Sadv),(10)S_{\mathrm{adv}} = S_\ell- \alpha\tilde{g}_{S_\ell}, \qquad v_{\mathrm{adv}} = v_\theta(z_t,t,c;S_{\mathrm{adv}}), \tag*{(10)}

where α>0\alpha> 0 is the perturbation strength and vθ(zt,t,c;S)v_\theta(z_t,t,c;S) is the prediction with the logits of block ℓ\ell replaced by SS, which is the base prediction vθv_\theta for S=SℓS = S_\ell.

Moving the logits against g~Sℓ\tilde{g}_{S_\ell} lowers the reward most rapidly to first order, so vadvv_{\mathrm{adv}} is a prediction with a lower target reward. Unlike gradient-based guidance, which differentiates the reward with respect to the latent through the entire generator, RadAG differentiates it only with respect to the attention logits on which it depends (§ 3), so the backward pass stops at block ℓ\ell (§ 4.2). vadvv_{\mathrm{adv}} thus plays the role of the unconditional prediction in CFG, and extrapolating away from it raises the reward.

Update rule. RadAG replaces the reference prediction vrefv_{\mathrm{ref}} in Eq. (4) with vadvv_{\mathrm{adv}}:

zt′=zt+(t′−t)[vθ+w(vθ−vadv)]⏟vRadAG,(11)z_{t'} = z_t + (t' - t)\underbrace{\left[v_\theta+ w(v_\theta- v_{\mathrm{adv}})\right]}_{v_{\mathrm{RadAG}}}, \tag*{(11)}

and repeats this step from t=1t = 1 to t=0t = 0 (Algorithm 1).

Reward ascent. To verify that moving away from vadvv_{\mathrm{adv}} raises the reward, we write the reward of the clean estimate computed from a velocity vv by Eq. (2) as

Rt(v)=R(D(z^0∣t),c),z^0∣t=zt−tv,(12)R_t(v) = R\left(D(\hat{z}_{0|t}),c\right), \qquad\hat{z}_{0|t} = z_t - tv, \tag*{(12)}

so that gSℓ=∇SℓRt(vθ)g_{S_\ell} = \nabla_{S_\ell}R_t(v_\theta). To first order in α\alpha, the reference then lowers the reward by Δ=α⟨gSℓ,g~Sℓ⟩≥0\Delta= \alpha\langle g_{S_\ell},\tilde{g}_{S_\ell}\rangle\ge0 (App. B.2), Rt(vadv)=Rt(vθ)−ΔR_t(v_{\mathrm{adv}}) = R_t(v_\theta) - \Delta, and Proposition 1 shows that the update raises it.

Proposition 1 (Extrapolation from a reward-adversarial reference ascends the reward). Assume that S↦vθ(zt,t,c;S)S \mapsto v_\theta(z_t,t,c;S) is twice continuously differentiable near SℓS_\ell and that RtR_t is twice continuously differentiable near vθv_\theta. For fixed w>0w > 0, as α→0\alpha\to0,

Rt(vRadAG)−Rt(vθ)=wΔ+O(α2),(13)R_t(v_{\mathrm{RadAG}}) - R_t(v_\theta) = w\Delta+ O(\alpha^2), \tag*{(13)}

where Δ=α⟨gSℓ,g~Sℓ⟩\Delta= \alpha\langle g_{S_\ell},\tilde{g}_{S_\ell}\rangle.

Proposition 1 states that the update gains ww times the reward Δ\Delta that the reference loses, since by Eq. (11) it reverses the deviation vadv−vθv_{\mathrm{adv}} - v_\theta of the reference and scales it by ww. Here ⟨gSℓ,g~Sℓ⟩\langle g_{S_\ell},\tilde{g}_{S_\ell}\rangle is the rate at which the reward falls as the logits move along −g~Sℓ-\tilde{g}_{S_\ell}, that is, the strength of the reward

Algorithm 1 Inference-Time Sampling with RadAG.
Require: condition cc, times 1=t0>⋯>tK=01 = t_0 > \cdots> t_K = 0, block ℓ\ell, strengths α,w\alpha,w
1: zt0∼N(0,I)z_{t_0} \sim\mathcal{N}(0,\mathbf{I})
2: for k=0,…,K−1k = 0,\ldots,K-1 do
3: t←tk, t′←tk+1t \gets t_k,\ t' \gets t_{k+1}
4: hℓ,vθ←h_\ell,v_\theta\gets Eq. (14) & ▹\triangleright graph from SℓS_\ell on
5: gSℓ←∇SℓRt(vθ)g_{S_\ell} \gets\nabla_{S_\ell}R_t(v_\theta) & ▹\triangleright partial backward
6: Sadv←Sℓ−αg~SℓS_{\mathrm{adv}} \gets S_\ell-\alpha\tilde{g}_{S_\ell} & ▹\triangleright Eq. (9)
7: vadv←v_{\mathrm{adv}} \gets Eq. (14) from cached hℓh_\ell & ▹\triangleright forward reuse
8: vRadAG←vθ+w(vθ−vadv)v_{\mathrm{RadAG}} \gets v_\theta+w(v_\theta-v_{\mathrm{adv}})
9: zt′←zt+(t′−t)vRadAGz_{t'} \gets z_t+(t'-t)v_{\mathrm{RadAG}}
10: end for
11: return z0z_0

Table 1 (PDF p. 5).

sensitivity of block ℓ\ell, so the gain grows with this sensitivity, which § 3 found to be large on the queried objects. Since Δ>0\Delta> 0 unless gSℓg_{S_\ell} is constant over the image keys of every query (App. B.2), RadAG raises the reward of the clean estimate for any differentiable target reward.

Efficient Reward Gradient and Reference

Compared with existing extrapolation guidance, RadAG requires two additional computations at each step: a backward pass for gSℓg_{S_\ell} and a reference pass for vadvv_{\mathrm{adv}}, which needs SℓS_\ell and therefore cannot run in the same batch as the base pass, unlike the reference passes of CFG and PAG [1]. Omitting tt and cc, we write the generator with LL blocks as vθ=fL∘⋯∘f1(zt)v_\theta= f_L \circ\cdots\circ f_1(z_t), let hℓ=fℓ−1∘⋯∘f1(zt)h_\ell= f_{\ell-1} \circ\cdots\circ f_1(z_t) be the input of block ℓ\ell, and let fℓ(hℓ;S)f_\ell(h_\ell;S) denote block ℓ\ell with its attention logits set to SS. Then

vθ=fL∘⋯∘fℓ(hℓ;Sℓ),v_\theta= f_L \circ\cdots\circ f_\ell(h_\ell;S_\ell),
vadv=fL∘⋯∘fℓ(hℓ;Sadv).(14)v_{\mathrm{adv}} = f_L \circ\cdots\circ f_\ell(h_\ell;S_{\mathrm{adv}}). \tag*{(14)}

where hℓh_\ell depends on neither SℓS_\ell nor SadvS_{\mathrm{adv}}. Figure 6 shows how RadAG uses this split in two ways.

Figure 6. Efficient computation of RadAG. (a) Partial backward: the reward gradient stops at SℓS_\ell. (b) Forward reuse: the reference pass reruns only fℓ,…,fLf_\ell,\ldots,f_L from the cached hℓh_\ell with SadvS_{\mathrm{adv}}.

Partial backward. Since hℓh_\ell does not depend on SℓS_\ell, the reward sensitivity gSℓ=∇SℓRt(vθ)g_{S_\ell} = \nabla_{S_\ell} R_t(v_\theta) depends only on the computation after SℓS_\ell. RadAG therefore computes hℓh_\ell without storing its computation graph, so the backward pass stops at block ℓ\ell instead of traversing the entire generator as for gztg_{z_t} (Figure 6a). Block ℓ\ell keeps the fused attention kernel [15] in the forward pass and recomputes SℓS_\ell only for the backward pass (App. § 10.§ 3).

Forward reuse. The base and reference passes differ only from block ℓ\ell on, so they share hℓh_\ell. RadAG therefore caches hℓh_\ell in the base pass and reruns only fℓ,…,fLf_\ell,\ldots,f_L with SadvS_{\mathrm{adv}} (Figure 6b). Each step thus needs one full forward pass, one forward pass of fℓ,…,fLf_\ell,\ldots,f_L, and one backward pass from the reward to block ℓ\ell, and a later block shortens both partial passes (§ 5.4); Algorithm 1 summarizes the procedure.

Extrapolation Refinements: RadAG+

Our update rule in Eq. (11) keeps the form of Eq. (4) with vadvv_{\mathrm{adv}} as the negative branch, so techniques developed to refine extrapolation guidance also apply to RadAG, and RadAG+ adopts two of them.

First, attention-level guidance such as NAG [10] and PLADIS [37] extrapolates between the attention outputs of a positive and a negative branch rather than between final predictions. Gradient-based and candidate-based reward guidance has no negative attention branch, but the reference pass of RadAG already computes one, the attention output of the reward-adversarial logits, Attnadv=Softmax⁡(Sadv)Vℓ\mathrm{Attn}_{\mathrm{adv}} = \operatorname{Softmax}(S_{\mathrm{adv}})V_\ell. RadAG+ therefore extrapolates

Attn~=Attnℓ+γ(Attnℓ−Attnadv),\widetilde{\mathrm{Attn}} = \mathrm{Attn}_\ell+ \gamma(\mathrm{Attn}_\ell- \mathrm{Attn}_{\mathrm{adv}}),
vattn=fL∘⋯∘fℓ(hℓ;Attn+),(15)v_{\mathrm{attn}} = f_L \circ\cdots\circ f_\ell(h_\ell;\mathrm{Attn}_+), \tag*{(15)}

where γ>0\gamma> 0, Attn+\mathrm{Attn}_+ is Attn~\widetilde{\mathrm{Attn}} after the norm bound and blend of NAG (App. § 10.§ 4), and block ℓ\ell uses Attn+\mathrm{Attn}_+ as its attention output. Attnadv\mathrm{Attn}_{\mathrm{adv}} comes from the reference pass at no cost, and computing vattnv_{\mathrm{attn}} takes one more forward pass of fℓ,…,fLf_\ell,\ldots,f_L from the cached hℓh_\ell.

Second, as CFG++ [13] does for CFG, RadAG+ uses the guided velocity only to predict the clean sample and keeps vθv_\theta to predict the noise that the update adds back to the latent. The guidance thus changes the predicted clean sample without altering the predicted noise, which keeps the latent close to those the generator was trained on; this needs a guided prediction in the form of Eq. (4), which gradient-based and candidate-based reward guidance do not form. With both refinements, Eq. (11) becomes

zt′=zt+(t′−t)[vθ+κt(w(vθ−vadv)+vattn−vθ)],(16)z_{t'} = z_t + (t'-t)\left[v_\theta+ \kappa_t\left(w(v_\theta-v_{\mathrm{adv}})+v_{\mathrm{attn}}-v_\theta\right)\right], \tag*{(16)}

where κt=t(1−t′)/(t−t′)\kappa_t = t(1-t')/(t-t') results from the noise estimate (App. § 10.§ 4). With κt=1\kappa_t=1 and without vattn−vθv_{\mathrm{attn}}-v_\theta, Eq. (16) reduces to Eq. (11).

Experiments

Setup

Models and data. We evaluate FLUX.2-klein-4B and FLUX.2-klein-9B [8] at 5122512^2 with four sampling steps and without CFG on COCO val2014 captions [44]. For ϵ\epsilon-prediction models such as SDXL, RadAG uses the corresponding clean estimate in place of Eq. (2) (Sec. E.1). Table 2 and Figure 3 use 5,000 prompts; all other quantitative evaluations use 1,000 prompts. All methods share the evaluation captions and initial noise seeds, and hyperparameters are tuned on 100 separate captions (Sec. D.1).

FLUX.2-klein-4BFLUX.2-klein-9B
MethodPick↑CLIP↑IR↑HPSv2↑Pick↑CLIP↑IR↑HPSv2↑
Reward-free
Vanilla22.89326.4621.0710.29623.07226.7371.2070.301
SAG [28]22.83626.4221.0790.29722.97626.6991.2060.302
PAG [1]22.37426.9611.0930.29722.87126.9731.2060.296
SEG [27]21.74126.9410.9930.28222.79426.5781.2090.299
Reward-based
DPS [12]23.03426.5061.0870.29723.20826.7501.2230.303
FreeDoM [66]24.20526.6591.1070.30923.99726.8091.2070.310
SVDD-PM [43]23.39026.7131.1380.30223.59826.9211.2610.309
NoiseTilt [30]24.94626.6011.1590.31624.64926.7871.2610.318
RadAG (Ours)25.29326.7651.1950.32125.47726.8571.3000.325
RadAG+ (Ours)25.83126.6931.2160.32625.93226.8711.3140.330
FLUX.2-klein-4BFLUX.2-klein-9B
MethodAES v2↑Q-Align↑NIMA↑IR↑AES v2↑Q-Align↑NIMA↑IR↑
Reward-free
Vanilla5.2922.8715.1251.0715.3963.0705.2051.207
SAG [28]5.2992.9205.2151.0785.4023.0845.2211.210
PAG [1]5.4263.0095.2651.1145.4273.2665.2791.217
SEG [27]5.4643.1015.3231.1455.4503.4705.3401.209
Reward-based
DPS [12]5.3352.8815.1321.0735.4323.0825.2121.208
FreeDoM [66]6.1493.1325.4081.0266.0853.2385.3921.149
SVDD-PM [43]5.5703.0405.2411.0795.6663.2265.3001.210
NoiseTilt [30]6.3763.0615.3121.0956.2553.2035.3271.215
RadAG (Ours)6.5213.1105.3281.1076.6213.3625.4221.223
RadAG+ (Ours)6.7263.2115.4201.0996.7993.3975.4841.227

Table 2. Reward alignment across model scales. Mean scores over 5,000 COCO prompts; ✓ marks the target reward. Bold and underline mark the best and second-best guided results, ranked on unrounded scores.

Target and held-out rewards. We guide each model with PickScore [40] or the LAION aesthetic predictor [53]. We call the reward used for guidance the target reward and the evaluation rewards not used for guidance the held-out rewards. The held-out rewards are CLIP score [24], ImageReward [64], and HPSv2 [63] for PickScore guidance, and Q-Align [62], NIMA [56], and ImageReward for guidance with the aesthetic predictor.

Baselines. We compare RadAG and RadAG+ against the unguided model (Vanilla), perturbation-based attention guidance (SAG [28], PAG [1], SEG [27]), gradient-based guidance (DPS [12], FreeDoM [66], NoiseTilt [30]), and candidate-based search (SVDD-PM [43]). SAG, PAG, and SEG use the block of RadAG, and all baselines keep their original settings (Sec. D.5).

Main Results

Quantitative results. To test whether RadAG raises the target reward at a lower cost than existing inference-time guidance, Table 2 reports the target and held-out rewards. RadAG attains the highest target reward among the baselines in all four settings. This gain does not come at the expense of other rewards: RadAG ranks among the top three on all twelve held-out rewards, and it scores higher than the baseline in 75 of the 84 combinations of the seven baselines and the twelve held-out rewards. Perturbation-based attention guidance barely moves the target reward with its heuristic references, and PAG and SEG even lower PickScore below Vanilla. RadAG+ raises the target reward further in all four settings and improves ten of the twelve held-out rewards over RadAG.

Qualitative results. Figure 1 compares samples of Vanilla, DPS, NoiseTilt, and RadAG, and App. § 11.§ 4 shows more samples on both scales and on SD3 Medium. On SD3 Medium with CFG, RadAG attains the second-highest PickScore after FreeDoM and the highest CLIP score in 2.3 times less time than FreeDoM (Sec. E.1).

Generation quality and reward-latency comparison for Vanilla, RadAG, DPS, and NoiseTilt

Figure 1. RadAG aligns a diffusion model with a reward at low cost. (a) Samples of the base model (Vanilla) and RadAG from the same prompts and seeds. (b) Samples of DPS [12], NoiseTilt [30], and RadAG with their time per image; across our settings, RadAG takes 30–65% less time than gradient-based and candidate-based baselines (§ 5.2).

Performance–time trade-off. Figure 3 places these rewards against the time per image. RadAG takes 30 to 65% less time than the gradient-based and candidate-based baselines and lies at the upper left in every setting; § 5.3 analyzes where this saving comes from.

Inference Cost

To see where the saving in Figure 3 comes from, Figure 7 breaks the time per image into stages. RadAG and DPS both take one reward gradient per step and share every other stage, so they differ mainly in the backward pass through the generator. Since this pass stops at block ℓ\ell, RadAG makes it 6.1 and 6.5 times faster on the 4B and 9B models, while its reference forward pass adds only 5 to 7% of the total time, so RadAG takes 30 to 40% less time than DPS. NoiseTilt and SVDD-PM are slower than DPS owing to gradient whitening and candidate passes (§ 3).

Figure 7. Time per image of reward-based methods by stage. PickScore guidance, 1,000 prompts, one NVIDIA RTX A6000, summed over four steps. Forward includes the generator, decoder, and reward model.

Ablation Study

We ablate where RadAG modifies the generator, from coarse to fine: the block (Table 3), the variable within the block (Table 4), and the region of the logits (Table 5). Tables 3–5 use PickScore guidance on FLUX.2-klein-4B.

BlocksPick↑\uparrowCLIP↑\uparrowIR↑\uparrowHPSv2↑\uparrowTime↓\downarrow
Vanilla22.89126.4161.0590.2960.611
13 (early)24.50826.6921.1460.3152.690
7 (middle)24.99626.8571.1790.3202.410
4 (late)25.28026.7591.1820.3212.256
13 (early)24.50826.7231.1360.3152.445
7 (middle)24.99826.8491.1830.3202.045
4 (late)25.29026.7971.1860.3211.864

Table 3. Block depth and forward reuse. Blocks counts block ℓ\ell and the later ones out of 25; time is seconds per image.

LocationPick↑\uparrowCLIP↑\uparrowIR↑\uparrowHPSv2↑\uparrowTime↓\downarrow
Vanilla22.89126.4201.0590.2960.611
Value VℓV_{\ell}25.06626.9021.1940.3151.768
Map AℓA_{\ell}25.35626.8401.1750.3231.848
Output Attnℓ_{\ell}25.42526.8621.1610.3211.761
Block output24.49026.6321.1180.3081.736
Logits SℓS_{\ell}25.29026.7701.1860.3211.864

Table 4. Modification location. Each location uses its own tuned strength and guidance scale; time is seconds per image.

RegionPick↑\uparrowCLIP↑\uparrowIR↑\uparrowHPSv2↑\uparrow
Vanilla22.89126.4201.0590.296
II25.16726.7601.1800.321
TI23.36126.4901.0760.300
IT22.67327.0201.0550.293
TT23.14326.5501.0630.297
II+TI25.29026.7701.1860.321

Table 5. Attention region. Letters give the query and key modalities, image (I) or text (T).

Block depth and forward reuse. Table 3 moves block ℓ\ell from early to late, with and without forward reuse. The later the block, the fewer blocks the backward pass traverses, so the time decreases in both groups. With forward reuse, the reference pass also reruns fewer blocks, so the time decreases faster and the gap between the two groups widens. Later blocks also give higher PickScore and ImageReward, so the latest block is the cheapest and the most effective.

Modification location. To test whether the gain is specific to the logits, Table 4 applies the same construction to other variables of block ℓ\ell (Sec. D.3). Every variable inside the attention raises the target reward well above Vanilla, while the block output raises it less, so the gain comes from the reward-adversarial reference within the attention rather than a particular variable. We use the logits, on which § 3 and Eq. (9) are defined.

Attention region. To find which logits carry the gain, Table 5 modifies each query–key region of the joint attention separately, where II denotes the logits from image queries to image keys, TI from text to image, IT from image to text, and TT from text to text. The logits to image keys (II and TI) carry most of the gain, and modifying both gives the highest PickScore and ImageReward, while the logits to text keys barely help and IT even falls below Vanilla, so RadAG modifies only the logits to image keys.

Components of RadAG+. RadAG alone already attains the highest target reward among the baselines (Table 2), and RadAG+ raises it further at almost no cost. Table 6 adds each refinement of Sec. 4.3 to RadAG separately: each

Attn.NoisePick↑\uparrowCLIP↑\uparrowIR↑\uparrowHPSv2↑\uparrowΔ\DeltaTime
25.28226.7721.1840.321–
✓25.42026.7731.1860.321−1%
✓25.54726.6901.1750.322+6%
✓✓25.74626.6411.1880.324+5%

Table 6. Components of RadAG+. Attention-output extrapolation (Attn.) and separate noise estimate (Noise). Δ\DeltaTime is relative to RadAG; all four settings are in Table 8. (a) FLUX.2-klein-4B, PickScore guidance

Attn.NoiseAES↑\uparrowQ-Align↑\uparrowNIMA↑\uparrowIR↑\uparrowΔ\DeltaTime
6.6213.3465.4111.236–
✓6.7123.3905.4531.2400%
✓6.7013.3475.4361.243+8%
✓✓6.7823.3785.4791.240+8%

Table 6b. (b) FLUX.2-klein-9B, aesthetic guidance

raises the target reward in all four settings (Table 8), and together they give the highest, close to the sum of the separate gains, while only the attention-output extrapolation adds time (5 to 8%).

FLUX.2-klein-4BFLUX.2-klein-9B
Attn.NoisePick↑CLIP↑IR↑HPSv2↑Time↓Pick↑CLIP↑IR↑HPSv2↑Time↓
(a) PickScore guidance
25.28226.7721.1840.3211.9325.45626.7941.3110.3242.78
✓25.42026.7731.1860.3211.9225.63526.7781.3190.3252.77
✓25.54726.6901.1750.3222.0425.72526.8111.3210.3272.97
✓✓25.74626.6411.1880.3242.0325.91926.8701.3270.3292.98
(b) Aesthetic guidance
Attn.NoiseAES v2↑Q-Align↑NIMA↑IR↑Time↓AES v2↑Q-Align↑NIMA↑IR↑Time↓
6.5013.0975.3161.0911.866.6213.3465.4111.2362.78
✓6.5963.1435.3701.1001.896.7123.3905.4531.2402.78
✓6.6083.1555.3711.0682.006.7013.3475.4361.2432.99
✓✓6.7013.1925.4071.0792.006.7823.3785.4791.2402.99

Table 8. Components of RadAG+. Mean scores over 1,000 COCO prompts. Attn. and Noise denote the two refinements of Sec. 4.3. Time in s/image; bold marks the best per block.

Extension to Video Generation

To test whether RadAG extends to video generation, we align Wan2.1-T2V-1.3B [58] to a loop reward that compares the first and last frames and compare RadAG with Frame Guidance [33], which backpropagates this reward through the entire generator up to seven times per step, whereas RadAG takes one gradient per step at the 21st of 30 blocks (App. § 10.§ 6). RadAG closes the loop 3.4 times faster, and Figure 8 shows that it keeps the scene in motion while matching the first and last frames.

Figure 8. Looped video generation on Wan2.1-T2V-1.3B. |Last−First| is the per-pixel difference of the last and first frames; darker means a more seamless loop. FG: Frame Guidance [33].

Conclusion

Extrapolation guidance is cheap but cannot steer sampling toward a reward, whereas reward guidance steers toward a reward but backpropagates through the entire generator. RadAG bridges the two: it builds the reference of extrapolation guidance from the reward sensitivity of attention, so that moving away from it provably raises the reward, and computes it with a backward pass that stops at one block. Across two FLUX.2-klein scales and two rewards, RadAG attains the highest target reward with 30–65% less time than gradient-based and candidate-based baselines, and it extends to video generation. Needing only the attention logits of one block, RadAG turns any differentiable reward into guidance for attention-based image and video generators at nearly the cost of extrapolation guidance.

Related Work

Reward fine-tuning. Fine-tuning adapts the generator to a reward by reinforcement learning [7], reward backpropagation [14, 64], preference optimization [60], or stochastic optimal control [17]. RadAG keeps the generator frozen and acts only at inference.

Gradient-based guidance. DPS [12] differentiates a measurement likelihood evaluated at the clean estimate with respect to the noisy sample, and reward alignment replaces this likelihood with a reward. Universal guidance [4] adds an optimization of the clean estimate and per-step self-recurrence, LGD [55] reduces the bias of the point-estimate guidance with Monte Carlo samples, FreeDoM [66] repeats guided steps within a range of noise levels, and Training-Free Guidance (TFG) [65] unifies such methods in one hyperparameter space. NoiseTilt [30] injects the whitened gradient through the noise of each step, and REG [22] rescales the guidance gradient element-wise with a diagonal approximation of the denoiser Jacobian, at the cost of an additional backward pass. These methods backpropagate through the entire generator at every step, whereas RadAG stops the backward pass at the attention logits of one block.

Noise optimization. DOODL [59] and D-Flow [5] optimize the initial noise by backpropagating the reward through the whole sampler, and ReNO [21] and Direct Noise Optimization (DNO) [57] optimize the initial or injected noises against preference rewards. Each optimization step costs a full sampling pass and its backward pass, while RadAG modifies the prediction at each step of a single sampling pass.

Approximate backward passes. Some methods keep the gradient with respect to the noisy sample but avoid the backward pass through the generator, at the cost of approximating the Jacobian of the clean estimate. QGF [69], for flow policies in reinforcement learning, and FlowChef [48], for rectified flow models, evaluate the gradient at the clean estimate and replace this Jacobian with the identity, so neither backpropagates through the generator. LAGS [35] instead approximates the product of this Jacobian with the gradient, which involves the Hessian of the log density, by a finite difference of two score evaluations, at the cost of an extra forward pass per step. These approximations discard or estimate how the clean estimate depends on the sample through the generator, whereas RadAG takes the exact gradient at the attention logits of one block with a short backward pass, and uses it to construct the reference rather than to update the sample.

Learned value models. Classifier guidance [16] trains a classifier on noisy images, and StitchVM [23] stitches the early blocks of a frozen diffusion backbone to a truncated reward model, giving a value model on noisy samples that makes gradient guidance cheaper. These methods train a model for each objective, while RadAG uses the reward model as it is.

Candidate-based search. Candidate-based search methods sample several candidates and favor those with high reward, by resampling with soft values at each step [43], sequential Monte Carlo [39], Feynman–Kac particle resampling [54], tree search [32], or search over initial noises [47]. Each candidate adds a sampling pass, while RadAG guides a single sample.

Extrapolation guidance. Extrapolation guidance moves the prediction away from a reference prediction: CFG [25] takes the reference from an unconditional prediction, and autoguidance [34] from a separately trained weaker model. Perturbation-based guidance builds this reference from the generator itself, by replacing self-attention maps with the identity [1], blurring the queries [27], blurring the regions that self-attention selects [28], skipping layers [31], or shuffling tokens [51]; PLADIS [37] instead extrapolates between dense and sparse cross-attention within a single pass. HeadHunter [2] greedily selects the attention heads to perturb by scoring samples generated with each candidate head under a given objective, and other techniques refine the extrapolation itself [10, 13]. These references follow heuristic rules or are selected before sampling, while RadAG constructs a reward-adversarial reference from the reward gradient at every step.

Attention-based guidance and activation steering. Attend-and-Excite [9] and self-guidance [19] define losses on attention maps and internal representations, and update the latent with their gradient through the generator. Activation steering adds fixed directions, computed from contrasting prompts, to intermediate activations, as SHIFT [42] does for concept removal in diffusion transformers. RadAG also acts on attention, but uses the reward gradient at the attention logits to construct a reference instead of updating the latent or adding a fixed direction.

Proofs

Throughout, ztz_t, tt, cc, and the block ℓ\ell are fixed, and ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle and ∥⋅∥\lVert\cdot\rVert are the inner product and norm summed over all heads, queries, and keys. Restated results keep their numbers from the main text.

Normalization. Let K\mathcal{K} be the set of image keys. For a logit tensor X\mathbf{X}, let Xr\mathbf{X}_r be its restriction to region r∈{img,txt}r \in\{\mathrm{img},\mathrm{txt}\}, the logits from the image or text queries to K\mathcal{K} over all heads (App. § 10.§ 3). Let PP remove the mean over K\mathcal{K} in each row,

(PXr)h,i,j=(Xr)h,i,j−1∣K∣∑j′∈K(Xr)h,i,j′,j∈K.(17)(P\mathbf{X}_r)_{h,i,j}=(\mathbf{X}_r)_{h,i,j}-\frac{1}{|\mathcal{K}|}\sum_{j'\in\mathcal{K}}(\mathbf{X}_r)_{h,i,j'},\qquad j\in\mathcal{K}. \tag*{(17)}

Then

(g~Sℓ)r=P(gSℓ)rρr,ρr=RMS⁡((gSℓ)r)+ζ,(18)(\widetilde{g}_{S_\ell})_r=\frac{P(g_{S_\ell})_r}{\rho_r},\qquad\rho_r=\operatorname{RMS}((g_{S_\ell})_r)+\zeta, \tag*{(18)}

with a small constant ζ>0\zeta>0 for numerical stability, which Eq. (9) omits, and g~Sℓ\widetilde{g}_{S_\ell} is zero on the logits to text keys. Since PP only removes a component, the RMS of the logit change α(g~Sℓ)r\alpha(\widetilde{g}_{S_\ell})_r is at most α\alpha; dividing by ρr\rho_r makes this bound invariant to the scale of the reward, and normalizing the two separate regions generally applies the same bound to image and text queries. RadAG computes g~Sℓ\widetilde{g}_{S_\ell} once from the base pass and holds it fixed, so SadvS_{\mathrm{adv}} moves the logits along a fixed direction scaled by α\alpha.

Proof of Proposition 1

Proposition 1 (restated). Assume that S↦vθ(zt,t,c;S)\mathbf{S}\mapsto v_\theta(z_t,t,c;\mathbf{S}) is twice continuously differentiable near SℓS_\ell and that RtR_t is twice continuously differentiable near vθv_\theta. For fixed w>0w>0, as α→0\alpha\to0,

Rt(vRadAG)−Rt(vθ)=w Δ+O(α2),R_t(v_{\mathrm{RadAG}})-R_t(v_\theta)=w\,\Delta+O(\alpha^2),

where Δ=α⟨gSℓ,g~Sℓ⟩\Delta=\alpha\langle g_{S_\ell},\widetilde{g}_{S_\ell}\rangle.

Proof. Let u=g~Sℓ\mathbf{u}=\widetilde{g}_{S_\ell}, let q=∇vRt(vθ)\mathbf{q}=\nabla_vR_t(v_\theta), and let J\mathbf{J} be the Jacobian of S↦vθ(zt,t,c;S)\mathbf{S}\mapsto v_\theta(z_t,t,c;\mathbf{S}) at S=Sℓ\mathbf{S}=S_\ell. By the chain rule applied to Eq. (8), gSℓ=JTqg_{S_\ell}=\mathbf{J}^{\mathsf{T}}\mathbf{q}. A Taylor expansion of vθv_\theta at S=Sℓ\mathbf{S}=S_\ell in the direction −αu-\alpha\mathbf{u} gives

vadv=vθ−αJu+O(α2),(19)v_{\mathrm{adv}}=v_\theta-\alpha\mathbf{J}\mathbf{u}+O(\alpha^2), \tag*{(19)}

and substituting it into Eq. (11) gives

vRadAG=vθ+wαJu+O(α2).(20)v_{\mathrm{RadAG}}=v_\theta+w\alpha\mathbf{J}\mathbf{u}+O(\alpha^2). \tag*{(20)}

A Taylor expansion of RtR_t at vθv_\theta then gives

Rt(vRadAG)−Rt(vθ)=wα⟨q,Ju⟩+O(α2)=wα⟨JTq,u⟩+O(α2)=wα⟨gSℓ,g~Sℓ⟩+O(α2)=w Δ+O(α2).(21)R_t(v_{\mathrm{RadAG}})-R_t(v_\theta)=w\alpha\langle\mathbf{q},\mathbf{J}\mathbf{u}\rangle+O(\alpha^2)=w\alpha\langle\mathbf{J}^{\mathsf{T}}\mathbf{q},\mathbf{u}\rangle+O(\alpha^2)=w\alpha\langle g_{S_\ell},\widetilde{g}_{S_\ell}\rangle+O(\alpha^2)=w\,\Delta+O(\alpha^2). \tag*{(21)}

In the same way, Rt(vadv)−Rt(vθ)=−Δ+O(α2)R_t(v_{\mathrm{adv}})-R_t(v_\theta)=-\Delta+O(\alpha^2), so the update gains ww times the reward that the reference loses. □

Sign of the First-Order Term

Lemma B.1. ⟨gSℓ,g~Sℓ⟩≥0\langle g_{S_\ell}, \widetilde{g}_{S_\ell}\rangle\ge0, with equality if and only if g~Sℓ=0\widetilde{g}_{S_\ell}=0.

Proof. g~Sℓ\widetilde{g}_{S_\ell} is zero outside the two regions, so

⟨gSℓ,g~Sℓ⟩=∑r⟨(gSℓ)r,P(gSℓ)r⟩ρr=∑r∥P(gSℓ)r∥2ρr,(22)\langle g_{S_\ell},\widetilde{g}_{S_\ell}\rangle= \sum_r \frac{\langle(g_{S_\ell})_r,P(g_{S_\ell})_r\rangle}{\rho_r} = \sum_r \frac{\lVert P(g_{S_\ell})_r\rVert^2}{\rho_r}, \tag*{(22)}

where the second equality holds since PP is an orthogonal projection, PT=PP^{\mathsf{T}}=P and P2=PP^2=P. Each term is nonnegative since ρr>0\rho_r>0, and the sum is zero if and only if P(gSℓ)r=0P(g_{S_\ell})_r=0 for both regions, that is, g~Sℓ=0\widetilde{g}_{S_\ell}=0. □

With Proposition 1, the first-order change of the reward is therefore positive whenever g~Sℓ≠0\widetilde{g}_{S_\ell}\ne0. If g~Sℓ=0\widetilde{g}_{S_\ell}=0, then Sadv=SℓS_{\mathrm{adv}}=S_\ell, vadv=vθv_{\mathrm{adv}}=v_\theta, and RadAG leaves the prediction unchanged. The centering PP removes the component of gSℓg_{S_\ell} that shifts all image-key logits of a query equally. Since Softmax runs over text and image keys, such a shift only moves attention between the two groups of keys.

Scope and Limitations

First-order guarantee. Proposition 1 holds as α→0\alpha\to0, whereas RadAG uses a finite α\alpha chosen on tuning captions. For a finite α\alpha, the reward change can deviate from its first-order term, as with the step size of gradient guidance.

Choice of block. RadAG fixes one block per generator, chosen on tuning captions: a late block for the transformers and the middle block for SDXL (Apps. § 10.§ 3 and E.1). Another block may suit other generators, rewards, or step counts better.

Differentiable rewards. RadAG requires the gradient of the reward and therefore applies only to differentiable rewards, whereas candidate-based search also accepts black-box rewards.

Other generators. The main experiments use FLUX.2-klein at 5122512^2 with four steps. On SD3 Medium with 25 steps, FreeDoM attains a higher PickScore than RadAG but takes more than twice as long (App. § 11.§ 1). On SDXL, a UNet, the backward pass from the reward to the middle block still traverses the upsampling path, so RadAG takes about as long as DPS and attains a lower PickScore than FreeDoM, NoiseTilt, and DPS (App. § 11.§ 1).

Experimental Details

Protocol

Prompts and seeds. We evaluate on the COCO val2014 captions [44] with indices 100 to 5099 for Table 2 and Figure 3, and use the index of each caption as its seed, so all methods share the prompts and initial noises. Unless stated otherwise, the other quantitative evaluations use the first 1,000 of these captions. Hyperparameters are chosen on the captions with indices 0 to 99, which do not overlap with the evaluation captions.

Sampling. Both FLUX.2-klein generators are distilled for four-step sampling without CFG [8], so they sample at 5122512^2 with four Euler steps and no CFG; SD3 Medium and SDXL use CFG (App. § 11.§ 1), and Wan2.1 is described in App. § 10.§ 6. The generators run in bfloat16 except SDXL, whose UNet and text encoders run in float16 with the official fp16 weights, and the decoder runs in float32 for all generators. On the image generators, every method that takes a reward gradient uses gradient checkpointing. The reward is computed on the decoded image at the generation resolution.

Target and held-out rewards. PickScore [40] uses the PickScore_v1 checkpoint (revision a4e4367) with the processor of CLIP ViT-H-14 trained on LAION-2B (revision 1c2b849) in float16, and the aesthetic reward is the LAION aesthetic predictor [53] on CLIP ViT-L/14. For the held-out rewards, we compute CLIP score as 100 times the cosine similarity between the image and prompt embeddings, rather than the rescaled CLIPScore [24], with prompts truncated to 77 tokens. ImageReward [64] applies an MLP to the output of its BLIP text encoder and normalizes it by the official mean and standard deviation, with prompts truncated to 35 tokens. HPSv2 [63] uses the HPS v2.1 checkpoint on ViT-H-14. Q-Align [62] uses the aesthetic task of the one-align checkpoint, on a scale of 1 to 5, and NIMA [56] uses the model trained on AVA, on a scale of 1 to 10. Generation uses PyTorch 2.5.1, Transformers 4.46.2, and Diffusers 0.35.2, and PickScore, CLIP score, ImageReward, and HPSv2 are evaluated with PyTorch 2.5.1, Transformers 4.46.2, OpenCLIP 3.3.0, and timm 1.0.29. NIMA runs on pyiqa with PyTorch 2.7.1 and Transformers 5.20.2, and Q-Align runs on the official one-align implementation with PyTorch 2.5.1 and Transformers 4.36.1.

Time and memory. All experiments run on NVIDIA RTX A6000 GPUs, and every time is per image on one GPU. The main results use the 5,000 evaluation captions, and Figure 3 reports the time per image of these runs. Figure 7 and App. § 11.§ 3 measure each stage on the first 1,000 evaluation captions, with a batch of 4 on FLUX.2-klein-4B and 2 on FLUX.2-klein-9B, as in the 5,000-caption runs. Each stage is timed with CUDA events, and the first two batches on each GPU are excluded as warm-up. The time includes the final decoding but excludes model loading, text encoding, and saving. Peak memory is the maximum memory allocated by PyTorch.

Concentration Measurement

Figure 5 uses FLUX.2-klein-4B, PickScore, and block ℓ\ell of Table 7 on the 100 tuning captions (indices 0 to 99), and measures the maps at each of the four steps. We segment the final Vanilla image with Mask2Former [11] (Swin-L, COCO panoptic) and keep the instances of the 80 COCO thing classes. Each instance mask is average-pooled over the 16×1616 \times16-pixel patches of the 32×3232 \times32 token grid, a token lies on the object if at least half of its patch does, and instances with fewer than four tokens are dropped. Every image token of an instance serves as a query, so each query lies on an object.

FLUX.2-klein-4BFLUX.2-klein-9B
Double-stream + single-stream blocks5 + 208 + 24
Heads ×\times head dimension24 ×\times 12832 ×\times 128
Block ℓ\ell (single-stream index / overall index)16 / 2119 / 27
Blocks recomputed for vadvv_{\mathrm{adv}}4 of 255 of 32
Logit regionsimage and text queries to image keysimage and text queries to image keys
Perturbation strength α\alpha510
Guidance scale ww11

Table 7. Generator structure and settings of RadAG. Block indices start at 0.

For each query, the map is a row over the 1,024 image keys. For RadAG, it is the normalized reward sensitivity ∣g~Sℓ∣\lvert\widetilde{g}_{S_\ell}\rvert of Eq. (9), averaged over heads. For the base model and SEG, it is the attention renormalized over the image keys and averaged over heads; SEG replaces every image query by their mean, so all queries share one row. For PAG, it is the identity row. The key of the query itself is removed from the map and the mask, and ties are broken by a negligible random perturbation. Mass accuracy skips queries whose map sums to zero, which leaves PAG without a value. The object area is the share of the remaining keys that lie inside the object. Each measure, including the object area, is averaged over the queries of an instance, the instances of a prompt, the four steps, and the prompts, so large objects do not dominate. Figure 4 shows the token nearest the center of the largest instance as the query.

Implementation of RadAG

Generator split. Table 7 lists the structure of both FLUX.2-klein generators and the settings of RadAG. FLUX.2-klein [8] consists of double-stream blocks followed by single-stream blocks, and we index blocks from 0. At 5122512^2, joint attention runs over 512 text tokens and 1,024 image tokens, and the logits are computed after the normalization and rotary embedding of the queries and keys. RadAG replaces the attention processor of block ℓ\ell only. We select a late block, leaving only the last 4 of 25 blocks of FLUX.2-klein-4B or the last 5 of 32 blocks of FLUX.2-klein-9B for recomputation.

Logit regions. In joint attention [20], the queries and keys include both text and image tokens. We modify the logits from every query to the image keys and treat the rows of image queries and of text queries as two regions for the normalization of Eq. (9). The logits to text keys are unchanged, and Softmax⁡\operatorname{Softmax} still runs over all keys.

Straight-through attention. Fused attention kernels [15] do not materialize the logits that the partial backward pass needs. At block ℓ\ell, RadAG combines the fused output Attn⁡ℓ\operatorname{Attn}_{\ell}, computed without gradients, with the explicit output Attn⁡^ℓ\widehat{\operatorname{Attn}}_{\ell} from the logit leaf in a straight-through manner [6]:

Attn⁡~ℓ=Softmax⁡(Sℓ)Vℓ,Attn⁡ℓ=Attn⁡^ℓ+Attn⁡~ℓ−sg⁡(Attn⁡~ℓ)(23)\widetilde{\operatorname{Attn}}_{\ell} = \operatorname{Softmax}(\mathbf{S}_{\ell})\mathbf{V}_{\ell}, \qquad\operatorname{Attn}_{\ell} = \widehat{\operatorname{Attn}}_{\ell} + \widetilde{\operatorname{Attn}}_{\ell} - \operatorname{sg}(\widetilde{\operatorname{Attn}}_{\ell}) \tag*{(23)}

where sg⁡\operatorname{sg} stops the gradient, so Attn⁡ℓ\operatorname{Attn}_{\ell} takes the value of Attn⁡^ℓ\widehat{\operatorname{Attn}}_{\ell} in the forward pass and the gradient of Attn⁡~ℓ\widetilde{\operatorname{Attn}}_{\ell} in the backward pass. The reference pass uses Softmax⁡(Sadv)Vℓ\operatorname{Softmax}(\mathbf{S}_{\mathrm{adv}})\mathbf{V}_{\ell} at this block, and all other blocks keep fused attention.

Logit memory. The logit leaf used in Eq. (23) occupies 0.56 GiB on FLUX.2-klein-4B with a batch of 4 and 0.38 GiB on FLUX.2-klein-9B with a batch of 2.

Cached inputs. The base pass caches the input of block ℓ\ell: hidden states, modulation parameters, rotary embedding, and timestep embedding. Rerunning block ℓ\ell from this input recomputes the same SℓS_\ell, so replacing it with SadvS_{\mathrm{adv}} gives the reference vadvv_{\mathrm{adv}} of Eq. (10). With Sadv=SℓS_{\mathrm{adv}} = S_\ell, reuse produces an output bitwise identical to that of a full forward pass.

Other modification locations. For the values, the attention map, the attention output, and the block output in Table 4, a variable yy with reward gradient gg is modified per sample and region by

Δ=−αrelRMS⁡(y)gmax⁡(RMS⁡(g),10−12),(24)\Delta= -\alpha_{\mathrm{rel}} \operatorname{RMS}(y) \frac{g}{\max\left(\operatorname{RMS}(g), 10^{-12}\right)}, \tag*{(24)}

without centering, so its size follows the scale of yy at each sample, step, and region. The modified attention map is clipped at zero and renormalized over each row of all keys. Each location uses its own αrel\alpha_{\mathrm{rel}} and ww, tuned on the tuning captions.

Hyperparameter selection. We search the block ℓ\ell among the single-stream blocks {7,10,13,16}\{7, 10, 13, 16\} of FLUX.2-klein-4B and {8,12,16,19}\{8, 12, 16, 19\} of FLUX.2-klein-9B, with α∈{0.5,1,5,10}\alpha\in\{0.5, 1, 5, 10\} and w∈{0.5,1,5,10}w \in\{0.5, 1, 5, 10\}. On the tuning captions, we choose the setting with the highest target reward separately for PickScore and the aesthetic reward, and both give the values in Table 7.

RadAG+

RadAG+ adapts attention-level extrapolation and the separate noise estimate of CFG++ to the base pass and the reward-adversarial reference of RadAG (Sec. 4.3).

Attention-output extrapolation. For CFG, NAG [10] extrapolates between the attention outputs of a positive and a negative branch rather than between final predictions, normalizes the result, and blends it with the positive output. RadAG+ uses the base pass in place of the positive branch and the reward-adversarial reference in place of the negative branch, so the attention output moves away from the reward-decreasing modification. Let Attn⁡ℓ\operatorname{Attn}_\ell and Attn⁡adv\operatorname{Attn}_{\mathrm{adv}} be the attention outputs at block ℓ\ell before the output projection, from the base and reference passes. RadAG+ extrapolates them and blends the normalized result with Attn⁡ℓ\operatorname{Attn}_\ell:

Attn⁡^=Attn⁡ℓ+γ(Attn⁡ℓ−Attn⁡adv),\widehat{\operatorname{Attn}} = \operatorname{Attn}_\ell+ \gamma\left(\operatorname{Attn}_\ell- \operatorname{Attn}_{\mathrm{adv}}\right),
ν=∥Attn⁡^∥1max⁡(∥Attn⁡ℓ∥1,δ),\nu= \frac{\left\lVert\widehat{\operatorname{Attn}}\right\rVert_1}{\max\left(\left\lVert\operatorname{Attn}_\ell\right\rVert_1,\delta\right)},
Attn⁡+=(1−β)Attn⁡ℓ+βmin⁡(1,τ/ν)Attn⁡^,(25)\operatorname{Attn}_+ = (1-\beta)\operatorname{Attn}_\ell+ \beta\min(1,\tau/\nu)\widehat{\operatorname{Attn}}, \tag*{(25)}

where γ>0\gamma> 0 controls extrapolation, τ>0\tau> 0 bounds the norm ratio, β∈[0,1]\beta\in[0, 1] controls blending, and δ>0\delta> 0 stabilizes the denominator. Passing Attn⁡+\operatorname{Attn}_+ through the remaining generator computation gives vattnv_{\mathrm{attn}} in Eq. (15), and we write vg=vRadAG+(vattn−vθ)v_g = v_{\mathrm{RadAG}} + (v_{\mathrm{attn}} - v_\theta) for the guided velocity.

The norms in Eq. (25) sum over heads and channels for each token, and the rescaling factor is 11 when ν=0\nu= 0. Before blending, the rescaled extrapolation in Eq. (25) has tokenwise ℓ1\ell_1 norm at most τmax⁡(∥Attn⁡ℓ∥1,δ)\tau\max(\lVert\operatorname{Attn}_\ell\rVert_1,\delta). The final attention output therefore has norm at most (1−β)∥Attn⁡ℓ∥1+βτmax⁡(∥Attn⁡ℓ∥1,δ)(1-\beta)\lVert\operatorname{Attn}_\ell\rVert_1 + \beta\tau\max(\lVert\operatorname{Attn}_\ell\rVert_1,\delta).

Separate clean and noise estimates. For CFG, CFG++ [13] uses the guided prediction only to predict the clean sample and the unconditional prediction to predict the noise that the update adds back to the latent. RadAG+ applies this separation to flow matching with the base prediction in place of the unconditional one. RadAG+ uses vgv_g for the clean estimate and vθv_\theta for the noise estimate:

z^0∣t=zt−tvg,ϵ^=zt+(1−t)vθ,\widehat{z}_{0|t} = z_t - t v_g,\qquad\widehat{\epsilon} = z_t + (1-t)v_\theta,
zt′=(1−t′)z^0∣t+t′ϵ^.(26)z_{t'} = (1-t')\widehat{z}_{0|t} + t'\widehat{\epsilon}. \tag*{(26)}

Substituting the two estimates into the update gives

zt′=(1−t′)(zt−tvg)+t′(zt+(1−t)vθ)=zt−t(1−t′)vg+t′(1−t)vθ=zt+(t′−t)[vθ+κt(vg−vθ)],(27)\begin{aligned} z_{t'} = (1-t')\left(z_t-tv_g\right)+t'\left(z_t+(1-t)v_\theta\right) \\ &= z_t-t(1-t')v_g+t'(1-t)v_\theta\\ &= z_t+(t'-t)\left[v_\theta+\kappa_t(v_g-v_\theta)\right], \tag*{(27)} \end{aligned}

where κt=t(1−t′)/(t−t′)\kappa_t=t(1-t')/(t-t') for t′<tt'<t. Since vg−vθ=w(vθ−vadv)+vattn−vθv_g-v_\theta=w(v_\theta-v_{\mathrm{adv}})+v_{\mathrm{attn}}-v_\theta, the bracket equals vRadAG+v_{\mathrm{RadAG+}} in Eq. (16), and the update needs no additional model evaluation.

Settings. RadAG+ uses Eqs. (15) and (16) together with the block, regions, and α\alpha of Table 7. It uses τ=2.5\tau=2.5 and β=0.25\beta=0.25, the default values of NAG [10] for FLUX, and w=0.5w=0.5; in Table 6, the variants without attention-output extrapolation keep w=1w=1 of RadAG. We choose γ\gamma on the tuning captions, giving γ=4\gamma=4 for PickScore and γ=6\gamma=6 for the aesthetic reward. On FLUX.2-klein-9B, RadAG+ adds about 7% to the time per image of RadAG.

Baselines

All baselines share the evaluation prompts, initial noise seeds, and numerical precision of RadAG; method-specific sampling choices are listed below.

Hyperparameters. Unless noted below, we start from the settings of the original paper or official implementation of each baseline and tune its hyperparameters on the same tuning captions as RadAG. PAG, SEG, and SAG act on block ℓ\ell of RadAG, since transformer generators have no middle block (§ 5.1). On FLUX.2-klein, FreeDoM applies time travel at the third of the four steps. NoiseTilt requires injected noise, so it runs on an Euler–Maruyama discretization of the reverse SDE on the timestep grid of each model’s default scheduler. SVDD-PM draws five candidates per step with a stochastic transition and keeps the one with the highest clean-estimate reward, the greedy limit of soft-value resampling. Without CFG, each perturbation-based attention guidance method extrapolates by Eq. (4) with its own perturbed prediction.

PAG. At block ℓ\ell, the logits from image queries to image keys are reduced to their diagonal, so each image query attends to itself and to all text keys. The rows of text queries are unchanged. This adapts the identity map of PAG to joint attention, in which the text keys remain.

SEG. At block ℓ\ell, each image query is replaced by the mean of the image queries over the 32×3232 \times32 token grid, which is the limit of an infinitely wide Gaussian blur in SEG. Keys, values, and the rows of text queries are unchanged.

SAG. The mask comes from the attention map of block ℓ\ell in the base pass. We renormalize its rows from image queries to image keys, sum the attention each image key receives over the image queries, average this sum over heads, and mark the keys whose sum exceeds 1, its mean over keys. The mask is upsampled to the latent by nearest neighbors and blurs the clean estimate inside it with a Gaussian kernel of size 9 and standard deviation 1. The blurred estimate is renoised with the noise of the base prediction, and a full forward pass of the unmodified generator gives the perturbed prediction.

Video Generation

We generate 480 × 832 videos of 81 frames with Wan2.1-T2V-1.3B [58], 50 UniPC steps [68], and CFG scale 5, with the same prompts and initial noise for all methods. The reward is the negative mean squared error between the first and last frames of the clean estimate, decoded from the corresponding latents only, as in the official implementation of Frame Guidance [33]. Frame Guidance uses the loop setting of its official implementation, which takes up to seven gradient iterations per step, except that we lower its step size from the default 3 to 1, since the default darkened the videos in our setting. RadAG guides the same steps with one reward gradient per step and modifies the self-attention logits of the 21st of 30 blocks. As in App. § 11.§ 1, only the conditional branch is differentiated and modified, and the null prediction is held fixed. Times exclude model loading and are averaged over eight prompts on one NVIDIA RTX A6000: 374 s for Vanilla, 1,911 s for Frame Guidance, and 561 s for RadAG.

Quantitative results. Table 9 evaluates this setting on 100 VBench prompts [29] with seed 42. Loop MSE and Loop LPIPS [67] compare the first and last frames of each video. CLIP-T averages the cosine similarity between the prompt and 16 uniformly spaced frames under CLIP ViT-L/14 [50], and ViCLIP-T is the cosine similarity between the prompt and the video embedding of ViCLIP-L/14 [61] computed from 8 uniformly spaced frames. Motion is the mean absolute difference between adjacent frames in [0, 1] RGB, averaged over pixels, channels, and the 80 adjacent pairs; it is a simple proxy that also responds to camera motion and lighting changes. RadAG attains the lowest loop error on both measures, below that of Frame Guidance, with 3.4 times less time than Frame Guidance. Since the loop reward pulls the last frame toward the first, both guided methods reduce Motion relative to Vanilla by a similar amount, to about 42% of its value. Both also slightly lower CLIP-T and ViCLIP-T, with RadAG slightly below Frame Guidance on both.

MethodMSE↓✓ LPIPS↓CLIP-T↑ViCLIP-T↑MotionTime↓
Vanilla0.03930.38740.24330.22540.0422374
Frame Guidance [33]0.00490.19250.24030.21680.01811,911
RadAG (Ours)0.00330.12950.23880.21290.0175561

Table 9. Looped video generation on Wan2.1-T2V-1.3B (100 VBench prompts, seed 42). Time in seconds per video, averaged over the eight prompts above. ✓ marks the metric that the reward optimizes, and bold marks the best value for each metric except Motion.

Time breakdown. Table 10 splits the time per video into stages, measured in a separate run on eight prompts. Frame Guidance spends 60% of its time on backward passes through the generator, whereas RadAG, whose backward pass stops at the 21st block, spends 12%. With about 32,760 video tokens, the self-attention logits of Wan2.1 do not fit in memory, so RadAG recovers gSℓg_{S_\ell} from the gradient of the attention output in chunks of 512 queries. Since the RMS in Eq. (9) is taken over all logits, this takes one chunked pass to compute the RMS, counted in Other (7% of the time), and a second one within the reference pass.

MethodForwardRef.D+RGeneratorOther
Vanilla94–––6
Frame Guidance [33]38–0.4602
RadAG (Ours)61150.41211

Table 10. Share of the time per video by stage (%, Wan2.1-T2V-1.3B), measured in a separate run on eight prompts. Ref.: reference pass; D+R: decoder and reward. Other includes the chunked pass that computes the RMS for RadAG.

Qualitative results. Figure 9 shows the first and last frames of selected samples.

Figure 9. Endpoints of looped videos on Wan2.1-T2V-1.3B. Selected samples from the 100 VBench prompts; |Last − First| uses the same color scale as Figure 8, and darker means a more seamless loop. FG: Frame Guidance [33].

Additional Results

Other Generators

To show that RadAG applies beyond FLUX.2-klein, we evaluate it on SD3 Medium [20], a flow-matching transformer, and SDXL [49], an ϵ\epsilon-prediction UNet, under PickScore guidance on 5,000 prompts. Both use CFG with a scale of 7.5 for Vanilla and 5 for guided methods. RadAG modifies only the conditional branch, evaluates the reward on the clean estimate of the CFG prediction, and backpropagates the reward only through the conditional branch, with the null prediction held fixed. The argument of App. B carries over to both generators, since it only uses the differentiability of the reward of the clean estimate in the prediction.

SD3 Medium. SD3 Medium has the same joint attention as FLUX.2-klein, so RadAG follows § 4 directly: it modifies the logits from image and text queries to image keys at block 20 of 24 and obtains vadvv_{\mathrm{adv}} by Eq. (10). With the CFG scale wcfgw_{\mathrm{cfg}} and the null prediction v∅v_{\varnothing}, the reward is evaluated on the clean estimate of Eq. (2) with v∅+wcfg(vθ−v∅)v_{\varnothing} + w_{\mathrm{cfg}}(v_{\theta} - v_{\varnothing}) in place of vθv_{\theta}, and the guided prediction is

v∅+wcfg(vθ−v∅)+w(vθ−vadv).(28)v_{\varnothing} + w_{\mathrm{cfg}}(v_{\theta} - v_{\varnothing}) + w(v_{\theta} - v_{\mathrm{adv}}). \tag*{(28)}

Table 11 uses 25 steps at 5122512^2 and an empty null prompt. RadAG attains the highest CLIP score and takes about 27% less time than DPS; FreeDoM attains the highest PickScore.

MethodPick↑✓CLIP↑IR↑HPSv2↑Time↓
Reward-free
Vanilla22.05126.2980.8630.278–
SAG [28]21.91126.3270.8200.278–
PAG [1]21.82626.5130.7660.272–
SEG [27]19.91024.949−0.4280.209–
Reward-based
DPS [12]23.30726.4070.8730.29010.300
FreeDoM [66]25.59126.5311.0580.32017.100
SVDD-PM [43]22.78626.2480.9670.29221.260
NoiseTilt [30]24.91226.5540.9910.31112.800
RadAG (Ours)25.26626.8750.9340.3097.470

Table 11. SD3 Medium. PickScore guidance, 5,000 prompts, 5122512^2, 25 steps.

SDXL. SDXL writes the noisy latent as zt=αˉtz0+1−αˉt ϵz_t = \sqrt{\bar{\alpha}_t} z_0 + \sqrt{1-\bar{\alpha}_t}\,\epsilon and predicts the noise ϵθ\epsilon_{\theta} instead of the velocity. RadAG modifies the logits from image queries to image keys in the self-attention of all ten transformer layers of the middle block, which gave the highest reward in the block search, and normalizes each layer as a separate region in Eq. (9). Running the conditional branch with these logits gives the reference ϵadv\epsilon_{\mathrm{adv}}. The reward is evaluated on the clean estimate

z^0∣t=zt−1−αˉt ϵcfgαˉt,ϵcfg=ϵ∅+wcfg(ϵθ−ϵ∅),(29)\hat{z}_{0|t} = \frac{z_t - \sqrt{1-\bar{\alpha}_t}\,\epsilon_{\mathrm{cfg}}}{\sqrt{\bar{\alpha}_t}}, \qquad\epsilon_{\mathrm{cfg}} = \epsilon_{\varnothing} + w_{\mathrm{cfg}}(\epsilon_{\theta} - \epsilon_{\varnothing}), \tag*{(29)}

which replaces Eq. (2), and the guided noise prediction combines the predictions in the same way as Eq. (28),

ϵ∅+wcfg(ϵθ−ϵ∅)+w(ϵθ−ϵadv).(30)\epsilon_{\varnothing} + w_{\mathrm{cfg}}(\epsilon_{\theta} - \epsilon_{\varnothing}) + w(\epsilon_{\theta} - \epsilon_{\mathrm{adv}}). \tag*{(30)}

Table 12 uses 25 steps at 102421024^2. RadAG attains the highest HPSv2, while FreeDoM, NoiseTilt, and DPS attain a higher PickScore. Its time is close to that of DPS: the backward pass from the reward to the middle block still traverses the entire upsampling path of the UNet, so stopping at the logits saves little. On both generators, the reward-based methods share the same batch size, whereas the reward-free methods run with different batch sizes, so the tables report times only for the reward-based methods.

MethodPick↑✓CLIP↑IR↑HPSv2↑Time↓
Reward-free
Vanilla22.43226.8750.7630.278–
SAG [28]22.25126.4780.6590.278–
PAG [1]22.44326.3030.6380.277–
SEG [27]22.26426.0530.6160.282–
Reward-based
DPS [12]24.68726.6870.7840.29739.971
FreeDoM [66]25.18826.9000.8860.30971.646
SVDD-PM [43]23.10227.1340.8280.28378.675
NoiseTilt [30]24.98426.8100.8380.30043.406
RadAG (Ours)24.55726.3320.8010.31039.446

Table 12. SDXL. PickScore guidance, 5,000 prompts, 102421024^2, 25 steps.

Baselines. PAG, SEG, and SAG combine the predictions as in Eq. (28) with their own perturbed predictions in place of vadvv_{\mathrm{adv}} or ϵadv\epsilon_{\mathrm{adv}}, and SAG uses the conditional attention map and clean estimate. They act on block 20 of SD3 Medium and the middle block of SDXL, as RadAG does. DPS, FreeDoM, and NoiseTilt backpropagate through both branches.

✓ marks the target reward; the other scores are held-out rewards. Bold marks the best guided result. Time is seconds per image for the reward-based methods.

Direction of the Modification

RadAG modifies the logits against the reward gradient to construct a reward-adversarial reference and extrapolates away from it. One can instead modify them along the gradient, Sℓ+αgSℓS_{\ell} + \alpha g_{S_{\ell}}, to construct a reward-cooperative reference vcoopv_{\mathrm{coop}} and extrapolate toward it as vθ+w(vcoop−vθ)v_{\theta} + w(v_{\mathrm{coop}} - v_{\theta}). By the expansion in the proof of Proposition 1, both choices change the reward by the same first-order term and differ only in higher-order terms. Table 13 compares them with the same hyperparameters under PickScore guidance on a transformer, FLUX.2-klein-4B, and on a UNet, SDXL [49]. On FLUX.2-klein-4B, the reward-cooperative direction attains a slightly higher PickScore and CLIP score, and the reward-adversarial direction attains a higher ImageReward and HPSv2. On SDXL, the reward-cooperative direction attains lower values than the reward-adversarial direction on all four metrics. RadAG therefore uses the reward-adversarial direction, which performs comparably to the reward-cooperative direction on FLUX.2-klein-4B and substantially better on SDXL, and keeps the extrapolation form of Eq. (4).

ModelDirectionPick↑✓CLIP↑IR↑HPSv2↑
FLUX.2-klein-4B, 5122512^{2}, 4 stepsReward-cooperative25.33426.8111.1430.316
Reward-adversarial25.28226.7721.1840.321
SDXL, 102421024^{2}, 25 stepsReward-cooperative22.93924.998−0.0520.258
Reward-adversarial24.56726.2550.8200.309

Table 13. Direction of the modification (PickScore guidance, 1,000 prompts, same hyperparameters for both directions). Bold marks the better direction for each model. ✓ marks the target reward; the other scores are held-out rewards.

Cost Breakdown

For the reward-based methods in Figure 7, Table 14 lists the stage times and the peak memory under PickScore guidance.

ModelMethodForward GeneratorForward Ref.Forward D+RBackward GeneratorBackward D+RWhiteningOtherTotalMemory
FLUX.2-klein-4BDPS [12]0.520–0.5001.1330.480–0.1202.75335.140
NoiseTilt [30]0.509–0.4721.1290.4520.6090.1203.29135.130
SVDD-PM [43]2.394–2.413–––0.1254.93213.210
RadAG (Ours)0.5280.1020.4960.1860.466–0.1351.91335.810
FLUX.2-klein-9BDPS [12]1.107–0.5982.3570.464–0.1324.65832.290
NoiseTilt [30]1.097–0.5672.3520.4710.7150.1315.33232.280
SVDD-PM [43]5.135–2.555–––0.1287.81721.010
RadAG (Ours)1.1250.1970.5000.3650.465–0.1492.80132.600

Table 14. Time per image by stage (seconds, PickScore guidance, 1,000 prompts, RTX A6000). D+R: decoder and reward model, Ref.: reference pass of block ℓ\ell and the later blocks. Other includes the initial setup, the construction of SadvS_{\mathrm{adv}}, the update, and the final decoding. Memory is the peak memory allocated (GiB), with batch size 4 (4B) and 2 (9B). Bold marks the lowest time.

Whitening overhead. NoiseTilt adds gradient whitening to its backward computation, accounting for 18.5% and 13.4% of its total time on FLUX.2-klein-4B and 9B, respectively.

Candidate-based search. SVDD-PM needs no backward pass but evaluates five candidates at each step, which takes 19 forward passes of the generator, 21 of the decoder, and 20 of the reward model per image. The forward passes of the generator, decoder, and reward model take 98% of its time on both models.

Memory. SVDD-PM has the lowest peak memory of these methods, as it needs no backward pass.

Qualitative Results

Figure 10, Figure 11, Figure 12, and Figure 13 compare Vanilla, DPS, NoiseTilt, and RadAG on FLUX.2-klein-4B, FLUX.2-klein-9B, SD3 Medium, and SDXL. Each row uses the same prompt and seed for all methods, and the prompts are selected to show visible differences between the methods.

Qualitative comparison showing Vanilla, DPS, NoiseTilt, and RadAG (Ours) results for five prompts

Figure 10. Vanilla; DPS; NoiseTilt; RadAG (Ours). “An orange pedestrian crossing sign next to a tall building.” “A black and brown car on concrete floor.” “A twin engine airplane parked at a small airport with men in yellow vests looking it over.” “an old car in front of an old air plane” “A baby elephant having fun playing in a river.” Figure 10. Qualitative comparison on FLUX.2-klein-4B (5122512^2, four steps, PickScore guidance). Each row shares the prompt and the seed, and RadAG is outlined in green.

Qualitative comparison with columns Vanilla, DPS, NoiseTilt, and RadAG (Ours), showing five rows of generated images for the prompts “A person is holding a spatula near slices of bread on a stove.”, “A man doing a tail slide on a rail”, “An elephant sticks his trunk out the back window of a truck.”, “A person preparing a WII remote in order to play a game.”, and “Several vases on display behind a glass case.”

Figure 11. Qualitative comparison on FLUX.2-klein-9B (5122512^2, four steps, PickScore guidance). Each row shares the prompt and the seed, and RadAG is outlined in green.

Qualitative comparison grid with columns Vanilla, DPS, NoiseTilt, and RadAG (Ours), showing five rows of image comparisons. Prompts: “A small kitten sitting on a chair next to a small dog.”; “Three women that are sitting on a bench.”; “A couple of sheep standing in the tall grass.”; “A large boat floating down a river next to a walkway.”; “A white bath and toilet image on a room wall.”

Figure 12. Qualitative comparison on SD3 Medium (5122512^2, 25 steps, PickScore guidance). Each row shares the prompt and the seed, and RadAG is outlined in green.

Qualitative comparison on SDXL showing Vanilla, DPS, NoiseTilt, and RadAG (Ours) across five prompts

Figure 13. Qualitative comparison on SDXL (102421024^2, 25 steps, PickScore guidance). Each row shares the prompt and the seed, and RadAG is outlined in green.

References

  1. [1]Donghoon Ahn, Hyoungwon Cho, Jaewon Min, Wooseok Jang, Jungwoo Kim, SeonHwa Kim, Hyun Hee Park, Kyong Hwan Jin, and Seungryong Kim. Self-Rectifying Diffusion Sampling with Perturbed-Attention Guidance. In Proceedings of the European Conference on Computer Vision (ECCV), pages 1–17, 2024. 2, 3, 5, 6, 7, 14, 20arxiv.org/abs/2403.17377
  2. [2]Donghoon Ahn, Jiwon Kang, Sanghyun Lee, Minjae Kim, Wooseok Jang, Jaewon Min, Sangwu Lee, Sayak Paul, and Seungryong Kim. Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models. In Advances in Neural Information Processing Systems (NeurIPS), pages 128348–128396, 2025. 14
  3. [3]Leila Arras, Ahmed Osman, and Wojciech Samek. CLEVR-XAI: A Benchmark Dataset for the Ground Truth Evaluation of Neural Network Explanations. Information Fusion, 81: 14–40, 2022. 4DOI
  4. [4]Arpit Bansal, Hong-Min Chu, Avi Schwarzschild, Soumyadip Sengupta, Micah Goldblum, Jonas Geiping, and Tom Goldstein. Universal Guidance for Diffusion Models. In International Conference on Learning Representations (ICLR), pages 51304–51323, 2024. 13
  5. [5]Heli Ben-Hamu, Omri Puny, Itai Gat, Brian Karrer, Uriel Singer, and Yaron Lipman. D-Flow: Differentiating through Flows for Controlled Generation. In International Conference on Machine Learning (ICML), pages 3462–3483, 2024. 13
  6. [6]Yoshua Bengio, Nicholas Léonard, and Aaron Courville. Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation. arXiv preprint arXiv:1308.3432, 2013. 16arxiv.org/abs/1308.3432
  7. [7]Kevin Black, Michael Janner, Yilun Du, Ilya Kostrikov, and Sergey Levine. Training Diffusion Models with Reinforcement Learning. In International Conference on Learning Representations (ICLR), pages 4965–4987, 2024. 2, 13arxiv.org/abs/2305.13301
  8. [8]Black Forest Labs. FLUX.2 [klein]: Towards Interactive Visual Intelligence. https://bfl.ai/blog/flux2-klein-towards-interactive-visual-intelligence, 2026. Black Forest Labs blog post, January 15, 2026. 6, 15, 16
  9. [9]Hila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf, and Daniel Cohen-Or. Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models. ACM Transactions on Graphics (SIGGRAPH), 42(4):148:1–148:10, 2023. 14arxiv.org/abs/2301.13826
  10. [10]Dar-Yen Chen, Hmrishav Bandyopadhyay, Kai Zou, and Yi-Zhe Song. Normalized Attention Guidance: Universal Negative Guidance for Diffusion Models. In Advances in Neural Information Processing Systems (NeurIPS), pages 137412–137446, 2025. 6, 14, 17arxiv.org/abs/2505.21179
  11. [11]Bowen Cheng, Ishan Misra, Alexander G. Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention Mask Transformer for Universal Image Segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1290–1299, 2022. 4, 16arxiv.org/abs/2112.01527
  12. [12]Hyungjin Chung, Jeongsol Kim, Michael Thompson McCann, Marc Louis Klasky, and Jong Chul Ye. Diffusion Posterior Sampling for General Noisy Inverse Problems. In International Conference on Learning Representations (ICLR), 2023. 1, 2, 3, 6, 7, 13, 20, 21arxiv.org/abs/2209.14687
  13. [13]Hyungjin Chung, Jeongsol Kim, Geon Yeong Park, Hyelin Nam, and Jong Chul Ye. CFG++: Manifold-constrained Classifier Free Guidance for Diffusion Models. In International Conference on Learning Representations (ICLR), pages 30824–30850, 2025. 6, 14, 17arxiv.org/abs/2406.08070
  14. [14]Kevin Clark, Paul Vicol, Kevin Swersky, and David J. Fleet. Directly Fine-Tuning Diffusion Models on Differentiable Rewards. In International Conference on Learning Representations (ICLR), pages 4793–4822, 2024. 2, 13arxiv.org/abs/2309.17400
  15. [15]Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, and Christopher Ré. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness. In Advances in Neural Information Processing Systems (NeurIPS), pages 16344–16359, 2022. 6, 16arxiv.org/abs/2205.14135
  16. [16]Prafula Dhariwal and Alexander Nichol. Diffusion Models Beat GANs on Image Synthesis. In Advances in Neural Information Processing Systems, pages 8780–8794, 2021. 14
  17. [17]Carles Domingo-Enrich, Michal Drozdzal, Brian Karrer, and Ricky T. Q. Chen. Adjoint Matching: Fine-tuning Flow and Diffusion Generative Models with Memoryless Stochastic Optimal Control. In International Conference on Learning Representations (ICLR), pages 53791–53846, 2025. 2, 13
  18. [18]Bradley Efron. Tweedie’s Formula and Selection Bias. Journal of the American Statistical Association, 106(496):1602–1614, 2011. 3pubmed.ncbi.nlm.nih.gov/22505788
  19. [19]Dave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros, and Aleksander Holynski. Diffusion Self-Guidance for Controllable Image Generation. In Advances in Neural Information Processing Systems (NeurIPS), pages 16222–16239, 2023. 14arxiv.org/abs/2306.00986
  20. [20]Patrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari, Jonas Müller, Harry Saini, Yam Levi, Dominik Lorenz, Axel Sauer, Frederic Boesel, Dustin Podell, Tim Dockhorn, Zion English, and Robin Rombach. Scaling Rectified Flow Transformers for High-Resolution Image Synthesis. In Proceedings of the 41st International Conference on Machine Learning (ICML), pages 12606–12633, 2024. 2, 16, 19arxiv.org/abs/2403.03206
  21. [21]Luca Eyring, Shyamgopal Karthik, Karsten Roth, Alexey Dosovitskiy, and Zeynep Akata. ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization. In Advances in Neural Information Processing Systems (NeurIPS), pages 125487–125519, 2024. 13arxiv.org/abs/2406.04312
  22. [22]Zhengqi Gao, Kaiwen Zha, Tianyuan Zhang, Zihui Xue, and Duane S. Boning. REG: Rectified Gradient Guidance for Conditional Diffusion Models. In International Conference on Machine Learning (ICML), pages 18724–18743, 2025. 13arxiv.org/abs/2501.18865
  23. [23]Hyoyun Go, Hyungjin Chung, Prune Truong, Goutam Bhat, Li Mi, Zhaochong An, Zixiang Zhao, Dominik Narnhofer, Serge Belongie, Federico Tombari, and Konrad Schindler. Stitched Value Model for Diffusion Alignment. In Advances in Neural Information Processing Systems (NeurIPS), 2026. 14arxiv.org/abs/2605.19804
  24. [24]Jack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. CLIPScore: A Reference-free Evaluation Metric for Image Captioning. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7514–7528, 2021. 6, 15
  25. [25]Jonathan Ho and Tim Salimans. Classifier-Free Diffusion Guidance. arXiv preprint arXiv:2207.12598, 2022. 2, 3, 14arxiv.org/abs/2207.12598
  26. [26]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising Diffusion Probabilistic Models. In Advances in Neural Information Processing Systems (NeurIPS), pages 6840–6851, 2020. 2, 3arxiv.org/abs/2006.11239
  27. [27]Susung Hong. Smoothed Energy Guidance: Guiding Diffusion Models with Reduced Energy Curvature of Attention. In Advances in Neural Information Processing Systems (NeurIPS), pages 66743–66772, 2022. 2, 3, 6, 7, 14, 20
  28. [28]Susung Hong, Gyuseong Lee, Wook Lee, and Seungryong Kim. Improving Sample Quality of Diffusion Models Using Self-Attention Guidance. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 7462–7471, 2023. 2, 3, 6, 7, 14, 20arxiv.org/abs/2210.00939
  29. [29]Ziqi Huang, Yinan He, Jiashuo Yu, Fan Zhang, Chenyang Si, Yuming Jiang, Yuanhan Zhang, Tianxing Wu, Qingyang Jin, Nattapol Chanpaisit, Yaohui Wang, Xinyuan Chen, Limin Wang, Dahua Lin, Yu Qiao, and Ziwei Liu. VBench: Comprehensive Benchmark Suite for Video Generative Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 21807–21818, 2024. 18arxiv.org/abs/2311.17982
  30. [30]Jisung Hwang, Yunhong Min, Jaihoon Kim, I-Chao Shen, and Minhyuk Sung. NoiseTilt: Noise-Tilted Reverse Kernels for Diffusion Reward Alignment. In Computer Vision – ECCV 2026, pages 134–153. Springer, 2026. 1, 2, 3, 6, 7, 13, 20, 21arxiv.org/abs/2606.18066
  31. [31]Junha Hyung, Kinam Kim, Susung Hong, Min-Jung Kim, and Jaegul Choo. Spatiotemporal Skip Guidance for Enhanced Video Diffusion Sampling. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 11006–11015, 2025. 14arxiv.org/abs/2411.18664
  32. [32]Vineet Jain, Kusha Sareen, Mohammad Pedramfar, and Siamak Ravanbaksh. Diffusion Tree Sampling: Scalable inference-time alignment of diffusion models. In Advances in Neural Information Processing Systems (NeurIPS), pages 145576–145615, 2025. 2, 14arxiv.org/abs/2506.20701
  33. [33]Sangwon Jang, Taekyung Ki, Jaehyeong Jo, Jaehong Yoon, Soo Ye Kim, Zhe Lin, and Sung Ju Hwang. Frame Guidance: Training-Free Guidance for Frame-Level Control in Video Diffusion Models. In International Conference on Learning Representations (ICLR), pages 60977–61003, 2026. 8, 18, 19arxiv.org/abs/2506.07177
  34. [34]Tero Karras, Miika Aittala, Tuomas Kynkäänniemi, Jaakko Lehtinen, Timo Aila, and Samuli Laine. Guiding a Diffusion Model with a Bad Version of Itself. In Advances in Neural Information Processing Systems, pages 52996–53021, 2024. 2, 3, 14arxiv.org/abs/2406.02507
  35. [35]Heasung Kim, Taekyun Lee, Hyeji Kim, and Gustavo de Veciana. Efficient Weighted Sampling via Score-based Generative Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1155–1166, 2026. 4, 13arxiv.org/abs/2502.04646
  36. [36]Kwanyoung Kim. Toward the Frontiers of Reliable Diffusion Sampling via Adversarial Sinkhorn Attention Guidance. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 5682–5690, 2026. 2, 3
  37. [37]Kwanyoung Kim and Byeongsu Sim. PLADIS: Pushing the Limits of Attention in Diffusion Models at Inference Time by Leveraging Sparsity. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 16238–16248, 2025. 6, 14arxiv.org/abs/2503.07677
  38. [38]Kwanyoung Kim and Jong Chul Ye. Noise2Score: Tweedie’s Approach to Self-Supervised Image Denoising without Clean Images. In Advances in Neural Information Processing Systems, pages 864–874, 2021. 3arxiv.org/abs/2106.07009
  39. [39]Sunwoo Kim, Minkyu Kim, and Dongmin Park. Test-time Alignment of Diffusion Models without Reward Over-optimization. In International Conference on Learning Representations (ICLR), pages 87238–87272, 2025. 2, 14arxiv.org/abs/2501.05803
  40. [40]Yuval Kirstain, Adam Polyak, Uriel Singer, Shahabund Matiana, Joe Penna, and Omer Levy. Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation. In Advances in Neural Information Processing Systems (NeurIPS), pages 36652–36663, 2023. 2, 6, 15arxiv.org/abs/2305.01569
  41. [41]Weijie Kong, Qi Tian, Zijian Zhang, Rox Min, Zuozhuo Dai, Jin Zhou, Jiangfeng Xiong, Xin Li, Bo Wu, Jianwei Zhang, Kathrina Wu, Qin Lin, Junkun Yuan, Yanxin Long, Aladdin Wang, Andong Wang, Changlin Li, Youjun Huang, Fang Yang, Hao Tan, Hongmei Wang, Jacob Song, Jiawang Bai, Jianbing Wu, Jinbao Xue, Joey Wang, Kai Wang, Mengyang Liu, Pengyu Li, Shuai Li, Weiyan Wang, Wenqing Yu, Xinchi Deng, Yang Li, Yi Chen, Yutao Cui, Yuanbo Peng, Zhentao Yu, Zhiyu He, Zhiyong Xu, Zixiang Zhou, Zunnan Xu, Yangyu Tao, Qinglin Lu, Songtao Liu, Dax Zhou, Hongfa Wang, Yong Yang, Di Wang, Yunhong Liu, Jie Jiang, and Caesar Zhong. HunyuanVideo: A Systematic Framework For Large Video Generative Models. arXiv preprint arXiv:2412.03603, 2024. 2arxiv.org/abs/2412.03603
  42. [42]Nina Konovalova, Ibragim Idrisov, and Aibek Alanov. SHIFT: Steering Hidden Intermediates in Flow Transformers. arXiv preprint arXiv:2604.09213, 2026. 14arxiv.org/abs/2604.09213
  43. [43]Xiner Li, Yulai Zhao, Chenyu Wang, Gabrielle Scalia, Gokcen Eraslan, Surag Nair, Tommaso Biancalani, Shuiwang Ji, Aviv Regev, Sergey Levine, and Masatoshi Uehara. Derivative-Free Guidance in Continuous and Discrete Diffusion Models with Soft Value-based Decoding. In Advances in Neural Information Processing Systems (NeurIPS), pages 95507–95545, 2025. 2, 6, 7, 14, 20, 21arxiv.org/abs/2408.08252
  44. [44]Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: Common Objects in Context. In European Conference on Computer Vision (ECCV), pages 740–755, 2014. 6, 15
  45. [45]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow Matching for Generative Modeling. In International Conference on Learning Representations (ICLR), 2023. 2, 3arxiv.org/abs/2210.02747
  46. [46]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow. In International Conference on Learning Representations (ICLR), 2023. 3arxiv.org/abs/2209.03003
  47. [47]Nanye Ma, Shangyuan Tong, Haolin Jia, Hexiang Hu, Yu-Chuan Su, Mingda Zhang, Xuan Yang, Yandong Li, Tommi Jaakkola, Xuhui Jia, and Saining Xie. Scaling Inference Time Compute for Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2523–2534, 2025. 14DOI
  48. [48]Maitreya Patel, Song Wen, Dimitris N. Metaxas, and Yezhou Yang. FlowChef: Steering of Rectified Flow Models for Controlled Generations. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 15308–15318, 2025. 13DOI
  49. [49]Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis. In International Conference on Learning Representations (ICLR), pages 1862–1874, 2024. 19, 20arxiv.org/abs/2307.01952
  50. [50]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning Transferable Visual Models From Natural Language Supervision. In Proceedings of the 38th International Conference on Machine Learning (ICML), pages 8748–8763, 2021. 18arxiv.org/abs/2103.00020
  51. [51]Javad Rajabi, Soroush Mehraban, Seyedmortaza Sadat, and Babak Taati. Token Perturbation Guidance for Diffusion Models. In Advances in Neural Information Processing Systems (NeurIPS), pages 67153–67175, 2025. 14arxiv.org/abs/2506.10036
  52. [52]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-Resolution Image Synthesis with Latent Diffusion Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10684–10695, 2022. 3
  53. [53]Christoph Schuhmann. Improved Aesthetic Predictor. https://github.com/christophschuhmann/improved-aesthetic-predictor, 2022. 2, 6, 15
  54. [54]Raghav Singhal, Zachary Horvitz, Ryan Teehan, Mengye Ren, Zhou Yu, Kathleen McKeown, and Rajesh Ranganath. A General Framework for Inference-time Scaling and Steering of Diffusion Models. In International Conference on Machine Learning (ICML), pages 55810–55827, 2025. 14arxiv.org/abs/2501.06848
  55. [55]Jiaming Song, Qinsheng Zhang, Hongxu Yin, Morteza Mardani, Ming-Yu Liu, Jan Kautz, Yongxin Chen, and Arash Vahdat. Loss-Guided Diffusion Models for Plug-and-Play Controllable Generation. In International Conference on Machine Learning (ICML), pages 32483–32498, 2023. 13
  56. [56]Hossein Talebi and Peyman Milanfar. NIMA: Neural Image Assessment. IEEE Transactions on Image Processing, 27(8): 3998–4011, 2018. 6, 15
  57. [57]Zhiwei Tang, Jiangweizhi Peng, Jiasheng Tang, Mingyi Hong, Fan Wang, and Tsung-Hui Chang. Inference-Time Alignment of Diffusion Models with Direct Noise Optimization. In Proceedings of the 42nd International Conference on Machine Learning (ICML), pages 58905–58930, 2025. 13arxiv.org/abs/2405.18881
  58. [58]Team Wan, Ang Wang, Baole Ai, Bin Wen, Chaojie Mao, Chen-Wei Xie, Di Chen, Feiwu Yu, Haiming Zhao, Jianxiao Yang, Jianyuan Zeng, Jiayu Wang, Jingfeng Zhang, Jingren Zhou, Jinkai Wang, Jixuan Chen, Kai Zhu, Kang Zhao, Keyu Yan, Lianghua Huang, Mengyang Feng, Ningyi Zhang, Pandeng Li, Pingyu Wu, Ruihang Chu, Ruili Feng, Shiwei Zhang, Siyang Sun, Tao Fang, Tianxing Wang, Tianyi Gui, Tingyu Weng, Tong Shen, Wei Lin, Wei Wang, Wei Wang, Wenmeng Zhou, Wente Wang, Wenting Shen, Wenyuan Yu, Xianzhong Shi, Xiaoming Huang, Xin Xu, Yan Kou, Yangyu Lv, Yifei Li, Yijing Liu, Yiming Wang, Yingya Zhang, Yitong Huang, Yong Li, You Wu, Yu Liu, Yulin Pan, Yun Zheng, Yuntao Hong, Yupeng Shi, Yutong Feng, Zeyinzi Jiang, Zhen Han, Zhi-Fan Wu, and Ziyu Liu. Wan: Open and Advanced Large-Scale Video Generative Models. arXiv preprint arXiv:2503.20314, 2025. 2, 8, 18arxiv.org/abs/2503.20314
  59. [59]Bram Wallace, Akash Gokul, Stefano Ermon, and Nikhil Naik. End-to-End Diffusion Latent Optimization Improves Classifier Guidance. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 7280–7290, 2023. 13arxiv.org/abs/2303.13703
  60. [60]Bram Wallace, Meihua Dang, Rafael Rafailov, Linqi Zhou, Aaron Lou, Senthil Purushwalkam, Stefano Ermon, Caiming Xiong, Shaojie Joty, and Nikhil Naik. Diffusion Model Alignment Using Direct Preference Optimization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 8228–8238, 2024. 13arxiv.org/abs/2311.12908
  61. [61]Yi Wang, Yinan He, Yizhuo Li, Kunchang Li, Jiashuo Yu, Xin Ma, Xinhao Li, Guo Chen, Xinyuan Chen, Yaohui Wang, Ping Luo, Ziwei Liu, Yali Wang, Limin Wang, and Yu Qiao. InternVid: A Large-scale Video-Text Dataset for Multimodal Understanding and Generation. In International Conference on Learning Representations (ICLR), pages 42055–42079, 2024. 18arxiv.org/abs/2307.06942
  62. [62]Haoning Wu, Zicheng Zhang, Weixia Zhang, Chaofeng Chen, Liang Liao, Chunyi Li, Yixuan Gao, Annan Wang, Erli Zhang, Wenxiu Sun, Qiong Yan, Xiongguo Min, Guangtao Zhai, and Weisi Lin. Q-Align: Teaching LMMs for Visual Scoring via Discrete Text-Defined Levels. In International Conference on Machine Learning (ICML), pages 54015–54029, 2024. 6, 15arxiv.org/abs/2312.17090
  63. [63]Xiaoshi Wu, Yiming Hao, Keqiang Sun, Yixiong Chen, Feng Zhu, Rui Zhao, and Hongsheng Li. Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesis. arXiv preprint arXiv:2306.09341, 2023. 6, 15arxiv.org/abs/2306.09341
  64. [64]Jiazheng Xu, Xiao Liu, Yuchen Wu, Yuxuan Tong, Qinkai Li, Ming Ding, Jie Tang, and Yuxiao Dong. ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generation. In Advances in Neural Information Processing Systems (NeurIPS), pages 15903–15935, 2023. 2, 6, 13, 15
  65. [65]Haotian Ye, Haowei Lin, Jiaqi Han, Minkai Xu, Sheng Liu, Yitao Liang, Jianhua Ma, James Zou, and Stefano Ermon. TFG: Unified Training-Free Guidance for Diffusion Models. In Advances in Neural Information Processing Systems (NeurIPS), pages 22370–22417, 2024. 13arxiv.org/abs/2409.15761
  66. [66]Jiwen Yu, Yinhua Wang, Chen Zhao, Bernard Ghanem, and Jian Zhang. FreeDoM: Training-Free Energy-Guided Conditional Diffusion Model. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 23174–23184, 2023. 2, 3, 6, 7, 13, 20arxiv.org/abs/2303.09833
  67. [67]Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The Unreasonable Effectiveness of Deep Features as a Perceptual Metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 586–595, 2018. 18arxiv.org/abs/1801.03924
  68. [68]Wenliang Zhao, Lujia Bai, Yongming Rao, Jie Zhou, and Jiwen Lu. UniPC: A Unified Predictor-Corrector Framework for Fast Sampling of Diffusion Models. In Advances in Neural Information Processing Systems (NeurIPS), pages 49842–49869, 2023. 18arxiv.org/abs/2302.04867
  69. [69]Zhiyuan Zhou, Andy Peng, Charles Xu, Oiyang Li, Tobias Springenberg, Kevin Frans, and Sergey Levine. Test-Time Gradient Guidance of Flow Policies in Reinforcement Learning. In Advances in Neural Information Processing Systems (NeurIPS), 2026. 4, 13arxiv.org/abs/2606.11087

Paper details

vlnc:W_xsggu5gq
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents