Diffusion Self-Guidance for Controllable Image Generation

Dave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros, Aleksander Holynski
6/1/2023
cs.CVcs.LGstat.ML

No official code found. Best implementation: superolly/self-guidance (33 stars, last commit 2023-07-10).

Abstract

Large-scale generative models are capable of producing high-quality images from detailed text descriptions. However, many aspects of an image are difficult or impossible to convey through text. We introduce self-guidance, a method that provides greater control over generated images by guiding the internal representations of diffusion models. We demonstrate that properties such as the shape, location, and appearance of objects can be extracted from these representations and used to steer sampling. Self-guidance works similarly to classifier guidance, but uses signals present in the pretrained model itself, requiring no additional models or training. We show how a simple set of properties can be composed to perform challenging image manipulations, such as modifying the position or size of objects, merging the appearance of objects in one image with the layout of another, composing objects from many images into one, and more. We also show that self-guidance can be used to edit real images. For results and an interactive demo, see our project page at https://dave.ml/selfguidance/

View on arXivView PDF

Code Implementations(1)

Unofficial implementation of "Diffusion Self-Guidance for Controllable Image Generation" (Epstein et al., 2023)

331Jupyter NotebookJul 10, 20233 years ago

Similar Papers

Cite this paper

@article{epstein2023diffusion,
  title  = {Diffusion Self-Guidance for Controllable Image Generation},
  author = {Dave Epstein and Allan Jabri and Ben Poole and Alexei A. Efros and Aleksander Holynski},
  year   = {2023},
  eprint = {2306.00986},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.00986v3},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.00986.svg)](https://codeofpaper.com/paper/2306.00986)

Discussion