Post-training text-to-image (T2I) models is a bit like coaching a talented but erratic artist. You want them to follow instructions better—putting the "elephant below the surfboard" instead of beside it—but providing feedback is expensive. Usually, we rely on "external" rewards: human preference models or specialized tools like OCR engines. But what if the model could reward itself?
A new paper from researchers at Seoul National University and EverEx introduces CANDOR, a label-free intrinsic reward that allows models to improve their own prompt fidelity and aesthetics without any external supervision.
TL;DR
CANDOR is a label-free reward for fine-tuning text-to-image models that measures how much a prompt helps the model denoise its own generated images. By using a contrastive log-ratio of unconditional to conditional denoising errors, it avoids the "simplicity trap" of previous methods and significantly improves text rendering and compositional accuracy.
What Problem Does This Paper Address?
Reinforcement learning (RL) is the standard tool for aligning T2I models with human intent. However, most RL setups require external reward models (like PickScore) which are prone to "reward hacking"—where the generator finds weird artifacts that get high scores but look terrible.
"Intrinsic" rewards are an alternative where the model judges its own samples. A common approach is absolute self-confidence: if the model can easily denoise an image it just made, it must be a "good" image.
The authors of CANDOR point out a fatal flaw in this logic: The Simplicity Confound. A model is "confident" (has low denoising error) on simple images, like a flat blue sky, regardless of whether they match the prompt. In fact, they found that absolute self-confidence is more a measure of image simplicity than prompt fidelity, ranking correct and incorrect samples at near-chance levels.
Methods
The core innovation is CANDOR (Contrastive Alignment from Null-referenced Denoising lOg-Ratio). Instead of looking at how well the model denoises an image in absolute terms, it looks at the relative improvement provided by the prompt.
The reward is calculated as: $$D = \log \text{MSE}(\emptyset) - \log \text{MSE}(c)$$
Where:
- $\text{MSE}(c)$ is the denoising error given the prompt.
- $\text{MSE}(\emptyset)$ is the denoising error given an empty (null) prompt.
By taking the ratio (or the difference of logs), CANDOR cancels out the "difficulty" of the image itself. If an image is complex, both errors will be high; if it's simple, both will be low. The reward is only high if the prompt $c$ makes the image significantly more predictable than it would be otherwise.
The researchers integrated this reward into Flow-GRPO, a variant of Group Relative Policy Optimization designed for flow-matching models (like Stable Diffusion 3.5).
Datasets
The authors evaluated CANDOR across several standard benchmarks:
- GenEval: For testing compositional generation (e.g., spatial relations, attribute binding).
- Flow-GRPO OCR set: 1,018 prompts specifically designed to test visual text rendering.
- DrawBench: A diverse set of challenging prompts for T2I models.
- Pick-a-Pic: Used for qualitative comparison and human preference scoring.
Key Insights and Ideas
- The Simplicity Trap: Absolute self-confidence correlates strongly ($r \approx -0.75$) with image simplicity (measured by PNG file size). This means previous intrinsic rewards were accidentally training models to generate boring, simple images.
- Contrast is Key: By comparing the conditional prediction to a "null" reference, CANDOR becomes nearly uncorrelated with image complexity. This allows the RL process to focus purely on how well the image aligns with the text.
- Complementary Strengths: CANDOR doesn't just work in isolation; when added to models already trained on external rewards (like PickScore), it further boosts performance. It seems to capture "fidelity" signals that even large preference models miss.
Key Results
CANDOR consistently outperformed both the base model (Stable Diffusion 3.5 Medium) and the previous state-of-the-art intrinsic reward (SOLACE).
- Text Rendering: On the OCR benchmark, CANDOR improved the score from 0.63 (base) to 0.70. It successfully renders complex text that the base model often garbles.
- Compositional Accuracy: On GenEval, it raised the score from 0.69 to 0.71.
- Human Preference: It achieved significant gains in PickScore and ImageReward, metrics it was never explicitly trained on.
- Guidance Independence: The authors showed that these gains aren't just a side effect of "stronger guidance" (CFG); CANDOR at a standard guidance scale outperforms the base model even when the base model's guidance is cranked up to extreme levels.
Limitations and Future Work
While powerful, CANDOR has a few trade-offs:
- Computational Cost: Each reward calculation requires two forward passes (one conditional, one unconditional) for every noise probe, effectively doubling the cost of the reward phase during training.
- Model Requirements: It requires a model trained with "condition dropout" (the ability to handle a null prompt), though this is standard for most modern T2I models using Classifier-Free Guidance.
- Safety: Like any post-training method that improves prompt following, it could potentially be used to strengthen the generation of harmful content if given a malicious prompt.
The authors suggest that future work could explore applying CANDOR to other modalities or using it to select high-quality synthetic data for supervised fine-tuning.
Summary updated