TL;DR
NeRV-Diffusion reimagines video generation by shifting the focus from pixels to parameters. Instead of generating a sequence of images, it uses a diffusion model to synthesize the weights of a small neural network that represents the entire video. This approach enables high-resolution synthesis with massive efficiency gains and "for-free" temporal interpolation.
The Problem with Current Video Diffusion
Most modern video generation models (like Sora or Gen-2) are Latent Diffusion Models (LDMs) that work by compressing videos into a sequence of frame-wise feature maps. This standard approach introduces three major headaches:
- Redundancy: Encoding every frame individually ignores the massive amount of shared information between consecutive frames.
- Computational Bloat: To keep frames consistent, these models rely on "cross-frame attention," which scales poorly ($O(T^2)$) as videos get longer.
- Quadratic Scaling: As you double the resolution, the latent representation size typically quadruples, making high-res video generation extremely memory-intensive.
The authors tackle these issues by treating a video not as a stack of pictures, but as a continuous function. Specifically, they use an Implicit Neural Representation (INR), where a neural network is trained to output the color of a pixel given its spatial and temporal coordinates.
How NeRV-Diffusion Works
NeRV-Diffusion operates in two distinct stages: tokenization into neural weights, and diffusion over those weights.
1. The NeRV-VAE (The Tokenizer)
Instead of a standard image encoder, the authors build a hypernetwork-based tokenizer. It takes a raw video as input and outputs a set of "neural weight tokens."
These tokens are passed through a KL-bottleneck to ensure they follow a Gaussian distribution, making them suitable for diffusion. These tokens are then used to instantiate the kernels of a lightweight INR Decoder. To make this work efficiently, the authors introduce Multi-head Affine Mapping, allowing a single set of tokens to control all layers of the decoder independently, and Channel-wise Parameterization, where tokens directly become the convolution kernels.
2. The Implicit DiT (The Generator)
Once the video is represented as a compact set of weights, an Implicit Diffusion Transformer (DiT) is trained to denoise random noise into these specific weight tokens. Because the weights represent the entire video holistically, the denoising process doesn't need expensive temporal attention layers. The authors use Min-SNR loss weighting and scheduled sampling to stabilize training, as learning to generate functional neural weights is significantly harder than generating pixel values.
Key Insights
- Weights as the Latent Space: The most profound idea is that the "latent code" is actually the "brain" of a mini-decoder. By generating the weights, the model generates the underlying logic of the video rather than just the surface pixels.
- Sublinear Scaling: This is a huge win for high-resolution video. To double the resolution, you don't need to quadruple the latent tokens; you simply append one extra upsampling block to the INR decoder. The latent size only increases by roughly 25% to accommodate the extra parameters.
- Native Interpolation: Since the INR decoder takes a continuous time index as input, you can train on a 16-frame video and "query" the network at 128 different time steps to get a perfectly smooth, high-frame-rate slow-motion video without any additional training.
Results and Performance
The model was evaluated on standard real-world video benchmarks, including UCF-101 (class-conditioned generation) and Kinetics-600 (video frame prediction).
- State-of-the-Art for INRs: NeRV-Diffusion drastically outperforms previous INR-based models. On UCF-101, it achieved a gFVD (Fréchet Video Distance) of 97, compared to the previous best INR model (DIGAN) at 465.
- Competitive with Heavyweights: It performs comparably to non-implicit state-of-the-art models like MAGVIT and LARP while being significantly more compact.
- Efficiency: The NeRV-VAE-L decoder uses only 0.99GB of VRAM for 128x128 video, whereas standard VAEs often require 4-5GB. Generation latency is also drastically lower (6.8s vs 20s+ for comparable models).
Limitations and Future Work
While the INR approach is highly efficient, there is still a slight "reconstruction-generation gap" where the generated videos aren't quite as sharp as the original ground truth—a common hurdle for VAE-based methods. Furthermore, neural weights are abstract; unlike pixel-based latents, it is currently difficult for a human to intuitively "edit" a specific part of the video by manually tweaking the weight tokens. Finally, while the scaling laws look promising for resolution, it remains to be seen how this architecture handles massive, minute-long cinematic generations compared to massive transformer-based pixel models.
Summary updated