InstructPix2Pix: Learning to Follow Image Editing Instructions

By Tim Brooks, Aleksander Holynski, Alexei A. Efros. 2022

3,195 citations recorded by the source corpus.

We propose a method for editing images from human instructions: given an input image and a written instruction that tells the model what to do, our model follows these instructions to edit the image. To obtain training data for this problem, we combine the knowledge of two large pretrained models—a language model (GPT-3) and a text-to-image model (Stable Diffusion)—to generate a large dataset of image editing examples. Our conditional diffusion model, InstructPix2Pix, is trained on our generated data, and generalizes to real images and user-written instructions at inference time. Since it performs edits in the forward pass and does not require per-example fine-tuning or inversion, our model edits images quickly, in a matter of seconds. We show compelling editing results for a diverse collection of input images and written instructions.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Generative Models

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Mohit Bansal
  3. Trevor Darrell
  4. Sergey Levine
  5. Dacheng Tao
  6. Quoc V. Le
  7. Yoshua Bengio
  8. Zhe Gan

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ming-Hsuan Yang
  3. Dacheng Tao
  4. Xiaogang Wang
  5. Trevor Darrell
  6. Chen Change Loy
  7. Jitendra Malik
  8. Andrea Vedaldi

In Generative Models

  1. Jun-Yan Zhu
  2. Richard Zhang
  3. Alexei A. Efros
  4. Eli Shechtman
  5. Ming-Hsuan Yang
  6. Daniel Cohen-Or
  7. Chen Change Loy
  8. Ying Shan

Citations in the corpus