🔥 Introducing FAR: a new baseline for autoregressive video generation
FAR (i.e., Frame AutoRegressive Model) learns to predict continuous frames based on an autoregressive context. Its objective aligns well with video modeling, similar to the next-token prediction in language modeling.
dmlab_sample
🔥 FAR achieves better convergence than video diffusion models with the same continuous latent space
🔥 FAR leverages clean visual context without additional image-to-video fine-tuning:
Unconditional pretraining on UCF-101 achieves state-of-the-art results in both video generation (context frame = 0) and video prediction (context frame ≥ 1) within a single model.
🔥 FAR supports 16x longer temporal extrapolation at test time
🔥 FAR supports efficient training on long-video sequence with managable token lengths
Wandb: Set use_wandb to True in config to enable wandb monitor.
Periodally Evaluation: Set val_freq to control the peroidly evaluation in training.
Auto Resume: Directly rerun the script, the model will find the lastest checkpoint to resume, the wandb log will automatically resume.
Efficient Training on Pre-Extracted Latent: Set use_latent to True, and set the data_list to correponding latent path list.
💻 Sampling & Evaluation
To evaluate the performance of a pretrained model, just copy the training config and set the pretrain_network: ~ to your trained folder. Then run the following scripts:
This project is licensed under the MIT License - see the LICENSE file for details.
📖 Citation
If our work assists your research, feel free to give us a star ⭐ or cite us using:
@article{gu2025long,
title={Long-Context Autoregressive Video Modeling with Next-Frame Prediction},
author={Gu, Yuchao and Mao, weijia and Shou, Mike Zheng},
journal={arXiv preprint arXiv:2503.19325},
year={2025}
}