Sample- and Parameter-Efficient Auto-Regressive Image Models
Elad Amrani, Leonid Karlinsky, Alex Bronstein
TL;DR
XTRA introduces Block Causal Masking to auto-regressive image modeling, enabling block-wise attention and next-block reconstruction within a ViT encoder-decoder. The method achieves remarkable sample and parameter efficiency, requiring $152\times$ fewer samples and $7$–$16\times$ fewer parameters than prior AR image models while delivering superior or state-of-the-art performance on 15 diverse benchmarks and ImageNet-1K probing. These gains arise from learning low-frequency, semantically meaningful structures at block scales, rather than focusing on high-frequency detail, and from maintaining a simple, scalable training objective. The work demonstrates strong practical potential for scalable autoregressive CV models, with broad transfer capabilities and reduced resource requirements for pre-training and probing tasks.
Abstract
We introduce XTRA, a vision model pre-trained with a novel auto-regressive objective that significantly enhances both sample and parameter efficiency compared to previous auto-regressive image models. Unlike contrastive or masked image modeling methods, which have not been demonstrated as having consistent scaling behavior on unbalanced internet data, auto-regressive vision models exhibit scalable and promising performance as model and dataset size increase. In contrast to standard auto-regressive models, XTRA employs a Block Causal Mask, where each Block represents k $\times$ k tokens rather than relying on a standard causal mask. By reconstructing pixel values block by block, XTRA captures higher-level structural patterns over larger image regions. Predicting on blocks allows the model to learn relationships across broader areas of pixels, enabling more abstract and semantically meaningful representations than traditional next-token prediction. This simple modification yields two key results. First, XTRA is sample-efficient. Despite being trained on 152$\times$ fewer samples (13.1M vs. 2B), XTRA ViT-H/14 surpasses the top-1 average accuracy of the previous state-of-the-art auto-regressive model across 15 diverse image recognition benchmarks. Second, XTRA is parameter-efficient. Compared to auto-regressive models trained on ImageNet-1k, XTRA ViT-B/16 outperforms in linear and attentive probing tasks, using 7-16$\times$ fewer parameters (85M vs. 1.36B/0.63B).
