TL;DR
This paper introduces AR-Diffusion, a novel video generation model that combines the strengths of auto-regressive and diffusion models to achieve flexible, asynchronous video generation. By introducing a non-decreasing timestep constraint and specialized schedulers, AR-Diffusion overcomes limitations of existing methods, producing more coherent and variable-length videos with state-of-the-art results.
What Problem Does This Paper Address?
Generating realistic and temporally coherent videos is a challenging task. Current approaches fall into two main categories: asynchronous auto-regressive models and synchronous diffusion models. Asynchronous models, while flexible in length, often suffer from inconsistencies between training and inference, leading to accumulated errors. Synchronous diffusion models, on the other hand, are constrained by fixed sequence lengths and uniform noise application, limiting their adaptability. This paper aims to bridge this gap by developing a model that leverages the benefits of both approaches, enabling flexible, asynchronous video generation without the drawbacks of either.
Methods
The core of AR-Diffusion is a novel framework that combines auto-regressive and diffusion principles. It utilizes an Auto-Regressive Video Auto-Encoder (AR-VAE) to compress video frames into compact latent features, employing a time-agnostic encoder and a temporal causal decoder for frame reconstruction and consistency.
The key innovation lies in the AR-Diffusion model itself. It applies diffusion to gradually corrupt video frames during both training and inference, reducing the training-inference discrepancy. Crucially, it introduces a non-decreasing timestep constraint for frame corruption. This means earlier frames are less corrupted (clearer) than later frames, ensuring a natural progression and reducing the search space of timestep compositions compared to fully independent sampling. This, combined with temporal causal attention, allows for flexible generation of videos with varying lengths while maintaining temporal coherence.
To manage the timestep sampling, two specialized schedulers are proposed:
- FoPP (Frame-oriented Probability Propagation) Timestep Scheduler: Used during training to balance the sampling of timestep compositions and frame-specific timesteps, ensuring the model generalizes well to different inference settings.
- AD (Adaptive-Difference) Timestep Scheduler: Used during inference to adaptively control the timestep difference between neighboring frames, supporting both synchronous (s=0) and asynchronous (s=T) generation.
Datasets
The paper evaluates AR-Diffusion on four challenging datasets:
- FaceForensics [26]
- Sky-Timelapse [42]
- Taichi-HD [29]
- UCF-101 [32]
These datasets are standard benchmarks for video generation tasks. No new datasets were introduced.
Key Insights and Ideas
- The Non-Decreasing Timestep Constraint is Key: This is the central idea. By enforcing $t_1 \le t_2 \le \dots \le t_F$, the authors significantly reduce the combinatorial explosion of possible timestep compositions while still allowing for asynchronous generation. This constraint is intuitive, as it mimics how we perceive video – earlier moments are often more detailed or established than later, more dynamic ones.
- Bridging the Gap Between Synchronous and Asynchronous: AR-Diffusion elegantly combines the strengths of both. It uses diffusion for robust frame corruption (like synchronous models) but allows for flexible, frame-wise timestep differences (like asynchronous models), all while maintaining temporal coherence.
- Specialized Schedulers for Training and Inference: The FoPP and AD schedulers are crucial for making the proposed framework practical. FoPP addresses the challenge of balancing uniform sampling during training under the new constraint, while AD offers flexibility during inference, allowing for a spectrum of generation styles.
- AR-VAE for Efficient Latent Representation: Using a Transformer-based tokenizer (Titok) for video frames in the AR-VAE provides a more compact and efficient latent representation, which is beneficial for the subsequent diffusion process.
Key Results
AR-Diffusion achieves state-of-the-art (SOTA) performance across the evaluated benchmarks.
- Quantitative Comparison: The paper reports competitive and SOTA results on FID-img, FID-vid, and FVD metrics. For instance, on the UCF-101 dataset, AR-Diffusion surpasses the previous SOTA asynchronous video diffusion model by 60.1% in FVD score. On Taichi-HD, it achieves an FVD16 of 66.3 and FVD128 of 376.3, outperforming other models.
- Timestep Difference (s) Analysis: The AD scheduler's parameter 's' (timestep difference) shows a trade-off between quality and inference time. Synchronous generation (s=0) often yields the best FVD scores on some datasets (e.g., FaceForensics, Sky-Timelapse), while moderate values of 's' (e.g., s=10 for 16-frame, s=5 for 128-frame) strike a balance between quality and efficiency across different datasets. Larger 's' values increase inference time.
- Qualitative Results: AR-Diffusion produces videos with clear appearances and notable movements, outperforming methods like DIGAN, TATS, and VIDM, which tend to produce less distinct or overly simplistic motions.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while AR-Diffusion offers flexibility, there's a trade-off between generation quality and inference efficiency, as indicated by the impact of the 's' parameter.
- The ablation study shows that removing components like the non-decreasing constraint or the temporal causal attention significantly degrades performance, highlighting their importance and suggesting that further optimization might be complex.
- Future Work:
- The authors suggest that the AD timestep scheduler's flexibility can accommodate various generation styles, hinting at further exploration of its capabilities.
- The paper's success in improving video quality and temporal consistency suggests that further research into optimizing timestep scheduling and the non-decreasing constraint could lead to even better results.
- The AR-VAE's ability to create compact latent representations could be further explored for other video processing tasks.
Summary updated