Collaborative Decoding Makes Visual Auto-Regressive Modeling Efficient

Zigeng Chen, Xinyin Ma, Gongfan Fang, Xinchao Wang
2/9/2026

No official code found. Best implementation: czg1225/CoDe (109 stars, MIT, last commit 2025-09-27).

Abstract

In the rapidly advancing field of image generation, Visual Auto-Regressive (VAR) modeling has garnered considerable attention for its innovative next-scale prediction approach. This paradigm offers substantial improvements in efficiency, scalability, and zero-shot generalization. Yet, the inherently coarse-to-fine nature of VAR introduces a prolonged token sequence, leading to prohibitive memory consumption and computational redundancies. To address these bottlenecks, we propose Collaborative Decoding (CoDe), a novel efficient decoding strategy tailored for the VAR framework. CoDe capitalizes on two critical observations: the substantially reduced parameter demands at larger scales and the exclusive generation patterns across different scales. Based on these insights, we partition the multi-scale inference process into a seamless collaboration between a large model and a small model. The large model serves as the ’drafter’, specializing in generating low-frequency content at smaller scales, while the smaller model serves as the ’refiner’, solely focusing on predicting high-frequency details at larger scales. This collaboration yields remarkable efficiency with minimal impact on quality: CoDe achieves a 1.7x speedup, slashes memory usage by around 50%, and preserves image quality with only a negligible FID increase from 1.95 to 1.98. When drafting steps are further decreased, CoDe can achieve an impressive 2.9x acceleration ratio, reaching 41 images/s at 256×256 resolution on a single NVIDIA 4090 GPU, while preserving a commendable FID of 2.27.

View on arXivView PDF

Code Implementations(1)

czg1225/CoDeCommunity100%
MIT

[CVPR 2025] CoDe: Collaborative Decoding Makes Visual Auto-Regressive Modeling Efficient

1095PythonNov 22, 20241 years agoMIT
auto-regressive-modelefficient-image-generationmodel-accelerationtransformers

Similar Papers

Cite this paper

@article{chen2026collaborative,
  title  = {Collaborative Decoding Makes Visual Auto-Regressive Modeling Efficient},
  author = {Zigeng Chen and Xinyin Ma and Gongfan Fang and Xinchao Wang},
  year   = {2026},
  eprint = {2411.17787},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.17787},
  journal = {CVPR 2024 2024}
}

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/2411.17787.svg)](https://codeofpaper.com/paper/2411.17787)

Discussion