HERO: Human-Feedback Efficient Reinforcement Learning for Online Diffusion Model Finetuning
Ayano Hiranaka, Shang-Fu Chen, Chieh-Hsin Lai, Dongjun Kim, Naoki Murata, Takashi Shibuya, Wei-Hsiang Liao, Shao-Hua Sun, Yuki Mitsufuji
TL;DR
HERO tackles the challenge of aligning diffusion-based text-to-image generation with human intent using online human feedback. It introduces Feedback-Aligned Representation Learning to convert discrete feedback into continuous rewards and Feedback-Guided Image Generation to seed sampling from refined noises, enabling efficient DDPO-based fine-tuning with LoRA. The approach yields substantial improvements in feedback efficiency (roughly 4x) and demonstrates transferability of learned preferences and safety concepts across prompts, including tasks requiring spatial reasoning and personalization. Overall, HERO provides a practical, data-efficient framework for online RLHF in diffusion models with tangible gains in controllable generation and safety containment.
Abstract
Controllable generation through Stable Diffusion (SD) fine-tuning aims to improve fidelity, safety, and alignment with human guidance. Existing reinforcement learning from human feedback methods usually rely on predefined heuristic reward functions or pretrained reward models built on large-scale datasets, limiting their applicability to scenarios where collecting such data is costly or difficult. To effectively and efficiently utilize human feedback, we develop a framework, HERO, which leverages online human feedback collected on the fly during model learning. Specifically, HERO features two key mechanisms: (1) Feedback-Aligned Representation Learning, an online training method that captures human feedback and provides informative learning signals for fine-tuning, and (2) Feedback-Guided Image Generation, which involves generating images from SD's refined initialization samples, enabling faster convergence towards the evaluator's intent. We demonstrate that HERO is 4x more efficient in online feedback for body part anomaly correction compared to the best existing method. Additionally, experiments show that HERO can effectively handle tasks like reasoning, counting, personalization, and reducing NSFW content with only 0.5K online feedback. The code and project page are available at https://hero-dm.github.io/.
