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 (Human-feedback Efficient Reinforcement learning for Online diffusion) is a new framework that makes fine-tuning Stable Diffusion models significantly more "human-friendly." By learning a continuous reward space from sparse human labels and refining the initial noise distribution, HERO achieves comparable alignment results to previous methods while requiring 4x less human feedback.

What Problem Does This Paper Address?

While text-to-image models like Stable Diffusion are impressive, they often struggle with specific constraints—like rendering human hands correctly, counting objects accurately, or following complex spatial reasoning. To fix this, researchers use Reinforcement Learning from Human Feedback (RLHF).

However, existing RLHF methods for diffusion models have a major bottleneck: they either require massive, pre-collected datasets to train a "reward model" or they require thousands of live human interactions (online feedback). For a single task like "fixing distorted hands," previous state-of-the-art methods like D3PO required around 5,000 human evaluations. This is exhausting for human annotators and impractical for personalized fine-tuning. HERO aims to bridge this gap by making every bit of human feedback count.

Methods

HERO introduces two clever mechanisms to squeeze more information out of limited human input:

HERO Framework Architecture
  1. Feedback-Aligned Representation Learning: Instead of treating human feedback as a simple binary "good" or "bad" signal, HERO trains a small embedding network on the fly. Using contrastive learning (triplet loss), it maps images into a space where "good" images are clustered near a human-selected "best" image, and "bad" images are pushed away. This creates a continuous reward signal based on cosine similarity, providing the model with much richer gradients than a simple binary label.
  2. Feedback-Guided Image Generation: Standard diffusion starts from random Gaussian noise. HERO speeds up convergence by "warming up" the starting point. It records the initial noise latents that led to "good" images in previous rounds and samples new starting points from a Gaussian mixture centered around those successful latents. This encourages the model to explore regions of the latent space already known to align with human intent.

The actual fine-tuning is performed using Denoising Diffusion Policy Optimization (DDPO) with LoRA (Low-Rank Adaptation) to keep the computational overhead low.

Datasets & Evaluation

Since HERO relies on online feedback, it doesn't use a static training dataset. Instead, it was evaluated across several challenging tasks designed to test specific model weaknesses:

  • Hand Anomaly Correction: Fixing the "spaghetti fingers" common in AI art.
  • Reasoning & Counting: Prompts like "photo of one blue rose in a vase" (testing if it can count to one and include the vase).
  • Spatial & Feasibility: "A black cat sitting inside a cardboard box" (ensuring the cat doesn't clip through the box).
  • Homonym Distinction: "Narcissus by a quiet spring" (distinguishing the flower from the mythological figure).
  • Safety: Reducing NSFW content using the prompt "sexy" as a baseline for improvement.

Key Insights and Ideas

  • Density Matters: The "aha moment" here is that human feedback is sparse, but the latent space is continuous. By learning an embedding map, HERO turns a few "thumbs up/down" clicks into a dense reward landscape that guides the RL process much more effectively.
  • Noise isn't just Noise: We often treat the initial noise in diffusion as a blank slate. HERO shows that the initial noise carries a "memory" of the final composition. Re-using "good" noise distributions acts as a powerful prior that prevents the model from wasting time generating obviously bad samples.
  • Preference Transfer: Interestingly, the authors found that preferences learned on one prompt (e.g., a preference for "green" vs. "snowy" mountains) can transfer to related, unseen prompts. This suggests the model is learning conceptual preferences, not just over-fitting to a single string of text.

Key Results

Hand Normalcy Rate vs. Feedback Instances
  • 4x Efficiency Boost: On the hand-correction task, HERO reached a ~34% success rate with only 1,152 feedback instances, whereas the previous best method (D3PO) required 5,000 instances to reach the same level.
  • High Success on Complex Tasks: For reasoning, counting, and personalization tasks, HERO achieved success rates above 75% with only 512 human evaluations.
  • Safety Improvement: HERO improved the content safety rate from 57.5% (base model) to 87.0% using minimal feedback on potentially unsafe prompts.
  • Aesthetic Quality: Despite focusing on specific constraints, HERO maintained or improved overall image aesthetics (measured by ImageReward) compared to baselines like DreamBooth.

Limitations and Future Work

The authors note that HERO is an optimizer, not a creator of new concepts. It assumes the base model has a non-zero probability of generating a correct image at the start. If the model has absolutely no "knowledge" of a concept, HERO won't have any "good" samples to start the feedback loop.

Future work could explore further automating the "human" part of the loop using Large Vision-Language Models (LVLMs) as proxies, or extending the framework to handle multi-prompt optimization simultaneously without losing the efficiency gains.

Summary updated

BibTeX
@inproceedings{hiranaka2025hero,
  author = {Ayano Hiranaka and Shang-Fu Chen and Chieh-Hsin Lai and Dongjun Kim and Naoki Murata and Takashi Shibuya and Wei-Hsiang Liao and Shao-Hua Sun and Yuki Mitsufuji},
  title = {{HERO: Human-Feedback Efficient Reinforcement Learning for Online Diffusion Model Finetuning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=yMHe9SRvxk},
}
Figure