Autoregressive Transformer models have demonstrated impressive performance in video generation, but their sequential token-by-token decoding process poses a major bottleneck, particularly for long videos represented by tens of thousands of tokens. In this paper, we propose Diagonal Decoding (DiagD), a training-free inference acceleration algorithm for autoregressively pre-trained models that exploits spatial and temporal correlations in videos. Our method generates tokens along diagonal paths in the spatial-temporal token grid, enabling parallel decoding within each frame as well as partially overlapping across consecutive frames. The proposed algorithm is versatile and adaptive to various generative models and tasks, while providing flexible control over the trade-off between inference speed and visual quality. Furthermore, we propose a cost-effective finetuning strategy that aligns the attention patterns of the model with our decoding order, further mitigating the training-inference gap on small-scale models. Experiments on multiple autoregressive video generation models and datasets demonstrate that DiagD achieves up to $10\times$ speedup compared to naive sequential decoding, while maintaining comparable visual fidelity.
Continuous Speculative Decoding for Autoregressive Image Generation
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所多模态人工智能系统实验室);JD.COM Inc(京东集团股份有限公司);China Tower Corporation Limited(中国铁塔股份有限公司)
Learning to Expand Images for Efficient Visual Autoregressive Modeling
University of Electronic Science and Technology of China(电子科技大学);School of Computer Science and Engineering, Central South University(中南大学计算机科学与工程学院);Xidian University(西安电子科技大学);SenseTime Research(商汤科技研究院);Shanghai Jiao Tong University(上海交通大学)
SJD++: Improved Speculative Jacobi Decoding for Training-free Acceleration of Discrete Auto-regressive Text-to-Image Generation
The University of Hong Kong(香港大学);Huawei Noah’s Ark Lab(华为诺亚实验室);Peking University(北京大学);xAI;Tsinghua University(清华大学);Shanghai Jiao Tong University(上海交通大学)
Peking University Shenzhen Graduate School(北京大学深圳研究生院);Nanjing University(南京大学);Peking University(北京大学);Peng Cheng Laboratory(鹏城实验室);City University of Hong Kong(香港城市大学)
FlashMesh: Faster and Better Autoregressive Mesh Synthesis via Structured Speculation
South China University of Technology(南方科技大学);Tsinghua University(清华大学);Zhejiang University(浙江大学);Tencent VISVISE(腾讯VISVISE);Peking University(北京大学);Singapore Management University(新加坡国立大学)
SpecFLASH: A Latent-Guided Semi-autoregressive Speculative Decoding Framework for Efficient Multimodal Generation
Southeast University, Nanjing, China(东南大学);Nanyang Technological University, Singapore(南洋理工大学);A STAR Centre for Frontier AI Research (CFAR), Singapore(A STAR前沿人工智能研究中心)
An Efficient Implicit Neural Representation Image Codec Based on Mixed Autoregressive Model for Low-Complexity Decoding
Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Peng Chen Laboratory(鹏城实验室);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Huawei Technology(华为技术有限公司)