Understanding Reward Hacking in Text-to-Image Reinforcement Learning
Yunqi Hong, Kuei-Chun Kao, Hengguang Zhou, Cho-Jui Hsieh
TL;DR
The paper addresses reward hacking in text-to-image reinforcement learning by showing that common proxy rewards (aesthetic/human preference, and prompt–image consistency) can be exploited, producing artifact-laden images with high scores. It systematically analyzes how different reward types drive biased behaviors and reveals a universal pattern of artifact generation that generalizes across setups. To mitigate this, it introduces ArtifactReward, an artifact-aware supplementary reward learned via automatic prompt optimization, defined as $R_{\text{ArtifactReward}} = \frac{1}{1+ e^{[\log(p_{\text{yes}}) - \log(p_{\text{no}})]}}$, which penalizes artifact-containing outputs. Incorporating ArtifactReward into various T2I RL pipelines consistently improves realism, reduces artifacts, and enhances cross-benchmark performance on WISE, LLM4LLM, and EvalAlign, demonstrating the practicality of lightweight reward augmentation for safer, more human-aligned image generation. Overall, the work provides a principled pathway to strengthen reward signals in multimodal RL by combining targeted artifact detection with automatic prompt optimization, yielding more robust and faithful T2I generation.
Abstract
Reinforcement learning (RL) has become a standard approach for post-training large language models and, more recently, for improving image generation models, which uses reward functions to enhance generation quality and human preference alignment. However, existing reward designs are often imperfect proxies for true human judgment, making models prone to reward hacking--producing unrealistic or low-quality images that nevertheless achieve high reward scores. In this work, we systematically analyze reward hacking behaviors in text-to-image (T2I) RL post-training. We investigate how both aesthetic/human preference rewards and prompt-image consistency rewards individually contribute to reward hacking and further show that ensembling multiple rewards can only partially mitigate this issue. Across diverse reward models, we identify a common failure mode: the generation of artifact-prone images. To address this, we propose a lightweight and adaptive artifact reward model, trained on a small curated dataset of artifact-free and artifact-containing samples. This model can be integrated into existing RL pipelines as an effective regularizer for commonly used reward models. Experiments demonstrate that incorporating our artifact reward significantly improves visual realism and reduces reward hacking across multiple T2I RL setups, demonstrating the effectiveness of lightweight reward augment serving as a safeguard against reward hacking.
