NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ctrl-U: Robust Conditional Image Generation via Uncertainty-aware Reward Modeling

Guiyu Zhang, Huan-ang Gao, Zijian Jiang, Hao Zhao, Zhedong Zheng

Introduction

Ctrl-U introduces a robust framework for conditional image generation that accounts for the "confusion" or cognitive uncertainty of reward models. By measuring the variance between multiple generation attempts, it identifies unreliable feedback and adaptively weights training losses. This leads to significantly better alignment between user conditions (like segmentation masks or edges) and the final generated image, all without adding any extra parameters to the model.

The Challenge of Imprecise Feedback

In the realm of controllable text-to-image generation, users often provide a "blueprint"—such as a segmentation mask, a depth map, or a sketch—alongside text prompts. Current state-of-the-art methods, like ControlNet++, use a reward model (e.g., a pre-trained segmentor) to provide feedback during training. If the generated image doesn't match the input mask, the reward model penalizes the generator.

However, there is a catch: reward models are typically trained on clean, real-world images. During the diffusion training process, they are forced to evaluate noisy, "hallucinated" images that fall far outside their original training distribution.

Motivation: Reward model performance degrades at higher noise timesteps

As illustrated above, this out-of-distribution evaluation leads to imprecise feedback. The reward model might output a high error score even if the generator is performing well, or vice versa. These "noisy gradients" act as bad advice, undermining the training process and resulting in images that fail to respect the user's layout instructions.

The Ctrl-U Methodology

To tackle this, the authors propose Ctrl-U, an uncertainty-aware reward modeling approach that consists of two main phases:

Ctrl-U Architecture: Uncertainty estimation and regularization
  1. Uncertainty Estimation: Instead of training a separate, parameter-heavy "meta-model" to predict uncertainty (which often leads to overfitting), Ctrl-U leverages the diffusion process itself. For a single input condition, the model performs two separate forward passes with different noise timesteps ($t_1$ and $t_2$). If the reward model produces wildly different interpretations (high variance) for these two similar intermediate images, that variance serves as a direct indicator of uncertainty.
  2. Uncertainty-aware Regularization: The training loss is then "rectified" based on this estimated uncertainty:
  3. Low Uncertainty: The reward model is consistent and likely correct. The loss weight is increased to enforce strict alignment with the condition.
  4. High Uncertainty: The reward model is "confused." The loss weight is reduced to prevent the generator from learning from incorrect feedback.

Crucially, this method requires zero extra parameters and does not affect inference speed, as the uncertainty logic is utilized exclusively during the fine-tuning stage.

Datasets and Key Insights

The researchers evaluated Ctrl-U across multiple benchmarks using datasets like ADE20K and COCO-Stuff for semantic segmentation masks, and MultiGen-20M for diverse controls including HED edges, LineArt edges, and depth maps.

A core insight of Ctrl-U is using variance as a proxy for truth. If a reward model cannot provide a consistent answer for two slightly different versions of the same scene, its feedback shouldn't be trusted blindly. Furthermore, the authors identified a "Goldilocks" timestep regime: uncertainty modeling is most effective at lower noise levels ($t < 400$). At very high noise levels, the images are too chaotic for the reward model to provide meaningful signals, so the system reverts to standard diffusion loss.

Results and Performance

Ctrl-U demonstrates substantial improvements over previous state-of-the-art methods:

  • Controllability: On the COCO-Stuff benchmark, Ctrl-U significantly improved mIoU (a measure of how well the image matches the mask), boasting a relative improvement of 44.42%. On ADE20K, it saw a 6.53% boost.
  • Image Quality: Beyond just following instructions, the generated images exhibited higher visual quality. FID scores (measuring realism) improved by 18.14% on COCO-Stuff.
  • Human Preference: In a user study, Ctrl-U was preferred 72.5% of the time for image-condition alignment compared to competing models.
  • Versatility: The method proved to be "plug-and-play" across different modalities, showing consistent gains whether the input was a colorful segmentation mask or a simple black-and-white edge map.

Limitations and Future Work

While highly effective, Ctrl-U has a few areas for future refinement. Because the method requires two forward passes to estimate variance, the training time per iteration is higher than standard single-pass methods. Additionally, performance relies on tuning hyperparameters like the timestep threshold ($t_{thre}$) and the regularization weight ($\lambda$), which may vary depending on the specific reward model used. Future work aims to expand this framework to more complex or sparse conditions, such as human pose skeletons or loose scribbles.

Summary updated

BibTeX
@inproceedings{zhang2025ctrl,
  author = {Guiyu Zhang and Huan-ang Gao and Zijian Jiang and Hao Zhao and Zhedong Zheng},
  title = {{Ctrl-U: Robust Conditional Image Generation via Uncertainty-aware Reward Modeling}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=eC2ICbECNM},
}
Figure