Skip to main content
QUICK REVIEW

[Paper Review] SinFusion: Training Diffusion Models on a Single Image or Video

Yaniv Nikankin, Niv Haim|arXiv (Cornell University)|Nov 21, 2022
Generative Adversarial Networks and Image SynthesisComputer Science20 citations
TL;DR

SinFusion trains diffusion models on a single image or video to produce diverse samples and enable video extrapolation, upsampling, and editing of real inputs from very few frames.

ABSTRACT

Diffusion models exhibited tremendous progress in image and video generation, exceeding GANs in quality and diversity. However, they are usually trained on very large datasets and are not naturally adapted to manipulate a given input image or video. In this paper we show how this can be resolved by training a diffusion model on a single input image or video. Our image/video-specific diffusion model (SinFusion) learns the appearance and dynamics of the single image or video, while utilizing the conditioning capabilities of diffusion models. It can solve a wide array of image/video-specific manipulation tasks. In particular, our model can learn from few frames the motion and dynamics of a single input video. It can then generate diverse new video samples of the same dynamic scene, extrapolate short videos into long ones (both forward and backward in time) and perform video upsampling. Most of these tasks are not realizable by current video-specific generation methods.

Motivation & Objective

  • Motivate enabling diffusion-model capabilities on a single input image or video rather than large datasets.
  • Learn the appearance and dynamics of a single video to enable manipulation and editing tasks.
  • Achieve diverse generation, temporal extrapolation (forward and backward in time), and temporal upsampling from a single input.
  • Propose architectural and training modifications to DDPM suitable for single-image/video data.

Proposed method

  • Modify the DDPM backbone to be fully convolutional and reduce receptive field growth by removing global-attention and down/up-sampling layers.
  • Train on large crops from a single image to preserve global structure while avoiding overfitting on the whole image.
  • Replace ResNet blocks with ConvNext blocks to emulate attention-like capability with a limited receptive field.
  • Predict the clean image x0 (instead of noise) during training for single-image DDPM, improving quality and speed.
  • For video, compose three single-image DDPMs: Predictor (conditioning on previous frames), Projector (corrects artifacts), and Interpolator (temporal upsampling).
  • Use conditioning on frame differences and a curriculum over frame-gap k to improve quality of predictions.
  • Train three models separately on the input video and combine them autoregressively at inference to generate diverse, longer videos.

Experimental results

Research questions

  • RQ1Can a diffusion model be trained on a single image or a single video to generate new samples with similar appearance and dynamics?
  • RQ2What editing and video manipulation capabilities emerge when diffusion models are trained on minimal input data (e.g., a few frames)?
  • RQ3How well can a single-video diffusion framework generalize to diverse generation, extrapolation in time, and temporal upsampling?
  • RQ4What architectural changes enable effective diffusion modeling when data is extremely limited (single image/video)?

Key findings

  • A diffusion model trained on a single image can generate diverse samples that preserve global structure and appearance.
  • A three-model single-video DDPM framework enables diverse video generation, forward/backward extrapolation, and temporal upsampling from a single input video.
  • The framework demonstrates motion generalization from a small number of frames (often 2–3 dozen) to unseen frames.
  • SinFusion can edit a real input video, extrapolate motion beyond observed frames, and upsample video frames, outperforming existing single-video methods in diversity-quality trade-offs.
  • A novel NN-based diversity metric (NNFDIV) plus NNFDIST and SVFID are proposed to evaluate diverse generation from a single video.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.