Counterfactual First-Success Injection for Text-to-Image Diffusion RL
Group-relative reinforcement learning (RL) has been widely used to post-train text-to-image models. These methods sample multiple images for one prompt and learn from differences in their rewards. For text-image alignment, the reward often comes from a vision-language model (VLM) judge that checks each requirement of the prompt. However, when no image satisfies a requirement, that requirement provides no learning signal, and the model rarely produces a first satisfying image on its own. We observe that the model itself can satisfy many such requirements when it samples with guidance whose negative prompt is a counterfactual partner that differs from the prompt only in the failed requirement. We therefore propose Counterfactual First-Success Injection (CoFI). When no image satisfies a requirement, CoFI generates additional images using the partner as the negative prompt and injects only those that satisfy the requirement into the group. CoFI trains on these images with DiffusionNFT, replaying them when the same failure recurs and giving full credit to images that satisfy every requirement. From the prompt alone and without guidance, the trained model satisfies held-out…
- arXiv
- 2612.05897
- Authors
- Hayeon Jeong, Jong-Seok Lee, Cho-Jui Hsieh
- Categories
- cs.CV