KNN-Diffusion: Image Generation via Large-Scale Retrieval

By Oron Ashual, Shelly Sheynin, Adam Polyak, Uriel Singer, Oran Gafni, Eliya Nachmani, Yaniv Taigman. 2022

169 citations recorded by the source corpus.

Recent text-to-image models have achieved impressive results. However, since they require large-scale datasets of text-image pairs, it is impractical to train them on new domains where data is scarce or not labeled. In this work, we propose using large-scale retrieval methods, in particular, efficient k-Nearest-Neighbors (kNN), which offers novel capabilities: (1) training a substantially small and efficient text-to-image diffusion model without any text, (2) generating out-of-distribution images by simply swapping the retrieval database at inference time, and (3) performing text-driven local semantic manipulations while preserving object identity. To demonstrate the robustness of our method, we apply our kNN approach on two state-of-the-art diffusion backbones, and show results on several different datasets. As evaluated by human studies and automatic metrics, our method achieves state-of-the-art results compared to existing approaches that train text-to-image generation models using images only (without paired text data)

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Information Retrieval & Search, 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. Percy Liang
  3. Luke S. Zettlemoyer
  4. Mohit Bansal
  5. Caiming Xiong
  6. Quoc V. Le
  7. Hannaneh Hajishirzi
  8. Noah A. Smith

In Computer Vision and Pattern Recognition

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

In Information Retrieval & Search

  1. Wen-tau Yih
  2. Jianfeng Gao
  3. William W. Cohen
  4. Percy Liang
  5. Michael Lewis
  6. Luke S. Zettlemoyer
  7. Wenhu Chen
  8. Armen Aghajanyan

In Generative Models

  1. Arash Vahdat
  2. Daniel Cohen-Or
  3. Karsten Kreis
  4. Jun-Yan Zhu
  5. Eli Shechtman
  6. Dani Lischinski
  7. Richard Zhang
  8. Tero Karras

Citations in the corpus