paper-with-me

Papers

SparVAR: Exploring Sparsity in Visual AutoRegressive Modeling for Training-Free Acceleration

2026-02-04 · Zekun Li, Ning Wang, Tongxin Bai, Changwang Mei, Peisong Wang, Shuang Qiu, Jian Cheng arxiv

Visual AutoRegressive (VAR) modeling has garnered significant attention for its innovative next-scale prediction paradigm. However, mainstream VAR paradigms attend to all tokens across historical scales at each autoregressive step. As the next scale resolution grows, the computational complexity of attention increases quartically with resolution, causing substantial latency. Prior accelerations often skip high-resolution scales, which speeds up inference but discards high-frequency details and harms image quality. To address these problems, we present \textbf{SparVAR}, a training-free acceleration framework that exploits three properties of VAR attention: \textbf{(i) strong attention sinks}, \textbf{(ii) cross-scale activation similarity}, and \textbf{(iii) pronounced locality}. Specifically, we dynamically predict the sparse attention pattern of later high-resolution scales from a sparse decision scale, and construct scale self-similar sparse attention via an efficient index-mapping mechanism, enabling high-efficiency sparse attention computation at large scales. Furthermore, we propose cross-scale local sparse attention and implement an efficient block-wise sparse kernel, which achieves $\mathbf{> 5\times}$ faster forward speed than FlashAttention. Extensive experiments demonstrate that the proposed SparVAR can reduce the generation time of an 8B model producing $1024\times1024$ high-resolution images to the \textbf{1s}, \textbf{without skipping the last scales}. Compared with the VAR baseline accelerated by FlashAttention, our method achieves a $\mathbf{1.57\times}$ speed-up while preserving almost all high-frequency details. When combined with existing scale-skipping strategies, SparVAR attains up to a $\mathbf{2.28\times}$ acceleration, while maintaining competitive visual generation quality. Code is available at \href{https://github.com/CAS-CLab/SparVAR}{SparVAR}.

📄 PDF Abstract BibTeX arXiv:2602.04361

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ControlVAR: Exploring Controllable Visual Autoregressive Modeling

2024-06-14 · Xiang Li, Kai Qiu, Hao Chen, Jason Kuen 외

Conditional visual generation has witnessed remarkable progress with the advent of diffusion models (DMs), especially in tasks like control-to-image generation. However, challenges such as expensive computational cost, h…

Image Generation

Exploring Stochastic Autoregressive Image Modeling for Visual Representation

2022-12-03 · Yu Qi, Fan Yang, Yousong Zhu, Yufei Liu 외

Autoregressive language modeling (ALM) have been successfully used in self-supervised pre-training in Natural language processing (NLP). However, this paradigm has not achieved comparable results with other self-supervis…

DecoderLanguage ModelingSelf-Supervised Learning

Exploring the Limits of KV Cache Compression in Visual Autoregressive Transformers

2025-03-19 · Bo Chen, Xiaoyu Li, Yekun Ke, YIngyu Liang 외

A fundamental challenge in Visual Autoregressive models is the substantial memory overhead required during inference to store previously generated representations. Despite various attempts to mitigate this issue through …

Dimensionality Reduction

ToProVAR: Efficient Visual Autoregressive Modeling via Tri-Dimensional Entropy-Aware Semantic Analysis and Sparsity Optimization

2026-02-26 · Jiayu Chen, Ruoyu Lin, Zihao Zheng, Jingxin Li 외 arxiv

Visual Autoregressive(VAR) models enhance generation quality but face a critical efficiency bottleneck in later stages. In this paper, we present a novel optimization framework for VAR models that fundamentally differs f…

ACDiT: Interpolating Autoregressive Conditional Modeling and Diffusion Transformer

2024-12-10 · Jinyi Hu, Shengding Hu, Yuxuan Song, Yufei Huang 외

The recent surge of interest in comprehensive multimodal models has necessitated the unification of diverse modalities. However, the unification suffers from disparate methodologies. Continuous visual generation necessit…

DenoisingImage GenerationVideo Generation