Lune

CVPR2022Top-tier venue

Drop the GAN: In Defense of Patches Nearest Neighbors as Single Image Generative Models

Niv Granot, Ben Feinstein, Assaf Shocher, Shai Bagon, Michal Irani

Abstract

Image manipulation dates back long before the deep learning era. The classical prevailing approaches were based on maximizing patch similarity between the input and generated output. Recently, single-image GANs were introduced as a superior and more sophisticated solution to image manipulation tasks. Moreover, they offered the opportunity not only to manipulate a given image, but also to generate a large and diverse set of different outputs from a single natural image. This gave rise to new tasks, which are considered “GAN-only”. However, despite their impressiveness, single-image GANs require long training time (usually hours) for each image and each task and often suffer from visual artifacts. In this paper we revisit the classical patch-based methods, and show that - unlike previously believed - classical methods can be adapted to tackle these novel “GAN-only” tasks. Moreover, they do so better and faster than single-image GAN-based methods. More specifically, we show that: (i) by introducing slight modifications, classical patch-based methods are able to unconditionally generate diverse images based on a single natural image; (ii) the generated output visual quality exceeds that of single-image GANs by a large margin (confirmed both quantitatively and qualitatively); (iii) they are orders of magnitude faster (runtime reduced from hours to seconds). <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">2</sup> This project received funding from the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement No 788535), and the Carolito Stiftung. Dr Bagon is a Robin Chemers Neustein AI Fellow.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Sin3DM: Learning a Diffusion Model from a Single 3D Textured Shape cites SinFusion: Training Diffusion Models on a Single Image or Video
  • Sin3DM: Learning a Diffusion Model from a Single 3D Textured Shape cites SinDDM: A Single Image Denoising Diffusion Model
  • Sin3DM: Learning a Diffusion Model from a Single 3D Textured Shape cites SinGAN: Learning a Generative Model From a Single Natural Image
  • Sin3DM: Learning a Diffusion Model from a Single 3D Textured Shape cites Single Motion Diffusion
  • SinFusion: Training Diffusion Models on a Single Image or Video cites SinGAN: Learning a Generative Model From a Single Natural Image
  • SinFusion: Training Diffusion Models on a Single Image or Video cites Positional Encoding As Spatial Inductive Bias in GANs
  • SinDDM: A Single Image Denoising Diffusion Model cites SinFusion: Training Diffusion Models on a Single Image or Video
  • SinDDM: A Single Image Denoising Diffusion Model cites SinGAN: Learning a Generative Model From a Single Natural Image
  • SinDDM: A Single Image Denoising Diffusion Model cites Hierarchical Patch VAE-GAN: Generating Diverse Videos from a Single Sample
  • Hierarchical Patch VAE-GAN: Generating Diverse Videos from a Single Sample cites SinGAN: Learning a Generative Model From a Single Natural Image
  • Single Motion Diffusion cites SinFusion: Training Diffusion Models on a Single Image or Video
  • Single Motion Diffusion cites SinDDM: A Single Image Denoising Diffusion Model
  • Single Motion Diffusion cites SinGAN: Learning a Generative Model From a Single Natural Image
  • Positional Encoding As Spatial Inductive Bias in GANs cites SinGAN: Learning a Generative Model From a Single Natural Image
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. SinDDM: A Single Image Denoising Diffusion ModelVladimir Kulikov, Shahar Yadin, Matan Kleiner, Tomer MichaeliICML 2023 · 113 citations
  2. SinFusion: Training Diffusion Models on a Single Image or VideoYaniv Nikankin, Niv Haim, Michal IraniICML 2023 · 83 citations
  3. Single Motion DiffusionSigal Raab, Inbal Leibovitch, Guy Tevet, Moab Arar et al.ICLR 2024 · 81 citations
  4. Diffusion-based Image Translation using disentangled style and content representationGihyun Kwon, Jong Chul YeICLR 2023 · 46 citations
  5. Sin3DM: Learning a Diffusion Model from a Single 3D Textured ShapeRundi Wu, Ruoshi Liu, Carl Vondrick, Changxi ZhengICLR 2024 · 34 citations

Builds on4

  1. SinGAN: Learning a Generative Model From a Single Natural ImageTamar Rott Shaham, Tali Dekel, Tomer MichaeliICCV 2019 · 933 citations
  2. Hierarchical Patch VAE-GAN: Generating Diverse Videos from a Single SampleShir Gur, Sagie Benaim, Lior WolfNeurIPS 2020 · 84 citations
  3. An Internal Learning Approach to Video InpaintingHaotian Zhang, Long Mai, Hailin Jin, Zhaowen Wang et al.ICCV 2019 · 77 citations
  4. Positional Encoding As Spatial Inductive Bias in GANsRui Xu, Xintao Wang, Kai Chen, Bolei Zhou et al.CVPR 2021

Related papers

  1. InGAN: Capturing and Retargeting the "DNA" of a Natural ImageAssaf Shocher, Shai Bagon, Phillip Isola, Michal IraniICCV 2019 · 146 citations
  2. SinIR: Efficient General Image Manipulation with Single Image ReconstructionJihyeong Yoo, Qifeng ChenICML 2021 · 25 citations
  3. PetsGAN: Rethinking Priors for Single Image GenerationZicheng Zhang, Yinglu Liu, Congying Han, Hailin Shi et al.AAAI 2022 · 27 citations
  4. Scaling up GANs for Text-to-Image SynthesisMinguk Kang, Jun-Yan Zhu, Richard Zhang, Jaesik Park et al.CVPR 2023
  5. Attack Deterministic Conditional Image Generative Models for Diverse and Controllable GenerationTianyi Chu, Wei Xing, Jiafu Chen, Zhizhong Wang et al.AAAI 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines