Saved in:
Bibliographic Details
Main Authors: Jena, Rohit, Taghibakhshi, Ali, Jain, Sahil, Shen, Gerald, Tajbakhsh, Nima, Vahdat, Arash
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.06493
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916387930243072
author Jena, Rohit
Taghibakhshi, Ali
Jain, Sahil
Shen, Gerald
Tajbakhsh, Nima
Vahdat, Arash
author_facet Jena, Rohit
Taghibakhshi, Ali
Jain, Sahil
Shen, Gerald
Tajbakhsh, Nima
Vahdat, Arash
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_06493
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Elucidating Optimal Reward-Diversity Tradeoffs in Text-to-Image Diffusion Models
Jena, Rohit
Taghibakhshi, Ali
Jain, Sahil
Shen, Gerald
Tajbakhsh, Nima
Vahdat, Arash
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title Elucidating Optimal Reward-Diversity Tradeoffs in Text-to-Image Diffusion Models
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2409.06493