In plain words: A diffusion generator makes pictures of a category from a few examples, gathering patch information with a transformer that treats them as a set. It generates samples of unseen classes from as few as 5 example images, where standard diffusion models need many more.
Abstract
Denoising diffusion probabilistic models (DDPM) are powerful hierarchical latent variable models with remarkable sample generation quality and training stability. These properties can be attributed to parameter sharing in the generative hierarchy, as well as a parameter-free diffusion-based inference procedure. In this paper, we present Few-Shot Diffusion Models (FSDM), a framework for few-shot generation leveraging conditional DDPMs. FSDMs are trained to adapt the generative process conditioned on a small set of images from a given class by aggregating image patch information using a set-based Vision Transformer (ViT). At test time, the model is able to generate samples from previously unseen classes conditioned on as few as 5 samples from that class. We empirically show that FSDM can perform few-shot generation and transfer to new datasets. We benchmark variants of our method on complex vision datasets for few-shot learning and compare to unconditional and conditional DDPM baselines. Additionally, we show how conditioning the model on patch-based input set information improves training convergence.
Giorgio Giannone, Didrik Nielsen, Ole Winther
arXiv:2205.15463 · cs.CV, cs.LG, stat.ML · submitted May 30, 2022
abstract · pdf · html