Elucidating Optimal Reward-Diversity Tradeoffs in Text-to-Image Diffusion Models
Rohit Jena, Ali Taghibakhshi, Sahil Jain, Gerald Shen, Nima Tajbakhsh, Arash Vahdat
TL;DR
This work tackles reward hacking in text-to-image diffusion models trained on human-preference rewards by proving its inevitability under expected reward maximization and analyzing traditional regularizations like KL divergence and LoRA scaling. It introduces Annealed Importance Guidance (AIG), an AIS-inspired inference-time regularization that gradually shifts influence from the base model to the reward-finetuned model across the sampling timeline, thereby preserving diversity while improving reward alignment. Thorough experiments on Stable Diffusion v1.4 and SDXL with PickScore and HPSv2 rewards show that AIG achieves Pareto-optimal reward-diversity tradeoffs and maintains image-text alignment, as validated by a user study across architectures and reward functions. The work also proposes a Spectral Distance-based coverage metric to account for reference-mismatch and demonstrates that AIG outperforms KL and LoRA in most settings, offering a practical, inexpensive finetuning method for diffusion models with human-preference objectives.
Abstract
Text-to-image (T2I) diffusion models have become prominent tools for generating high-fidelity images from text prompts. However, when trained on unfiltered internet data, these models can produce unsafe, incorrect, or stylistically undesirable images that are not aligned with human preferences. To address this, recent approaches have incorporated human preference datasets to fine-tune T2I models or to optimize reward functions that capture these preferences. Although effective, these methods are vulnerable to reward hacking, where the model overfits to the reward function, leading to a loss of diversity in the generated images. In this paper, we prove the inevitability of reward hacking and study natural regularization techniques like KL divergence and LoRA scaling, and their limitations for diffusion models. We also introduce Annealed Importance Guidance (AIG), an inference-time regularization inspired by Annealed Importance Sampling, which retains the diversity of the base model while achieving Pareto-Optimal reward-diversity tradeoffs. Our experiments demonstrate the benefits of AIG for Stable Diffusion models, striking the optimal balance between reward optimization and image diversity. Furthermore, a user study confirms that AIG improves diversity and quality of generated images across different model architectures and reward functions.
