[Paper Review] Predicting Video with VQVAE
The paper proposes a two-stage approach using VQ-VAE to compress videos into discrete latents and PixelCNN-based autoregressive models to predict future frames, enabling high-resolution video prediction on unconstrained data like Kinetics-600.
In recent years, the task of video prediction-forecasting future video given past video frames-has attracted attention in the research community. In this paper we propose a novel approach to this problem with Vector Quantized Variational AutoEncoders (VQ-VAE). With VQ-VAE we compress high-resolution videos into a hierarchical set of multi-scale discrete latent variables. Compared to pixels, this compressed latent space has dramatically reduced dimensionality, allowing us to apply scalable autoregressive generative models to predict video. In contrast to previous work that has largely emphasized highly constrained datasets, we focus on very diverse, large-scale datasets such as Kinetics-600. We predict video at a higher resolution on unconstrained videos, 256x256, than any other previous method to our knowledge. We further validate our approach against prior work via a crowdsourced human evaluation.
Motivation & Objective
- Demonstrate the application of VQ-VAE to compress video into a hierarchical discrete latent representation.
- Develop spatiotemporal autoregressive priors (PixelCNN with attention) to predict future latents conditioned on past frames.
- Show prediction quality on large-scale, unconstrained video data at high resolutions.
- Compare against prior video prediction methods using quantitative metrics and human evaluation.
Proposed method
- Compress video with a hierarchical VQ-VAE into top (high-level) and bottom (low-level) latents with 256x256x16 input reduced to 32x32x4 top and 64x64x8 bottom lattices, each quantized to 512 codes.
- Train a top prior: a causal, time-aware PixelCNN with multi-head self-attention operating on the top latent layer (32x32x4).
- Train a bottom prior: a 2D PixelCNN conditioned on a window of top latents and past bottom latents to generate the finer details (64x64x2 input).
- Factor the generative model in a coarse-to-fine fashion exploiting the latent hierarchy to generate the full 256x256x16 video from latents.
- Use a mask during VQ-VAE training to prevent codebook collapse and encourage utilization of the top latent layer.
- Evaluate with Fréchet Video Distance (FVD) on 64x64 and 256x256 resolutions and supplement with crowdsourced human judgments.
Experimental results
Research questions
- RQ1Can a hierarchical VQ-VAE compress unconstrained video to a greatly reduced latent space without prohibitive loss of quality?
- RQ2Can autoregressive priors operating on discrete latents model future video frames effectively, at high resolutions?
- RQ3How does the VQ-VAE+PixelCNN approach compare to existing video prediction methods in objective metrics and human judgments on large-scale datasets like Kinetics-600?
Key findings
- VQ-VAE compresses 256x256x16 video to a space requiring over 98% fewer bits than raw pixels.
- Top and bottom PixelCNN priors model the latent space to generate future frames conditioned on past frames.
- On Kinetics-600, VideoVQ-VAE achieves competitive quantitative and favorable human evaluation results compared to prior methods.
- Quantitative results show better human preferences for VideoVQ-VAE samples despite some metrics favoring GAN-based approaches in other settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.