Your VAR Model is Secretly an Efficient and Explainable Generative Classifier
Yi-Chung Chen, David I. Inouye, Jing Gao
TL;DR
This work shifts scalable generative classification from diffusion backbones to a visual autoregressive backbone by introducing Adaptive VAR Classifier (A-VARC) and its enhanced version A-VARC+. Through likelihood smoothing, partial-scale pruning, and Condition Contrastive Alignment finetuning, A-VARC+ achieves near diffusion-level accuracy on ImageNet-100 with up to 160x faster inference. The VAR framework exposes tractable likelihood, enabling token-wise visual explanations via token-wise PMI and offering inherent resistance to catastrophic forgetting in class-incremental learning. While not matching diffusion models on distribution-shift robustness, the approach provides a practical, explainable, and scalable alternative that broadens the study of generative classifiers and Their applications. Overall, VAR-based generative classifiers present a compelling path toward efficient, interpretable, and continually adaptable image classification.
Abstract
Generative classifiers, which leverage conditional generative models for classification, have recently demonstrated desirable properties such as robustness to distribution shifts. However, recent progress in this area has been largely driven by diffusion-based models, whose substantial computational cost severely limits scalability. This exclusive focus on diffusion-based methods has also constrained our understanding of generative classifiers. In this work, we propose a novel generative classifier built on recent advances in visual autoregressive (VAR) modeling, which offers a new perspective for studying generative classifiers. To further enhance its performance, we introduce the Adaptive VAR Classifier$^+$ (A-VARC$^+$), which achieves a superior trade-off between accuracy and inference speed, thereby significantly improving practical applicability. Moreover, we show that the VAR-based method exhibits fundamentally different properties from diffusion-based methods. In particular, due to its tractable likelihood, the VAR-based classifier enables visual explainability via token-wise mutual information and demonstrates inherent resistance to catastrophic forgetting in class-incremental learning tasks.
