Inference-Time Attribute Distribution Alignment for Unconditional Diffusion
Anonymous authors
ReALM-GEN @ ICLR 2026
TL;DR. A training-free approach enabling pretrained diffusion models to generate samples with attributes aligning to flexible test-time target distributions.
Abstract. Inference-time controllable generation is essential for real-world applications of unconditional diffusion models. However, most existing techniques focus on individual samples, struggling in applications that require the sample population to follow specific attribute distributions (e.g., demographic balance or semantic proportions). We formalize this setting as the inference-time attribute distributional alignment problem for pretrained unconditional diffusion models. To address this, we cast inference-time attribute distributional alignment as an optimal control problem over the reverse diffusion process, viewing the process as the rollout of a dynamical system and augmenting it with additive, time-dependent perturbations as control. We solve for the perturbations using an optimal-control-based algorithm to optimize a differentiable distribution-matching objective while penalizing control effort to preserve data fidelity. Experiment results in image generation demonstrate that our proposed plug-and-play approach can better align attribute distributions to diverse and flexible test-time targets compared to baselines, without retraining or finetuning the pretrained diffusion model.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:43 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper focus on the attribute distribution alignment problem of pretrained unconditional diffusion models in the inference stage, aiming to make the attribute distribution of generated samples matches a target distribution without fine-tuning the generative model. The authors model the reverse diffusion process as an optimal control problem, taking the KL divergence of the batch sample attribute distribution as the cost, and introduce a control regularization term, iteratively optimizing the control variables via Pontryagin's maximum principle and the E-MSA algorithm. In addition, the authors provide theoretical analysis on the algorithm's convergence and attribute distribution alignment. Experiments cover semantic classes control on CIFAR-100 and human-face attributes control on FFHQ. Experimental results show that this method can more effectively match the target attribute distribution compared to the selected baselines, while maintaining good generation quality.
Strengths
1.The problem modeling aligns well with the distribution matching. Since attribute distribution matching is essentially a group-level objective, the authors did not simply decompose it into independent per-sample rewards, but instead used batch-level KL divergence as the terminal cost to explicitly couple multiple generated samples, and introduced control regularization to balance distribution alignment and generation quality. This modeling approach is natural and reasonable for this problem.
Weaknesses
1.The paper does not sufficiently justify why attribute distribution matching should be addressed by controlling pretrained unconditional diffusion models. For semantic classes distribution matching on CIFAR-100, a more direct and natural solution would be using a class-conditional diffusion model and sample according to the desired class distribution. Similarly, for human face generation, text-to-image models with carefully designed text prompts could be used to control the proportions of different attributes.
2.When restricted to pretrained unconditional diffusion models, a straightforward strategy could be considered: generate a sufficiently large pool of candidate images and select samples using an attribute classifier to match the target distribution. Theoretically, as long as every target class has nonzero probability under the original generative distribution, sufficientl independent samples can provide the required number of images of each class, allowing arbitrary target classes distributions to be matched.
3.The experimental comparisons do not adequately cover closely related methods or simpler alternatives. The authors discuss OC-Flow [1] and DTM [2] in the Related Work section, both of which employ optimal control to steer the sampling trajectories of pretrained generative models. However, the paper does not sufficiently clarify the differences from these existing optimal control frameworks, nor does it provide comparisons under a unified batch-level distribution matching objective. Consequently, it remains unclear whether the contribution primarily amounts to replacing the terminal cost function in an existing optimal control framework with a batch-level distribution matching cost.The experiments lack simple but important baselines, such as generate-then-select mentioned in 2, as well as reference comparisons with conditional generation combined with class-quota sampling. According to the complexity analysis in Appendix B.3, the proposed method requires multiple forward simulations and backward gradient computations. With approximately 10 optimization iterations, its generative-model computation is roughly comparable to that of several dozen standard unconditional sampling runs. This raises a natural question: under the same computational budget, could one simply generate more candidate images and select them according to the desired attribute proportions using the Attribute Oracle, achieving comparable or even better distribution alignment?
4.The paper uses the same Attribute Oracle for generation optimization and attribute distribution evaluation, potentially introducing oracle-specific evaluation bias. Although the appendix includes ablation studies using ResNet and ViT as alternative oracles, it does not provide independent cross-oracle evaluations, such as optimizing generation with ResNet and evaluating the resulting attribute distribution with ViT. The current experiments cannot exclude the possibility that the method primarily exploits the decision boundaries of a particular classifier, rather than achieving reliable alignment of the underlying semantic attribute distribution.
References
[1] Luran Wang, Chaoran Cheng, Yizhen Liao, Yanru Qu, and Ge Liu. Training Free Guided Flow-Matching with Optimal Control. International Conference on Learning Representations (ICLR), 2025.
[2] Kushagra Pandey, Farrin Marouf Sofian, Felix Draxler, Theofanis Karaletsos, and Stephan Mandt. Variational Control for Guidance in Diffusion Models. International Conference on Machine Learning (ICML), Proceedings of Machine Learning Research.
Questions for the authors
See Weakness
10 comments
W2 (Part 1/2)
W2 Rejection sampling at equal compute (Part 1/2)
What the reviewers mention is essentially rejection sampling. The reviewer is right that, with enough candidates, selecting by the oracle can match any target whose classes all have nonzero probability under the base model. We add this baseline and clarify our method's applicability and strengths in the next part.
2.1 Rejection sampling
- Setup. To output images with the target class proportions, we draw ordinary (unguided) samples from the base model, label each with the same classifier, and keep a sample only while its class is below its target count; the rest are discarded. At equal compute budget with the settings reported in the paper, rejection sampling may draw 30x more samples than ours (see Part 2 for compute cost). Beyond the prescribed budget, classes still short are filled with previous discarded samples, so the output always has samples in total. With the acceleration above, one our method image costs only about 16 ordinary samples; we keep the budget at 31, which matches the unaccelerated our method runs being compared and is the more generous choice for rejection sampling.
- Results. At equal compute, rejection sampling matches the target proportions as well as or better than our method on all 11 FFHQ targets: TV on 10 of them, on the 24-class custom joint. However, our method's sample quality appears to be better: FID is lower on 11/11 targets by –; CMMD is lower on 10/11 tested settings, We attribute this in part to our method optimizing each sampling trajectory rather than only filtering ordinary samples.
FFHQ: rejection sampling at matched compute vs Ours
| Target | Attribute | Method | TV | FID | CMMD |
|---|---|---|---|---|---|
| Uniform | age | Rejection sampling | .0000 | 48.88 | .724 |
| Ours | .0230 | 45.18 | .656 | ||
| Uniform | race | Rejection sampling | .0000 | 51.30 | .811 |
| Ours | .0280 | 47.59 | .836 | ||
| Custom 1 | age | Rejection sampling | .0000 | 51.28 | .907 |
| Ours | .0490 | 46.14 | .791 | ||
| Custom 2 | race | Rejection sampling | .0007 | 51.62 | .882 |
| Ours | .0530 | 46.53 | .855 | ||
| Uniform | age gender race | Rejection sampling | .0000 | 47.88 | .826 |
| Ours | .1120 | 41.28 | .762 | ||
| CustomJoint | age gender race | Rejection sampling | .0216 | 47.42 | .801 |
| Ours | .1420 | 42.19 | .747 |
W2 (Part 2/2)
W2 Rejection sampling (Part 2/2)
W2.2 When our method is conceptually the better tool
"Sufficiently many" is the catch. Our method is the better tool when the target asks for much more of a class that the base model rarely produces. We model that as follows:
- Let be the probability of attribute class among the base model’s generated distribution, the target, and the number of samples rejection sampling may draw per final sample (i.e., the compute budget multiplier). Among samples about are in class , but are needed, so every class with ends up short, and the TV to the target is . This is zero only if for every class. The desired budget is therefore set by the class that the target asks for most relative to how often the model produces it (e.g. 25% requested, 1% produced: ), and these ratios multiply when several independent attributes are constrained jointly. In contrast, our method's cost does not depend on , since it steers samples toward the needed classes instead of waiting for them to appear.
- We add a 2D toy example for illustration in Appendix G, pp. 68 in the revised paper. We set the base model's distribution as a zero-mean Gaussian. We set two attribute classes: a small disc away from the mode, which the base model samples with probability , and any samples outside the disc belong to the other class. We demonstrate with a uniform target . Both methods get the same compute, so rejection sampling draws (see below) samples per output. As the disc moves outward, varies from to . Rejection sampling works better while , and our method becomes better from that point, as the law we analyzed in the above point. For , our method's TV is – against – for rejection sampling. At , for example, rejection sampling places 1.8% of its samples in the disc and our method 49.1%. The visualizations and the full table are in the revised paper Appendix G.
2.3 Compute cost
- Compute cost. Our method's compute cost in the reported setups was about 15x of the guidance baselines and about 31x of vanilla generation using the reported configurations. However, we further apply the following to make our method 1.94x faster (tested on CIFAR-100), with both alignment and sample quality roughly the same:
- Caching. Each E-MSA iteration first rolls the sampler forward and then runs the adjoint (backward) sweep, which needs the denoiser's vector–Jacobian product at every sampling step. The original implementation discards the denoiser's intermediate activations during the forward rollout and recomputes them in the backward sweep. We instead keep them, i.e. the per-step computation graph of the denoiser, so the backward sweep computes each vector–Jacobian product directly. This removes one of the three network passes per step and iteration.
- Fewer iterations. The fixed points of the E-MSA update depend on and only through (Alg. 1): the update is a projected gradient step of size on the same -regularised objective (Proposition 3.2). Prop. 3.2 bounds the smallest gradient-mapping norm after iterations by , so doubling the step at the same lets us stop after 7 instead of 10 iterations, with TV and FID roughly the same. However, the step cannot grow without limit: the same result requires , where is the gradient-Lipschitz constant of the discretised objective (Assumption C.6, Lemma C.10). depends on the Lipschitz constants of the denoiser, oracle and terminal cost and is not available in closed form. Equivalently, a larger shrinks the proximal weight of the E-MSA subproblem (Eq. (11)), which keeps each update close to the previous trajectory. We therefore treat as a tunable hyperparameter and report only the doubled step size that we verified.
- Together, these bring the compute budget multiplier from 31x to around 16x of the vanilla generation.
- Rating
- 3/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper studies inference-time attribute distribution alignment for pre-trained unconditional diffusion models. It proposes an optimal-control framework that adjusts diffusion trajectories to match a target attribute distribution across generated samples, without retraining the model. Experiments on CIFAR-100 and FFHQ show improvements in distribution alignment over existing guidance-based baselines, while generally preserving image quality.
Strengths
The paper addresses a meaningful fairness problem through inference time alignment. The optimal-control formulation is principled, and the consistent improvements across different diffusion architectures, attribute distributions, and experimental settings provide strong empirical support.
Weaknesses
The practical advantage over simpler distribution-matching approaches remains unclear. Since the objective is to match population-level attribute proportions, a natural baseline is to generate a larger pool of unconditional samples (e.g. from EDM) and select those matching the desired distribution with high quality. Given the substantial computational overhead of the proposed iterative optimization, it is difficult to determine whether the additional complexity is justified.
Questions for the authors
-
How does the method compare with unconditional sampling from EDM followed by attribute-aware selection? Can it achieve comparable distribution alignment and image quality at a lower cost?
-
How reliable is the measured attribute alignment? Could the authors evaluate generated samples using an independent attribute classifier (different from the optimization oracle), and assess image quality separately from distribution matching?
6 comments
Response to Reviewer 86P4
We thank the reviewer for their time and efforts spent on the reviews and for their positive assessment.
W1/Q1 Rejection sampling at equal compute cost (Part 1/2)
The generate-then-select baseline is essentially rejection sampling. We add comparisons to this baseline and clarify our method’s applicability and strengths.
- Setup. To output images with the target class proportions, we draw ordinary (unguided) samples from the base model, label each with the same classifier, and keep a sample only while its class is below its target count; the rest are discarded. At equal compute budget with the settings reported in the paper, rejection sampling may draw 30x more samples than ours (see Part 2 for compute cost). Beyond the prescribed budget, classes still short are filled with previous discarded samples, so the output always has samples in total. With the acceleration discussed below, one our method image costs only about 16 ordinary samples; we keep the budget at 31, which matches the unaccelerated our method runs being compared and is the more generous choice for rejection sampling.
- Results. At equal compute, rejection sampling matches the target proportions as well as or better than our method on all 11 FFHQ targets: TV on 10 of them, on the 24-class custom joint. However, our method's sample quality appears to be better: FID is lower on 11/11 targets by –; CMMD is lower on 10/11 tested settings. We attribute this in part to our method optimizing each sampling trajectory rather than only filtering ordinary samples.
FFHQ: rejection sampling at matched compute vs Ours
| Target | Attribute | Method | TV | FID | CMMD |
|---|---|---|---|---|---|
| Uniform | age | Rejection sampling | .0000 | 48.88 | .724 |
| Ours | .0230 | 45.18 | .656 | ||
| Uniform | race | Rejection sampling | .0000 | 51.30 | .811 |
| Ours | .0280 | 47.59 | .836 | ||
| Custom 1 | age | Rejection sampling | .0000 | 51.28 | .907 |
| Ours | .0490 | 46.14 | .791 | ||
| Custom 2 | race | Rejection sampling | .0007 | 51.62 | .882 |
| Ours | .0530 | 46.53 | .855 | ||
| Uniform | age gender race | Rejection sampling | .0000 | 47.88 | .826 |
| Ours | .1120 | 41.28 | .762 | ||
| CustomJoint | age gender race | Rejection sampling | .0216 | 47.42 | .801 |
| Ours | .1420 | 42.19 | .747 |
W1/Q1 Rejection sampling at equal compute cost (Part 2/2)
W1/Q1.2 When our method is conceptually the better tool
Our method conceptually works better when the target asks for much more of an attribute that the base model rarely produces. We model that as follows:
- Let be the probability of attribute class among the base model’s generated distribution, the target, and the number of samples rejection sampling may draw per final sample (i.e., the compute budget multiplier). Among samples about are in class , but are needed, so every class with ends up short, and the TV to the target is . This is zero only if for every class. The desired budget is therefore set by the class that the target asks for most relative to how often the model produces it (e.g. 25% requested, 1% produced: ), and these ratios multiply when several independent attributes are constrained jointly. In contrast, our method's cost does not depend on , since it steers samples toward the needed classes instead of waiting for them to appear.
- We add a 2D toy example for illustration in Appendix G, pp. 68 in the revised paper. We set the base model's distribution as a zero-mean Gaussian, so every class probability is exact. We set two attribute classes: a small disc away from the mode, which the base model samples with probability , and any samples outside the disc belong to the other class. We demonstrate with a uniform target . Both methods get the same compute, so rejection sampling draws (see below) samples per output. As the disc moves outward, varies from to . Rejection sampling works better while , and our method becomes better from that point, as the law we analyzed in the above point. For , our method's TV is – against – for rejection sampling. At , for example, rejection sampling places 1.8% of its samples in the disc and our method 49.1%. The visualizations and the full table are in the revised paper Appendix G.
1.3 Compute cost
- Compute cost. Our method's compute cost in the reported setups was about 15x of the guidance baselines and about 31x of vanilla generation using the reported configurations. However, we further apply the following to make our method 1.94x faster (tested on CIFAR-100), with both alignment and sample quality roughly the same:
- Caching. Each E-MSA iteration first rolls the sampler forward and then runs the adjoint (backward) sweep, which needs the denoiser's vector–Jacobian product at every sampling step. The original implementation discards the denoiser's intermediate activations during the forward rollout and recomputes them in the backward sweep. We instead keep them, i.e. the per-step computation graph of the denoiser, so the backward sweep computes each vector–Jacobian product directly. This removes one of the three network passes per step and iteration.
- Fewer iterations. The fixed points of the E-MSA update depend on and only through (Alg. 1): the update is a projected gradient step of size on the same -regularised objective (Proposition 3.2). Prop. 3.2 bounds the smallest gradient-mapping norm after iterations by , so doubling the step at the same lets us stop after 7 instead of 10 iterations, with TV and FID roughly the same. However, the step cannot grow without limit: the same result requires , where is the gradient-Lipschitz constant of the discretised objective (Assumption C.6, Lemma C.10). depends on the Lipschitz constants of the denoiser, oracle and terminal cost and is not available in closed form. Equivalently, a larger shrinks the proximal weight of the E-MSA subproblem (Eq. (11)), which keeps each update close to the previous trajectory. We therefore treat as a tunable hyperparameter and report only the doubled step size that we verified.
- Together, these bring the compute budget multiplier from 31x to around 16x of the vanilla generation.
Q2 (Part 1/2)
Q2 How reliable is the measured alignment? (Part 1/2)
2.1 Independent classifier evaluation
- The reported CIFAR results in the initial submission were already evaluated under a held-out ResNet classifier different from the one used from steering.
- Setup. We re-evaluated every FFHQ sample with held-out RetNet and ViT classifiers that are not used for steering.
- Results: The following tables report re-evaluated TV metrics; FID and CMMD do not depend on the classifier and are repeated for reference. Overall, our method’s advantage in alignment persists in most tested settings. In two cells on FFHQ, two guidance baselines achieves slightly better alignment ( TV), but at the cost of substantially worse sample quality as indicated by much higher FID and CMMD scores.
FFHQ
| Target | Attribute | Method | TV, held-out ResNet | TV, ViT | FID | CMMD |
|---|---|---|---|---|---|---|
| Uniform | age | DDIM | .264 | .340 | 47.18 | .750 |
| PG-DPS | .199 | .407 | 114.4 | 1.38 | ||
| Smpl+DPS | .121 | .368 | 130.7 | 1.488 | ||
| LFM | .333 | .351 | 45.34 | .751 | ||
| Ours | .129 | .252 | 45.18 | .656 | ||
| Ours-F | .202 | .261 | 43.60 | .643 | ||
| Uniform | gender | DDIM | .0281 | .0323 | 47.28 | .705 |
| PG-DPS | .0604 | .0156 | 75.67 | .899 | ||
| Smpl+DPS | .0687 | .118 | 54.97 | .819 | ||
| LFM | .151 | .153 | 44.07 | .698 | ||
| Ours | .00417 | .0177 | 44.97 | .586 | ||
| Ours-F | .0615 | .075 | 42.67 | .637 | ||
| Uniform | race | DDIM | .548 | .610 | 52.38 | .862 |
| PG-DPS | .457 | .622 | 101.8 | 1.264 | ||
| Smpl+DPS | .393 | .589 | 69.56 | 1.071 | ||
| LFM | .568 | .616 | 48.41 | .835 | ||
| Ours | .221 | .468 | 47.59 | .836 | ||
| Ours-F | .392 | .533 | 46.12 | .681 | ||
| Custom 1 | age | DDIM | .472 | .548 | 49.65 | .959 |
| PG-DPS | .447 | .644 | 123.1 | 1.620 | ||
| Smpl+DPS | .274 | .450 | 95.05 | 1.285 | ||
| LFM | .542 | .559 | 51.95 | .972 | ||
| Ours | .185 | .317 | 46.14 | .791 | ||
| Ours-F | .291 | .385 | 48.25 | .793 | ||
| Custom 1 | gender | DDIM | .272 | .268 | 48.58 | .979 |
| PG-DPS | .366 | .322 | 129.6 | 1.759 | ||
| Smpl+DPS | .122 | .0875 | 70.64 | 1.101 | ||
| LFM | .149 | .147 | 45.87 | .915 | ||
| Ours | .0813 | .129 | 46.52 | .804 | ||
| Ours-F | .0438 | .0615 | 45.76 | .818 | ||
| Custom 1 | race | DDIM | .398 | .460 | 48.71 | .861 |
| PG-DPS | .431 | .526 | 165.3 | 1.917 | ||
| Smpl+DPS | .317 | .473 | 61.74 | 1.050 | ||
| LFM | .418 | .466 | 48.80 | .861 | ||
| Ours | .221 | .425 | 43.03 | .741 | ||
| Ours-F | .267 | .402 | 44.73 | .683 | ||
| Custom 2 | age | DDIM | .277 | .349 | 51.39 | .990 |
| PG-DPS | .263 | .372 | 90.79 | 1.338 | ||
| Smpl+DPS | .152 | .382 | 114.6 | 1.545 | ||
| LFM | .335 | .362 | 51.50 | .990 | ||
| Ours | .109 | .217 | 46.25 | .782 | ||
| Ours-F | .201 | .277 | 47.83 | .814 | ||
| Custom 2 | gender | DDIM | .228 | .232 | 55.74 | .969 |
| PG-DPS | .0313 | .0802 | 156.9 | 1.890 | ||
| Smpl+DPS | .152 | .201 | 60.62 | 1.051 | ||
| LFM | .351 | .353 | 56.16 | 1.011 | ||
| Ours | .025 | .075 | 48.69 | .803 | ||
| Ours-F | .170 | .210 | 51.22 | .884 | ||
| Custom 2 | race | DDIM | .687 | .749 | 51.45 | .949 |
| PG-DPS | .457 | .858 | 253.2 | 3.113 | ||
| Smpl+DPS | .464 | .710 | 72.94 | 1.163 | ||
| LFM | .707 | .755 | 51.12 | .959 | ||
| Ours | .309 | .567 | 46.53 | .855 | ||
| Ours-F | .473 | .658 | 46.09 | .719 | ||
| Uniform | age×gender×race | DDIM | .564 | .638 | 46.26 | .912 |
| PG-DPS | .518 | .664 | 127.0 | 1.684 | ||
| Smpl+DPS | .551 | .747 | 198.2 | 2.591 | ||
| LFM | .590 | .644 | 46.20 | .906 | ||
| Ours | .266 | .516 | 41.28 | .762 | ||
| Ours-F | .447 | .581 | 41.54 | .703 | ||
| CustomJoint | age×gender×race | DDIM | .510 | .573 | 44.28 | .895 |
| PG-DPS | .566 | .588 | 74.77 | 1.192 | ||
| Smpl+DPS | .443 | .549 | 89.51 | 1.252 | ||
| LFM | .526 | .557 | 44.05 | .858 | ||
| Ours | .283 | .418 | 42.19 | .747 | ||
| Ours-F | .299 | .446 | 38.65 | .564 |
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper studies the problem of aligning the attribute distribution of samples generated by pretrained unconditional diffusion models with a target distribution specified at test time (e.g., demographic balance). The authors formulate this problem as an optimal control problem over the reverse diffusion process, where a time-dependent control is optimized to minimize the KL divergence between the attribute distribution of a batch and the target, with a control-effort penalty to preserve sample quality. The method is training-free and comes with convergence and alignment guarantees. Experiments on CIFAR-100 and FFHQ show better alignment than the baselines while keeping FID close to the base model.
Strengths
-
The problem formulation is interesting and well-motivated, as distribution-level objectives such as fairness cannot be expressed by a per-sample reward.
-
The optimal control formulation gives an explicit trade-off between alignment and sample quality, and changing the target only changes the terminal cost without any retraining.
-
The paper is easy to follow and generally well written, and the theoretical results support the proposed algorithm.
-
The method improves alignment considerably over the included baselines while preserving FID, also for joint attributes and latent flow matching.
Weaknesses
My main concern regarding this work is its originality and the experimental comparison. The solver largely follows the E-MSA approach used in OC-Flow (Wang et al., 2025) applied to a batch of samples, so the main new component is the batch-level terminal cost. Moreover, the claim that few generic methods can align pretrained diffusion models to test-time target distributions in a plug-and-play fashion should be revisited, since training-free distribution-level guidance has already been explored in prior work, e.g., MMD Guidance [1]. Below I outline additional concerns:
-
The paper misses relevant baselines and related works. MMD Guidance [1] is a closely related baseline, as it is training-free, applies to unconditional diffusion models, and aligns a batch of generated samples with a target distribution. It can be applied almost directly here, since the paper already samples reference sets according to the target distribution for computing FID (footnote 5). In addition, for the Uniform (fairness) targets, diversity guidance methods such as c-VSG [4], SPARKE [2], and SPELL [3] are natural baselines, in the same way PG is adapted in the paper. A simple resampling baseline (generating i.i.d. samples, labeling them with the oracle, and subsampling to match the target) would also be important for understanding the benefit of the proposed method.
-
The comparison with PG does not seem fair. The guidance weight of PG is fixed to w = 4.0 for all CIFAR targets (Table 7) without a time-dependent schedule, while the proposed method is tuned per target (Table 6). The very high FID of PG on faces (e.g., 253.2 with w = 100) suggests that the guidance is too strong. Also, the proposed method uses 10 forward/backward passes through the sampler while PG uses a single pass, so a comparison under matched compute is needed.
-
It is unclear whether the same classifier is used for steering and evaluation. If so, the improvements may partly come from exploiting the classifier rather than changing the attribute itself. For example, in Table 3 (gender, Custom-2) the 7:3 ratio is matched exactly (TV = 1.2e-8). Evaluating with an independent classifier (or CLIP zero-shot) would make the results more convincing.
-
The diversity of samples within each attribute group is not evaluated. Pushing samples toward under-represented attributes may reduce diversity within groups, which FID does not clearly capture. Using diversity metrics such as RKE [5] and Vendi [6] for each attribute group could help better show that alignment does not come at the cost of diversity.
-
The method requires generating a large batch jointly (around 5-10 times the support size), which may limit its applicability in practical settings where samples are generated one at a time. In addition, the experiments are limited to CIFAR-100 and FFHQ-256, and it is unclear whether the method scales to larger models such as Stable Diffusion.
Minor weaknesses:
- The JS values in Tables 2 and 3 seem inconsistent: for LFM and OURS-F they match the JS divergence, while for the other rows they match the JS distance (e.g., Table 3, Uniform-age: OURS has χ² = 6.4e-4 and JS = 0.018, while OURS-F has χ² = 3.6e-4 and JS = 1.8e-4). This makes OURS-F look much better than it is.
- Providing a memory and runtime comparison between the proposed method and the baselines would better clarify the computational cost of the method.
- Typos: "Guassian" (Appendix E.1) and a missing decimal point in Table 3 (FD = "37").
[1] Mahdizadeh Sani et al. "MMD Guidance: Training-Free Distribution Adaptation for Diffusion Models via Maximum Mean Discrepancy Guidance", ICML 2026
[2] Jalali et al. "SPARKE: Scalable Prompt-Aware Diversity and Novelty Guidance in Diffusion Models via RKE Score", NeurIPS 2025
[3] Kirchhof et al. "Sparse Repellency for Shielded Generation in Text-to-Image Diffusion Models", ICML 2025
[4] Askari Hemmat et al. "Improving Geo-diversity of Generated Images with Contextualized Vendi Score Guidance", ECCV 2024
[5] Jalali et al. "An Information-Theoretic Evaluation of Generative Models in Learning Multi-modal Distributions", NeurIPS 2023
[6] Friedman and Dieng. "The Vendi Score: A Diversity Evaluation Metric for Machine Learning", TMLR 2023
Questions for the authors
-
How was the guidance weight of PG chosen? Did you try a time-dependent schedule for it?
-
Are the reported metrics computed on hard labels or on averaged softmax probabilities?
-
How does the method compare with MMD Guidance, and what happens if the KL terminal cost is replaced by an MMD-based cost?
-
In Appendix E.1, the alignment degrades when the batch size grows beyond a certain point. Why does this happen, since a larger batch should give a better estimate of the attribute distribution?
-
Is it possible to provide a recipe for sequential sample generation rather than parallel generation? This could have broader practical applications.
11 comments
Response to Reviewer gbWg
We first thank the reviewer for their time and for the detailed review. We answer the questions first, each together with the weakness it may associates, and then the remaining weaknesses and minor points.
Q1/W2 PG Tuning (Part 1/2)
Q1/W2 PG Tuning (Part 1/2)
1.1 Fixed PG guidance strength
On both benchmarks we performed grid search on the guidance strength. On FFHQ, the guidance strength was chosen as the one that produced best TV in the grid, as we disclosed in the original submission (line 2653); this partially explains the high FID. On CIFAR, we acknowledge that the same rule was not applied, and we update the results below under the same guidance strength selection rule. The following table shows that despite further choosing guidance weights for PG, our method still delivers better alignment and preserves better sample quality.
| Target | Level | Method | TV | FID | |
|---|---|---|---|---|---|
| Uniform | meta5 | PG-DPS | 1 | .0474 | 16.22 |
| Ours | — | .0281 | 13.07 | ||
| ZigZag | meta5 | PG-DPS | 1 | .0962 | 16.29 |
| Ours | — | .0544 | 13.97 | ||
| Gaussian | meta5 | PG-DPS | 5 | .1481 | 23.08 |
| Ours | — | .1361 | 16.48 | ||
| Uniform | coarse | PG-DPS | 1 | .0794 | 13.08 |
| Ours | — | .0690 | 12.62 | ||
| ZigZag | coarse | PG-DPS | 4 | .1330 | 15.74 |
| Ours | — | .1029 | 14.84 | ||
| Gaussian | coarse | PG-DPS | 9 | .1876 | 19.56 |
| Ours | — | .1764 | 15.72 | ||
| Uniform | fine | PG-DPS | 1 | .2079 | 16.43 |
| Ours | — | .1405 | 12.59 | ||
| ZigZag | fine | PG-DPS | 1 | .2558 | 17.55 |
| Ours | — | .1713 | 12.60 | ||
| Gaussian | fine | PG-DPS | 1 | .2551 | 17.97 |
| Ours | — | .1844 | 13.74 |
Q1/W2 PG Tuning (Part 2/2)
Q1/W2 PG Tuning (Part 2/2)
1.2 Time-dependent guidance schedule
We acknowledge that a time-dependent guidance strength schedule was not attempted. We now add a log-interpolation guidance strength schedule, following Appendix D.2 of the PG paper.
- Setups.
- CIFAR-100: we try every combination of two different start and end values from (six schedules in total) and kept the one with the lowest mean TV over the six meta5 and coarse targets. The selected schedule raises the weight from 1 to 16, i.e. weak guidance early and strong guidance late. Then, we run it on all nine targets with the same setups as in Table 1.
- FFHQ: The high FID of fixed- PG on faces confirms the reviewer's point that the guidance was too strong there. We keep the same shape (the final weight is 16 times the initial one) and tune only its overall strength, with geometric-mean weight , which is much lower than the fixed weights. The same sampler and other settings are used as in Tables 2–3.
- Results. The following tables contain the time-dependent guidance strengths results from PG, compared to ours.
- CIFAR-100: The schedule helps PG (better than fixed on TV, JS, and FD in 8/9 cells, FID in 6/9). Despite the improvement, our method still performs better on the tested settings.
- FFHQ: Our method has better FID on all 11 targets and better TV, JS, and FD on 10 out of 11 tested targets. The only exception is Uniform-age, where scheduled PG at aligns slightly better (TV vs ) while at 6.8 worse FID.
CIFAR-100: PG-DPS w/ time-dependent schedule vs Ours
| Target | Level | Method | TV | FID |
|---|---|---|---|---|
| Uniform | meta5 | PG-DPS, scheduled | .0507 | 18.8 |
| PG-DPS, | .0692 | 22.4 | ||
| Ours | .0281 | 13.1 | ||
| ZigZag | meta5 | PG-DPS, scheduled | .104 | 18.4 |
| PG-DPS, | .113 | 22.0 | ||
| Ours | .0544 | 14.0 | ||
| Gaussian | meta5 | PG-DPS, scheduled | .149 | 19.1 |
| PG-DPS, | .154 | 21.3 | ||
| Ours | .136 | 16.5 | ||
| Uniform | coarse | PG-DPS, scheduled | .0852 | 15.5 |
| PG-DPS, | .0805 | 15.2 | ||
| Ours | .0690 | 12.6 | ||
| ZigZag | coarse | PG-DPS, scheduled | .127 | 15.9 |
| PG-DPS, | .133 | 15.7 | ||
| Ours | .103 | 14.8 | ||
| Gaussian | coarse | PG-DPS, scheduled | .190 | 16.1 |
| PG-DPS, | .195 | 16.0 | ||
| Ours | .176 | 15.7 | ||
| Uniform | fine | PG-DPS, scheduled | .250 | 24.2 |
| PG-DPS, | .288 | 30.7 | ||
| Ours | .141 | 12.6 | ||
| ZigZag | fine | PG-DPS, scheduled | .299 | 26.9 |
| PG-DPS, | .341 | 33.8 | ||
| Ours | .171 | 12.6 | ||
| Gaussian | fine | PG-DPS, scheduled | .310 | 26.1 |
| PG-DPS, | .348 | 33.1 | ||
| Ours | .184 | 13.7 | ||
| mean (9 cells) | PG-DPS, scheduled | .174 | 20.1 | |
| PG-DPS, | .191 | 23.4 | ||
| Ours | .118 | 14.0 |
FFHQ: PG-DPS w/ time-dependent schedule vs Ours
| Target | Attribute | Method | TV | FID |
|---|---|---|---|---|
| Uniform | age | PG-DPS, scheduled (best ) | .0177 | 51.98 |
| Ours | .023 | 45.18 | ||
| Uniform | gender | PG-DPS, scheduled (best ) | .0521 | 48.24 |
| Ours | .0052 | 44.97 | ||
| Uniform | race | PG-DPS, scheduled (best ) | .419 | 54.29 |
| Ours | .028 | 47.59 | ||
| Custom 1 | age | PG-DPS, scheduled (best ) | .133 | 52.67 |
| Ours | .049 | 46.14 | ||
| Custom 1 | gender | PG-DPS, scheduled (best ) | .0396 | 50.66 |
| Ours | .0094 | 46.52 | ||
| Custom 1 | race | PG-DPS, scheduled (best ) | .310 | 51.38 |
| Ours | .043 | 43.03 | ||
| Custom 2 | age | PG-DPS, scheduled (best ) | .0747 | 55.16 |
| Ours | .013 | 46.25 | ||
| Custom 2 | gender | PG-DPS, scheduled (best ) | .135 | 55.63 |
| Ours | 0 | 48.69 | ||
| Custom 2 | race | PG-DPS, scheduled (best ) | .532 | 53.33 |
| Ours | .053 | 46.53 | ||
| Uniform | age gender race | PG-DPS, scheduled (best ) | .444 | 49.30 |
| Ours | .112 | 41.28 | ||
| CustomJoint | age gender race | PG-DPS, scheduled (best ) | .342 | 57.46 |
| Ours | .142 | 42.19 |
Comments on the paper
1 comment
Summary of Rebuttal & Updates
We thank the reviewers and the AC for their time. We summarize the discussion and our key updates below.
Key Contributions
Our work introduces inference-time attribute distribution alignment for pretrained unconditional diffusion models. We study how to steer a generated sample population to match flexible test-time attribute target distribution without retraining or target reference samples, where the attribute is induced by a differentiable oracle. We find that most existing guidance methods fall short in better trading-off attribute distribution alignment and sample quality. Our key contributions:
- Formulation: We propose a stacked dynamical system where batched diffusion/flow dynamics are coupled solely through a batch-level terminal alignment cost and independent modification penalty, capturing population objectives that per-sample rewards cannot express.
- Algorithm and theory: Terminal-only coupling yields a block-diagonal structure which enables a closed-form controller, supported by formal guarantees on algorithmic stationarity and distribution alignment.
- Empirical validation: Experiments on image generation spanning diverse targets, joint attributes, and pixel diffusion and latent flow backbones demonstrate stronger alignment while preserving sample quality compared to baselines.
Recognized Strengths
- Meaningful and well-motivated population-level alignment problem that cannot be expressed via per-sample rewards (gbWg, 86P4, dRf1).
- Principled modeling that explicitly balances alignment and quality without retraining the base model (gbWg, 86P4, dRf1).
- Consistent empirical improvements across architectures, target distributions, and joint attributes while preserving fidelity (gbWg, 86P4).
- Clear presentation (gbWg, 86P4).
- Method soundness (gbWg, dRf1).
Major Concerns Addressed during Rebuttal
- Novelty and positioning:
- We clarified that our contribution lies in the batch-coupled formulation, terminal-only coupling structure, and setting-specific theoretical results.
- We clarified the unconditional diffusion generation regime and distinguished our problem scope from the one studied in other reference-based methods and diversity guidance methods without flexible targets.
- Baselines and compute:
- Our method maintains better alignment and quality against retuned and time-scheduled PG in nearly all settings. Against compute-matched unguided and TFG/DPS-guided rejection sampling, joint trajectory optimization consistently preserves higher sample quality across all quality metrics. Additional analyses and a rare-class case study show active steering is essential for rare attributes in the base model’s vanilla generation distribution.
- We further demonstrated substantial reduction of our method's runtime.
- Evaluation reliability and diversity:
- We added addition cross-model evaluations and classifier confidence margin checks and the results confirm genuine alignment of our method without decision boundary exploitation.
- We also added no-reference quality and within-group sample diversity evaluations, and these results confirm sample quality and diversity improvements of our method over the baselines.
- Technical refinements:
- We explained and resolved large-batch sensitivity, fixed minor reporting metric inconsistencies, and improved runtime efficiency.
Reviewer Engagement & Points of Discrepancies
- Reviewer engagement (until 58 mins before the discussion deadline):
- Reviewer gbWg has not replied to our full rebuttal or follow-up reminder.
- Reviewer dRf1 responded once and confirmed our oracle-bias resolution, but has not yet replied to our second-round response addressing their remaining points.
- Reviewer 86P4 did reaffirm their positive assessment after reviewing our responses.
- Discrepancies:
- Novelty and hypothetical baseline comparison (dRf1): Reviewer dRf1 interpreted our explanation of why a “baseline” constructed by changing the formulation and the objective is not independent as limited novelty. We clarified that both the stacked batch system and group-level KL objective are our contributions and sharing the pre-existing optimization solver does not diminish our novelty.
- Alignment–quality trade-off in rejection sampling (dRf1): While Reviewer dRf1 focused solely on alignment error, preserving sample quality is also central to our task, and the guided-rejection experiments in our round-2 response show guidance sacrifices substantial sample quality.
- Out-of-scope baselines (gbWg): We clarified why comparisons to reference-sample MMD Guidance and the diversity guidance baselines without flexible targets fall outside our scope.
We believe that our responses have answered questions from the reviewers, substantially clarified the main concerns, and strengthened the paper’s technical soundness.
Sincerely,
The authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
W1
We thank the reviewer for their detailed reviews. We respond to each point below.
W1 Why unconditional model?
Before addressing the individual concerns, we distinguish three regimes of controlled diffusion generation.
Our method is intended primarily for Regime 3 and is potentially applicable to Regime 2. It is not intended to replace direct, well-calibrated conditional sampling in Regime 1. The reviewer's CIFAR-100 example belongs to Regime 1: a class-conditional model sampled with class quotas is the right tool there.
References
[1] Song, J. et al. (2023). Loss-Guided Diffusion Models for Plug-and-Play Controllable Generation. ICML 2023.
[2] Ye, H. et al. (2024). TFG: Unified Training-Free Guidance for Diffusion Models. NeurIPS 2024.
[3] Bansal, A. et al. (2024). Universal Guidance for Diffusion Models. ICLR 2024.