Next Block Prediction: Video Generation via Semi-Autoregressive Modeling

Shuhuai Ren, Shuming Ma, Xu Sun, Furu Wei
2/11/2025
cs.CVcs.AI

No official code found. Best implementation: RenShuhuai-Andy/NBP (42 stars, MIT, last commit 2025-02-12).

Abstract

Next-Token Prediction (NTP) is a de facto approach for autoregressive (AR) video generation, but it suffers from suboptimal unidirectional dependencies and slow inference speed. In this work, we propose a semi-autoregressive (semi-AR) framework, called Next-Block Prediction (NBP), for video generation. By uniformly decomposing video content into equal-sized blocks (e.g., rows or frames), we shift the generation unit from individual tokens to blocks, allowing each token in the current block to simultaneously predict the corresponding token in the next block. Unlike traditional AR modeling, our framework employs bidirectional attention within each block, enabling tokens to capture more robust spatial dependencies. By predicting multiple tokens in parallel, NBP models significantly reduce the number of generation steps, leading to faster and more efficient inference. Our model achieves FVD scores of 103.3 on UCF101 and 25.5 on K600, outperforming the vanilla NTP model by an average of 4.4. Furthermore, thanks to the reduced number of inference steps, the NBP model generates 8.89 frames (128x128 resolution) per second, achieving an 11x speedup. We also explored model scales ranging from 700M to 3B parameters, observing significant improvements in generation quality, with FVD scores dropping from 103.3 to 55.3 on UCF101 and from 25.5 to 19.5 on K600, demonstrating the scalability of our approach.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of Next Block Prediction: Video Generation via Semi-Autoregressive Modeling

421Shell, PythonFeb 9, 20251 years agoMIT

Similar Papers

Cite this paper

@article{ren2025next,
  title  = {Next Block Prediction: Video Generation via Semi-Autoregressive Modeling},
  author = {Shuhuai Ren and Shuming Ma and Xu Sun and Furu Wei},
  year   = {2025},
  eprint = {2502.07737},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.07737v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07737.svg)](https://codeofpaper.com/paper/2502.07737)

Discussion