Introduction
SinFusion brings the power of diffusion models to the "single-sample" regime, allowing a model to be trained on just one image or video. By rethinking standard diffusion architectures, it enables high-quality tasks like infinite video extrapolation (forward and backward in time) and diverse scene generation that previous patch-based methods couldn't handle.
The Single-Sample Challenge
Generative AI has seen a massive shift from Generative Adversarial Networks (GANs) to Diffusion Models (DMs). However, standard DMs like Stable Diffusion require millions of images and massive compute to learn general concepts. They aren't naturally designed to "understand" and manipulate a specific, unique image or video provided by a user.
Existing "single-video" methods usually rely on GANs or patch-matching. These methods often struggle with "motion generalization"—they tend to just "copy-paste" chunks of the original video. They cannot easily "imagine" what happens next in a video (extrapolation) or handle complex temporal changes without looking repetitive or broken. SinFusion aims to bridge this gap, providing a diffusion-based framework that learns the specific "DNA" of a single clip to perform complex editing and generation.
Methodology
SinFusion builds on the Denoising Diffusion Probabilistic Model (DDPM) but introduces several critical modifications to make it work effectively on a single sample:
- Fully Convolutional Architecture: The authors replaced the standard UNet (which uses global attention and downsampling) with a chain of ConvNext blocks. This limits the "receptive field," preventing the model from simply memorizing the entire image and forcing it to learn local patterns that can be rearranged.
- Predicting the Image, Not the Noise: While standard DMs learn to predict the noise added to an image, SinFusion is trained to predict the clean image directly. The authors found this leads to better quality and faster convergence when the data distribution is as simple as a single image.
- The Video Trio: For video generation, SinFusion uses three specialized models:
- The Predictor: An autoregressive model that takes a previous frame and predicts the next one.
- The Projector: A model that "cleans up" the Predictor’s output, ensuring the generated frame stays true to the appearance of the original video and preventing error accumulation over time.
- The Interpolator: A model designed for temporal upsampling, creating smooth slow-motion or filling in missing frames.
Key Insights
- Curriculum Learning for Time: When training the video Predictor, the authors started by asking the model to predict the very next frame. As training progressed, they increased the gap between frames. This "curriculum" helped the model learn more robust dynamics.
- The "Projector" is the Secret Sauce: In autoregressive generation, small errors usually snowball until the video turns into static. The Projector acts as a "sanity check," projecting the generated frame back onto the distribution of the original training patches to keep the video coherent for hundreds of frames.
- Generalization through Locality: By removing global attention layers, the model cannot "see" the whole image at once. This forces it to learn how local textures and motions work, allowing it to generate a 100-balloon scene from a 10-balloon training image.
Key Results
SinFusion was evaluated on several specialized datasets and real-world clips, including standard benchmarks for single-video generation, facial expressions, and complex fluid motions like timelapse clouds.
- Superior Extrapolation: SinFusion is the first single-video method capable of coherent temporal extrapolation. It can take a short clip and "predict the future" for dozens of frames, or even "predict the past" (e.g., making flying balloons appear to land).
- Quantitative Edge: In future-frame prediction, SinFusion consistently achieved higher PSNR (Peak Signal-to-Noise Ratio) than baselines, especially as the "speed" of the video increased.
- New Metrics: The authors introduced NNFDIV (Nearest-Neighbor Field Diversity). While older methods often had high diversity scores by just shifting the whole image, NNFDIV proves that SinFusion creates more complex, non-repetitive spatio-temporal compositions.
Limitations and Future Work
Despite its strengths, SinFusion has a few hurdles:
- Camera Motion: Like many single-video methods, it struggles with large, sweeping camera movements (pans/zooms). It works best when the camera is relatively static.
- Semantic Blindness: The model doesn't "know" what an object is. If an object has many moving parts (like a person walking), SinFusion might accidentally "break" the object or limbs because it lacks a high-level semantic understanding.
Future directions suggest that incorporating "priors" (pre-trained knowledge from larger models) could help the model understand object shapes better while still keeping the training specific to a single video.
Summary updated