SINE: SINgle Image Editing with Text-to-Image Diffusion Models

Zhixing Zhang, Ligong Han, Arnab Ghosh, Dimitris Metaxas, Jian Ren
12/8/2022
cs.CVcs.AI
diffusion-flow

Official code: zhang-zx/SINE (188 stars, Python, MIT, last commit 2024-01-11).

Abstract

Recent works on diffusion models have demonstrated a strong capability for conditioning image generation, e.g., text-guided image synthesis. Such success inspires many efforts trying to use large-scale pre-trained diffusion models for tackling a challenging problem--real image editing.

Show full abstract

Works conducted in this area learn a unique textual token corresponding to several images containing the same object. However, under many circumstances, only one image is available, such as the painting of the Girl with a Pearl Earring. Using existing works on fine-tuning the pre-trained diffusion models with a single image causes severe overfitting issues. The information leakage from the pre-trained diffusion models makes editing can not keep the same content as the given image while creating new features depicted by the language guidance. This work aims to address the problem of single-image editing. We propose a novel model-based guidance built upon the classifier-free guidance so that the knowledge from the model trained on a single image can be distilled into the pre-trained diffusion model, enabling content creation even with one given image. Additionally, we propose a patch-based fine-tuning that can effectively help the model generate images of arbitrary resolution. We provide extensive experiments to validate the design choices of our approach and show promising editing capabilities, including changing style, content addition, and object manipulation. The code is available for research purposes at https://github.com/zhang-zx/SINE.git .

View on arXivView PDF

Code Implementations(1)

zhang-zx/SINEOfficial100%
MIT

This respository contains the code for the CVPR 2023 paper SINE: SINgle Image Editing with Text-to-Image Diffusion Models.

18811Python, Jupyter NotebookDec 6, 20222 years agoMIT
diffusion-modelsimage-editingstable-diffusiontext-to-image

Similar Papers

Cite this paper

@article{zhang2022sine,
  title  = {SINE: SINgle Image Editing with Text-to-Image Diffusion Models},
  author = {Zhixing Zhang and Ligong Han and Arnab Ghosh and Dimitris Metaxas and Jian Ren},
  year   = {2022},
  eprint = {2212.04489},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.04489}
}

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/2212.04489.svg)](https://codeofpaper.com/paper/2212.04489)

Discussion