ActVAR: Activating Mixtures of Weights and Tokens for Efficient Visual Autoregressive Generation
Kaixin Zhang, Ruiqing Yang, Yuan Zhang, Shan You, Tao Huang
TL;DR
ActVAR addresses the computational bottleneck of Visual Autoregressive models by introducing dynamic dual sparsity: activating selective FFN experts and prioritizing informative tokens at each layer. It implements a Mixture-of-Experts FFN with a learnable router and a gated token selector, augmented by a reconstruction path to preserve global context. A two-stage knowledge-distillation training regime from a pretrained VAR teacher aligns routing and gating with pretrained dependencies, achieving up to $21.2\%$ FLOPs savings on ImageNet $256\times256$ with minimal quality loss. The approach preserves full model capacity while adaptively allocating computation, offering practical acceleration for scalable autoregressive image generation.
Abstract
Visual Autoregressive (VAR) models enable efficient image generation via next-scale prediction but face escalating computational costs as sequence length grows. Existing static pruning methods degrade performance by permanently removing weights or tokens, disrupting pretrained dependencies. To address this, we propose ActVAR, a dynamic activation framework that introduces dual sparsity across model weights and token sequences to enhance efficiency without sacrificing capacity. ActVAR decomposes feedforward networks (FFNs) into lightweight expert sub-networks and employs a learnable router to dynamically select token-specific expert subsets based on content. Simultaneously, a gated token selector identifies high-update-potential tokens for computation while reconstructing unselected tokens to preserve global context and sequence alignment. Training employs a two-stage knowledge distillation strategy, where the original VAR model supervises the learning of routing and gating policies to align with pretrained knowledge. Experiments on the ImageNet $256\times 256$ benchmark demonstrate that ActVAR achieves up to $21.2\%$ FLOPs reduction with minimal performance degradation.
