Skip to main content
QUICK REVIEW

[Paper Review] HIVE: Harnessing Human Feedback for Instructional Visual Editing

Shu Zhang, Xinyi Yang|arXiv (Cornell University)|Mar 16, 2023
Multimodal Machine Learning ApplicationsComputer Science7 citations
TL;DR

HIVE proposes a framework to enhance instructional visual editing by integrating human feedback through a reward modeling and fine-tuning pipeline. It introduces scalable, computationally efficient methods to fine-tune diffusion models using human preferences, achieving state-of-the-art performance with a 1M training dataset, 3.6K reward annotations, and 1K evaluation data, significantly outperforming prior methods in both qualitative and quantitative benchmarks.

ABSTRACT

Incorporating human feedback has been shown to be crucial to align text generated by large language models to human preferences. We hypothesize that state-of-the-art instructional image editing models, where outputs are generated based on an input image and an editing instruction, could similarly benefit from human feedback, as their outputs may not adhere to the correct instructions and preferences of users. In this paper, we present a novel framework to harness human feedback for instructional visual editing (HIVE). Specifically, we collect human feedback on the edited images and learn a reward function to capture the underlying user preferences. We then introduce scalable diffusion model fine-tuning methods that can incorporate human preferences based on the estimated reward. Besides, to mitigate the bias brought by the limitation of data, we contribute a new 1M training dataset, a 3.6K reward dataset for rewards learning, and a 1K evaluation dataset to boost the performance of instructional image editing. We conduct extensive empirical experiments quantitatively and qualitatively, showing that HIVE is favored over previous state-of-the-art instructional image editing approaches by a large margin.

Motivation & Objective

  • To address the gap in instructional image editing models that fail to align with human preferences and intentions, especially in grounding edits to specific visual components.
  • To develop a scalable, efficient method for incorporating human feedback into diffusion model fine-tuning, overcoming the high computational cost of reinforcement learning in diffusion models.
  • To mitigate data bias in instructional editing by collecting a large-scale, diverse dataset of 1M training examples, 3.6K reward annotations, and 1K evaluation samples.
  • To improve model generalization and reduce excessive or incorrect edits by learning from human preferences on variant outputs.
  • To demonstrate that human feedback significantly enhances alignment between editing instructions and generated outputs, especially in preserving unedited image regions.

Proposed method

  • Collect a 1M-scale instructional image editing dataset combining new data and InstructPix2Pix data to pre-train a baseline HIVE model.
  • Gather human feedback by asking annotators to rank multiple generated outputs per image-instruction pair, forming a 3.6K reward learning dataset.
  • Train a reward model (RM) to predict human preferences based on the ranked outputs, capturing user intent and quality preferences.
  • Propose two scalable fine-tuning objectives—weighted reward loss and condition reward loss—that integrate estimated rewards into diffusion model training with minimal computational overhead.
  • Use the estimated rewards during fine-tuning to optimize the U-Net in the diffusion model, improving alignment with editing instructions without relying on expensive on-policy RL.
  • Leverage the latest Stable Diffusion v2.1 backbone with OpenCLIP text encoder to improve performance and generalization.

Experimental results

Research questions

  • RQ1Can human feedback significantly improve the alignment of instructional image editing models with user intentions and preferences?
  • RQ2How can human feedback be efficiently integrated into diffusion model fine-tuning without incurring prohibitive computational costs?
  • RQ3To what extent does a large-scale, human-annotated reward dataset improve the robustness and generalization of instructional editing models?
  • RQ4Does incorporating human feedback reduce excessive or incorrect image modifications, such as altering unedited regions?
  • RQ5How do different reward fine-tuning objectives (weighted vs. condition reward loss) compare in terms of human preference and model performance?

Key findings

  • HIVE with human feedback significantly outperforms both InstructPix2Pix and HIVE without human feedback in user preference studies, receiving the highest number of votes in pairwise comparisons.
  • Human feedback leads to more accurate grounding of edits, reducing errors such as modifying unintended objects or altering unedited background regions.
  • The model with human feedback better preserves the original image content outside the instructed edits, minimizing unwanted over-editing.
  • The condition reward loss and weighted reward loss variants show nearly identical human preference rankings, indicating robustness across different optimization strategies.
  • Upgrading from Stable Diffusion v1.5 to v2.1 improves performance slightly but consistently, with HIVE using v2.1 achieving higher human preference scores than its v1.5 counterpart.
  • Failure cases include misinterpretation of spatial or zooming instructions, counting errors, and incorrect object color replacement, highlighting limitations in training data coverage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.