FastVAR: Linear Visual Autoregressive Modeling Via Cached Token Pruning
Hang Guo, Yawei Li, Taolin Zhang, Jiangshan Wang, Tao Dai, Shu-Tao Xia, Luca Benini
摘要
Visual Autoregressive (VAR) modeling has gained popularity for its shift towards next-scale prediction. However, existing VAR paradigms process the entire token map at each scale step, leading to the complexity and runtime scaling dramatically with image resolution. To address this challenge, we propose FastVAR, a post-training acceleration method for efficient resolution scaling with VARs. Our key finding is that the majority of latency arises from the large-scale step where most tokens have already converged. Leveraging this observation, we develop the cached token pruning strategy that only forwards pivotal tokens for scale-specific modeling while using cached tokens from previous scale steps to restore the pruned slots. This significantly reduces the number of forwarded tokens and improves the efficiency at larger resolutions. Experiments show the proposed FastVAR can further speedup FlashAttention-accelerated VAR by 2.7 with negligible performance drop of <1%. We further extend FastVAR to zero-shot generation of higher resolution images. In particular, FastVAR can generate one 2K image with 15GB memory footprints in 1.5s on a single NVIDIA 3090 GPU. Code is available at https://github.com/csguoh/FastVAR.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Language Models are Few-Shot Learners
- PreciseCache: Precise Feature Caching for Efficient and High-fidelity Video Generation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- PreciseCache: Precise Feature Caching for Efficient and High-fidelity Video Generation 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- PreciseCache: Precise Feature Caching for Efficient and High-fidelity Video Generation 引用了 Denoising Diffusion Probabilistic Models
- Memory-Efficient Visual Autoregressive Modeling with Scale-Aware KV Cache Compression 引用了 SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Memory-Efficient Visual Autoregressive Modeling with Scale-Aware KV Cache Compression 引用了 Head-Aware KV Cache Compression for Efficient Visual Autoregressive Modeling
- EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image Editing 引用了 Denoising Diffusion Probabilistic Models
- Head-Aware KV Cache Compression for Efficient Visual Autoregressive Modeling 引用了 SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Head-Aware KV Cache Compression for Efficient Visual Autoregressive Modeling 引用了 Denoising Diffusion Probabilistic Models
- Progressive Supernet Training for Efficient Visual Autoregressive Modeling 引用了 Head-Aware KV Cache Compression for Efficient Visual Autoregressive Modeling
引用它的顶会 Paper14
- Memory-Efficient Visual Autoregressive Modeling with Scale-Aware KV Cache CompressionKunjun Li, Zigeng Chen, Cheng-Yen Yang, Jenq-Neng HwangNeurIPS 2025 · 23 次引用
- Head-Aware KV Cache Compression for Efficient Visual Autoregressive ModelingZiran Qin, Youru Lv, Mingbao Lin, Hang Guo 等AAAI 2026 · 10 次引用
- Progressive Supernet Training for Efficient Visual Autoregressive ModelingXiaoyue Chen, Yuling Shi, Kaiyuan Li, Huandong Wang 等CVPR 2026 · 7 次引用
- PreciseCache: Precise Feature Caching for Efficient and High-fidelity Video GenerationJiangshan Wang, Kang Zhao, Jiayi Guo, Jiayu Wang 等ICLR 2026 · 6 次引用
- EEdit ⚡: Rethinking the Spatial and Temporal Redundancy for Efficient Image EditingZexuan Yan, Yue Ma, Chang Zou, Wenteng Chen 等ICCV 2025 · 5 次引用
它引用的 Paper42
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann 等ICLR 2024 · 4,569 次引用
相关 Paper
- LazyVAR: Accelerating Visual Autoregressive Models via Scale-wise Token Pruning and Parallel Group DecodingRongge Mao, Chengqi Dong, S Kevin ZhouCVPR 2026
- SparVAR: Exploring Sparsity in Visual AutoRegressive Modeling for Training-Free AccelerationZekun Li, Ning Wang, Tongxin Bai, Changwang Mei 等CVPR 2026 · 4 次引用
- FasterVAR: Plug-and-Play Acceleration for Visual Autoregressive ModelsSenmao Li, Kai Wang, Salman Khan, Fahad Khan 等ICML 2026 · 2 次引用
- HMAR: Efficient Hierarchical Masked Auto-Regressive Image GenerationHermann Kumbong, Xian Liu, Tsung-Yi Lin, Ming-Yu Liu 等CVPR 2025
- MVAR: Visual Autoregressive Modeling with Scale and Spatial Markovian ConditioningJinhua Zhang, Wei Long, Minghao Han, Weiyi You 等ICLR 2026 · 9 次引用
