--- license: apache-2.0 pipeline_tag: text-to-video tags: - Video ---

Mask Forcing: Improving Autoregressive Video Diffusion Distillation via Dual-Noise Masking Rollout

[Zhuoran Zhao](https://alicezrzhao.github.io/)1,2 · [Shengju Qian](http://thesouthfrog.com/about.me/)3 · [Tongtong Liang](https://tongtongliang.github.io/)4 · [Xianghao Kong](https://refkxh.github.io/)2 · [Songchun Zhang](https://franklinz233.github.io/)2 · [Junchao Huang](https://junchao-cs.github.io/)5 · [Guian Fang](https://enderfga.cn/)6 · [Xin Wang](https://scholar.google.com/citations?user=2Z1GJ50AAAAJ&hl=en)3 · [Pan Hui](https://panhui.people.ust.hk/index.html)1,2 · [Anyi Rao](https://anyirao.com/)2 1HKUST(GZ)  ·  2HKUST  ·  3LIGHTSPEED  ·  4UCSD  ·  5CUHK(SZ)  ·  6NUS

Project page Paper Checkpoints

## 📖 Overview Self-rollout DMD enables few-step autoregressive video generation, but its mode-seeking reverse-KL objective may concentrate the student rollout distribution on a narrow set of teacher modes. Moreover, the DMD objective is evaluated only on the completed rollout output and does not directly regularize each intermediate transition, allowing errors to accumulate through subsequent denoising steps and later chunks. Together, these limitations reduce visual quality and realism. **Mask Forcing** introduces a Dual-Noise Masking Rollout strategy that injects cleaner tokens into noisy rollout inputs through random masks. The resulting perturbations diversify student rollout trajectories to cover more teacher modes, while cleaner tokens guide the denoising of noisier tokens to improve intermediate predictions and reduce error accumulation. Mask Forcing requires no real-video supervision or additional post-training stages, introduces no additional network forward passes, and leaves inference unchanged.
Mask Forcing pipeline
## 🎥 Demo
Sample 1 Sample 2
Sample 3 Sample 4
Sample 5 Sample 6
For more qualitative and quantitative comparisons, please visit our **[Project Page](https://alicezrzhao.github.io/mask_forcing/)**. --- ## 📢 News - **[2026-09]** Paper released on [arXiv](https://arxiv.org/abs/2609.09123) and [Project Page](https://alicezrzhao.github.io/mask_forcing/) is online. - **[2026-09]** Inference code is released. - Training code will be released in this repository. Stay tuned. ## 📋 TODO - [x] Release paper and project page - [x] Release inference code and checkpoints - [ ] Release training code ## 🚀 Quick Start ### Installation ``` conda create -n mask_forcing python=3.10 -y conda activate mask_forcing pip install -r requirements.txt pip install flash-attn --no-build-isolation python setup.py develop ``` ### Download Checkpoints ``` hf download Wan-AI/Wan2.1-T2V-1.3B --local-dir wan_models/Wan2.1-T2V-1.3B # Mask Forcing checkpoints -> checkpoints/chunkwise/ hf download Alicezrzhao/Mask-Forcing --local-dir checkpoints ``` ### Inference ``` bash inference_chunkwise.sh ``` ## 🎓 Citation If you find Mask Forcing useful in your research, please consider citing: ```bibtex @misc{zhao2026maskforcingimprovingautoregressive, title={Mask Forcing: Improving Autoregressive Video Diffusion Distillation via Dual-Noise Masking Rollout}, author={Zhuoran Zhao and Shengju Qian and Tongtong Liang and Xianghao Kong and Songchun Zhang and Junchao Huang and Guian Fang and Xin Wang and Pan Hui and Anyi Rao}, year={2026}, eprint={2609.09123}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2609.09123}, } ``` ## 🤝 Acknowledgements This project builds upon the following outstanding open-source works: - [Self-Forcing](https://self-forcing.github.io/) — Self-forcing training for autoregressive video diffusion - [Causal Forcing](https://causal-forcing.github.io/) — AR teacher distillation with causal attention - [LongLive](https://nvlabs.github.io/LongLive/) — Long-form video generation via generative extrapolation - [Wan2.1](https://github.com/Wan-Video/Wan2.1) — Base video diffusion transformer